Source: libuniversal-ref-perl Version: 0.14-6 Severity: important Tags: ftbfs Justification: FTBFS X-Debbugs-Cc: ni...@thykier.net User: ni...@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`, libuniversal-ref-perl failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] "/usr/bin/perl" -MExtUtils::Command -e 'mkpath' -- blib/bin chmod 755 blib/bin touch blib/bin/.exists "/usr/bin/perl" -MExtUtils::Command -e 'mkpath' -- blib/script chmod 755 blib/script touch blib/script/.exists "/usr/bin/perl" -MExtUtils::Command -e 'mkpath' -- blib/man1 chmod 755 blib/man1 touch blib/man1/.exists "/usr/bin/perl" -MExtUtils::Command -e 'mkpath' -- blib/man3 chmod 755 blib/man3 touch blib/man3/.exists true true true"/usr/bin/perl" -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''blib/lib/auto'\'', q[], '\''755'\'')' -- \ 'lib/UNIVERSAL/ref.pm' 'blib/lib/UNIVERSAL/ref.pm' cp lib/UNIVERSAL/ref.pm blib/lib/UNIVERSAL/ref.pm
touch pm_to_blib true echo "Running Mkbootstrap for ref ()" Running Mkbootstrap for ref () "/usr/bin/perl" \ "-MExtUtils::Mkbootstrap" \ -e "Mkbootstrap('ref','');" touch "ref.bs" chmod 644 "ref.bs" rm -rf blib/arch/auto/UNIVERSAL/ref/ref.bs"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ref.bs blib/arch/auto/UNIVERSAL/ref/ref.bs 644 "/usr/bin/perl" "/usr/share/perl/5.40/ExtUtils/xsubpp" -typemap '/usr/share/perl/5.40/ExtUtils/typemap' -typemap '/<<PKGBUILDDIR>>/typemap' ref.xs > ref.xsc
mv ref.xsc ref.caarch64-linux-gnu-gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -DVERSION=\"0.14\" -DXS_VERSION=\"0.14\" -fPIC "-I/usr/lib/aarch64-linux-gnu/perl/5.40/CORE" ref.c
In file included from ref.xs:4: ppport.h:4594:11: warning: "WIDEST_UTYPE" redefined 4594 | # define WIDEST_UTYPE U64TYPE | ^~~~~~~~~~~~ In file included from /usr/lib/aarch64-linux-gnu/perl/5.40/CORE/perl.h:3329, from ref.xs:2:/usr/lib/aarch64-linux-gnu/perl/5.40/CORE/handy.h:1422:9: note: this is the location of the previous definition
1422 | #define WIDEST_UTYPE PERL_UINTMAX_T | ^~~~~~~~~~~~ rm -f blib/arch/auto/UNIVERSAL/ref/ref.soaarch64-linux-gnu-gcc -Wl,-z,relro -shared -L/usr/local/lib -fstack-protector-strong ref.o -o blib/arch/auto/UNIVERSAL/ref/ref.so \
\ chmod 755 blib/arch/auto/UNIVERSAL/ref/ref.so true true true true"/usr/bin/perl" "-MExtUtils::Command::MM" -e pod2man "--" --section=3pm --perm_rw=644 -u \ lib/UNIVERSAL/ref.pm blib/man3/UNIVERSAL::ref.3pm Manifying 1 pod document
true make[1]: Leaving directory '/<<PKGBUILDDIR>>' touch debian/stamp-makefile-build/usr/bin/make -C . OPTIMIZE="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include" LDDLFLAGS="-Wl,-z,relro -shared -L/usr/local/lib -fstack-protector-strong" test TEST_VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>' true true true rm -rf blib/arch/auto/UNIVERSAL/ref/ref.bs"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ref.bs blib/arch/auto/UNIVERSAL/ref/ref.bs 644
true true true true truePERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/basic.t ................. not ok 1 - I even fix the past # TODO Impossible using current technology.
# Failed (TODO) test 'I even fix the past' # at t/basic.t line 40. # got: 'PAST' # expected: 'lie' ok 2 - Lying 101 ok 3 - Data::Dumper is unpeturbed ok 4 # skip Don't have Data::Dump::Streamer ok 5 - Ordinary things are ordinary 1 ok 6 - Ordinary things are ordinary 2 ok 7 - Ordinary things are ordinary 3 ok 8 - Self delusion 1 ok 9 - Self delusion 2 ok 10 - Overloaded objects still look overloaded ok 11 - Overloaded objects stringify normally too 1..11 okt/release-pod-coverage.t .. skipped: these tests are for release candidate testing t/release-pod-syntax.t .... skipped: these tests are for release candidate testing
All tests successful.Files=3, Tests=11, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.31 cusr 0.04 csys = 0.38 CPU)
Result: PASS true make[1]: Leaving directory '/<<PKGBUILDDIR>>' touch debian/stamp-makefile-check/usr/bin/make -C . OPTIMIZE="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include" LDDLFLAGS="-Wl,-z,relro -shared -L/usr/local/lib -fstack-protector-strong" install DESTDIR=" /<<PKGBUILDDIR>>/debian/libuniversal-ref-perl"
make[1]: Entering directory '/<<PKGBUILDDIR>>' true true true true rm -rf blib/arch/auto/UNIVERSAL/ref/ref.bs"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ref.bs blib/arch/auto/UNIVERSAL/ref/ref.bs 644
true true true true"/usr/bin/perl" "-MExtUtils::Command::MM" -e pod2man "--" --section=3pm --perm_rw=644 -u \ lib/UNIVERSAL/ref.pm blib/man3/UNIVERSAL::ref.3pm Manifying 1 pod document
trueumask 022; "/usr/bin/perl" -MExtUtils::Install -e 'install([ from_to => {@ARGV}, verbose => '\''0'\'', uninstall_shadows => '\''0'\'', dir_mode => '\''755'\'' ]);' -- \ "blib/lib" "/<<PKGBUILDDIR>>/debian/libuniversal-ref-perl/usr/share/perl5" \ "blib/arch" "/<<PKGBUILDDIR>>/debian/libuniversal-ref-perl/usr/lib/aarch64-linux-gnu/perl5/5.40" \
"blib/bin" "/<<PKGBUILDDIR>>/debian/libuniversal-ref-perl/usr/bin" \ "blib/script" "/<<PKGBUILDDIR>>/debian/libuniversal-ref-perl/usr/bin" \"blib/man1" "/<<PKGBUILDDIR>>/debian/libuniversal-ref-perl/usr/share/man/man1" \ "blib/man3" "/<<PKGBUILDDIR>>/debian/libuniversal-ref-perl/usr/share/man/man3" Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /<<PKGBUILDDIR>>/debian/libuniversal-ref-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/UNIVERSAL/ref/ref.so Installing /<<PKGBUILDDIR>>/debian/libuniversal-ref-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/UNIVERSAL/ref.pm Installing /<<PKGBUILDDIR>>/debian/libuniversal-ref-perl/usr/share/man/man3/UNIVERSAL::ref.3pm
true true true make[1]: Leaving directory '/<<PKGBUILDDIR>>' touch debian/stamp-makefile-install Adding cdbs dependencies to debian/libuniversal-ref-perl.substvars dh_installdirs -plibuniversal-ref-perl \ dh_installdocs -plibuniversal-ref-perl ./READMEdh_installexamples -plibuniversal-ref-perl dh_installman -plibuniversal-ref-perl dh_installinfo -plibuniversal-ref-perl dh_installmenu -plibuniversal-ref-perl dh_installcron -plibuniversal-ref-perl dh_systemd_enable -plibuniversal-ref-perl dh_installinit -plibuniversal-ref-perl dh_installdebconf -plibuniversal-ref-perl dh_installemacsen -plibuniversal-ref-perl dh_installcatalogs -plibuniversal-ref-perl dh_installpam -plibuniversal-ref-perl dh_installlogrotate -plibuniversal-ref-perl dh_installlogcheck -plibuniversal-ref-perl dh_installchangelogs -plibuniversal-ref-perl ./Changes dh_installudev -plibuniversal-ref-perl dh_lintian -plibuniversal-ref-perl dh_bugfiles -plibuniversal-ref-perl dh_install -plibuniversal-ref-perl dh_systemd_start -plibuniversal-ref-perl dh_link -plibuniversal-ref-perl dh_buildinfo -plibuniversal-ref-perl dh_installmime -plibuniversal-ref-perl dh_installgsettings -plibuniversal-ref-perl dh_strip -plibuniversal-ref-perl strip: unable to copy file 'debian/libuniversal-ref-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/UNIVERSAL/ref/ref.so'; reason: Permission denied dh_strip: error: strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libuniversal-ref-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/UNIVERSAL/ref/ref.so returned exit code 1
dh_strip: error: Aborting due to earlier errormake: *** [/usr/share/cdbs/1/rules/debhelper.mk:298: binary-strip-IMPL/libuniversal-ref-perl] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------------------------------------------------------------------------------- Build finished at 2024-11-17T07:34:51Z ------------------------------------------------------------------------------- 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/1018152.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.
OpenPGP_signature.asc
Description: OpenPGP digital signature