Source: cabextract
Version: 1.11-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
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 cabextract
> dpkg-buildpackage: info: source version 1.11-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Eric Sharkey <[email protected]>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh_autoreconf_clean
> dh_testdir
> dh_testroot
> rm -f build-stamp configure-stamp
> # Add here commands to clean up after the build process.
> [ ! -f Makefile ] || /usr/bin/make clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/<<PKGBUILDDIR>>/missing' 
> aclocal-1.16 
>  cd . && /bin/bash /<<PKGBUILDDIR>>/missing automake-1.16 --gnu
> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/<<PKGBUILDDIR>>/missing' 
> autoconf
> /bin/bash ./config.status --recheck
> running CONFIG_SHELL=/bin/bash /bin/bash ./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 --runstatedir=/run 
> --disable-maintainer-mode --disable-dependency-tracking CPPFLAGS=-Wdate-time 
> -D_FORTIFY_SOURCE=2 CFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security 
> LDFLAGS=-Wl,-z,relro --with-external-libmspack=yes 
> build_alias=x86_64-linux-gnu --no-create --no-recursion
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a race-free mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... 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 the compiler supports GNU C... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to enable C11 features... none needed
> checking whether gcc understands -c and -o together... yes
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of gcc... none
> checking for ar... ar
> checking the archiver (ar) interface... ar
> checking for ranlib... ranlib
> checking for stdio.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for strings.h... yes
> checking for sys/stat.h... yes
> checking for sys/types.h... yes
> checking for unistd.h... yes
> checking for getopt.h... yes
> checking for inttypes.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking whether byte ordering is bigendian... no
> checking for mode_t... yes
> checking for off_t... yes
> checking for size_t... yes
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking size of off_t... 8
> checking for working POSIX fnmatch... yes
> checking for _LARGEFILE_SOURCE value needed for large files... no
> checking for mkdir... yes
> checking for _mkdir... no
> checking whether mkdir takes one argument... no
> checking for towlower... yes
> checking for umask... yes
> checking for utime... yes
> checking for utimes... yes
> checking for getopt_long... yes
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for mbstate_t... yes
> checking for gcc options needed to detect all undeclared functions... none 
> needed
> checking whether getenv is declared... yes
> checking for btowc... yes
> checking for mbsrtowcs... yes
> checking for mempcpy... yes
> checking for wmempcpy... yes
> checking for working POSIX fnmatch... (cached) yes
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking 32-bit host C ABI... no
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ELF binary format... yes
> checking for the common suffixes of directories in the library search path... 
> lib,lib,lib
> checking for iconv... yes
> checking for working iconv... yes
> checking for iconv declaration... 
>          extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, 
> char * *outbuf, size_t *outbytesleft);
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for libmspack >= 0.8alpha... yes
> checking for mspack.h... yes
> checking for mspack_create_cab_decompressor in -lmspack... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
>  /bin/bash ./config.status
> config.status: creating Makefile
> config.status: creating cabextract.spec
> config.status: creating test/testcase
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
> test -z "cabextract" || rm -f cabextract
> test -z "cabextract" || rm -f cabextract
> test -z "" || rm -f 
> test -z "src/cabinfo" || rm -f src/cabinfo
> rm -f *.o
> rm -f mspack/*.o
> rm -f src/*.o
> test -z "test/bugs.log test/case-ascii.log test/case-utf8.log test/dir.log 
> test/dirwalk-vulns.log test/encoding.log test/mixed.log test/search.log 
> test/simple.log test/split.log test/utf8-stresstest.log test/symlinks.log" || 
> rm -f test/bugs.log test/case-ascii.log test/case-utf8.log test/dir.log 
> test/dirwalk-vulns.log test/encoding.log test/mixed.log test/search.log 
> test/simple.log test/split.log test/utf8-stresstest.log test/symlinks.log
> test -z "test/bugs.trs test/case-ascii.trs test/case-utf8.trs test/dir.trs 
> test/dirwalk-vulns.trs test/encoding.trs test/mixed.trs test/search.trs 
> test/simple.trs test/split.trs test/utf8-stresstest.trs test/symlinks.trs" || 
> rm -f test/bugs.trs test/case-ascii.trs test/case-utf8.trs test/dir.trs 
> test/dirwalk-vulns.trs test/encoding.trs test/mixed.trs test/search.trs 
> test/simple.trs test/split.trs test/utf8-stresstest.trs test/symlinks.trs
> test -z "test-suite.log" || rm -f test-suite.log
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building cabextract using existing 
> ./cabextract_1.11.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: executable mode 0755 of 'config.status' will not be 
> represented in diff
> dpkg-source: warning: newly created empty file 'src/.dirstamp' will not be 
> represented in diff
> dpkg-source: info: local changes detected, the modified files are:
>  cabextract-1.11/Makefile
>  cabextract-1.11/aclocal.m4
>  cabextract-1.11/changelog
>  cabextract-1.11/config.h
>  cabextract-1.11/config.log
>  cabextract-1.11/config.status
>  cabextract-1.11/configure
>  cabextract-1.11/stamp-h1
>  cabextract-1.11/test/testcase
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/cabextract_1.11-1.diff.RZIKuh
> dpkg-source: info: Hint: make sure the version in debian/changelog matches 
> the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source 
> --commit
> dpkg-buildpackage: error: dpkg-source -b . 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/cabextract_1.11-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