Source: enum
Version: 1.1-1
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 enum
> dpkg-buildpackage: info: source version 1.1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jan Hauke Rahm <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  fakeroot debian/rules clean
> dh  clean --parallel
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    dh_auto_clean -O--parallel
> dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 
> 9 in use)
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in test
> make[2]: Entering directory '/<<PKGBUILDDIR>>/test'
> test -z "enum_test" || rm -f enum_test
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -rf ./.deps
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "enum" || rm -f enum
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -rf ./.deps
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in .
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f "."/man/enum.1
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno 
> config.status.lineno
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean -O--parallel
> dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in 
> use)
>  debian/rules build
> dh  build --parallel
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    dh_update_autotools_config -O--parallel
>    dh_auto_configure -O--parallel
> dh_auto_configure: warning: Compatibility levels before 10 are deprecated 
> (level 9 in use)
>       ./configure --build=x86_64-linux-gnu --prefix=/usr 
> --includedir=\${prefix}/include --mandir=\${prefix}/share/man 
> --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
> --disable-option-checking --disable-silent-rules 
> --libdir=\${prefix}/lib/x86_64-linux-gnu 
> --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
> --disable-dependency-tracking
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... none
> checking for a sed that does not truncate output... /bin/sed
> checking for presence of asciidoc... found
> checking version of asciidoc... 10.2.0
> checking for getopt_long... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating test/Makefile
> config.status: executing depfiles commands
>    dh_auto_build -O--parallel
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 
> 9 in use)
>       make -j8
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making all in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> gcc -DPACKAGE_NAME=\"enum\" -DPACKAGE_TARNAME=\"enum\" 
> -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"enum\ 1.1\" 
> -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"enum\" -DVERSION=\"1.1\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2  
> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o enum-main.o `test -f 'main.c' || echo 
> './'`main.c
> gcc -DPACKAGE_NAME=\"enum\" -DPACKAGE_TARNAME=\"enum\" 
> -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"enum\ 1.1\" 
> -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"enum\" -DVERSION=\"1.1\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2  
> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o enum-info.o `test -f 'info.c' || echo 
> './'`info.c
> gcc -DPACKAGE_NAME=\"enum\" -DPACKAGE_TARNAME=\"enum\" 
> -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"enum\ 1.1\" 
> -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"enum\" -DVERSION=\"1.1\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2  
> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o enum-utils.o `test -f 'utils.c' || echo 
> './'`utils.c
> gcc -DPACKAGE_NAME=\"enum\" -DPACKAGE_TARNAME=\"enum\" 
> -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"enum\ 1.1\" 
> -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"enum\" -DVERSION=\"1.1\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2  
> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o enum-parsing.o `test -f 'parsing.c' || echo 
> './'`parsing.c
> gcc -DPACKAGE_NAME=\"enum\" -DPACKAGE_TARNAME=\"enum\" 
> -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"enum\ 1.1\" 
> -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"enum\" -DVERSION=\"1.1\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2  
> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o enum-printing.o `test -f 'printing.c' || echo 
> './'`printing.c
> gcc -DPACKAGE_NAME=\"enum\" -DPACKAGE_TARNAME=\"enum\" 
> -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"enum\ 1.1\" 
> -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"enum\" -DVERSION=\"1.1\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2  
> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o enum-generator.o `test -f 'generator.c' || echo 
> './'`generator.c
> gcc  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o enum enum-main.o 
> enum-info.o enum-utils.o enum-parsing.o enum-printing.o enum-generator.o  -lm 
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making all in test
> make[2]: Entering directory '/<<PKGBUILDDIR>>/test'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p "."/man
> a2x --conf-file=man/asciidoc.conf --attribute="enumversion=`fgrep AC_INIT 
> "/<<PKGBUILDDIR>>"/configure.ac | sed 's|^.\+, \[\(.\+\)\],.\+$|\1|'`" \
>       --format=manpage -D "."/man "man/enum.1.txt"
> a2x: ERROR: "xmllint" --nonet --noout --valid 
> "/<<PKGBUILDDIR>>/man/enum.1.xml" returned non-zero exit status 4
> 
> make[2]: *** [Makefile:763: man/enum.1] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [Makefile:304: all-recursive] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j8 returned exit code 2
> make: *** [debian/rules:15: build] Error 25
> dpkg-buildpackage: error: debian/rules build 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/enum_1.1-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 via email to