Source: grepmail
Version: 5.3111-3
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: [email protected]
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
> ------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package grepmail
> dpkg-buildpackage: info: source version 5.3111-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Georges Khaznadar 
> <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> [ ! -d /<<PKGBUILDDIR>>/inc.shipped ] || mv -v /<<PKGBUILDDIR>>/inc.shipped 
> /<<PKGBUILDDIR>>/inc
> renamed '/<<PKGBUILDDIR>>/inc.shipped' -> '/<<PKGBUILDDIR>>/inc'
> dh_auto_clean
>       make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f \
>   blib/script/grepmail 
> "/usr/bin/perl" "-Iinc" "-MExtUtils::Manifest=fullcheck" -e fullcheck
> Not in MANIFEST: .pc/.quilt_patches
> Not in MANIFEST: .pc/.quilt_series
> Not in MANIFEST: .pc/.version
> Not in MANIFEST: .pc/applied-patches
> Not in MANIFEST: .pc/xdg_cache_home.patch/grepmail
> Not in MANIFEST: 
> debian/.debhelper/generated/grepmail/dh_installchangelogs.dch.trimmed
> Not in MANIFEST: 
> debian/.debhelper/generated/grepmail/installed-by-dh_installdocs
> Not in MANIFEST: 
> debian/.debhelper/generated/grepmail/installed-by-dh_installexamples
> Not in MANIFEST: 
> debian/.debhelper/generated/grepmail/installed-by-dh_installman
> Not in MANIFEST: debian/changelog
> Not in MANIFEST: debian/control
> Not in MANIFEST: debian/copyright
> Not in MANIFEST: debian/debhelper-build-stamp
> Not in MANIFEST: debian/docs
> Not in MANIFEST: debian/examples
> Not in MANIFEST: debian/files
> Not in MANIFEST: debian/grepmail.substvars
> Not in MANIFEST: debian/grepmail/DEBIAN/control
> Not in MANIFEST: debian/grepmail/DEBIAN/md5sums
> Not in MANIFEST: debian/grepmail/usr/bin/grepmail
> Not in MANIFEST: debian/grepmail/usr/share/doc/grepmail/changelog.Debian.gz
> Not in MANIFEST: debian/grepmail/usr/share/doc/grepmail/changelog.gz
> Not in MANIFEST: debian/grepmail/usr/share/doc/grepmail/copyright
> Not in MANIFEST: 
> debian/grepmail/usr/share/doc/grepmail/examples/anonymize_mailbox
> Not in MANIFEST: debian/grepmail/usr/share/doc/grepmail/README.gz
> Not in MANIFEST: debian/grepmail/usr/share/man/man1/grepmail.1p.gz
> Not in MANIFEST: debian/patches/series
> Not in MANIFEST: debian/patches/xdg_cache_home.patch
> Not in MANIFEST: debian/rules
> Not in MANIFEST: debian/salsa-ci.yml
> Not in MANIFEST: debian/source/format
> Not in MANIFEST: debian/tests/control
> Not in MANIFEST: debian/tests/mbox
> Not in MANIFEST: debian/upstream/metadata
> Not in MANIFEST: debian/watch
> Not in MANIFEST: t/000_standard__compile.t
> Not in MANIFEST: t/000_standard__perl_critic.t
> Not in MANIFEST: t/000_standard__pod.t
> Not in MANIFEST: t/000_standard__pod_coverage.t
> rm -f \
>   grepmail.bso grepmail.def \
>   grepmail.exp grepmail.x \
>    blib/arch/auto/grepmail/extralibs.all \
>   blib/arch/auto/grepmail/extralibs.ld Makefile.aperl \
>   *.a *.o \
>   *perl.core MYMETA.json \
>   MYMETA.yml blibdirs.ts \
>   core core.*perl.*.? \
>   core.[0-9] core.[0-9][0-9] \
>   core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] \
>   core.[0-9][0-9][0-9][0-9][0-9] libgrepmail.def \
>   mon.out perl \
>   perl perl.exe \
>   perlmain.c pm_to_blib \
>   pm_to_blib.ts so_locations \
>   tmon.out 
> rm -rf \
>   blib 
> mv Makefile Makefile.old > /dev/null 2>&1
> rm -f \
>   Makefile Makefile.old 
> rm -rf \
>   grepmail-5.3111 MYMETA.yml \
>   inc t/000_standard__compile.t \
>   t/000_standard__perl_critic.t t/000_standard__pod.t \
>   t/000_standard__pod_coverage.t 
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
>       /usr/bin/perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" 
> "LD=x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
> Bareword "auto_set_bugtracker" not allowed while "strict subs" in use at 
> Makefile.PL line 19.
> Bareword "githubmeta" not allowed while "strict subs" in use at Makefile.PL 
> line 20.
> Bareword "use_standard_tests" not allowed while "strict subs" in use at 
> Makefile.PL line 66.
> Execution of Makefile.PL aborted due to compilation errors.
> include /<<PKGBUILDDIR>>/inc/Module/Install.pm
> include inc/Module/Install/Makefile.pm
> include inc/Module/Install/Base.pm
> dh_auto_configure: error: /usr/bin/perl Makefile.PL INSTALLDIRS=vendor 
> "OPTIMIZE=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wl,-z,relro" returned exit code 255
> make: *** [debian/rules:4: binary] Error 25
> dpkg-buildpackage: error: 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/grepmail_5.3111-3_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