python2.5 install failed

Joerg van den Hoff j.van_den_hoff at fzd.de
Fri Jun 13 04:11:38 PDT 2008


hi,

under 10.4.11 I did a `port upgrade mercurial'.

which depends on python2.5 and `port' tries to install this (only
python2.4 installed up to now).  now I see the following:

==============================================CUT========================================
--->  Fetching python25
--->  Attempting to fetch Python-2.5.2.tar.bz2 from http://www.python.org//ftp/python/2.5.2/
--->  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.2" && make all " returned error 2
==============================================CUT========================================

after  this  point  compile nevertheless seemingly runs fine
till the final `ranlib' run:

==============================================CUT========================================
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
==============================================CUT========================================

then  some  other stuff (gperf, gettext are fetched/upgraded
and finally I see:

==============================================CUT========================================
Error: The following dependencies failed to build: python25
--->  Fetching bzip2
--->  Attempting to fetch bzip2-1.0.5.tar.gz from http://www.bzip.org/1.0.5/
--->  Verifying checksum(s) for bzip2
--->  Extracting bzip2
--->  Applying patches to bzip2
--->  Configuring bzip2
--->  Building bzip2 with target all
--->  Staging bzip2 into destroot
--->  Packaging tgz archive for bzip2 1.0.5_1
--->  Deactivating bzip2 1.0.4_1
--->  Installing bzip2 1.0.5_1
--->  Activating bzip2 1.0.5_1
--->  Cleaning bzip2
--->  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.2" && 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-hashlib py25-zlib
Error: Unable to upgrade port: 1
==============================================CUT========================================

`port' is current and up-to-date.

where's my fault? and if the python2.5 problem is not easily
solved: can I enforce upgrade of  `mercurial'  (assuming  it
will run just fine with python2.4)?

joerg



More information about the macports-users mailing list