#13558 closed defect (invalid)
python25 doesn't install on clean MacPorts base version 1.520
Reported by: | MacOSForge@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Python python25 xcode | Cc: | wsiegrist@… |
Port: |
Description
I’ve just re-installed Tiger on my PowerPC Mac Mini. I also installed a number of ports. The python25 port will not compile.
As you can see from the typescript session below, ports is updated to the most recent base version (1.520) and I’ve successfully installed a number of other ports. When I try to install the python25 port, I get a “libld64 failed” error.
Script started on Tue Dec 11 12:47:35 2007 powerpc-mac-mini:~/Documents/Projects hpaul$ uname -a Darwin powerpc-mac-mini.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc powerpc-mac-mini:~/Documents/Projects hpaul$ sudo port selfupdate Password: MacPorts base version 1.520 installed Downloaded MacPorts base version 1.520 The MacPorts installation is not outdated and so was not updated selfupdate done! powerpc-mac-mini:~/Documents/Projects hpaul$ sudo port clean python25 ---> Cleaning python25 powerpc-mac-mini:~/Documents/Projects hpaul$ sudo port install python25 ---> Fetching python25 ---> Verifying checksum(s) for python25 ---> Extracting python25 ---> Applying patches to python25 ---> Configuring python25 ---> Building python25 with target all 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_python25/work/Python-2.5.1" && make all " returned error 2 Command output: Modules/main.c:186: warning: function declaration isn't a prototype /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -o Modules/gcmodule.o Modules/gcmodule.c /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/threadmodule.c -o Modules/threadmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/signalmodule.c -o Modules/signalmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/posixmodule.c -o Modules/posixmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/errnomodule.c -o Modules/errnomodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/pwdmodule.c -o Modules/pwdmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/_sre.c -o Modules/_sre.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/_codecsmodule.c -o Modules/_codecsmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/zipimport.c -o Modules/zipimport.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/symtablemodule.c -o Modules/symtablemodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/xxsubtype.c -o Modules/xxsubtype.o /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -DSVNVERSION=\"`LC_ALL=C svnversion .`\" -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c rm -f libpython2.5.a ar cr libpython2.5.a Modules/getbuildinfo.o ar cr libpython2.5.a Modules/_typesmodule.o ar cr libpython2.5.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 cr libpython2.5.a Objects/abstract.o Objects/boolobject.o Objects/bufferobject.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/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 ar cr libpython2.5.a 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/getmtime.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/pyarena.o Python/pyfpe.o Python/pystate.o Python/pythonrun.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrtod.o Python/dynload_shlib.o Python/mactoolboxglue.o Python/thread.o ar cr libpython2.5.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o ar cr libpython2.5.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.5.a /usr/bin/libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib ld64 failed: in libpython2.5.a(getbuildinfo.o), not a valid ppc64 mach-o file /usr/bin/libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Error: Status 1 encountered during processing. powerpc-mac-mini:~/Documents/Projects hpaul$ port list installed Xaw3d @1.5E x11/Xaw3d apr @1.2.12 devel/apr apr-util @1.2.12 devel/apr-util cgilib @0.5 www/cgilib compface @1.5.2 graphics/compface cvs @1.11.22 devel/cvs db44 @4.4.20 databases/db44 expat @2.0.1 textproc/expat freetype @2.3.5 print/freetype gawk @3.1.5 lang/gawk gdbm @1.8.3 databases/gdbm gettext @0.17 devel/gettext jpeg @6b graphics/jpeg libart_lgpl @2.3.19 graphics/libart_lgpl libiconv @1.12 textproc/libiconv libpng @1.2.23 graphics/libpng lynx @2.8.6rel.5 www/lynx ncurses @5.6 devel/ncurses ncursesw @5.6 devel/ncursesw neon @0.26.4 www/neon openssl @0.9.8g devel/openssl p5-finance-quotehist @1.09 perl/p5-finance-quote-hist perl5.8 @5.8.8 lang/perl5.8 readline @5.2.007 devel/readline rrdtool @1.2.26 net/rrdtool ruby @1.8.6-p110 lang/ruby screen @4.0.3 sysutils/screen sqlite3 @3.5.3 databases/sqlite3 subversion @1.4.5 devel/subversion tcl @8.4.16 lang/tcl tiff @3.8.2 graphics/tiff vim @7.1.172 editors/vim xemacs @21.4.21 editors/xemacs zlib @1.2.3 archivers/zlib powerpc-mac-mini:~/Documents/Projects hpaul$ exit Script done on Tue Dec 11 12:59:36 2007
Change History (9)
comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | → Port Bugs |
---|
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-dev@… to mww@… |
---|
comment:3 Changed 17 years ago by mww@…
Keywords: | Python python25 added |
---|---|
Status: | new → assigned |
What version of XCode do you have installed?
comment:4 Changed 17 years ago by wsiegrist@…
Version: | 1.5.2 → 1.6.0 |
---|
I have the same problem on a fresh 10.4.11 install of MP v1.6 on a G4. I have Xcode 2.4.1 installed.
comment:5 Changed 17 years ago by wsiegrist@…
Cc: | wsiegrist@… added |
---|
comment:7 Changed 17 years ago by MacOSForge@…
I had Xcode 2.4.1 installed, I upgraded to Xcode 2.5 and the problem went away.
comment:8 Changed 17 years ago by mww@…
Keywords: | xcode added |
---|---|
Resolution: | → invalid |
Status: | assigned → closed |
o.k.!
Note: See
TracTickets for help on using
tickets.
I wonder why it's trying to build a ppc64 binary. The PowerPC Mac mini is a 32-bit machine, and even on 64-bit machines I'm led to believe that 64-bit binaries are only built upon special request, and I didn't think MacPorts made any such request.
Note also that
port list installed
does not do what you think it does; what you want isport installed
.Assigning ticket to port's maintainer.