[MacPorts] #48064: py27-astropy fails in build stage on G4 running Leopard 10.5.8
MacPorts
noreply at macports.org
Mon Jun 15 15:24:58 PDT 2015
#48064: py27-astropy fails in build stage on G4 running Leopard 10.5.8
-------------------------------------------------+-------------------------
Reporter: zanderpower@… | Owner: macports-
Type: defect | tickets@…
Priority: Normal | Status: new
Component: ports | Milestone:
Keywords: leopard "read_only_relocs suppress" | Version: 2.3.3
| Port:
| py27-astropy
-------------------------------------------------+-------------------------
The error message is
{{{
:info:build ld: absolute addressing (perhaps -mdynamic-no-pic) used in
_celini from /mp2/local/lib/libwcs.a(cel.o) not allowed in slidable image.
Use '-read_only_relocs suppress' to enable text relocs
:info:build collect2: ld returned 1 exit status
:info:build error: command '/usr/bin/gcc-4.2' failed with exit status 1
:info:build Command failed: cd "/mp2/local/var/macports/build/
}}}
However, it builds and installs without error if I comment out the line
{{{
--use-system-wcslib
}}}
in its Portfile.
I am fairly confident that this is related to the way I installed wcslib:
as wcslib failed in the destroot phase, I
added the line
{{{
configure.ldflags-append "read_only_relocs suppress"
}}}
to _its_ Portfile. See ticket #48047.
Note that py27-astropy fails with the same error as wcslib did.
I tried adding "read_only_relocs suppress" to py27-astropy's Portfile, but
no luck.
--
Ticket URL: <https://trac.macports.org/ticket/48064>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list