Control: reassign -1 src:ifrench-gut Control: tag -1 patch Hi!
On Sat, 2016-11-19 at 23:33:59 +0000, Santiago Vila wrote: > Package: src:ifrench-gut,dpkg-dev > Severity: serious > > Dear maintainer: > > I tried to build this package in sid with "dpkg-buildpackage -A" > (which is what the "Arch: all" autobuilder would do to build it) > but it failed: > > -------------------------------------------------------------------------------- > [...] > debian/rules build-indep > debian/patches/automakehash.dpatch -patch > patching file makehash > Hunk #1 succeeded at 146 (offset 1 line). > Hunk #2 succeeded at 193 (offset 1 line). > Hunk #3 succeeded at 273 (offset 1 line). > debian/patches/autodicooption.dpatch -patch > patching file makehash > Hunk #2 succeeded at 40 (offset 1 line). > Hunk #3 succeeded at 163 (offset 1 line). > Hunk #4 succeeded at 199 (offset 1 line). > Hunk #5 succeeded at 422 (offset 1 line). > debian/patches/replacement_aff.dpatch -patch > > [... snipped ...] > > chercher ses dictionnaires. > Probablement : /usr/lib/ispell > > (Faites de m�me pour ./francais-TeX8b.aff et ./francais-TeX8b.hash.) > > is2my-spell.pl francais.aff > fr-pre.aff > LC_ALL=C sed -e 's/^SET.*/SET ISO8859-15/;s/^TRY.*/TRY > aeio������sinrtlcdugmphbyfvkw�������/' fr-pre.aff > fr.aff > wc -l < francais.dico > francais.dico.cnt > cat francais.dico.cnt francais.dico > fr.dic > touch build-stamp > fakeroot debian/rules binary-indep > dh_testdir > dh_testroot > dh_prep > dh_installdirs > dh_installdirs: Compatibility levels before 9 are deprecated (level 7 in use) > # Add here commands to install the package into debian/ifrench-gut. > install -m 0644 fr.aff > /<<PKGBUILDDIR>>/debian/myspell-fr-gut/usr/share/hunspell > install -m 0644 fr.dic > /<<PKGBUILDDIR>>/debian/myspell-fr-gut/usr/share/hunspell > # links for myspell dicts > ln -s /usr/share/hunspell/fr.aff > /<<PKGBUILDDIR>>/debian/myspell-fr-gut/usr/share/myspell/dicts/fr.aff > ln -s /usr/share/hunspell/fr.dic > /<<PKGBUILDDIR>>/debian/myspell-fr-gut/usr/share/myspell/dicts/fr.dic > for CC in FR BE LU CH; do for SUF in aff dic; do\ > ln -s fr.${SUF} > /<<PKGBUILDDIR>>/debian/myspell-fr-gut/usr/share/hunspell/fr_${CC}.${SUF}; \ > ln -s /usr/share/hunspell/fr.${SUF} > /<<PKGBUILDDIR>>/debian/myspell-fr-gut/usr/share/myspell/dicts/fr_${CC}.${SUF}; > \ > done; done > dh_testdir > dh_testroot > dh_installdocs > dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use) > dh_installchangelogs > dh_installchangelogs: Compatibility levels before 9 are deprecated (level 7 > in use) > dh_link > installdeb-myspell -p myspell-fr-gut > dh_compress > dh_fixperms > dh_installdeb -i > dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use) > dh_gencontrol > dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is > not NFS-safe > dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is > not NFS-safe > dh_md5sums > dh_builddeb -i > dpkg-deb: building package 'myspell-fr-gut' in > '../myspell-fr-gut_1.0-31_all.deb'. > dpkg-genbuildinfo --build=all > dpkg-genbuildinfo: error: cannot fstat file ../ifrench-gut_1.0-31_amd64.deb: > No such file or directory > dpkg-buildpackage: error: dpkg-genbuildinfo --build=all gave error exit > status 2 > -------------------------------------------------------------------------------- > > The package does not use dpkg-genbuildinfo explicitly, so this seems > like a bug in dpkg-dev. > > On the other hand, if this were a bug in dpkg-dev, I would expect to > find a lot more packages with the same problem, but I only found this > one. > > So this is really strange and I don't really know where is the bug. > Please do agree on which package is to blame. This package has broken debhelper usage, it does not specify neither -a nor -i flags for debhelper commands, so the DEBIAN/control file gets generated for both all and any packages, and dpkg-gencontrol registers the to be generated .deb into debian/files, but then those never end up being generated. See the attached patch. Thanks, Guillem
--- rules 2016-11-20 03:07:24.000000000 +0100 +++ /tmp/bi/ifrench-gut-1.0.new/debian/rules 2016-11-20 02:18:26.008988076 +0100 @@ -90,15 +90,15 @@ binary-indep: build install-indep dh_testdir dh_testroot - dh_installdocs - dh_installchangelogs - dh_link + dh_installdocs -i + dh_installchangelogs -i + dh_link -i installdeb-myspell -p myspell-fr-gut - dh_compress - dh_fixperms + dh_compress -i + dh_fixperms -i dh_installdeb -i - dh_gencontrol - dh_md5sums + dh_gencontrol -i + dh_md5sums -i dh_builddeb -i # Build architecture-dependent files here. @@ -106,30 +106,29 @@ binary-arch: build install-arch dh_testdir dh_testroot -# dh_installdebconf +# dh_installdebconf -a installdeb-ispell -p ifrench-gut # new policy (see dict-common) - calls dh_installdebconf - dh_installdocs -# dh_installexamples -# dh_installmenu -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installman -# dh_installinfo -# dh_undocumented - dh_installchangelogs - dh_strip - dh_compress - dh_fixperms + dh_installdocs -a +# dh_installexamples -a +# dh_installmenu -a +# dh_installlogrotate -a +# dh_installemacsen -a +# dh_installpam -a +# dh_installmime -a +# dh_installinit -a +# dh_installcron -a +# dh_installman -a +# dh_installinfo-a + dh_installchangelogs -a + dh_strip -a + dh_compress -a + dh_fixperms -a # dh_makeshlibs dh_installdeb -a -# dh_perl - dh_shlibdeps - dh_gencontrol - dh_md5sums +# dh_perl -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch