[MacPorts] #23712: python26 build failure
#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
#23712: python26 build failure ------------------------------------+--------------------------------------- Reporter: sedwards2@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python26 ------------------------------------+--------------------------------------- Changes (by jmr@…): * cc: mcalhoun@… (added) * owner: macports-tickets@… => blb@… * port: gtk2 => python26 * keywords: python26 build failure => Comment: Nothing to do with gtk2. Please remember to cc the maintainers. -- Ticket URL: <http://trac.macports.org/ticket/23712#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23712: python26 build failure ------------------------------------+--------------------------------------- Reporter: sedwards2@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python26 ------------------------------------+--------------------------------------- Comment(by sedwards2@…): I installed 'poppler' today and python26 installed as a dependency without problem. Thanks for your time -- Ticket URL: <http://trac.macports.org/ticket/23712#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23712: python26 build failure -------------------------------------+-------------------------------------- Reporter: sedwards2@… | Owner: blb@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: worksforme | Keywords: Port: python26 | -------------------------------------+-------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/23712#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23712: python26 build failure -------------------------------------+-------------------------------------- Reporter: sedwards2@… | Owner: blb@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: python26 | -------------------------------------+-------------------------------------- Changes (by marcus@…): * status: closed => reopened * resolution: worksforme => Comment: I'm seeing this same error in Macports 1.9.2 on 10.6.6: {{{ :debug:main Executing org.macports.main (python26) :debug:main Skipping completed org.macports.fetch (python26) :debug:main Skipping completed org.macports.checksum (python26) :debug:main setting option extract.cmd to /usr/bin/bzip2 :debug:main Skipping completed org.macports.extract (python26) :debug:main Skipping completed org.macports.patch (python26) :debug:main Skipping completed org.macports.configure (python26) :msg:main ---> Building python26 :debug:build build phase started at Thu Jan 13 08:02:16 CET 2011 :debug:build Executing org.macports.build (python26) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.6" && /usr/bin/make -j8 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2"' :info:build /usr/bin/install -c -d -m 755 Python.framework/Versions/2.6 :info:build if test ""; then \ :info:build /usr/bin/gcc-4.2 -o Python.framework/Versions/2.6/Python -dynamiclib \ :info:build -isysroot "" \ :info:build -all_load libpython2.6.a -Wl,-single_module \ :info:build -install_name /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python \ :info:build -compatibility_version 2.6 \ :info:build -current_version 2.6; \ :info:build else \ :info:build /usr/bin/libtool -o Python.framework/Versions/2.6/Python -dynamic libpython2.6.a \ :info:build -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 ;\ :info:build fi :info:build Undefined symbols: :info:build "__PyParser_Grammar", referenced from: :info:build _PyParser_SimpleParseStringFlagsFilename in libpython2.6.a(pythonrun.o) :info:build _PyParser_SimpleParseStringFlags in libpython2.6.a(pythonrun.o) :info:build _PyParser_SimpleParseFileFlags in libpython2.6.a(pythonrun.o) :info:build _PyParser_ASTFromFile in libpython2.6.a(pythonrun.o) :info:build _PyParser_ASTFromFile in libpython2.6.a(pythonrun.o) :info:build _PyParser_ASTFromString in libpython2.6.a(pythonrun.o) :info:build _PyParser_ASTFromString in libpython2.6.a(pythonrun.o) :info:build _Py_Finalize in libpython2.6.a(pythonrun.o) :info:build _PyParser_SimpleParseFile in libpython2.6.a(pythonrun.o) :info:build _PyParser_SimpleParseStringFilename in libpython2.6.a(pythonrun.o) :info:build _PyParser_SimpleParseString in libpython2.6.a(pythonrun.o) :info:build _PyRun_StringFlags in libpython2.6.a(pythonrun.o) :info:build _PyRun_StringFlags in libpython2.6.a(pythonrun.o) :info:build _Py_SymtableString in libpython2.6.a(pythonrun.o) :info:build _Py_CompileStringFlags in libpython2.6.a(pythonrun.o) :info:build _Py_CompileStringFlags in libpython2.6.a(pythonrun.o) :info:build ld: symbol(s) not found :info:build /usr/bin/libtool: internal link edit command failed :info:build make: *** [Python.framework/Versions/2.6/Python] Error 1 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.6" && /usr/bin/make -j8 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned error 2 :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 python26): org.macports.destroot org.macports.build :notice:build Log for python26 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/23712#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23712: python26 build failure -------------------------------------+-------------------------------------- Reporter: sedwards2@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: python26 | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: reopened => new * cc: mcalhoun@… (removed) * cc: blb@… (added) * owner: blb@… => mcalhoun@… Comment: Clean first so you can generate a complete log: {{{ sudo port clean python26 sudo port install python26 }}} (add main.log as an attachment rather than pasting it inline) -- Ticket URL: <https://trac.macports.org/ticket/23712#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23712: python26 build failure -------------------------------------+-------------------------------------- Reporter: sedwards2@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: worksforme | Keywords: Port: python26 | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => worksforme Comment: No response; closing. -- Ticket URL: <https://trac.macports.org/ticket/23712#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts