Opened 5 years ago

Closed 5 years ago

#58264 closed defect (invalid)

py27-cython @0.29.6: clang: error: invalid arch name '-arch -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jmroot (Joshua Root)
Port: py27-cython

Description

:info:build /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c /opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_python_py-cython/py27-cython/work/Cython-0.29.6/Cython/Plex/Scanners.c -o build/temp.macosx-10.13-x86_64-2.7/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_python_py-cython/py27-cython/work/Cython-0.29.6/Cython/Plex/Scanners.o
:info:build clang: error: invalid arch name '-arch -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'
:info:build error: command '/usr/bin/clang' failed with exit status 1

Attachments (1)

main.log (44.3 KB) - added by ryandesign (Ryan Carsten Schmidt) 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

py27-cffi fails in the same way. Maybe it is a bug in python27 or in the python 1.0 portgroup. This used to work.

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jmroot added
Resolution: invalid
Status: assignedclosed

Well, it's my fault: I had updated macports-ports to include [62b5f6f74b16ef21aaf49a7219d24a5553866b90/macports-ports] but I was using a version of macports-base 2.5.99 prior to [9313be582b735fd837598ae48ac3caff94824e37/macports-base]. Updating to the latest macports-base fixed it.

Note: See TracTickets for help on using tickets.