[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1049817: gutenprint: Fails to build binary packages again after successful build



Source: gutenprint
Version: 5.3.4.20220624T01008808d602-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: debian-qa@lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to do build a binary-only build (not source) after a
successful build (dpkg-buildpackage ; dpkg-buildpackage -b).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/DoubleBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -b
> -------------------------------------------------------------------------------------------------------------------------------------------------
> 
>    [...]
>    debian/rules override_dh_compress
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_compress -X.pdf -X.odt
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    debian/rules override_dh_fixperms
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_fixperms
> [ ! -f debian/printer-driver-gutenprint/usr/lib/cups/backend/gutenprint52+usb ] || \
> 	chmod go-x debian/printer-driver-gutenprint/usr/lib/cups/backend/gutenprint52+usb
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_missing
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/a2128.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/a2128.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/c1723.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c1723.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/c193.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c193.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/c1974.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c1974.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/c199.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c199.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/c38.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c38.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/c463.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c463.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/c47.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c47.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/f14.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/f14.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/index.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/index.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/x1675.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x1675.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/x1740.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x1740.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/x2159.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x2159.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/x270.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x270.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/x66.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x66.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/x78.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x78.html")
> dh_missing: warning: usr/share/gutenprint/doc/reference-html/x961.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x961.html")
> dh_missing: error: missing files, aborting
> 
> 	While detecting missing files, dh_missing noted some files with a similar name to those
> 	that were missing.  This error /might/ be resolved by replacing references to the
> 	missing files with the similarly named ones that dh_missing found - assuming the content
> 	is identical.
> 
> 	As an example, you might want to replace:
> 	 * doc/developer/reference-html/a2128.html
> 	with:
> 	 * usr/share/gutenprint/doc/reference-html/a2128.html
> 	in a file in debian/ or as argument to one of the dh_* tools called from debian/rules.
> 	(Note it is possible the paths are not used verbatim but instead directories 
> 	containing or globs matching them are used instead)
> 
> 	Alternatively, add the missing file to debian/not-installed if it cannot and should not
> 	be used.
> 
> 	The following debhelper tools have reported what they installed (with files per package)
> 	 * dh_install: escputil (2), gimp-gutenprint (3), gutenprint-doc (2), gutenprint-locales (1), libgutenprint-common (1), libgutenprint-dev (3), libgutenprint-doc (19), libgutenprint9 (3), libgutenprintui2-2 (2), libgutenprintui2-dev (3), printer-driver-gutenprint (8)
> 	 * dh_installdocs: escputil (0), gimp-gutenprint (1), gutenprint-doc (0), gutenprint-locales (0), libgutenprint-common (0), libgutenprint-dev (2), libgutenprint-doc (0), libgutenprint9 (1), libgutenprintui2-2 (0), libgutenprintui2-dev (0), printer-driver-gutenprint (2)
> 	 * dh_installman: escputil (0), gimp-gutenprint (0), gutenprint-doc (0), gutenprint-locales (0), libgutenprint-common (0), libgutenprint-dev (0), libgutenprint-doc (0), libgutenprint9 (0), libgutenprintui2-2 (0), libgutenprintui2-dev (0), printer-driver-gutenprint (0)
> 	If the missing files are installed by another tool, please file a bug against it.
> 	When filing the report, if the tool is not part of debhelper itself, please reference the
> 	"Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).
> 	  (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)
> 	Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built
> 	If the omission is intentional or no other helper can take care of this consider adding the
> 	paths to debian/not-installed.
> make: *** [debian/rules:6: binary] Error 25
> dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -b' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/16/gutenprint_5.3.4.20220624T01008808d602-1_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.


Reply to: