[MacPorts] #37337: py24-scipy, py25-scipy @0.11.0: build fails
#37337: py24-scipy, py25-scipy @0.11.0: build fails --------------------------+------------------------------------ Reporter: ryandesign@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: py24-scipy, py25-scipy --------------------------+------------------------------------ Building py24-scipy or py25-scipy fails, but py26-scipy and py27-scipy build fine. -- Ticket URL: <https://trac.macports.org/ticket/37337> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37337: py24-scipy, py25-scipy @0.11.0: build fails -------------------------------------+------------------- Reporter: ryandesign@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py24-scipy, py25-scipy | -------------------------------------+------------------- Comment (by ram@…): Personally I don't run `python24` and `python25` as they are unsupported upstream, patches are welcome. -- Ticket URL: <https://trac.macports.org/ticket/37337#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37337: py24-scipy, py25-scipy @0.11.0: build fails -------------------------------------+------------------- Reporter: ryandesign@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py24-scipy, py25-scipy | -------------------------------------+------------------- Comment (by jmr@…): Somehow it's putting two compilers into the command line: {{{ /opt/local/bin/g++-mp-4.5 /usr/bin/clang -isysroot / -L/opt/local/lib -bundle -undefined dynamic_lookup build/temp.macosx-10.8-fat-2.5/scipy/interpolate/src/_interpolate.o -Lbuild/temp.macosx-10.8-fat-2.5 -o build/lib.macosx-10.8-fat-2.5/scipy/interpolate/_interpolate.so }}} How is that command being constructed? That doesn't seem like the kind of problem you'd see from a too-old python version. -- Ticket URL: <https://trac.macports.org/ticket/37337#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37337: py24-scipy, py25-scipy @0.11.0: build fails -------------------------------------+------------------- Reporter: ryandesign@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py24-scipy, py25-scipy | -------------------------------------+------------------- Comment (by jmr@…): Also, the buildslaves don't have this problem, as there are binaries for the current version of py25-scipy and py24-scipy. -- Ticket URL: <https://trac.macports.org/ticket/37337#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37337: py24-scipy, py25-scipy @0.11.0: build fails when python24/python25 was built with ccache -------------------------------------+------------------- Reporter: ryandesign@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py24-scipy, py25-scipy | -------------------------------------+------------------- Comment (by ryandesign@…): Thanks, that gave me a point to start. The two compilers in the command made me think of a ccache problem, where someone is not quoting $CC or $CXX properly, but using "configure.ccache no" in py-scipy did not help. It turns out the choice of whether to use ccache is baked into python24 and python25: {{{ /opt/local/lib/python2.4/config/Makefile:CC= ccache /usr/bin/clang /opt/local/lib/python2.4/config/Makefile:CONFIG_ARGS= '-- prefix=/opt/local' '--disable-dependency-tracking' '--with- cxx=/usr/bin/clang++' '--enable-shared' '--mandir=/opt/local/share/man' '--without-readline' '--disable-tk' '--enable-ipv6' '--disable-toolbox- glue' '--enable-universalsdk=/' 'CC=ccache /usr/bin/clang' 'CFLAGS=-pipe -O2 ' 'CPPFLAGS=-I/opt/local/include -D__DARWIN_UNIX03' 'LDFLAGS=-L/opt/local/lib ' }}} {{{ /opt/local/lib/python2.5/config/Makefile:CC= ccache /usr/bin/clang /opt/local/lib/python2.5/config/Makefile:CXX= ccache /usr/bin/clang++ /opt/local/lib/python2.5/config/Makefile:CONFIG_ARGS= '-- prefix=/opt/local' '--disable-dependency-tracking' '--enable-shared' '--enable-framework=/opt/local/Library/Frameworks' '-- mandir=/opt/local/share/man' '--enable-ipv6' '--with-cxx=/usr/bin/clang++' '--enable-universalsdk=/' 'CC=ccache /usr/bin/clang' 'CFLAGS=-pipe -O2 ' 'LDFLAGS=-L/opt/local/lib ' 'CPPFLAGS=-I/opt/local/include -D_DARWIN_C_SOURCE' }}} python26 and python27 don't have this. Rebuilding python24 and python25 with configure.ccache disabled fixed the py24-scipy and py25-scipy build, but of course it would be nice to allow python24 and python25 to have been built with ccache. -- Ticket URL: <https://trac.macports.org/ticket/37337#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37337: py24-scipy, py25-scipy @0.11.0: build fails when python24/python25 was built with ccache -------------------------------------+------------------- Reporter: ryandesign@… | Owner: Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py24-scipy, py25-scipy | -------------------------------------+------------------- Changes (by ram@…): * owner: ram@… => -- Ticket URL: <https://trac.macports.org/ticket/37337#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37337: py24-scipy, py25-scipy @0.11.0: build fails when python24/python25 was built with ccache -------------------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py24-scipy, py25-scipy | -------------------------------------+-------------------------------- Changes (by ryandesign@…): * owner: => macports-tickets@… -- Ticket URL: <https://trac.macports.org/ticket/37337#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37337: py24-scipy, py25-scipy @0.11.0: build fails when python24/python25 was built with ccache -------------------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py24-scipy, py25-scipy | -------------------------------------+-------------------------------- Changes (by sean@…): * status: new => closed * resolution: => fixed Comment: Closing this now that py24 and py25 versions of scipy are gone. -- Ticket URL: <https://trac.macports.org/ticket/37337#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts