Opened 3 years ago

Last modified 3 years ago

#64450 assigned defect

python27 build but fails to install for x86_64+ppc on 10.6.8 — at Version 4

Reported by: barracuda156 Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: ppc Cc:
Port: python27

Description (last modified by barracuda156)

ld: 32-bit absolute address out of range (0x10017E33C max is 4GB): from _usedpools + 0x00000004 (0x0017E344) to 0x10017E33C in _usedpools from libpython2.7.a(obmalloc.o) for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27/work/.tmp/ccDMFgz2.out (No such file or directory)
make: *** [Python.framework/Versions/2.7/Python] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27/work/Python-2.7.18'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27/work/Python-2.7.18" && /usr/bin/make -j8 -w all 
Exit code: 2
Error: Failed to build python27: command execution failed

I tried adding muniversal 1.0, but it causes config failure:

--->  Configuring python27 for architecture ppc
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27/work/Python-2.7.18-ppc" && ./configure --prefix=/opt/local --enable-framework=/opt/local/Library/Frameworks --enable-ipv6 --with-system-expat --with-system-ffi --host=powerpc-apple-darwin10.8.0 
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... powerpc-apple-darwin10.8.0
checking for python2.7... no
checking for python3... no
checking for python... python
configure: error: Cross compiling required --host=HOST-TUPLE and --build=ARCH
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27/work/Python-2.7.18-ppc" && ./configure --prefix=/opt/local --enable-framework=/opt/local/Library/Frameworks --enable-ipv6 --with-system-expat --with-system-ffi --host=powerpc-apple-darwin10.8.0 
Exit code: 1
Error: Failed to configure python27: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27/work/Python-2.7.18-ppc/config.log
Error: Failed to configure python27: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port python27 failed

This failure is same to the one reported in previous ticket: https://trac.macports.org/ticket/64449

Change History (5)

Changed 3 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

please just add the log files instead of copy-pasting all this text in the main ticket.

comment:2 Changed 3 years ago by reneeotten (Renee Otten)

Keywords: ppc added; powerpc removed
Owner: set to jmroot
Status: newassigned

comment:3 in reply to:  1 Changed 3 years ago by barracuda156

Replying to reneeotten:

please just add the log files instead of copy-pasting all this text in the main ticket.

Ok sure. Thanks.

comment:4 Changed 3 years ago by barracuda156

Description: modified (diff)
Note: See TracTickets for help on using tickets.