[MacPorts] #13402: iso-codes needs py25-hashlib

MacPorts trac at macosforge.org
Sat Nov 24 16:25:31 PST 2007


#13402: iso-codes needs py25-hashlib
-----------------------------------+----------------------------------------
 Reporter:  tim.stoop at gmail.com    |       Owner:  macports-dev at lists.macosforge.org
     Type:  defect                 |      Status:  new                              
 Priority:  High                   |   Milestone:  MacPorts base bugs               
Component:  ports                  |     Version:  1.5.2                            
 Keywords:  iso-codes md5 hashlib  |  
-----------------------------------+----------------------------------------
 In my setup, iso-codes failed to build with the following error:

 {{{
 Traceback (most recent call last):
   File "./iso3166tab.py", line 11, in <module>
     import sys, os, getopt, urllib2
   File "/opt/local/lib/python2.5/urllib2.py", line 88, in <module>
     import hashlib
   File "/opt/local/lib/python2.5/hashlib.py", line 133, in <module>
     md5 = __get_builtin_constructor('md5')
   File "/opt/local/lib/python2.5/hashlib.py", line 60, in
 __get_builtin_constructor
     import _md5
 ImportError: No module named _md5
 make[2]: *** [iso_3166.tab] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1
 }}}

 This was solved by installing py25-hashlib. I suggest making iso-codes
 depend on py25-hashlib. Made the priority high, since it makes the package
 unbuildable.

-- 
Ticket URL: <http://trac.macports.org/projects/macports/ticket/13402>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list