[pkg-wine-party] Bug#809125: wine-development: FTBFS when built with dpkg-buildpackage -A (No such file or directory)

Santiago Vila sanvila at debian.org
Sun Dec 27 12:33:24 UTC 2015

Package: src:wine-development
Version: 1.7.55-4
User: sanvila at debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

 debian/rules build-indep
dh build-indep --parallel --with autoreconf
   dh_testdir -i -O--parallel
   dh_autoreconf -i -O--parallel
	find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a  -type f -exec md5sum {} \; > debian/autoreconf.before
	autoreconf -f -i
	find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a  -type f -exec md5sum {} \; > debian/autoreconf.after
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
size: 7907
interpolation noise: -93.68 dB

[... snipped ...]

cp debian/scripts/wineserver debian/tmp/usr/lib/x86_64-linux-gnu/wine-development
test -f debian/tmp/usr/lib/x86_64-linux-gnu/wine-development/wine-preloader || \
    cp debian/scripts/wine-preloader debian/tmp/usr/lib/x86_64-linux-gnu/wine-development
for file in $(find debian/tmp/usr/share/man -type f); do \
    rename=$(echo $file | sed s/\\.1/-development\\.1/); \
    cp $file $rename || true; \
cd debian/tmp/usr/share/man/man1 && \
    cp winegcc.1 winegcc64-development.1
	install -d debian/wine-development/usr/bin
	cp --reflink=auto -a ./debian/tmp/wine-development debian/wine-development/usr/bin/
	install -d debian/wine-development/usr/lib/wine-development
	cp --reflink=auto -a ./debian/tmp/wineapploader debian/wine-development/usr/lib/wine-development/
	install -d debian/fonts-wine-development//usr/share/wine-development/wine
	cp --reflink=auto -a ./debian/tmp/usr/share/wine-development/wine/fonts debian/fonts-wine-development//usr/share/wine-development/wine/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs -i -O--parallel
	install -d debian/wine-development/usr/share/doc/wine-development
	cp --reflink=auto -a debian/tmp/changelog debian/wine-development/usr/share/doc/wine-development
	cp --reflink=auto -a debian/tmp/README.winedbg debian/wine-development/usr/share/doc/wine-development
	chown -R 0:0 debian/wine-development/usr/share/doc
	chmod -R go=rX debian/wine-development/usr/share/doc
	chmod -R u\+rw debian/wine-development/usr/share/doc
	install -p -m0644 debian/README.debian debian/wine-development/usr/share/doc/wine-development/README.Debian
	install -p -m0644 debian/TODO debian/wine-development/usr/share/doc/wine-development/TODO.Debian
	install -p -m0644 debian/copyright debian/wine-development/usr/share/doc/wine-development/copyright
	install -d debian/fonts-wine-development/usr/share/doc/fonts-wine-development
	cp --reflink=auto -a debian/tmp/changelog debian/fonts-wine-development/usr/share/doc/fonts-wine-development
	chown -R 0:0 debian/fonts-wine-development/usr/share/doc
	chmod -R go=rX debian/fonts-wine-development/usr/share/doc
	chmod -R u\+rw debian/fonts-wine-development/usr/share/doc
	install -p -m0644 debian/copyright debian/fonts-wine-development/usr/share/doc/fonts-wine-development/copyright
   dh_installchangelogs -i -O--parallel
	install -p -m0644 debian/changelog debian/wine-development/usr/share/doc/wine-development/changelog.Debian
	install -p -m0644 debian/changelog debian/fonts-wine-development/usr/share/doc/fonts-wine-development/changelog.Debian
   dh_installman -i -O--parallel
debian/tmp/usr/share/man/man1/wine-development.1: No such file or directory at /usr/bin/dh_installman line 131.
debian/rules:78: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2

[ Note: This used to work in version 1.7.52-1 ]

Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:

* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them

* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").

Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.


More information about the pkg-wine-party mailing list