Source: cups
Version: 2.4.2-5
Severity: minor
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian...@lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

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/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -S
> ---------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package cups
> dpkg-buildpackage: info: source version 2.4.2-5
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Thorsten Alteholz 
> <deb...@alteholz.de>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --without autoreconf
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> [ ! -f Makedefs ] || dh_auto_clean
>       make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> for dir in cups tools filter backend berkeley cgi-bin monitor notifier ppdc 
> scheduler systemv conf data desktop locale man doc examples templates; do\
>       echo Cleaning in $dir... ;\
>       (cd $dir; make -w -j8 --jobserver-auth=3,4 clean) || exit 1;\
> done
> Cleaning in cups...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/cups'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f array.o auth.o debug.o dest.o dest-job.o dest-localization.o 
> dest-options.o dir.o encode.o file.o getputfile.o globals.o hash.o http.o 
> http-addr.o http-addrlist.o http-support.o ipp.o ipp-file.o ipp-vars.o 
> ipp-support.o langprintf.o language.o md5.o md5passwd.o notify.o options.o 
> pwg-media.o raster-error.o raster-stream.o raster-stubs.o request.o 
> snprintf.o string.o tempfile.o thread.o tls.o transcode.o usersys.o util.o 
> adminutil.o backchannel.o backend.o getdevices.o getifaddrs.o ppd.o 
> ppd-attr.o ppd-cache.o ppd-conflicts.o ppd-custom.o ppd-emit.o ppd-localize.o 
> ppd-mark.o ppd-page.o ppd-util.o raster-interpret.o raster-interstub.o 
> sidechannel.o snmp.o raster-interstub.o raster-stubs.o fuzzipp.o 
> rasterbench.o testadmin.o testarray.o testcache.o testclient.o 
> testconflicts.o testcreds.o 
> testcups.o testdest.o testfile.o testgetdests.o testhttp.o testi18n.o 
> testipp.o testoptions.o testlang.o testppd.o testpwg.o testraster.o 
> testsnmp.o testthreads.o tlscheck.o libcupsimage.so.2 libcups.a libcups.so.2 
> libcupsimage.a rasterbench testadmin testarray testcache testclient 
> testconflicts testcreds testcups testdest testfile testgetdests testhttp 
> testi18n testipp testlang testoptions testppd testpwg testraster testsnmp 
> testthreads tlscheck fuzzipp
> /bin/rm -f libcups.so libcups.dylib
> /bin/rm -f libcupsimage.so libcupsimage.dylib
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/cups'
> Cleaning in tools...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tools'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f ippeveprinter ippfind ipptool ippevepcl ippeveps ippevepcl.o 
> ippeveprinter.o ippeveps.o ippfind.o ipptool.o
> /bin/rm -f ippeveprinter-static ippfind-static ipptool-static
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tools'
> Cleaning in filter...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/filter'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f commandtops.o gziptoany.o common.o pstops.o rastertoepson.o 
> rastertohp.o rastertolabel.o rastertopwg.o commandtops gziptoany pstops 
> rastertoepson rastertohp rastertolabel rastertopwg
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/filter'
> Cleaning in backend...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/backend'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f ipp.o lpd.o dnssd.o snmp.o socket.o test1284.o testbackend.o 
> testsupplies.o usb.o libbackend.a ipp lpd usb dnssd snmp socket test1284 
> testbackend testsupplies ieee1284.o network.o runloop.o snmp-supplies.o http 
> https ipps mdns socket-static
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/backend'
> Cleaning in berkeley...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/berkeley'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f lpc.o lpq.o lpr.o lprm.o lpc lpq lpr lprm
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/berkeley'
> Cleaning in cgi-bin...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/cgi-bin'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f help-index.o html.o ipp-var.o search.o template.o var.o admin.o 
> classes.o help.o jobs.o printers.o testcgi.o testhi.o testtemplate.o 
> libcupscgi.a admin.cgi classes.cgi help.cgi jobs.cgi printers.cgi testcgi 
> testhi testtemplate 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/cgi-bin'
> Cleaning in monitor...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/monitor'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f bcp.o tbcp.o bcp tbcp
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/monitor'
> Cleaning in notifier...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/notifier'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f dbus.o mailto.o rss.o testnotify.o dbus mailto rss testnotify 
> dbus.h
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/notifier'
> Cleaning in ppdc...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/ppdc'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f ppdc-array.o ppdc-attr.o ppdc-catalog.o ppdc-choice.o 
> ppdc-constraint.o ppdc-driver.o ppdc-file.o ppdc-filter.o ppdc-font.o 
> ppdc-group.o ppdc-import.o ppdc-mediasize.o ppdc-message.o ppdc-option.o 
> ppdc-profile.o ppdc-shared.o ppdc-source.o ppdc-string.o ppdc-variable.o 
> genstrings.o ppdc.o ppdhtml.o ppdi.o ppdmerge.o ppdpo.o testcatalog.o core
> /bin/rm -f *.bak *.bck core.*
> /bin/rm -f libcupsppdc.a ppdc ppdhtml ppdi ppdmerge ppdpo local ppdc-static 
> ppdi-static testcatalog genstrings
> /bin/rm -f -r ppd ppd2
> /bin/rm -f sample-import.drv sample.c test.drv
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/ppdc'
> Cleaning in scheduler...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/scheduler'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f auth.o banners.o cert.o classes.o client.o colorman.o conf.o 
> dirsvc.o env.o file.o main.o ipp.o listen.o job.o log.o network.o policy.o 
> printers.o process.o quotas.o select.o server.o statbuf.o subscriptions.o 
> sysman.o filter.o mime.o type.o cupsfilter.o cups-deviced.o cups-exec.o 
> cups-lpd.o testlpd.o testmime.o testspeed.o testsub.o util.o cups-driverd.o
> /bin/rm -f libcupsmime.a cupsd cupsfilter cups-deviced cups-driverd cups-exec 
> cups-lpd testlpd testmime testspeed testsub convert
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/scheduler'
> Cleaning in systemv...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/systemv'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f cancel.o cupsaccept.o cupsctl.o cupstestppd.o lp.o lpadmin.o 
> lpinfo.o lpmove.o lpoptions.o lpstat.o cancel cupsaccept cupsctl cupstestppd 
> lp lpadmin lpinfo lpmove lpoptions lpstat
> /bin/rm -f cupsdisable cupsenable cupsreject
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/systemv'
> Cleaning in conf...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/conf'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> make[3]: Nothing to be done for 'clean'.
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/conf'
> Cleaning in data...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/data'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> make[3]: Nothing to be done for 'clean'.
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/data'
> Cleaning in desktop...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/desktop'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> make[3]: Nothing to be done for 'clean'.
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/desktop'
> Cleaning in locale...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/locale'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f checkpo po2strings strings2po checkpo.o po2strings.o strings2po.o
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/locale'
> Cleaning in man...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
> make[3]: warning: -j8 forced in submake: resetting jobserver mode.
> /bin/rm -f mantohtml mantohtml.o
> /bin/rm -f cancel.1 cups.1 cups-config.1 cupstestppd.1 ippeveprinter.1 
> ippfind.1 ipptool.1 lp.1 lpoptions.1 lpq.1 lprm.1 lpr.1 lpstat.1 ppdc.1 
> ppdhtml.1 ppdi.1 ppdmerge.1 ppdpo.1 classes.conf.5 client.conf.5 
> cups-files.conf.5 cups-snmp.conf.5 cupsd.conf.5 cupsd-logs.5 ipptoolfile.5 
> mailto.conf.5 mime.convs.5 mime.types.5 ppdcfile.5 printers.conf.5 
> subscriptions.conf.5 backend.7 filter.7 ippevepcl.7 notifier.7 cupsaccept.8 
> cupsctl.8 cupsfilter.8 cups-lpd.8 cups-snmp.8 cupsd.8 cupsd-helper.8 
> cupsenable.8 lpadmin.8 lpinfo.8 lpmove.8 lpc.8
> for lang in de fr pt; do make -C $lang clean; done
> make[4]: Entering directory '/<<PKGBUILDDIR>>/man/de'
> /bin/rm -f mantohtml mantohtml.o
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/man/de'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/man/fr'
> /bin/rm -f mantohtml mantohtml.o
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/man/fr'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/man/pt'
> /bin/rm -f mantohtml mantohtml.o
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/man/pt'
> # Make sure the PO files are updated and remove generated
> # translations.
> po4a --previous --rm-translations ../debian/manpage-po4a/cups.cfg
> ../debian/manpage-po4a/cups.cfg:3: The master file 'backend.7' does not exist.
> make[3]: *** [Makefile:104: clean] Error 2
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
> make[2]: *** [Makefile:92: clean] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_clean: error: make -j8 distclean returned exit code 2
> make[1]: *** [debian/rules:259: override_dh_auto_clean] Error 25
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:24: clean] Error 2
> dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage 
> --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/cups_2.4.2-5_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 via email to