Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#55008 closed defect (fixed)

py27-cython @0.27.1 does not build on Snow Leopard, Mac OS X 10.6.8, after upgrading Clang-3.9 because xcodebuild: error: '/opt/local/libexec/llvm-3.9/bin/clang' not found.

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: snowleopard Cc:
Port: clang-3.9

Description

This report is *not* true:

l /opt/local/libexec/llvm-3.9/bin/clang
-rwxr-xr-x 1 root admin 20805352 2017-10-05 22:47 /opt/local/libexec/llvm-3.9/bin/clang

The actual failure is:

/opt/local/bin/clang-mp-3.9 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py27-cython/work/Cython-0.27.1/Cython/Plex/Scanners.c -o build/temp.macosx-10.6-x86_64-2.7/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py27-cython/work/Cython-0.27.1/Cython/Plex/Scanners.o
xcodebuild: error: '/opt/local/libexec/llvm-3.9/bin/clang' not found.
/Developer/usr/bin/xcodebuild fails with 17664 - Unknown error: 17664
error: command '/opt/local/bin/clang-mp-3.9' failed with exit status 69
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py27-cython/work/Cython-0.27.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
Exit code: 1
Error: Failed to build py27-cython: command execution failed
DEBUG: Error code: CHILDSTATUS 97499 1

A few minutes before port decided to uograde clang/llvm-3.9.

Attachments (1)

main.log (46.0 KB) - added by ballapete (Peter "Pete" Dyballa) 7 years ago.
Main.log from Snow Leopard

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from Snow Leopard

comment:1 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

This is obviously due to upgrading Clang-3.9 to 3.9.1_6:

checking for gcc... /opt/local/bin/clang-mp-3.9 -arch x86_64
checking for C compiler default output file name... 
configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gcc7/libgcc/work/build':
configure: error: C compiler cannot create executables

comment:2 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

The Clang 3.9 bug is reported here: #54985.

comment:3 Changed 7 years ago by kencu (Ken)

Cc: stromnov@… removed
Port: clang-3.9 added; py27-cython removed
Resolution: duplicate
Status: newclosed

Yep. This is a duplicate of 54985 and you're quite right, it doesn't have anything to do with py27-cython directly. We'll have to wait a bit for Jeremy to look at the wrappers.

Pretty much everything will fail to build on 10.6 (at least) until then.

comment:4 in reply to:  3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to kencu:

Pretty much everything will fail to build on 10.6 (at least) until then.

Only everything that uses a MacPorts clang compiler.

comment:5 Changed 7 years ago by kencu (Ken)

that's true - but Peter has upgraded his 10.6.8 system to LibcxxOnOlderSystems at my prompting, and in that configuration, everything builds with macports-clang-3.9. So for all intents and purposes, we're totally shut down for the moment. Time to catch up on Big Bang Theory !

comment:6 in reply to:  5 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Replying to kencu:

Time to catch up on Big Bang Theory !

Theory? I think almost everywhere outside the US of A it's a fact. (Maybe not in Iran and Saudi-Arabia…)

comment:7 Changed 7 years ago by kencu (Ken)

This <https://github.com/kencu/macports-ports/commit/b671ba1875a6e1f28c074407105aeca1bb9d5303> should fix this. Just have to test it out on a few more systems.

comment:8 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: set to MarcusCalhoun-Lopez
Resolution: duplicatefixed

In cdfad47ea5652f36e11ff13a332f318fd9eeb8a8/macports-ports:

llvm-*: fix binary wrappers on older systems

Fixes #54985
Fixes #55008

Note: See TracTickets for help on using tickets.