Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173653 - portage not friendly to USE=bindist
Summary: portage not friendly to USE=bindist
Status: VERIFIED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-07 12:15 UTC by SpanKY
Modified: 2007-06-29 11:29 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 SpanKY gentoo-dev 2007-04-07 12:15:11 UTC
when dev-python/pycrypto is built with USE=bindist, some algorithms are disabled which then prevent things like `ebuild ... manifest` from working ...

# ebuild /usr/portage/app-editors/hexcurse/hexcurse-1.55.ebuild manifest
>>> Creating Manifest for /usr/portage/app-editors/hexcurse
Traceback (most recent call last):
  File "/usr/sbin/ebuild", line 139, in ?
    debug=debug, tree=mytree)
  File "/usr/lib/portage/pym/portage.py", line 3617, in doebuild
    manifestonly=1, myportdb=mydbapi)
  File "/usr/lib/portage/pym/portage.py", line 2777, in digestgen
    assumeDistHashesAlways=(
  File "/usr/lib/portage/pym/portage_manifest.py", line 439, in create
    self.fhashdict[mytype][f] = perform_multiple_checksums(self.pkgdir+f, self.hashes)
  File "/usr/lib/portage/pym/portage_checksum.py", line 235, in perform_multiple_checksums
    raise portage_exception.DigestException, x+" hash function not available (needs dev-python/pycrypto)"
portage_exception.DigestException: RMD160 hash function not available (needs dev-python/pycrypto)
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2007-06-23 11:51:50 UTC
Can't confirm that here, even with USE=bindist pycrypto contains the RMD160 hash algorithm (only RC5 and IDEA are removed), and portage works just fine.
Comment 2 SpanKY gentoo-dev 2007-06-29 11:29:26 UTC
yeah i dunno where that was failing ... and looking at pycrypto, it only turns off IDEA and RC5 ...