Opened 13 years ago

Closed 13 years ago

#31435 closed defect (duplicate)

Build error on py27-wxpython (doesn't detect GCC 4.2)

Reported by: nicholas.clark@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: py27-wxpython

Description (last modified by mf2k (Frank Schima))

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

Attachments (1)

main.log (54.1 KB) - added by nicholas.clark@… 13 years ago.
build log from py27-wxpython

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by nicholas.clark@…

Attachment: main.log added

build log from py27-wxpython

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Cc: jwa nicholas.clark@… removed
Description: modified (diff)
Keywords: python wxpython py27-wxpython bug gcc removed
Owner: changed from macports-tickets@… to jwa@…

Trac requires complete email addresses. As reporter you are automatically Cc'ed. In the future, please use WikiFormatting.

comment:2 in reply to:  1 Changed 13 years ago by nicholas.clark@…

Replying to macsforever2000@…:

Trac requires complete email addresses. As reporter you are automatically Cc'ed. In the future, please use WikiFormatting.

Will do. Thanks!

comment:3 Changed 13 years ago by raimue (Rainer Müller)

Resolution: duplicate
Status: newclosed

Duplicate of #29003.

Note: See TracTickets for help on using tickets.