[MacPorts] #22731: py26-numpy built for wrong archs

MacPorts noreply at macports.org
Tue Apr 20 11:44:06 PDT 2010


#22731: py26-numpy built for wrong archs
----------------------------+-----------------------------------------------
 Reporter:  jls@…           |       Owner:  mcalhoun@…           
     Type:  defect          |      Status:  new                  
 Priority:  Normal          |   Milestone:                       
Component:  ports           |     Version:  1.8.1                
 Keywords:                  |        Port:  py26-numpy           
----------------------------+-----------------------------------------------

Comment(by ajb78@…):

 Replying to [comment:24 ajb78@…]:
 > I just ran into this bug as well:  I have a brand new arrandale i5 mac
 with a snow leopard install.  I recovered my previous time-machine
 installation from a 32-bit intel mac and then followed the migration
 instructions on the website (installed latest xcode, re-downloaded
 MacPorts, uninstalled everything and reinstalled it.  After this
 everything seems to build just fine in 64-bit except I get the above bug.
 When I go to my python site-package folder and run the command file
 **/*.so I find that everythign is a 64bit x86_64 shared library except for
 lapack_lite.so and strangely enough Qsci.so.  Neither of these can be
 imported into python (which is also 64-bit).
 >
 > I'm trying to figure this out - but if anyone can offer any help I'd be
 very grateful.

 So a couple of updates:
 1. numpy installs fine with the +no_atlas variant (this is not surprising
 since lapack_lite.so is not needed in this case)
 2. I figured out the problem with Qsci.so and it is unrelated to the
 problems with numpy (it somehow got left in the ports directory when I
 uninstalled everything)
 3. I nuked my /opt/local directory and reinstalled everything once again
 and I still get the same error
 4. lapack_light.so is the only i386 shared library that exists in
 /opt/local (so everything else is correctly built)

 I think the problem might be with the cpu_detection code in the numpy
 setup scripts themselves.

-- 
Ticket URL: <http://trac.macports.org/ticket/22731#comment:25>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list