Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 173653

Summary: portage not friendly to USE=bindist
Product: Portage Development Reporter: SpanKY <vapier>
Component: CoreAssignee: Portage team <dev-portage>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Package list:
Runtime testing required: ---

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/", line 3617, in doebuild
    manifestonly=1, myportdb=mydbapi)
  File "/usr/lib/portage/pym/", line 2777, in digestgen
  File "/usr/lib/portage/pym/", line 439, in create
    self.fhashdict[mytype][f] = perform_multiple_checksums(self.pkgdir+f, self.hashes)
  File "/usr/lib/portage/pym/", 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 ...