Source: complexity
Version: 1.13-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 complexity
> dpkg-buildpackage: info: source version 1.13-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Boian Bonev <[email protected]>
>  dpkg-source --before-build .
> dpkg-source: info: using options from complexity-1.13/debian/source/options: 
> --extend-diff-ignore=(^|/)(doc/gendocs_template|doc/complexity\.info|m4/.*|lib/.*)$
>  debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in lib
> make[2]: Entering directory '/<<PKGBUILDDIR>>/lib'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
> test -z "" || rm -f 
> test -z "libgnu.a" || rm -f libgnu.a
> test -z "" || rm -f 
> rm -f *.o
> test -z "core *.stackdump alloca.h alloca.h-t assert.h assert.h-t errno.h 
> errno.h-t float.h float.h-t inttypes.h inttypes.h-t limits.h limits.h-t 
> stddef.h stddef.h-t stdint.h stdint.h-t stdio.h stdio.h-t1 stdio.h-t2 
> stdio.h-t3 stdlib.h stdlib.h-t1 stdlib.h-t2 stdlib.h-t3 string.h string.h-t1 
> string.h-t2 sys/types.h sys/types.h-t unistd.h unistd.h-t1 unistd.h-t2 
> unistd.h-t3 unistd.h-t4 wchar.h wchar.h-t1 wchar.h-t2 wchar.h-t3" || rm -f 
> core *.stackdump alloca.h alloca.h-t assert.h assert.h-t errno.h errno.h-t 
> float.h float.h-t inttypes.h inttypes.h-t limits.h limits.h-t stddef.h 
> stddef.h-t stdint.h stdint.h-t stdio.h stdio.h-t1 stdio.h-t2 stdio.h-t3 
> stdlib.h stdlib.h-t1 stdlib.h-t2 stdlib.h-t3 string.h string.h-t1 string.h-t2 
> sys/types.h sys/types.h-t unistd.h unistd.h-t1 unistd.h-t2 unistd.h-t3 
> unistd.h-t4 wchar.h wchar.h-t1 wchar.h-t2 wchar.h-t3
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f  ./.deps/asnprintf.Po ./.deps/printf-args.Po ./.deps/printf-parse.Po 
> ./.deps/vasnprintf.Po
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "" || rm -f 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> rm -f ./.deps/libgnu_a-asnprintf.Po
> rm -f ./.deps/libgnu_a-close.Po
> rm -f ./.deps/libgnu_a-fd-hook.Po
> rm -f ./.deps/libgnu_a-float.Po
> rm -f ./.deps/libgnu_a-free.Po
> rm -f ./.deps/libgnu_a-itold.Po
> rm -f ./.deps/libgnu_a-malloc.Po
> rm -f ./.deps/libgnu_a-memchr.Po
> rm -f ./.deps/libgnu_a-msvc-inval.Po
> rm -f ./.deps/libgnu_a-printf-args.Po
> rm -f ./.deps/libgnu_a-printf-parse.Po
> rm -f ./.deps/libgnu_a-snprintf.Po
> rm -f ./.deps/libgnu_a-stdio-read.Po
> rm -f ./.deps/libgnu_a-stdio-write.Po
> rm -f ./.deps/libgnu_a-unistd.Po
> rm -f ./.deps/libgnu_a-vasnprintf.Po
> rm -f ./.deps/libgnu_a-xsize.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "complexity" || rm -f complexity
> test -z "*-stamp  cx-vs-mc" || rm -f *-stamp  cx-vs-mc
> 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 
> test -z "opts.c opts.h" || rm -f opts.c opts.h
> rm -f ./.deps/complexity-complexity.Po
> rm -f ./.deps/complexity-opts.Po
> rm -f ./.deps/complexity-score.Po
> rm -f ./.deps/complexity-tokenize.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in doc
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> test -z "complexity.dvi complexity.pdf complexity.ps complexity.html" \
> || rm -rf complexity.dvi complexity.pdf complexity.ps complexity.html
> test -z "*-stamp  invoke-complexity.*" || rm -f *-stamp  invoke-complexity.*
> rm -rf complexity.t2d complexity.t2p
> rm -f vti.tmp* ./version.texi.tmp*
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> test -z "example.texi version.texi set-flags.texi complexity.1" || rm -f 
> example.texi version.texi set-flags.texi complexity.1
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> Making distclean in tests
> make[2]: Entering directory '/<<PKGBUILDDIR>>/tests'
> test -z "complexity.log" || rm -f complexity.log
> test -z "" || rm -f 
> test -z "complexity.trs" || rm -f complexity.trs
> test . = "." || test -z "" || rm -f 
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "" || rm -f 
> rm -f config.h stamp-h1
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> 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_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using options from complexity-1.13/debian/source/options: 
> --extend-diff-ignore=(^|/)(doc/gendocs_template|doc/complexity\.info|m4/.*|lib/.*)$
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: verifying ./complexity_1.13.orig.tar.xz.asc
> dpkg-source: info: building complexity using existing 
> ./complexity_1.13.orig.tar.xz
> dpkg-source: info: building complexity using existing 
> ./complexity_1.13.orig.tar.xz.asc
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file aclocal.m4, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file INSTALL, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file Makefile.in, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file configure, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file config.h.in, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/mdate-sh, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/texinfo.tex, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/compile, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/depcomp, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/test-driver, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/missing, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file tests/Makefile.in, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/opts.c, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/opts.h, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/Makefile.in, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/example.texi, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/set-flags.texi, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/Makefile.in, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/invoke-complexity.texi, 
> use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/version.texi, use 
> --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  complexity-1.13/build-aux/gendocs.sh
>  complexity-1.13/doc/gendocs_template_min
>  complexity-1.13/doc/gpl-3.0.texi
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/complexity_1.13-1.diff.diiZ6D
> 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/complexity_1.13-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