Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489376 - [Solaris] Whirlpool verification fails for 3 packages during bootstrap
Summary: [Solaris] Whirlpool verification fails for 3 packages during bootstrap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: Sparc Solaris
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-25 13:27 UTC by Dirk Heinrichs
Modified: 2020-12-14 20:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Heinrichs 2013-10-25 13:27:06 UTC
In bootstrap stage 3, I get whirlpool verfication errors for mpfr, mpc and gmp:

* Bootstrapping Gentoo prefixed portage installation using
* host:   sparcv9-sun-solaris2.11
* prefix: /opt/prefix
* ready to bootstrap stage3
 * Switching native-compiler to sparcv9-sun-solaris2.11-4.2.4 ...                                                               [ ok ]

 * IMPORTANT: 5 news items need reading for repository 'gentoo_prefix'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-libs/gmp-5.0.5  USE="cxx -doc -static-libs" 1,633 kB
[ebuild  N     ] dev-libs/mpfr-3.1.2-r1  USE="-static-libs" 0 kB
[ebuild  N     ] dev-libs/mpc-0.8.2  0 kB

Total: 3 packages (3 new), Size of downloads: 1,633 kB


>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /opt/prefix/usr/portage/dev-libs/gmp/gmp-5.0.5.ebuild
!!! Reason: Failed on WHIRLPOOL verification
!!! Got: 19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3
!!! Expected: e4f5902d45cf58e6e342572274ec6cc5edad553215035165a2b6553b1867bfc187b2824b9fdaf0b6c75b484651ce1ee8f6a0c2bb1bcdbd29a232a3f19a3e673c

!!! Digest verification failed:
!!! /opt/prefix/usr/portage/dev-libs/mpfr/mpfr-3.1.1_p2.ebuild
!!! Reason: Failed on WHIRLPOOL verification
!!! Got: 19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3
!!! Expected: 0396d497db15ff7d9044f945066ad8231cf7dd536d7dece981789f1140b6f2d6a0f2a12720bf25da7893a3c11859b914d9e6803a2f0063e01d71840c9e6eb4ff

!!! Digest verification failed:
!!! /opt/prefix/usr/portage/dev-libs/mpc/mpc-0.9-r1.ebuild
!!! Reason: Failed on WHIRLPOOL verification
!!! Got: 19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3
!!! Expected: e028652199c795e407bd5e37140f294ca6ca0eccf32f2ee4558a1a2d4c4151e5253729088132cea97b6f56a8067933a71356138348567c6f593c1789017ca1ae

The interesting thing is that version numbers differ and the actual digest is the same for all three.

Reproducible: Always

Steps to Reproduce:
./bootstrap-prefix.sh
Actual Results:  
Whirlpool digest verification fails.

Expected Results:  
Packages should be installed.
Comment 1 Dirk Heinrichs 2013-10-28 08:49:45 UTC
Looks like openssl as provided by Solaris doesn't know whirlpool. Would it make sense to add openssl to the bootstrap process?
Comment 2 Fabian Groffen gentoo-dev 2013-10-28 09:54:56 UTC
hmmm, maybe it should, I wonder why it isn't
Comment 3 Dirk Heinrichs 2013-10-28 13:02:21 UTC
Indeed, when I created an etc/make.conf with USE="ssl" in it, openssl was tossed in when portage was emerged and everything was fine afterwards.
Comment 4 Dirk Heinrichs 2013-10-28 13:05:47 UTC
Maybe it's because of this line (332) in bootstrap-prefix.sh:

echo "USE=\"-berkdb -fortran -gdbm -git -nls -pcre -ssl -python -readline bootstrap internal-glib\"" >> "${profile}"/make.defaults
Comment 5 Fabian Groffen gentoo-dev 2013-12-01 19:57:20 UTC
What solaris 11 is this exactly?  Oracle's Solaris 11?
Comment 6 Dirk Heinrichs 2013-12-01 21:45:15 UTC
(In reply to Fabian Groffen from comment #5)
> What solaris 11 is this exactly?  Oracle's Solaris 11?

Yes. Is there any other?
Comment 7 Fabian Groffen gentoo-dev 2013-12-02 09:42:09 UTC
OpenIndiana, which I happen to run (as I don't have access to Oracle Solaris 11).

Will see if I get the same problem when bootstrapping.
Comment 8 Fabian Groffen gentoo-dev 2014-02-01 20:27:00 UTC
This seems to be the first emerge after updating/installing portage.  Maybe mcrypt is broken on sparc.
Comment 9 Fabian Groffen gentoo-dev 2020-12-14 20:57:57 UTC
we don't use whirlpool any more, the blake2b hashes come straight from Python these days.