Source: jq
Version: 1.6-2.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 jq
> dpkg-buildpackage: info: source version 1.6-2.1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Paul Gevers <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
>       make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "libjq.la " || rm -f libjq.la 
> rm -rf .libs _libs
> rm -f src/*.gcno src/*.gcda src/*.gcov
> rm -f *.o
> test -z "tests/mantest.log tests/jqtest.log tests/onigtest.log 
> tests/shtest.log" || rm -f tests/mantest.log tests/jqtest.log 
> tests/onigtest.log tests/shtest.log
>  rm -f jq
> rm -f *.lo
> rm -f *.tab.c
> rm -rf src/.libs src/_libs
> test -z "" || rm -f 
> rm -f src/*.o
> test -z "tests/mantest.trs tests/jqtest.trs tests/onigtest.trs 
> tests/shtest.trs" || rm -f tests/mantest.trs tests/jqtest.trs 
> tests/onigtest.trs tests/shtest.trs
> test . = "." || test -z "" || rm -f 
> rm -f libtool config.lt
> rm -f src/.deps/.dirstamp
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f src/version.h .remake-version-h
> rm -f src/*.lo
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> rm -f ./so_locations
> rm -f src/.dirstamp
> rm -f config.status config.cache config.log configure.lineno 
> config.status.lineno
> rm -f src/.deps/builtin.Plo
> rm -f src/.deps/bytecode.Plo
> rm -f src/.deps/compile.Plo
> rm -f src/.deps/execute.Plo
> rm -f src/.deps/inject_errors.Plo
> rm -f src/.deps/jq_test.Plo
> rm -f src/.deps/jv.Plo
> rm -f src/.deps/jv_alloc.Plo
> rm -f src/.deps/jv_aux.Plo
> rm -f src/.deps/jv_dtoa.Plo
> rm -f src/.deps/jv_file.Plo
> rm -f src/.deps/jv_parse.Plo
> rm -f src/.deps/jv_print.Plo
> rm -f src/.deps/jv_unicode.Plo
> rm -f src/.deps/lexer.Plo
> rm -f src/.deps/linker.Plo
> rm -f src/.deps/locfile.Plo
> rm -f src/.deps/main.Po
> rm -f src/.deps/parser.Plo
> rm -f src/.deps/util.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> test ! -f ./jq.1.old || mv ./jq.1.old jq.1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building jq using existing ./jq_1.6.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: local changes detected, the modified files are:
>  jq-1.6/jq.1
>  jq-1.6/src/builtin.inc
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/jq_1.6-2.1.diff.JBR5Xj
> 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/jq_1.6-2.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