Opened 5 years ago

Closed 5 years ago

#48263 closed defect (duplicate)

py27-numpy +universal doesn't build universal

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: dh@…
Port: py-numpy


I noticed this on my Leopard box. py27+unviersal isn't universal. It isn't even MacPorts' configured default architecture. It's building as just the compiler's default architecture.

~ $ file /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/ Mach-O i386 bundle

~ $ port provides /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/ is provided by: py27-numpy

~ $ ls /opt/local/var/macports/software/py27-numpy/

Attachments (1)

main.log (840.2 KB) - added by jeremyhu (Jeremy Huddleston Sequoia) 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Attachment: main.log added


comment:1 Changed 5 years ago by jeremyhu (Jeremy Huddleston Sequoia)

The -universal variant results in the correct architecture (just x86_64), so r138343 for now to at least have a correct port that doesn't support universal rather than a broken one that claims to.

comment:2 Changed 5 years ago by michaelld (Michael Dickens)

Resolution: duplicate
Status: newclosed

Thanks for adding in that change; better to force native arch than allow borked universal; I should have done that long ago (brain fart). Also, this is a duplicate of #42416.

Note: See TracTickets for help on using tickets.