[MacPorts] #64450: python27 build but fails to install for x86_64+ppc on 10.6.8
MacPorts
noreply at macports.org
Sun Jan 16 06:22:19 UTC 2022
#64450: python27 build but fails to install for x86_64+ppc on 10.6.8
---------------------------+----------------------
Reporter: barracuda156 | Owner: jmroot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: ppc
Port: python27 |
---------------------------+----------------------
Description changed by ryandesign:
Old description:
> {{{
> 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
New description:
{{{
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: #64449
--
--
Ticket URL: <https://trac.macports.org/ticket/64450#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list