[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1046348: libpyzy: Fails to build source after successful build



Source: libpyzy
Version: 1.0.1-8
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa@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 libpyzy
> dpkg-buildpackage: info: source version 1.0.1-8
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Boyuan Yang <byang@debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in data
> make[2]: Entering directory '/<<PKGBUILDDIR>>/data'
> Making distclean in db
> make[3]: Entering directory '/<<PKGBUILDDIR>>/data/db'
> Making distclean in android
> make[4]: Entering directory '/<<PKGBUILDDIR>>/data/db/android'
> test -z "android.db  " || rm -f android.db  
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> test -z "" || rm -f 
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/data/db/android'
> Making distclean in open-phrase
> make[4]: Entering directory '/<<PKGBUILDDIR>>/data/db/open-phrase'
> test -z "stamp-db db/* " || rm -f stamp-db db/* 
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> test -z "" || rm -f 
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/data/db/open-phrase'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/data/db'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/data/db'
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/data/db'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/data'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/data'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/data'
> Making distclean in docs
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> test -z "" || rm -f 
> rm -rf .libs _libs
> rm -f *.lo
> test -z "Doxyfile" || rm -f Doxyfile
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
> Making distclean in m4
> make[2]: Entering directory '/<<PKGBUILDDIR>>/m4'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/m4'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> Making distclean in .
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "ZhConversion.* " || rm -f ZhConversion.* 
> test -z "libpyzy-1.0.la" || rm -f libpyzy-1.0.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./so_locations
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in tests
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/tests'
> rm -rf .libs _libs
> rm -f *.o
> test -z "basic.log" || rm -f basic.log
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
>  rm -f basic
> test . = "." || test -z "" || rm -f 
> test -z "basic.trs" || rm -f basic.trs
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f ./.deps/basic.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/tests'
> rm -f ./.deps/libpyzy_1_0_la-BopomofoContext.Plo
> rm -f ./.deps/libpyzy_1_0_la-Database.Plo
> rm -f ./.deps/libpyzy_1_0_la-DoublePinyinContext.Plo
> rm -f ./.deps/libpyzy_1_0_la-DynamicSpecialPhrase.Plo
> rm -f ./.deps/libpyzy_1_0_la-FullPinyinContext.Plo
> rm -f ./.deps/libpyzy_1_0_la-InputContext.Plo
> rm -f ./.deps/libpyzy_1_0_la-PhoneticContext.Plo
> rm -f ./.deps/libpyzy_1_0_la-PhraseEditor.Plo
> rm -f ./.deps/libpyzy_1_0_la-PinyinContext.Plo
> rm -f ./.deps/libpyzy_1_0_la-PinyinParser.Plo
> rm -f ./.deps/libpyzy_1_0_la-SimpTradConverter.Plo
> rm -f ./.deps/libpyzy_1_0_la-SpecialPhraseTable.Plo
> rm -f ./.deps/libpyzy_1_0_la-Variant.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f -r "`uname -i`"
> rm -f *.lo
> test -z "pyzy-1.0.pc pyzy.spec" || rm -f pyzy-1.0.pc pyzy.spec
> rm -f config.h stamp-h1
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> 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
> 	rm -f -- ./config.sub ./install-sh ./m4/ltsugar.m4 ./m4/lt\~obsolete.m4 ./m4/Makefile.in ./m4/ltversion.m4 ./m4/libtool.m4 ./m4/ltoptions.m4 ./aclocal.m4 ./config.guess ./INSTALL ./data/Makefile.in ./data/db/Makefile.in ./data/db/android/Makefile.in ./data/db/open-phrase/Makefile.in ./autom4te.cache/requests ./autom4te.cache/traces.2 ./autom4te.cache/output.2 ./autom4te.cache/output.3 ./autom4te.cache/output.1 ./autom4te.cache/traces.1 ./autom4te.cache/traces.3 ./autom4te.cache/output.0 ./autom4te.cache/traces.0 ./Makefile.in ./docs/Makefile.in ./compile ./ltmain.sh ./configure ./src/tests/Makefile.in ./src/Makefile.in ./config.h.in ./depcomp ./test-driver ./missing
> 	rm -f debian/autoreconf.before debian/autoreconf.after
>    dh_clean
> 	rm -f debian/debhelper-build-stamp
> 	rm -rf debian/.debhelper/
> 	rm -f debian/libpyzy-1.0-0v5.debhelper.log debian/libpyzy-dev.debhelper.log
> 	rm -f -- debian/libpyzy-1.0-0v5.substvars debian/libpyzy-dev.substvars debian/files
> 	rm -fr -- debian/libpyzy-1.0-0v5/ debian/tmp/ debian/libpyzy-dev/
> 	find .  \( \( \
> 		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
> 	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
> 		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
> 		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
> 		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
> 		\) -exec rm -f {} + \) -o \
> 		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building libpyzy using existing ./libpyzy_1.0.1.orig-db.tar.bz2
> dpkg-source: info: building libpyzy using existing ./libpyzy_1.0.1.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to data/db/android/__pycache__/id.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add data/db/android/__pycache__/id.cpython-311.pyc in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to data/db/android/__pycache__/pydict.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add data/db/android/__pycache__/pydict.cpython-311.pyc in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to data/db/android/__pycache__/valid_hanzi.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add data/db/android/__pycache__/valid_hanzi.cpython-311.pyc in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> 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/libpyzy_1.0.1-8_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 to: