[MacPorts] #28260: python27: undefined symbol "_getgrouplist_2"
#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
#28260: python27: undefined symbol "_getgrouplist_2" ----------------------------------+----------------------------------------- Reporter: anthony_oro@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: python27 ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jwa@… -- Ticket URL: <https://trac.macports.org/ticket/28260#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28260: python27: undefined symbol "_getgrouplist_2" ----------------------------------+----------------------------------------- Reporter: anthony_oro@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: python27 ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Does it work if you do not build universal? Do you really need to build universal? -- Ticket URL: <https://trac.macports.org/ticket/28260#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28260: python27: undefined symbol "_getgrouplist_2" ----------------------------------+----------------------------------------- Reporter: anthony_oro@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: python27 ----------------------------------+----------------------------------------- Comment(by jmr@…): Changing macosx_deployment_target is not supported precisely because it causes problems like this. Feel free to close as wontfix. -- Ticket URL: <https://trac.macports.org/ticket/28260#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28260: python27: undefined symbol "_getgrouplist_2" ----------------------------------+----------------------------------------- Reporter: anthony_oro@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: python27 ----------------------------------+----------------------------------------- Comment(by anthony_oro@…): Replying to [comment:2 ryandesign@…]:
Does it work if you do not build universal?
Do you really need to build universal?
Ok, so I kept "macosx_deployment_target" to 10.4, and tried to install without the +universal flag. It worked, which means that there is no problem with "macosx_deployment_target" However, I do need ppc/i386 universals. My application is already working on both architecture, and 10.4 (I went through a lot of pain to make sure of that). I am currently using the 10.4 Python Framework, but that's a rather old version of Python. To have better compatibility with Python Modules, I want to use macports to build the universal 2.7 Python Framework for 10.4. -- Ticket URL: <https://trac.macports.org/ticket/28260#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28260: python27: undefined symbol "_getgrouplist_2" ----------------------------------+----------------------------------------- Reporter: anthony_oro@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: python27 ----------------------------------+----------------------------------------- Comment(by anthony_oro@…): Oh, I should say that I successfully used my attached macports.conf to build 10.4 universals of the following libs: - png - jpeg - zlib - fltk - pcre - ogg - speex TBH, that's great! I just want to get Python27 working now... -- Ticket URL: <https://trac.macports.org/ticket/28260#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28260: python27: undefined symbol "_getgrouplist_2" when building for 10.4 target on 10.6 with +universal -----------------------------------+---------------------------------------- Reporter: anthony_oro@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: wontfix | Keywords: Port: python27 | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => wontfix Comment: Clearly nothing is happening here; feel free to reopen if you come up with a fix. -- Ticket URL: <https://trac.macports.org/ticket/28260#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts