[MacPorts] #28260: python27: undefined symbol "_getgrouplist_2"
MacPorts
noreply at macports.org
Wed Feb 2 21:46:46 PST 2011
#28260: python27: undefined symbol "_getgrouplist_2"
----------------------------------+-----------------------------------------
Reporter: anthony_oro@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.99
Keywords: | Port: python27
----------------------------------+-----------------------------------------
I am running macports 1.9.99 on OSX 10.6.
I have setup macports.conf to build for universals (ppc/i386) for OSX
10.4.
I can build python 26 on my machine.
But when I try to build python 27, I get a linking error.
{{{
:info:build ar rc libpython2.7.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
:info:build ar rc libpython2.7.a Objects/abstract.o Objects/boolobject.o
Objects/bufferobject.o Objects/bytes_methods.o Objects/bytearrayobject.o
Objects/capsule.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/intobject.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/rangeobject.o Objects/setobject.o Objects/sliceobject.o
Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o
Objects/typeobject.o Objects/weakrefobject.o Objects/unicodeobject.o
Objects/unicodectype.o
:info:build ar rc libpython2.7.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/formatter_string.o
Python/dynload_shlib.o Python/mactoolboxglue.o Python/thread.o
:info:build ar rc libpython2.7.a Modules/config.o Modules/getpath.o
Modules/main.o Modules/gcmodule.o
:info:build ar rc libpython2.7.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/zipimport.o Modules/symtablemodule.o
Modules/xxsubtype.o
:info:build ranlib libpython2.7.a
:info:build ranlib: for architecture: ppc file: libpython2.7.a(pymath.o)
has no symbols
:info:build /usr/bin/install -c -d -m 755 Python.framework/Versions/2.7
:info:build if test "/Developer/SDKs/MacOSX10.4u.sdk"; then \
:info:build /usr/bin/gcc-4.0 -o
Python.framework/Versions/2.7/Python -arch i386 -arch ppc -dynamiclib \
:info:build -isysroot
"/Developer/SDKs/MacOSX10.4u.sdk" \
:info:build -all_load libpython2.7.a
-Wl,-single_module \
:info:build -install_name
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python \
:info:build -compatibility_version 2.7 \
:info:build -current_version 2.7; \
:info:build else \
:info:build /usr/bin/libtool -o
Python.framework/Versions/2.7/Python -dynamic libpython2.7.a \
:info:build -lSystem -lSystemStubs -arch_only i386
-install_name
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
-compatibility_version 2.7 -current_version 2.7 ;\
:info:build fi
:info:build Undefined symbols:
:info:build "_getgrouplist_2", referenced from:
:info:build _posix_getgroups in libpython2.7.a(posixmodule.o)
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
}}}
--
Ticket URL: <https://trac.macports.org/ticket/28260>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list