[MacPorts] #13590: error with python25
#13590: error with python25 -------------------------------+-------------------------------------------- Reporter: lnm@dartmouth.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: | -------------------------------+-------------------------------------------- I'm not sure if this is the right place to post this -- I'm new to macports. At any rate, I was trying to install bzr, which requires python25, but I get an error when port tries to install python25. The terminal output is below. I have a PowerBook G4 with 10.4.11 and the latest version of MacPorts installed. Thanks. ---> Fetching python25[[br]] ---> Verifying checksum(s) for python25[[br]] ---> Extracting python25[[br]] ---> Applying patches to python25[[br]] ---> Configuring python25[[br]] ---> Building python25 with target all[[br]] 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[[br]] Command output: Modules/main.c:186: warning: function declaration isn't a prototype[[br]] /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[[br]] /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[[br]] /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[[br]] /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[[br]] /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[[br]] /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[[br]] /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[[br]] /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[[br]] /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[[br]] /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[[br]] /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[[br]] /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 echo exported`\" -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c[[br]] rm -f libpython2.5.a[[br]] ar cr libpython2.5.a Modules/getbuildinfo.o[[br]] ar cr libpython2.5.a Modules/_typesmodule.o[[br]] 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[[br]] 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[[br]] 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[[br]] ar cr libpython2.5.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o [[br]] 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[[br]] ranlib libpython2.5.a[[br]] /usr/bin/libtool -o libpython2.5.dylib -dynamic \[[br]] -all_load libpython2.5.a -single_module \[[br]] -install_name /opt/local/lib/libpython2.5.dylib \[[br]] -compatibility_version 2.5 \[[br]] -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib[[br]] ld64 failed: in libpython2.5.a(getbuildinfo.o), not a valid ppc64 mach-o file[[br]] /usr/bin/libtool: internal link edit command failed[[br]] make: *** [libpython2.5.dylib] Error 1[[br]] [[br]] Error: The following dependencies failed to build: py25-bz2 python25 py25-crypto py25-hashlib py25-paramiko py25-zlib[[br]] Error: Status 1 encountered during processing.[[br]] -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13590> MacPorts </projects/macports> Ports system for Mac OS
#13590: error with python25 --------------------------------+------------------------------------------- Reporter: lnm@dartmouth.edu | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: --------------------------------+------------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => mww@macports.org * milestone: => Port Bugs Comment: Assign to maintainer. -- Ticket URL: <https://trac.macports.org/projects/macports/ticket/13590#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13590: error with python25 --------------------------------+------------------------------------------- Reporter: lnm@dartmouth.edu | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by jmpp@macports.org): Message to original poster, unrelated to the issue the ticket is about: nice to see that you went to that amount of trouble to produce nice looking console output by inserting all those `[[br]]`'s in the paste, line by line, but you don't really have to. Instead read WikiFormatting to learn how to create all kinds of text in tickets, including (hint!) the way less painful `{{{ }}}` wrappers for verbatim text. Hope that helps! -jmpp -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13590#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13590: error with python25 --------------------------------+------------------------------------------- Reporter: lnm@dartmouth.edu | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by lnm@dartmouth.edu): Ah, thanks for the hint! (It actually wasn't so bad -- I just did a find and replace to put in all the [[br]]'s, but the {{{ }}} definitely looks like the way to go). -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13590#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13590: error with python25 --------------------------------+------------------------------------------- Reporter: lnm@dartmouth.edu | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by lnm@dartmouth.edu): Heh... I guess I should have used the verbatim text wrappers in my last comment. I'll learn eventually I hope... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13590#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13590: error with python25 --------------------------------+------------------------------------------- Reporter: lnm@dartmouth.edu | Owner: mww@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: pyhton25 python --------------------------------+------------------------------------------- Changes (by mww@macports.org): * keywords: => pyhton25 python * status: new => assigned Comment: is this a ''+universal'' build? (and yes: this is the perfect way to submit a bug :) -- Ticket URL: <https://trac.macosforge.org/projects/macports/ticket/13590#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13590: error with python25 --------------------------------+------------------------------------------- Reporter: lnm@dartmouth.edu | Owner: mww@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: pyhton25 python --------------------------------+------------------------------------------- Comment (by lnm@dartmouth.edu): Replying to [comment:5 mww@macports.org]:
is this a ''+universal'' build?
I don't know. The command I entered was {{{sudo port install bzr}}}. If I try running it again I get the following: {{{ Leon-Maurers-PowerBook-G4-15:/opt/local/bin leonmaurer$ sudo port install bzr ---> 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: /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: The following dependencies failed to build: py25-bz2 python25 py25-crypto py25-hashlib py25-paramiko py25-zlib Error: Status 1 encountered during processing. }}} -- Ticket URL: <https://trac.macosforge.org/projects/macports/ticket/13590#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13590: error with python25 --------------------------------+------------------------------------------- Reporter: lnm@dartmouth.edu | Owner: mww@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: pyhton25 python --------------------------------+------------------------------------------- Comment (by lnm@dartmouth.edu): I've found a solution: I upgraded to the latest version of Xcode available to 10.4, Xcode 2.5. I forget what was install previously (I should have made a note of it). At any rate, python25 is now installed. Thanks. -- Ticket URL: <https://trac.macosforge.org/projects/macports/ticket/13590#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#13590: error with python25 --------------------------------+------------------------------------------- Reporter: lnm@dartmouth.edu | Owner: mww@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: invalid | Keywords: pyhton25 python --------------------------------+------------------------------------------- Changes (by mww@macports.org): * status: assigned => closed * resolution: => invalid Comment: o.k., fine! -- Ticket URL: <https://trac.macosforge.org/projects/macports/ticket/13590#comment:8> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts