[MacPorts] #31435: Build error on py27-wxpython (doesn't detect GCC 4.2)
MacPorts
noreply at macports.org
Wed Sep 28 10:40:28 PDT 2011
#31435: Build error on py27-wxpython (doesn't detect GCC 4.2)
--------------------------------------+-------------------------------------
Reporter: nicholas.clark@… | Owner: jwa@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: py27-wxpython
--------------------------------------+-------------------------------------
Changes (by macsforever2000@…):
* cc: jwa, nicholas.clark@… (removed)
* keywords: python wxpython py27-wxpython bug gcc =>
* owner: macports-tickets@… => jwa@…
Old description:
> Py27-wxpython fails to build on my machine. The error log suggests that
> it's looking for gcc-4.0, instead of auto-detecting my gcc version or
> using the more-generic "gcc".
>
> Here;s a snippet from the end of the build log (full log is attached to
> this ticket):
>
> :info:build gcc-4.0 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
> -arch i386 -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE
> -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -D__WXMAC__ -Iinclude -Isrc -I/opt/local/lib/wx/include/mac-unicode-
> release-2.8 -I/opt/local/include/wx-2.8
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -c src/helpers.cpp -o
> build.unicode/temp.macosx-10.6-x86_64-2.7/src/helpers.o -O3
> :info:build unable to execute gcc-4.0: No such file or directory
> :info:build error: command 'gcc-4.0' failed with exit status 1
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-wxpython/py27-wxpython/work
> /wxPython-src-2.8.12.0/wxPython" &&
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> setup.py --no-user-cfg build " returned error 1
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
> while executing
> "command_exec build"
> (procedure "portbuild::build_main" line 8)
> invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for
> py27-wxpython): org.macports.activate org.macports.build
> org.macports.destroot org.macports.install
> :notice:build Log for py27-wxpython is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-wxpython/py27-wxpython/main.log
New description:
Py27-wxpython fails to build on my machine. The error log suggests that
it's looking for gcc-4.0, instead of auto-detecting my gcc version or
using the more-generic "gcc".
Here;s a snippet from the end of the build log (full log is attached to
this ticket):
{{{
:info:build gcc-4.0 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-arch i386 -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE
-DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D__WXMAC__ -Iinclude -Isrc -I/opt/local/lib/wx/include/mac-unicode-
release-2.8 -I/opt/local/include/wx-2.8
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c src/helpers.cpp -o
build.unicode/temp.macosx-10.6-x86_64-2.7/src/helpers.o -O3
:info:build unable to execute gcc-4.0: No such file or directory
:info:build error: command 'gcc-4.0' failed with exit status 1
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-wxpython/py27-wxpython/work
/wxPython-src-2.8.12.0/wxPython" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build " returned error 1
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for
py27-wxpython): org.macports.activate org.macports.build
org.macports.destroot org.macports.install
:notice:build Log for py27-wxpython is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-wxpython/py27-wxpython/main.log
}}}
--
Comment:
Trac requires complete email addresses. As reporter you are automatically
Cc'ed. In the future, please use WikiFormatting.
--
Ticket URL: <https://trac.macports.org/ticket/31435#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list