[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1089362: marked as done (libdigest-whirlpool-perl: Supporting rootless builds by default)



Your message dated Mon, 09 Dec 2024 15:19:28 +0000
with message-id <E1tKfXk-001VzI-HQ@fasolo.debian.org>
and subject line Bug#1089362: fixed in libdigest-whirlpool-perl 1.09-4
has caused the Debian Bug report #1089362,
regarding libdigest-whirlpool-perl: Supporting rootless builds by default
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1089362: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089362
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libdigest-whirlpool-perl
Version: 1.09-2
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`,
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.so
aarch64-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 ........ ok
Attempt 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 -k
dh_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 document
Files 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 README
dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 7 in use)
dh_installchangelogs Changes
dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 7 in use)
dh_shlibdeps
dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 7 in use)
dh_strip
dh_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 25
dpkg-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.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: libdigest-whirlpool-perl
Source-Version: 1.09-4
Done: Alexandre Detiste <tchet@debian.org>

We believe that the bug you reported is fixed in the latest version of
libdigest-whirlpool-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1089362@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated libdigest-whirlpool-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 09 Dec 2024 15:56:33 +0100
Source: libdigest-whirlpool-perl
Architecture: source
Version: 1.09-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1089362
Changes:
 libdigest-whirlpool-perl (1.09-4) unstable; urgency=medium
 .
   * QA upload.
   * Set "Rules-Requires-Root: no" (Closes: #1089362)
Checksums-Sha1:
 f03d13ca0f09ec0b1224fcb5cd7cad92c25ceb58 2011 libdigest-whirlpool-perl_1.09-4.dsc
 83c14fb8960f19c0f5f69dbaa9d11e789c897a0d 3432 libdigest-whirlpool-perl_1.09-4.debian.tar.xz
 47b658eb01f52e035aa00d85dac188a48aba69c3 6898 libdigest-whirlpool-perl_1.09-4_source.buildinfo
Checksums-Sha256:
 b8a6df20e2361c9475961dbe1b3d597bff10d64a3cc3f7db430c1ffd178b0e8d 2011 libdigest-whirlpool-perl_1.09-4.dsc
 81b1071b9eb16c4b0bfe3a7e259a422acf0dac2fe9f3050d3818aa403078a6c1 3432 libdigest-whirlpool-perl_1.09-4.debian.tar.xz
 77291349fc25a3cd9dfa776790472a902984a1b41d7c713d32eb30887031866c 6898 libdigest-whirlpool-perl_1.09-4_source.buildinfo
Files:
 67bd3c3a52c28e851b5352861d0083ca 2011 perl optional libdigest-whirlpool-perl_1.09-4.dsc
 8fea9b817fd54e8ce5596048af1130f7 3432 perl optional libdigest-whirlpool-perl_1.09-4.debian.tar.xz
 ce1080071261d4afbb4fe2dd336c5434 6898 perl optional libdigest-whirlpool-perl_1.09-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmdXBbkRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBqMXw/+NXju6X/f38qa8FK5NqWjcbTcKIT9ObkX
UwOKOh9zCC3hM4qD7lSeoi7Fz97oTMfkSaYaAlNDfgqxMa84Yc8qnWi972KW386f
9ghQZa3Wrphy60BIoLoaWJt/B3G6CI1JlZNzk5LPVM8QfRC7YBZTjIoNG4EM5B9t
vY/ggyORSHEFy1kbEVuUOatQnNn9t8yVeVIA1qYnuV8Rxmk2nOQ+tfJCScJwdkmg
LZBofDrTLjp9D2+g3gNWOKqYvuJPwWA9h4yQIM1d3NYW9xUq9ZowYzupqUGG62lR
8Xeyic4qnPdBYPLhEtmu0vsf66kz+w5WceejHtfRHZD0W5YNnzkM+WuNo4iKYjhU
u7v1NBYegb7U9ik1deYxfpGw1ZAxHHEdcz1dr6efO9JaU7slbqr4KgR50lHsqlEv
b7C80rTp10KO5hv4AkZID5SAf3/uHVAEg1cQMfWjCUqPFmfXou17LSyqV8gk6Y+7
Wx8Tm2gHos1udwgFb+Hi4cVhv1CO0GtbbpEh6ZFB7D/fULtKqiSbshqZTNTZDIiw
VlnIjDYHr/fBAT+o1pFrtrYl7LTKbO4g1OeZic2ALuT5aXiwkGH9BiOmSYdNg+fL
2OQzk01QkQ1EQPWjmd7k05xOcSym6J6oeJthKwOvSJKPhjkN1CgKQopQzTy0ktd7
/qWXmlUozuI=
=JOa3
-----END PGP SIGNATURE-----

Attachment: pgpdR8PMsqLoZ.pgp
Description: PGP signature


--- End Message ---

Reply to: