Source: ns2 Version: 2.35+dfsg-6 Severity: important Tags: ftbfs Justification: FTBFS X-Debbugs-Cc: niels@thykier.net User: niels@thykier.net Usertags: rrr-no-as-default-issue Dear maintainer, During a test rebuild for building packages with `Rules-Requires-Root: no` as the default in `dpkg`, ns2 failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] Running test Mcast-PBU-MP: ../../ns test-suite-webcache.tcl Mcast-PBU-MP QUIET Test output agrees with reference output Running test ttl-PB: ../../ns test-suite-webcache.tcl ttl-PB QUIET Test output agrees with reference output Running test ottl-PB: ../../ns test-suite-webcache.tcl ottl-PB QUIET Test output agrees with reference output Running test Mcast-PBtr: ../../ns test-suite-webcache.tcl Mcast-PBtr QUIET Test output agrees with reference output Running test Mcast-PBPtr: ../../ns test-suite-webcache.tcl Mcast-PBPtr QUIET Test output agrees with reference output Running test Mcast-PBUtr: ../../ns test-suite-webcache.tcl Mcast-PBUtr QUIET Test output agrees with reference output Running test ttl-PBtr: ../../ns test-suite-webcache.tcl ttl-PBtr QUIET Test output agrees with reference output Running test ottl-PBtr: ../../ns test-suite-webcache.tcl ottl-PBtr QUIET Test output agrees with reference output Running test mmcast-PB: ../../ns test-suite-webcache.tcl mmcast-PB QUIET Test output agrees with reference output Running test mmcast-PBU: ../../ns test-suite-webcache.tcl mmcast-PBU QUIET Test output agrees with reference output Running test mttl-PB: ../../ns test-suite-webcache.tcl mttl-PB QUIET Test output agrees with reference output Running test mottl-PB: ../../ns test-suite-webcache.tcl mottl-PB QUIET Test output agrees with reference output All test output agrees with reference output. Sun Nov 17 15:27:35 UTC 2024 Sun Nov 17 15:27:37 UTC 2024 *** ./test-all-mcache Tests: media1 media2 media3 media3a media4 media5 Running test media1: ../../ns test-suite-mcache.tcl media1 QUIET Test output agrees with reference output Running test media2: ../../ns test-suite-mcache.tcl media2 QUIET Test output agrees with reference output Running test media3: ../../ns test-suite-mcache.tcl media3 QUIET Test output agrees with reference output Running test media3a: ../../ns test-suite-mcache.tcl media3a QUIET Test output agrees with reference output Running test media4: ../../ns test-suite-mcache.tcl media4 QUIET Test output agrees with reference output Running test media5: ../../ns test-suite-mcache.tcl media5 QUIET MediaSegmentList: get a seg (15360 16384) which is already in cache!List contents: (15360, 16384) (22528, 23552) (24576, 25600) (26624, 37888) Total = 14336
MediaSegmentList: get a seg (15360 16384) which is already in cache!List contents: (15360, 16384) (22528, 23552) (24576, 25600) (26624, 37888) Total = 14336
MediaSegmentList: get a seg (15360 16384) which is already in cache!List contents: (15360, 16384) (22528, 23552) (24576, 25600) (26624, 39936) Total = 16384
MediaSegmentList: get a seg (15360 16384) which is already in cache!List contents: (15360, 16384) (22528, 23552) (24576, 25600) (26624, 39936) Total = 16384
MediaSegmentList: get a seg (15360 16384) which is already in cache!List contents: (15360, 16384) (22528, 23552) (24576, 25600) (26624, 39936) Total = 16384
Test output agrees with reference output All test output agrees with reference output. Sun Nov 17 15:27:45 UTC 2024 Sun Nov 17 15:27:47 UTC 2024 *** ./test-all-plm Tests: PLM Running test PLM: ../../ns test-suite-plm.tcl PLM QUIET Test output differs from reference output Diagnose with: diff test-output-plm/PLM.test test-output-plm/PLM Or see URL "http://www.isi.edu/nsnam/ns/ns-problems.html". Some test failed. Sun Nov 17 15:27:51 UTC 2024 Sun Nov 17 15:27:53 UTC 2024 *** ./test-all-wireless-tdma Tests: dsdv dsr Running test dsdv: ../../ns test-suite-wireless-tdma.tcl dsdv QUIET INITIALIZE THE LIST xListHead Loading connection pattern... Loading scenario file... Load complete... Starting Simulation... SORTING LISTS ...DONE! NS EXITING... finishing.. num_nodes is set 50 channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 550.0 Test output agrees with reference output Running test dsr: ../../ns test-suite-wireless-tdma.tcl dsr QUIET INITIALIZE THE LIST xListHead Loading connection pattern... Loading scenario file... Load complete... Starting Simulation... SORTING LISTS ...DONE! NS EXITING... finishing.. num_nodes is set 50 channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 550.0 Test output agrees with reference output All test output agrees with reference output. Sun Nov 17 15:27:59 UTC 2024 These messages are NOT errors and can be ignored: warning: using backward compatibility mode This test is not implemented in backward compatibility mode validate overall report: some tests failed:./test-all-red ./test-all-mpls ./test-all-wireless-diffusion ./test-all-plm
to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME make[2]: *** [Makefile:619: test] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>'dh_auto_test: error: make -j16 test "TESTSUITEFLAGS=-j16 --verbose" VERBOSE=1 returned exit code 2
make[1]: [debian/rules:21: override_dh_auto_test] Error 25 (ignored) make[1]: Leaving directory '/<<PKGBUILDDIR>>' create-stamp debian/debhelper-build-stamp dh_preprm -f -- debian/ns2.substvars debian/ns2-dbg.substvars debian/ns2-doc.substvars debian/ns2-examples.substvars rm -fr -- debian/.debhelper/generated/ns2/ debian/ns2/ debian/tmp/ debian/.debhelper/generated/ns2-dbg/ debian/ns2-dbg/ debian/.debhelper/generated/ns2-doc/ debian/ns2-doc/ debian/.debhelper/generated/ns2-examples/ debian/ns2-examples/
debian/rules override_dh_auto_install make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_install --no-parallelinstall -m0755 -d debian/ns2 debian/ns2-dbg debian/ns2-doc debian/ns2-examples make -j1 install DESTDIR=/<<BUILDDIR>>/ns2-2.35\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no
make[2]: Entering directory '/<<PKGBUILDDIR>>'for d in /<<PKGBUILDDIR>>/debian/tmp/usr/man/man1 /<<PKGBUILDDIR>>/debian/tmp/usr/bin; do \
if [ ! -d $d ]; then \ mkdir -p $d ;\ fi;\ done /usr/bin/install -c -m 755 ns /<<PKGBUILDDIR>>/debian/tmp/usr/bin /usr/bin/install -c -m 644 ns.1 /<<PKGBUILDDIR>>/debian/tmp/usr/man/man1for i in indep-utils/cmu-scen-gen/setdest indep-utils/webtrace-conv/dec indep-utils/webtrace-conv/epa indep-utils/webtrace-conv/nlanr indep-utils/webtrace-conv/ucb; do ( cd $i; make install; ) done make[3]: Entering directory '/<<PKGBUILDDIR>>/indep-utils/cmu-scen-gen/setdest' /usr/bin/install -c -m 555 -o bin -g bin setdest /<<PKGBUILDDIR>>/debian/tmp/usr/bin /usr/bin/install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/tmp/usr/bin/setdest': Operation not permitted
make[3]: *** [Makefile:65: install] Error 1make[3]: Leaving directory '/<<PKGBUILDDIR>>/indep-utils/cmu-scen-gen/setdest'
make[3]: Entering directory '/<<PKGBUILDDIR>>/indep-utils/webtrace-conv/dec'/usr/bin/install -c -m 555 -o bin -g bin dec-tr-stat /<<PKGBUILDDIR>>/debian/tmp/usr/bin /usr/bin/install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/tmp/usr/bin/dec-tr-stat': Operation not permitted
make[3]: *** [Makefile:68: install] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/indep-utils/webtrace-conv/dec' make[3]: Entering directory '/<<PKGBUILDDIR>>/indep-utils/webtrace-conv/epa'/usr/bin/install -c -m 555 -o bin -g bin epa-tr-stat /<<PKGBUILDDIR>>/debian/tmp/usr/bin /usr/bin/install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/tmp/usr/bin/epa-tr-stat': Operation not permitted
make[3]: *** [Makefile:67: install] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/indep-utils/webtrace-conv/epa'make[3]: Entering directory '/<<PKGBUILDDIR>>/indep-utils/webtrace-conv/nlanr' /usr/bin/install -c -m 555 -o bin -g bin nlanr-tr-stat /<<PKGBUILDDIR>>/debian/tmp/usr/bin /usr/bin/install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/tmp/usr/bin/nlanr-tr-stat': Operation not permitted
make[3]: *** [Makefile:67: install] Error 1make[3]: Leaving directory '/<<PKGBUILDDIR>>/indep-utils/webtrace-conv/nlanr'
make[3]: Entering directory '/<<PKGBUILDDIR>>/indep-utils/webtrace-conv/ucb'/usr/bin/install -c -m 555 -o bin -g bin ucb-tr-stat /<<PKGBUILDDIR>>/debian/tmp/usr/bin /usr/bin/install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/tmp/usr/bin/ucb-tr-stat': Operation not permitted
make[3]: *** [Makefile:45: install] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/indep-utils/webtrace-conv/ucb' make[2]: *** [Makefile:561: install-recursive] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>'dh_auto_install: error: make -j1 install DESTDIR=/<<BUILDDIR>>/ns2-2.35\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
make[1]: *** [debian/rules:25: override_dh_auto_install] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:10: binary] Error 2dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------------------------------------------------------------------------------- Build finished at 2024-11-17T15:28:02Z ------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~nthykier/rrr-no-as-default/logs/1025382.gz You can find common solutions at https://people.debian.org/~nthykier/rrr-no-as-default/docs/solutions.md If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. If this package is listed in https://people.debian.org/~nthykier/rrr-no-as-default/docs/static-ownership.list, then please just set `Rules-Requires-Root: binary-targets` to the source stanza of `debian/control` as a fix to this bug. If this package is listed in https://people.debian.org/~nthykier/rrr-no-as-default/docs/maybe-misbuilds.list, then the package was deemed at risk for misbuilding (having wrong ownership) but had a FTBFS problem we tested it. Please test whether the package works with `Rules-Requires-Root: no` validating that the resulting deb has the correct ownership for all paths in the deb. The goal is to have the default changed in `dpkg` either in `Trixie` or `Forky`, depending on progress and feasibility with the release schedule for Trixie. For more information on this bug filing, please see: https://lists.debian.org/debian-dpkg/2024/11/msg00016.html Thanks, PS: The builds were performed in mid-November. If you fixed the problem between between then and this bug being filed, then please just close the bug with the version it was fixed in.
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature