Source: libzstd
Version: 1.5.5+dfsg2-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 libzstd
> dpkg-buildpackage: info: source version 1.5.5+dfsg2-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Peter Pentchev <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh 'clean'
>    dh_auto_clean
>       make -j8 clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make -C lib clean > /dev/null
> make -C programs clean > /dev/null
> make -C tests clean > /dev/null
> make -C zlibWrapper clean > /dev/null
> make -C examples/ clean > /dev/null
> make -C contrib/gen_html clean > /dev/null
> make -C contrib/pzstd clean > /dev/null
> make -C contrib/seekable_format/examples clean > /dev/null
> make -C contrib/seekable_format/tests clean > /dev/null
> make -C contrib/largeNbDicts clean > /dev/null
> make -C contrib/externalSequenceProducer clean > /dev/null
> rm -f zstd zstdmt tmp*
> rm -f -r lz4
> Cleaning completed
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>       rm -f debian/libzstd1.debhelper.log
>    debian/rules execute_after_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean -D contrib/pzstd
>       cd contrib/pzstd && make -j8 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/contrib/pzstd'
> rm -f -f *.o pzstd *.Td *.d
> rm -f -f test/*.o test/*Test test/*.Td test/*.d
> rm -f -f utils/test/*.o utils/test/*Test utils/test/*.Td utils/test/*.d
> rm -f -f ../../programs/*.o ../../programs/*.Td ../../programs/*.d
> make -C ../../lib clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
> rm -f -r *.dSYM   # macOS-specific
> rm -f core *.o *.a *.gcda *.so *.so.* libzstd.pc
> rm -f dll/libzstd.dll dll/libzstd.lib libzstd-nomt*
> rm -f -r obj/*
> Cleaning library completed
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> Cleaning completed
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/contrib/pzstd'
> dh_auto_clean -D doc/educational_decoder
>       cd doc/educational_decoder && make -j8 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc/educational_decoder'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc/educational_decoder'
> dh_auto_clean \
>       --buildsystem=cmake \
>       --sourcedir=/<<PKGBUILDDIR>>/build/cmake
>       rm -rf obj-x86_64-linux-gnu
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>       rm -f debian/debhelper-build-stamp
>       rm -rf debian/.debhelper/
>       rm -f -- debian/libzstd-dev.substvars debian/libzstd1.substvars 
> debian/zstd.substvars debian/libzstd1-udeb.substvars debian/files
>       rm -fr -- debian/libzstd-dev/ debian/tmp/ debian/libzstd1/ debian/zstd/ 
> debian/libzstd1-udeb/
>       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 libzstd using existing 
> ./libzstd_1.5.5+dfsg2.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/zstd:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/gzip:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/xz:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/unlzma:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/gunzip:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/zstdcat:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/lzma:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/unzstd:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/zcat:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/zstdmt:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/gzcat:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/lz4:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/unlz4:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> tests/cli-tests/bin/symlinks/unxz:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/programs/zstd
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 255
> 
> 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/libzstd_1.5.5+dfsg2-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