[MacPorts] #23712: python26 build failure

MacPorts noreply at macports.org
Wed Jan 12 23:09:56 PST 2011


#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


More information about the macports-tickets mailing list