Source: ns3
Version: 3.39-2
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 ns3
> dpkg-buildpackage: info: source version 3.39-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Martin Quinson 
> <[email protected]>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --with python3
>       rm -f debian/libns3-dev.debhelper.log debian/libns3.39.debhelper.log 
> debian/ns3-doc.debhelper.log debian/ns3.debhelper.log
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> #-sh ./debian/clean-tree.sh
> rm -f src/core/model/version.cache
> dh_auto_clean
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>       rm -f debian/debhelper-build-stamp
>       rm -rf debian/.debhelper/
>       rm -f -- debian/ns3.substvars debian/ns3-doc.substvars 
> debian/libns3.39.substvars debian/libns3-dev.substvars debian/files
>       rm -fr -- debian/ns3/ debian/tmp/ debian/ns3-doc/ debian/libns3.39/ 
> debian/libns3-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 ns3 using existing ./ns3_3.39.orig.tar.bz2
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to 
> ns-3.39/build/lib/libns3-wimax.so:
> dpkg-source: error:   new version is symlink to libns3-wimax.so.39
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> ns-3.39/build/lib/libns3-applications.so:
> dpkg-source: error:   new version is symlink to libns3-applications.so.39
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> ns-3.39/build/lib/libns3-tap-bridge.so:
> dpkg-source: error:   new version is symlink to libns3-tap-bridge.so.39
[...]
> dpkg-source: error: cannot represent change to 
> ns-3.39/doc/tutorial/build/singlehtml/objects.inv: binary file contents 
> changed
> dpkg-source: error: add ns-3.39/doc/tutorial/build/singlehtml/objects.inv in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: file ns3-3.39/ns-3.39/src/core/model/version.cache has 
> no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to 
> ns-3.39/testpy-output/star-animation.command-line: binary file contents 
> changed
> dpkg-source: error: add ns-3.39/testpy-output/star-animation.command-line in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> ns-3.39/testpy-output/wifi-bianchi.command-line: binary file contents changed
> dpkg-source: error: add ns-3.39/testpy-output/wifi-bianchi.command-line in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> ns-3.39/testpy-output/wifi-error-models-comparison.command-line: binary file 
> contents changed
> dpkg-source: error: add 
> ns-3.39/testpy-output/wifi-error-models-comparison.command-line in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: newly created empty file 'override_dh_auto_build-indep' 
> will not be represented in diff
> 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/ns3_3.39-2_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