Source: libdigest-whirlpool-perl Version: 1.09-2 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`, libdigest-whirlpool-perl failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~_whirlpool.c:1995:15: warning: pointer targets in passing argument 1 of ‘NESSIEadd’ differ in signedness [-Wpointer-sign]
1995 | NESSIEadd("abc", 8*3, &w); | ^~~~~ | | | char *_whirlpool.c:1642:44: note: expected ‘const unsigned char * const’ but argument is of type ‘char *’
1642 | void NESSIEadd(const unsigned char * const source, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~_whirlpool.c:2002:15: warning: pointer targets in passing argument 1 of ‘NESSIEadd’ differ in signedness [-Wpointer-sign]
2002 | NESSIEadd("message digest", 8*14, &w); | ^~~~~~~~~~~~~~~~ | | | char *_whirlpool.c:1642:44: note: expected ‘const unsigned char * const’ but argument is of type ‘char *’
1642 | void NESSIEadd(const unsigned char * const source, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~_whirlpool.c:2009:15: warning: pointer targets in passing argument 1 of ‘NESSIEadd’ differ in signedness [-Wpointer-sign]
2009 | NESSIEadd("abcdefghijklmnopqrstuvwxyz", 8*26, &w); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char *_whirlpool.c:1642:44: note: expected ‘const unsigned char * const’ but argument is of type ‘char *’
1642 | void NESSIEadd(const unsigned char * const source, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~_whirlpool.c:2016:15: warning: pointer targets in passing argument 1 of ‘NESSIEadd’ differ in signedness [-Wpointer-sign] 2016 | NESSIEadd("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", 8*62, &w); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | | char *_whirlpool.c:1642:44: note: expected ‘const unsigned char * const’ but argument is of type ‘char *’
1642 | void NESSIEadd(const unsigned char * const source, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~_whirlpool.c:2023:15: warning: pointer targets in passing argument 1 of ‘NESSIEadd’ differ in signedness [-Wpointer-sign] 2023 | NESSIEadd("12345678901234567890123456789012345678901234567890123456789012345678901234567890", 8*80, &w); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | | char *_whirlpool.c:1642:44: note: expected ‘const unsigned char * const’ but argument is of type ‘char *’
1642 | void NESSIEadd(const unsigned char * const source, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~_whirlpool.c:2030:15: warning: pointer targets in passing argument 1 of ‘NESSIEadd’ differ in signedness [-Wpointer-sign]
2030 | NESSIEadd("abcdbcdecdefdefgefghfghighijhijk", 8*32, &w); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char *_whirlpool.c:1642:44: note: expected ‘const unsigned char * const’ but argument is of type ‘char *’
1642 | void NESSIEadd(const unsigned char * const source, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ Whirlpool.c: In function ‘XS_Digest__Whirlpool_reset’: Whirlpool.c:272:33: warning: unused variable ‘RETVAL’ [-Wunused-variable] 272 | Digest__Whirlpool RETVAL; | ^~~~~~ Whirlpool.c: In function ‘XS_Digest__Whirlpool_add’: Whirlpool.c:303:33: warning: unused variable ‘RETVAL’ [-Wunused-variable] 303 | Digest__Whirlpool RETVAL; | ^~~~~~ In file included from /usr/lib/aarch64-linux-gnu/perl/5.40/CORE/perl.h:4541: Whirlpool.xs: In function ‘XS_Digest__Whirlpool_digest’:/usr/lib/aarch64-linux-gnu/perl/5.40/CORE/sv.h:1433:34: warning: pointer targets in passing argument 2 of ‘NESSIEfinalize’ differ in signedness [-Wpointer-sign]
1433 | # define SvPVX(sv) ((sv)->sv_u.svu_pv) | ~~~~~~~~~~~^~~~~~~~ | | | char * Whirlpool.xs:87:38: note: in expansion of macro ‘SvPVX’ 87 | NESSIEfinalize(&self->state, SvPVX(RETVAL)); | ^~~~~_whirlpool.c:1761:43: note: expected ‘unsigned char * const’ but argument is of type ‘char *’
1761 | unsigned char * const result) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ rm -f blib/arch/auto/Digest/Whirlpool/Whirlpool.soaarch64-linux-gnu-gcc -shared -L/usr/local/lib -fstack-protector-strong Whirlpool.o -o blib/arch/auto/Digest/Whirlpool/Whirlpool.so \
\ chmod 755 blib/arch/auto/Digest/Whirlpool/Whirlpool.so cp script/whirlpoolsum blib/script/whirlpoolsum"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/whirlpoolsum
Manifying 1 pod document Manifying 1 pod document make[1]: Leaving directory '/<<PKGBUILDDIR>>' /usr/bin/make test make[1]: Entering directory '/<<PKGBUILDDIR>>'"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Whirlpool.bs blib/arch/auto/Digest/Whirlpool/Whirlpool.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-use.t ........ ok t/01-whirlpool.t .. ok t/02-pod.t ........ skipped: Test::Pod 1.14 required t/add.t ........... ok t/addfile.t ....... ok t/b64digest.t ..... ok t/clone.t ......... ok t/digest.t ........ okAttempt to call undefined import method with arguments ("hashsize") via package "Digest::Whirlpool" (Perhaps you forgot to load the package?) at t/hashsize.t line 6.
t/hashsize.t ...... ok t/hexdigest.t ..... ok t/new.t ........... ok t/reset.t ......... ok t/rt-50620.t ...... ok All tests successful.Files=13, Tests=40, 1 wallclock secs ( 0.05 usr 0.04 sys + 1.10 cusr 0.19 csys = 1.38 CPU)
Result: PASS make[1]: Leaving directory '/<<PKGBUILDDIR>>' touch build-stamp dh_testdir dh_testroot dh_clean -kdh_clean: warning: Compatibility levels before 10 are deprecated (level 7 in use)
dh_clean: warning: dh_clean -k is deprecated; use dh_prep instead dh_clean: warning: This feature will be removed in compat 12.# Add commands to install the package into /<<PKGBUILDDIR>>/debian/libdigest-whirlpool-perl /usr/bin/make install DESTDIR=/<<PKGBUILDDIR>>/debian/libdigest-whirlpool-perl PREFIX=/usr
make[1]: Entering directory '/<<PKGBUILDDIR>>'"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Whirlpool.bs blib/arch/auto/Digest/Whirlpool/Whirlpool.bs 644
Manifying 1 pod document Manifying 1 pod documentFiles found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /<<PKGBUILDDIR>>/debian/libdigest-whirlpool-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Digest/Whirlpool/Whirlpool.so Installing /<<PKGBUILDDIR>>/debian/libdigest-whirlpool-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/Digest/Whirlpool.pm Installing /<<PKGBUILDDIR>>/debian/libdigest-whirlpool-perl/usr/share/man/man1/whirlpoolsum.1p Installing /<<PKGBUILDDIR>>/debian/libdigest-whirlpool-perl/usr/share/man/man3/Digest::Whirlpool.3pm Installing /<<PKGBUILDDIR>>/debian/libdigest-whirlpool-perl/usr/bin/whirlpoolsum
make[1]: Leaving directory '/<<PKGBUILDDIR>>'[ ! -d /<<PKGBUILDDIR>>/debian/libdigest-whirlpool-perl/usr/share/perl5 ] || \
rmdir --ignore-fail-on-non-empty --parents --verbose \ /<<PKGBUILDDIR>>/debian/libdigest-whirlpool-perl/usr/share/perl5 touch install-stamp dh_testdir dh_testroot dh_installdocs READMEdh_installdocs: warning: Compatibility levels before 10 are deprecated (level 7 in use)
dh_installchangelogs Changesdh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 7 in use)
dh_shlibdepsdh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 7 in use)
dh_stripdh_strip: warning: Compatibility levels before 10 are deprecated (level 7 in use) strip: unable to copy file 'debian/libdigest-whirlpool-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Digest/Whirlpool/Whirlpool.so'; reason: Permission denied dh_strip: error: strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libdigest-whirlpool-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Digest/Whirlpool/Whirlpool.so returned exit code 1
dh_strip: error: Aborting due to earlier error make: *** [debian/rules:68: binary-arch] Error 25dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------------------------------------------------------------------------------- Build finished at 2024-11-16T23:33:01Z ------------------------------------------------------------------------------- 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/1005536.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