Opened 14 years ago

Last modified 13 years ago

#23870 closed defect

python-3.1.1 fails to build with undefined symbol on Snow Leopard — at Initial Version

Reported by: kurtis@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: kurtis@…
Port: python31

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/tmpccu6NEvM.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>

Change History (0)

Note: See TracTickets for help on using tickets.