#23712: python26 build failure ------------------------------------+--------------------------------------- Reporter: sedwards2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: python26 build failure | Port: gtk2 ------------------------------------+--------------------------------------- this while trying to install gtk2 on Intel macpro OS X 10.6.2: {{{ ---> Building python26 DEBUG: Executing org.macports.build (python26) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.4" && /usr/bin/make -j4 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2"' /usr/bin/install -c -d -m 755 Python.framework/Versions/2.6 if test ""; then \ /usr/bin/gcc-4.2 -o Python.framework/Versions/2.6/Python -dynamiclib \ -isysroot "" \ -all_load libpython2.6.a -Wl,-single_module \ -install_name /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python \ -compatibility_version 2.6 \ -current_version 2.6; \ else \ /usr/bin/libtool -o Python.framework/Versions/2.6/Python -dynamic libpython2.6.a \ -lSystem -lSystemStubs -arch_only x86_64 -install_name /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python -compatibility_version 2.6 -current_version 2.6 ;\ fi Undefined symbols: "__PyParser_Grammar", referenced from: _PyParser_SimpleParseStringFlagsFilename in libpython2.6.a(pythonrun.o) _PyParser_SimpleParseStringFlags in libpython2.6.a(pythonrun.o) _PyParser_SimpleParseFileFlags in libpython2.6.a(pythonrun.o) _PyParser_ASTFromFile in libpython2.6.a(pythonrun.o) _PyParser_ASTFromFile in libpython2.6.a(pythonrun.o) _PyParser_ASTFromString in libpython2.6.a(pythonrun.o) _PyParser_ASTFromString in libpython2.6.a(pythonrun.o) _Py_Finalize in libpython2.6.a(pythonrun.o) _PyParser_SimpleParseFile in libpython2.6.a(pythonrun.o) _PyParser_SimpleParseStringFilename in libpython2.6.a(pythonrun.o) _PyParser_SimpleParseString in libpython2.6.a(pythonrun.o) _PyRun_StringFlags in libpython2.6.a(pythonrun.o) _PyRun_StringFlags in libpython2.6.a(pythonrun.o) _Py_SymtableString in libpython2.6.a(pythonrun.o) _Py_CompileStringFlags in libpython2.6.a(pythonrun.o) _Py_CompileStringFlags in libpython2.6.a(pythonrun.o) ld: symbol(s) not found /usr/bin/libtool: internal link edit command failed make: *** [Python.framework/Versions/2.6/Python] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.4" && /usr/bin/make -j4 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.4" && /usr/bin/make -j4 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for python26): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: atk gtk-doc gnome-doc- utils py26-libxml2 python26 Error: Status 1 encountered during processing. }}} any assistance much appreciated / Stu -- Ticket URL: <http://trac.macports.org/ticket/23712> MacPorts <http://www.macports.org/> Ports system for Mac OS