Opened 17 years ago

Closed 16 years ago

Last modified 15 years ago

#13590 closed defect (invalid)

error with python25

Reported by: lnm@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: pyhton25 python Cc:
Port:

Description

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
---> 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 echo exported\" -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: The following dependencies failed to build: py25-bz2 python25 py25-crypto py25-hashlib py25-paramiko py25-zlib
Error: Status 1 encountered during processing.

Change History (9)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to mww@…

Assign to maintainer.

comment:2 Changed 17 years ago by jmpp@…

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

comment:3 Changed 17 years ago by lnm@…

Ah, thanks for the hint! (It actually wasn't so bad -- I just did a find and replace to put in all the
's, but the definitely looks like the way to go).

comment:4 Changed 17 years ago by lnm@…

Heh... I guess I should have used the verbatim text wrappers in my last comment. I'll learn eventually I hope...

comment:5 Changed 17 years ago by mww@…

Keywords: pyhton25 python added
Status: newassigned

is this a +universal build? (and yes: this is the perfect way to submit a bug :)

comment:6 in reply to:  5 Changed 17 years ago by lnm@…

Replying to 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.

comment:7 Changed 17 years ago by lnm@…

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.

comment:8 Changed 16 years ago by mww@…

Resolution: invalid
Status: assignedclosed

o.k., fine!

comment:9 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.