Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425046 - Internal whirlpool implementation works too slow or has indefinite loop
Summary: Internal whirlpool implementation works too slow or has indefinite loop
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 428456 (view as bug list)
Depends on:
Blocks: 835380 423075
  Show dependency tree
 
Reported: 2012-07-06 11:58 UTC by Ostashevskyi Viktor
Modified: 2023-05-20 07:43 UTC (History)
1 user (show)

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 Ostashevskyi Viktor 2012-07-06 11:58:18 UTC
I'm using sys-apps/portage-2.1.11.15

If python-mhash is not installed I have problems with following packages:

app-office/libreoffice-3.5.5.3
app-emulation/virtualbox-4.1.18

Merging hangs during checksum checks and emerge process eats 100% CPU. I was waiting for 10-15 min, but no progress.

Confirmed on two different boxes with different CPUs/configuration.

Installing python-mhash solves problem.

I think that is critical as it stops user from emerging some packages without providing any failure information.
Comment 1 Zac Medico gentoo-dev 2012-07-06 17:58:27 UTC
I tested with VirtualBox-4.1.18.tar.bz2 (73688436 bytes) here and it took about 20 minutes.

So, I've updated to portage dependencies to required python[ssl] or python-mhash.
Comment 2 Zac Medico gentoo-dev 2012-07-12 19:50:09 UTC
Here's a fix to skip whirlpool digest checks when they're unaccelerated:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=63e25313d785f40abff3197fe0f3a3eeaa617f7d
Comment 3 Zac Medico gentoo-dev 2012-07-12 21:29:14 UTC
(In reply to comment #2)
> Here's a fix to skip whirlpool digest checks when they're unaccelerated:
> 
> http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;
> h=63e25313d785f40abff3197fe0f3a3eeaa617f7d

This is in 2.1.11.6 and 2.2.0_alpha117.
Comment 4 Zac Medico gentoo-dev 2012-07-30 00:34:49 UTC
*** Bug 428456 has been marked as a duplicate of this bug. ***