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

Bug#1048110: sunpinyin: Fails to build source after successful build



Source: sunpinyin
Version: 3.0.0~rc2+ds1-5
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 sunpinyin
> dpkg-buildpackage: info: source version 3.0.0~rc2+ds1-5
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Boyuan Yang <byang@debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    debian/rules execute_after_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> scons -c .
> scons: Reading SConscript files ...
> Warning: you've set CPPFLAGS in the environmental variable!
> Warning: you've set CFLAGS in the environmental variable!
> Warning: you've set CXXFLAGS in the environmental variable!
> Warning: you've set LDFLAGS in the environmental variable!
> scons: done reading SConscript files.
> scons: Cleaning targets ...
> Removed doc/README
> Removed doc/SLM-inst.mk
> Removed src/portability.os
> Removed src/slm/slm.os
> Removed src/lexicon/pytrie.os
> Removed src/pinyin/pinyin_info.h
> Removed src/pinyin/pinyin_data.os
> Removed src/pinyin/quanpin_trie.h
> Removed src/pinyin/pinyin_seg.os
> Removed src/pinyin/shuangpin_data.os
> Removed src/pinyin/shuangpin_seg.os
> Removed src/pinyin/hunpin_seg.os
> Removed src/ime-core/imi_context.os
> Removed src/ime-core/imi_data.os
> Removed src/ime-core/lattice_states.os
> Removed src/ime-core/imi_view.os
> Removed src/ime-core/imi_uiobjects.os
> Removed src/ime-core/imi_view_classic.os
> Removed src/ime-core/imi_winHandler.os
> Removed src/ime-core/ic_history.os
> Removed src/ime-core/imi_funcobjs.os
> Removed src/ime-core/imi_options.os
> Removed src/ime-core/imi_option_event.os
> Removed src/ime-core/userdict.os
> Removed libsunpinyin.so.3.0
> Removed man/genpyt.1
> Removed man/getwordfreq.1
> Removed man/idngram_merge.1
> Removed man/ids2ngram.1
> Removed man/mmseg.1
> Removed man/slmbuild.1
> Removed man/slminfo.1
> Removed man/slmpack.1
> Removed man/slmprune.1
> Removed man/slmseg.1
> Removed man/slmthread.1
> Removed man/tslmendian.1
> Removed man/tslminfo.1
> Removed src/portability.o
> Removed src/slm/slm.o
> Removed src/slm/tslmendian/writer.o
> Removed src/lexicon/trie_writer.o
> Removed src/lexicon/genpyt.o
> Removed src/lexicon/pytrie.o
> Removed src/lexicon/pytrie_gen.o
> Removed src/pinyin/pinyin_data.o
> Removed src/genpyt
> Removed src/slm/getwordfreq/getwordfreq.o
> Removed src/getwordfreq
> Removed src/slm/ids2ngram/idngram_merge.o
> Removed src/idngram_merge
> Removed src/slm/ids2ngram/ids2ngram.o
> Removed src/ids2ngram
> Removed src/slm/sim_dict.o
> Removed src/slm/sim_sen.o
> Removed src/slm/mmseg/mmseg.o
> Removed src/mmseg
> Removed src/slm/sim_slm.o
> Removed src/slm/slmbuild/sim_slmbuilder.o
> Removed src/slm/slmbuild/slmbuild.o
> Removed src/slm/slminfo/slminfo.o
> Removed src/slm/slmpack/arpa_slm.o
> Removed src/slm/slmpack/slmpack.o
> Removed src/slm/slmprune/slmprune.o
> Removed src/slm/slmseg/slmseg.o
> Removed src/slm/thread/ValueCompress.o
> Removed src/slm/thread/slmthread.o
> Removed src/slm/thread/test_vc.o
> Removed src/slm/tslmendian/slm_endian.o
> Removed src/slm/tslmendian/slm_file.o
> Removed src/slm/tslminfo/tslminfo.o
> Removed src/slmbuild
> Removed src/slminfo
> Removed src/slmpack
> Removed src/slmprune
> Removed src/slmseg
> Removed src/slmthread
> Removed src/sunpinyin-dictgen.mk
> Removed src/sunpinyin-dictgen
> Removed src/testvc
> Removed src/tslmendian
> Removed src/tslminfo
> Removed sunpinyin-2.0.pc
> scons: done cleaning targets.
> rm -rf .sconf_temp
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building sunpinyin using existing ./sunpinyin_3.0.0~rc2+ds1.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to python/__pycache__/pinyin_data.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add python/__pycache__/pinyin_data.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 python/__pycache__/trie.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add python/__pycache__/trie.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/sunpinyin_3.0.0~rc2+ds1-5_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: