Source: libonig
Version: 6.9.8-1
Severity: minor
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian...@lists.debian.org
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 libonig
> dpkg-buildpackage: info: source version 6.9.8-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jörg Frings-Fürst 
> <debian@jff.email>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "libonig.la" || rm -f libonig.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> 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 ./so_locations
> rm -f ./.deps/ascii.Plo
> rm -f ./.deps/big5.Plo
> rm -f ./.deps/cp1251.Plo
> rm -f ./.deps/euc_jp.Plo
> rm -f ./.deps/euc_jp_prop.Plo
> rm -f ./.deps/euc_kr.Plo
> rm -f ./.deps/euc_tw.Plo
> rm -f ./.deps/gb18030.Plo
> rm -f ./.deps/iso8859_1.Plo
> rm -f ./.deps/iso8859_10.Plo
> rm -f ./.deps/iso8859_11.Plo
> rm -f ./.deps/iso8859_13.Plo
> rm -f ./.deps/iso8859_14.Plo
> rm -f ./.deps/iso8859_15.Plo
> rm -f ./.deps/iso8859_16.Plo
> rm -f ./.deps/iso8859_2.Plo
> rm -f ./.deps/iso8859_3.Plo
> rm -f ./.deps/iso8859_4.Plo
> rm -f ./.deps/iso8859_5.Plo
> rm -f ./.deps/iso8859_6.Plo
> rm -f ./.deps/iso8859_7.Plo
> rm -f ./.deps/iso8859_8.Plo
> rm -f ./.deps/iso8859_9.Plo
> rm -f ./.deps/koi8_r.Plo
> rm -f ./.deps/onig_init.Plo
> rm -f ./.deps/regcomp.Plo
> rm -f ./.deps/regenc.Plo
> rm -f ./.deps/regerror.Plo
> rm -f ./.deps/regexec.Plo
> rm -f ./.deps/regext.Plo
> rm -f ./.deps/reggnu.Plo
> rm -f ./.deps/regparse.Plo
> rm -f ./.deps/regposerr.Plo
> rm -f ./.deps/regposix.Plo
> rm -f ./.deps/regsyntax.Plo
> rm -f ./.deps/regtrav.Plo
> rm -f ./.deps/regversion.Plo
> rm -f ./.deps/sjis.Plo
> rm -f ./.deps/sjis_prop.Plo
> rm -f ./.deps/st.Plo
> rm -f ./.deps/unicode.Plo
> rm -f ./.deps/unicode_fold1_key.Plo
> rm -f ./.deps/unicode_fold2_key.Plo
> rm -f ./.deps/unicode_fold3_key.Plo
> rm -f ./.deps/unicode_unfold_key.Plo
> rm -f ./.deps/utf16_be.Plo
> rm -f ./.deps/utf16_le.Plo
> rm -f ./.deps/utf32_be.Plo
> rm -f ./.deps/utf32_le.Plo
> rm -f ./.deps/utf8.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in test
> make[2]: Entering directory '/<<PKGBUILDDIR>>/test'
> rm -rf .libs _libs
> rm -f *.o
> test -z "test_utf8.log test_syntax.log test_options.log testc.log testp.log 
> testcu.log test_regset.log test_back.log" || rm -f test_utf8.log 
> test_syntax.log test_options.log testc.log testp.log testcu.log 
> test_regset.log test_back.log
> rm -f *.lo
>  rm -f test_utf8 test_syntax test_options testc testp testcu test_regset 
> test_back
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test -z "test_utf8.trs test_syntax.trs test_options.trs testc.trs testp.trs 
> testcu.trs test_regset.trs test_back.trs" || rm -f test_utf8.trs 
> test_syntax.trs test_options.trs testc.trs testp.trs testcu.trs 
> test_regset.trs test_back.trs
> test . = "." || test -z "" || rm -f 
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f ./.deps/test_back.Po
> rm -f ./.deps/test_options.Po
> rm -f ./.deps/test_regset.Po
> rm -f ./.deps/test_syntax.Po
> rm -f ./.deps/test_utf8.Po
> rm -f ./.deps/testc.Po
> rm -f ./.deps/testp.Po
> rm -f ./.deps/testu.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
> Making distclean in sample
> make[2]: Entering directory '/<<PKGBUILDDIR>>/sample'
> rm -rf .libs _libs
> rm -f *.o
> test -z "encode.log listcap.log names.log posix.log simple.log sql.log 
> syntax.log user_property.log callout.log echo.log count.log bug_fix.log 
> regset.log scan.log callback_each_match.log" || rm -f encode.log listcap.log 
> names.log posix.log simple.log sql.log syntax.log user_property.log 
> callout.log echo.log count.log bug_fix.log regset.log scan.log 
> callback_each_match.log
> rm -f *.lo
> rm -f *.tab.c
>  rm -f encode listcap names posix simple sql syntax user_property callout 
> echo count bug_fix regset scan callback_each_match
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test -z "encode.trs listcap.trs names.trs posix.trs simple.trs sql.trs 
> syntax.trs user_property.trs callout.trs echo.trs count.trs bug_fix.trs 
> regset.trs scan.trs callback_each_match.trs" || rm -f encode.trs listcap.trs 
> names.trs posix.trs simple.trs sql.trs syntax.trs user_property.trs 
> callout.trs echo.trs count.trs bug_fix.trs regset.trs scan.trs 
> callback_each_match.trs
> test . = "." || test -z "" || rm -f 
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f ./.deps/bug_fix.Po
> rm -f ./.deps/callback_each_match.Po
> rm -f ./.deps/callout.Po
> rm -f ./.deps/count.Po
> rm -f ./.deps/echo.Po
> rm -f ./.deps/encode.Po
> rm -f ./.deps/listcap.Po
> rm -f ./.deps/names.Po
> rm -f ./.deps/posix.Po
> rm -f ./.deps/regset.Po
> rm -f ./.deps/scan.Po
> rm -f ./.deps/simple.Po
> rm -f ./.deps/sql.Po
> rm -f ./.deps/syntax.Po
> rm -f ./.deps/user_property.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/sample'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "onig-config" || rm -f onig-config
> test . = "." || test -z "" || rm -f 
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> 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 source format '3.0 (quilt)'
> dpkg-source: info: building libonig using existing ./libonig_6.9.8.orig.tar.gz
> dpkg-source: warning: ignoring deletion of file INSTALL, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file compile, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file depcomp, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file test-driver, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file missing, use 
> --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  libonig-6.9.8/oniguruma.pc
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/libonig_6.9.8-1.diff.P8rYb4
> 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/libonig_6.9.8-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