[MacPorts] #23870: python-3.1.1 fails to build with undefined symbol on Snow Leopard
#23870: python-3.1.1 fails to build with undefined symbol on Snow Leopard ------------------------------+--------------------------------------------- Reporter: kurtis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: ------------------------------+--------------------------------------------- rm -f libpython3.1.a ar rc libpython3.1.a Modules/getbuildinfo.o ar rc libpython3.1.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o ar rc libpython3.1.a Objects/abstract.o Objects/boolobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o Objects/weakrefobject.o ar rc libpython3.1.a Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/dynload_shlib.o Python/thread.o ar rc libpython3.1.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o ar rc libpython3.1.a Modules/_threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/_weakref.o Modules/_functoolsmodule.o Modules/_localemodule.o Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o ranlib libpython3.1.a ranlib: for architecture: x86_64 file: libpython3.1.a(pymath.o) has no symbols ranlib: for architecture: i386 file: libpython3.1.a(pymath.o) has no symbols /usr/bin/install -c -d -m 755 Python.framework/Versions/3.1 if test "/"; then \ /usr/bin/gcc-4.2 -o Python.framework/Versions/3.1/Python -arch x86_64 -arch i386 -dynamiclib \ -isysroot "/" \ -all_load libpython3.1.a -Wl,-single_module \ -install_name /opt/local/Library/Frameworks/Python.framework/Versions/3.1/Python \ -compatibility_version 3.1 \ -current_version 3.1 \ -framework CoreFoundation -ldl -arch x86_64 -arch i386 -isysroot / -L/opt/local/lib -arch x86_64 -arch i386; \ else \ /usr/bin/libtool -o Python.framework/Versions/3.1/Python -dynamic libpython3.1.a \ -lSystem -lSystemStubs -arch_only i386 -install_name /opt/local/Library/Frameworks/Python.framework/Versions/3.1/Python -compatibility_version 3.1 -current_version 3.1 -framework CoreFoundation -ldl -arch x86_64 -arch i386 -isysroot / -L/opt/local/lib -arch x86_64 -arch i386;\ fi Undefined symbols: "_libintl_bindtextdomain", referenced from: _PyIntl_bindtextdomain in libpython3.1.a(_localemodule.o) "_libintl_textdomain", referenced from: _PyIntl_textdomain in libpython3.1.a(_localemodule.o) "_libintl_dgettext", referenced from: _PyIntl_dgettext in libpython3.1.a(_localemodule.o) "_libintl_gettext", referenced from: _PyIntl_gettext in libpython3.1.a(_localemodule.o) "_libintl_dcgettext", referenced from: _PyIntl_dcgettext in libpython3.1.a(_localemodule.o) ld: symbol(s) not found collect2: ld returned 1 exit status Undefined symbols: "_libintl_bindtextdomain", referenced from: _PyIntl_bindtextdomain in libpython3.1.a(_localemodule.o) "_libintl_dgettext", referenced from: _PyIntl_dgettext in libpython3.1.a(_localemodule.o) "_libintl_dcgettext", referenced from: _PyIntl_dcgettext in libpython3.1.a(_localemodule.o) "_libintl_gettext", referenced from: _PyIntl_gettext in libpython3.1.a(_localemodule.o) "_libintl_textdomain", referenced from: _PyIntl_textdomain in libpython3.1.a(_localemodule.o) ld: symbol(s) not found collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccu6NEvM.out (No such file or directory) make: *** [Python.framework/Versions/3.1/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_python31/work/Python-3.1.1" && /usr/bin/make -j2 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_python31/work/Python-3.1.1" && /usr/bin/make -j2 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 python31): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> -- Ticket URL: <http://trac.macports.org/ticket/23870> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23870: python-3.1.1 fails to build with undefined symbol on Snow Leopard ------------------------------+--------------------------------------------- Reporter: kurtis@… | Owner: erickt@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python31 ------------------------------+--------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => erickt@… * cc: kurtis@… (removed) * port: => python31 Old description:
rm -f libpython3.1.a ar rc libpython3.1.a Modules/getbuildinfo.o ar rc libpython3.1.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o ar rc libpython3.1.a Objects/abstract.o Objects/boolobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o Objects/weakrefobject.o ar rc libpython3.1.a Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/dynload_shlib.o Python/thread.o ar rc libpython3.1.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o ar rc libpython3.1.a Modules/_threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/_weakref.o Modules/_functoolsmodule.o Modules/_localemodule.o Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o ranlib libpython3.1.a ranlib: for architecture: x86_64 file: libpython3.1.a(pymath.o) has no symbols ranlib: for architecture: i386 file: libpython3.1.a(pymath.o) has no symbols /usr/bin/install -c -d -m 755 Python.framework/Versions/3.1 if test "/"; then \ /usr/bin/gcc-4.2 -o Python.framework/Versions/3.1/Python -arch x86_64 -arch i386 -dynamiclib \ -isysroot "/" \ -all_load libpython3.1.a -Wl,-single_module \ -install_name /opt/local/Library/Frameworks/Python.framework/Versions/3.1/Python \ -compatibility_version 3.1 \ -current_version 3.1 \ -framework CoreFoundation -ldl -arch x86_64 -arch i386 -isysroot / -L/opt/local/lib -arch x86_64 -arch i386; \ else \ /usr/bin/libtool -o Python.framework/Versions/3.1/Python -dynamic libpython3.1.a \ -lSystem -lSystemStubs -arch_only i386 -install_name /opt/local/Library/Frameworks/Python.framework/Versions/3.1/Python -compatibility_version 3.1 -current_version 3.1 -framework CoreFoundation -ldl -arch x86_64 -arch i386 -isysroot / -L/opt/local/lib -arch x86_64 -arch i386;\ fi Undefined symbols: "_libintl_bindtextdomain", referenced from: _PyIntl_bindtextdomain in libpython3.1.a(_localemodule.o) "_libintl_textdomain", referenced from: _PyIntl_textdomain in libpython3.1.a(_localemodule.o) "_libintl_dgettext", referenced from: _PyIntl_dgettext in libpython3.1.a(_localemodule.o) "_libintl_gettext", referenced from: _PyIntl_gettext in libpython3.1.a(_localemodule.o) "_libintl_dcgettext", referenced from: _PyIntl_dcgettext in libpython3.1.a(_localemodule.o) ld: symbol(s) not found collect2: ld returned 1 exit status Undefined symbols: "_libintl_bindtextdomain", referenced from: _PyIntl_bindtextdomain in libpython3.1.a(_localemodule.o) "_libintl_dgettext", referenced from: _PyIntl_dgettext in libpython3.1.a(_localemodule.o) "_libintl_dcgettext", referenced from: _PyIntl_dcgettext in libpython3.1.a(_localemodule.o) "_libintl_gettext", referenced from: _PyIntl_gettext in libpython3.1.a(_localemodule.o) "_libintl_textdomain", referenced from: _PyIntl_textdomain in libpython3.1.a(_localemodule.o) ld: symbol(s) not found collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccu6NEvM.out (No such file or directory) make: *** [Python.framework/Versions/3.1/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_python31/work/Python-3.1.1" && /usr/bin/make -j2 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_python31/work/Python-3.1.1" && /usr/bin/make -j2 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 python31): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
New description: {{{ rm -f libpython3.1.a ar rc libpython3.1.a Modules/getbuildinfo.o ar rc libpython3.1.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o ar rc libpython3.1.a Objects/abstract.o Objects/boolobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o Objects/weakrefobject.o ar rc libpython3.1.a Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/dynload_shlib.o Python/thread.o ar rc libpython3.1.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o ar rc libpython3.1.a Modules/_threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/_weakref.o Modules/_functoolsmodule.o Modules/_localemodule.o Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o ranlib libpython3.1.a ranlib: for architecture: x86_64 file: libpython3.1.a(pymath.o) has no symbols ranlib: for architecture: i386 file: libpython3.1.a(pymath.o) has no symbols /usr/bin/install -c -d -m 755 Python.framework/Versions/3.1 if test "/"; then \ /usr/bin/gcc-4.2 -o Python.framework/Versions/3.1/Python -arch x86_64 -arch i386 -dynamiclib \ -isysroot "/" \ -all_load libpython3.1.a -Wl,-single_module \ -install_name /opt/local/Library/Frameworks/Python.framework/Versions/3.1/Python \ -compatibility_version 3.1 \ -current_version 3.1 \ -framework CoreFoundation -ldl -arch x86_64 -arch i386 -isysroot / -L/opt/local/lib -arch x86_64 -arch i386; \ else \ /usr/bin/libtool -o Python.framework/Versions/3.1/Python -dynamic libpython3.1.a \ -lSystem -lSystemStubs -arch_only i386 -install_name /opt/local/Library/Frameworks/Python.framework/Versions/3.1/Python -compatibility_version 3.1 -current_version 3.1 -framework CoreFoundation -ldl -arch x86_64 -arch i386 -isysroot / -L/opt/local/lib -arch x86_64 -arch i386;\ fi Undefined symbols: "_libintl_bindtextdomain", referenced from: _PyIntl_bindtextdomain in libpython3.1.a(_localemodule.o) "_libintl_textdomain", referenced from: _PyIntl_textdomain in libpython3.1.a(_localemodule.o) "_libintl_dgettext", referenced from: _PyIntl_dgettext in libpython3.1.a(_localemodule.o) "_libintl_gettext", referenced from: _PyIntl_gettext in libpython3.1.a(_localemodule.o) "_libintl_dcgettext", referenced from: _PyIntl_dcgettext in libpython3.1.a(_localemodule.o) ld: symbol(s) not found collect2: ld returned 1 exit status Undefined symbols: "_libintl_bindtextdomain", referenced from: _PyIntl_bindtextdomain in libpython3.1.a(_localemodule.o) "_libintl_dgettext", referenced from: _PyIntl_dgettext in libpython3.1.a(_localemodule.o) "_libintl_dcgettext", referenced from: _PyIntl_dcgettext in libpython3.1.a(_localemodule.o) "_libintl_gettext", referenced from: _PyIntl_gettext in libpython3.1.a(_localemodule.o) "_libintl_textdomain", referenced from: _PyIntl_textdomain in libpython3.1.a(_localemodule.o) ld: symbol(s) not found collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccu6NEvM.out (No such file or directory) make: *** [Python.framework/Versions/3.1/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_python31/work/Python-3.1.1" && /usr/bin/make -j2 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_python31/work/Python-3.1.1" && /usr/bin/make -j2 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 python31): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} -- -- Ticket URL: <http://trac.macports.org/ticket/23870#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23870: python-3.1.1 fails to build with undefined symbol on Snow Leopard ------------------------------+--------------------------------------------- Reporter: kurtis@… | Owner: erickt@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python31 ------------------------------+--------------------------------------------- Comment(by jon.hermansen@…): I'm getting a very similar error trying to build a universal, Tiger- compatible Python 2.6.5 package with MacPorts 1.9.1 on Snow Leopard (10.6.4): {{{ ar cr libpython2.6.a Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o ranlib libpython2.6.a ranlib: for architecture: ppc file: libpython2.6.a(pymath.o) has no symbols ranlib: for architecture: i386 file: libpython2.6.a(pymath.o) has no symbols /usr/bin/install -c -d -m 755 Python.framework/Versions/2.6 if test "/Developer/SDKs/MacOSX10.4u.sdk"; then \ /usr/bin/gcc-4.0 -o Python.framework/Versions/2.6/Python -arch ppc -arch i386 -dynamiclib \ -isysroot "/Developer/SDKs/MacOSX10.4u.sdk" \ -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 i386 -install_name /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python -compatibility_version 2.6 -current_version 2.6 ;\ fi Undefined symbols: "_getgrouplist_2", referenced from: _posix_getgroups in libpython2.6.a(posixmodule.o) ld: symbol(s) not found collect2: ld returned 1 exit status ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple- darwin10/4.0.1/libgcc.a(darwin-tramp.o) ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple- darwin10/4.0.1/libgcc.a(darwin-tramp.o) ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple- darwin10/4.0.1/libgcc.a(darwin-tramp.o) ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple- darwin10/4.0.1/libgcc.a(darwin-tramp.o) ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple- darwin10/4.0.1/libgcc.a(darwin-tramp.o) ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple- darwin10/4.0.1/libgcc.a(darwin-tramp.o) ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple- darwin10/4.0.1/libgcc.a(darwin-tramp.o) Undefined symbols: "_getgrouplist_2", referenced from: _posix_getgroups in libpython2.6.a(posixmodule.o) ld: symbol(s) not found collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccF0he5I.out (No such file or directory) make: *** [Python.framework/Versions/2.6/Python] Error 1 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.5" && /usr/bin/make -j4 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.0" " returned error 2 Error: Target org.macports.build returned: shell command failed DEBUG: Backtrace: shell command failed while executing "command_exec build" (procedure "portbuild::build_main" line 8) 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.archive org.macports.install Log for python26 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} And my environment/configure arguments are: {{{ DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386' CPPFLAGS='-I/opt/local/include -I/opt/local/include/ncurses -isysroot /Developer/SDKs/MacOSX10.4u.sdk' CXXFLAGS='-pipe -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.4' CXX='/usr/bin/g++-4.0' 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' F90FLAGS='-pipe -O2' LDFLAGS='-L/opt/local/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-pipe -O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386' FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.0' 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.5" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable- framework=/opt/local/Library/Frameworks --enable-ipv6 --enable- universalsdk=/Developer/SDKs/MacOSX10.4u.sdk' }}} -- Ticket URL: <http://trac.macports.org/ticket/23870#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23870: python-3.1.1 fails to build with undefined symbol on Snow Leopard ------------------------------+--------------------------------------------- Reporter: kurtis@… | Owner: erickt@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python31 ------------------------------+--------------------------------------------- Comment(by j.bugzilla2@…): python31 (Python 3.1.2) compiled and installed fine on my 10.6.4 machine using MacPorts 1.9.1. Is this ticket still relevant? If not, perhaps it should be closed and removed from the Snow Leopard problem page. Perhaps it was fixed by some work jmr did a few months ago? -- Ticket URL: <http://trac.macports.org/ticket/23870#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23870: python-3.1.1 fails to build with undefined symbol on Snow Leopard ------------------------------+--------------------------------------------- Reporter: kurtis@… | Owner: erickt@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python31 ------------------------------+--------------------------------------------- Comment(by c.roger.day@…): Replying to [comment:3 j.bugzilla2@…]:
python31 (Python 3.1.2) compiled and installed fine on my 10.6.4 machine using MacPorts 1.9.1. Is this ticket still relevant? If not, perhaps it should be closed and removed from the Snow Leopard problem page. Perhaps it was fixed by some work jmr did a few months ago?
I am not an expert. I installed the latest and greatest of everthing, and when I tried to install 3.1.2, it failed with the above error. I installed gettext and the build worked. Maybe gettext is missing as a dependancy for 3.1.2 on snow leopard ports? -- Ticket URL: <http://trac.macports.org/ticket/23870#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23870: python-3.1.1 fails to build with undefined symbol on Snow Leopard ------------------------------+--------------------------------------------- Reporter: kurtis@… | Owner: erickt@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python31 ------------------------------+--------------------------------------------- Comment(by kurtis@…): Replying to [comment:4 c.roger.day@…]:
Replying to [comment:3 j.bugzilla2@…]:
python31 (Python 3.1.2) compiled and installed fine on my 10.6.4 machine using MacPorts 1.9.1. Is this ticket still relevant? If not, perhaps it should be closed and removed from the Snow Leopard problem page. Perhaps it was fixed by some work jmr did a few months ago?
I am not an expert. I installed the latest and greatest of everthing, and when I tried to install 3.1.2, it failed with the above error. I installed gettext and the build worked. Maybe gettext is missing as a dependancy for 3.1.2 on snow leopard ports?
You are indeed right. That does sole the problem and I now have a working python31. thanks! -- Ticket URL: <http://trac.macports.org/ticket/23870#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23870: python-3.1.1 fails to build with undefined symbol on Snow Leopard ------------------------------+--------------------------------------------- Reporter: kurtis@… | Owner: erickt@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python31 ------------------------------+--------------------------------------------- Comment(by anthony_oro@…): I am running OSX 10.6 with macports 1.9.99. I tried to compile Python27 Universal Binaries (ppc i386) for target deployment to OSX 10.4. All the dependencies got built correctly, including gettext which was detected automatically. But I get the "_getgrouplist_2" reference error when Python27 tries to build. As anyone got any clues why this reference is missing when GetText is actually installed?!? -- Ticket URL: <https://trac.macports.org/ticket/23870#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23870: python-3.1.1 fails to build with undefined symbol on Snow Leopard -------------------------------+-------------------------------------------- Reporter: kurtis@… | Owner: erickt@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: worksforme | Keywords: Port: python31 | -------------------------------+-------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => worksforme Comment: Can't reproduce. -- Ticket URL: <https://trac.macports.org/ticket/23870#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts