[MacPorts] #37337: py24-scipy, py25-scipy @0.11.0: build fails when python24/python25 was built with ccache (was: py24-scipy, py25-scipy @0.11.0: build fails)
MacPorts
noreply at macports.org
Tue Dec 18 12:28:43 PST 2012
#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
More information about the macports-tickets
mailing list