Opened 9 years ago

Closed 2 years ago

#48047 closed defect (fixed)

wcslib fails in destroot phase on G4 running Leopard 10.5.8

Reported by: zzanderr Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Leopard Cc: zzanderr
Port: wcslib

Description

wcslib fails with the message:

:info:destroot       ccache /mp2/local/bin/gcc-mp-4.7 -std=gnu99 -fPIC -dynamiclib -install_nam
e /mp2/local/lib/libwcs.4.dylib -single_module -compatibility_version 4 -current_version 4.25.1
 -o libwcs.4.25.1.dylib *.o -L/mp2/local/lib -Wl,-headerpad_max_install_names -L/usr/local/lib 
-L/mp2/local/lib -lm  -lSystemStubs && \
:info:destroot       mv libwcs.4.25.1.dylib ..
:info:destroot ld: illegal text-relocation to 4-byte-literal in cel.o from _celini in cel.o for
 architecture ppc
:info:destroot collect2: error: ld returned 1 exit status
:info:destroot make[2]: *** [libwcs.4.25.1.dylib] Error 1

The build log is attached.

As this port currently has no maintainers, I am not CC'ing anyone. Am I correct in this?

Attachments (1)

wcslib_main.log (152.8 KB) - added by zzanderr 9 years ago.

Download all attachments as: .zip

Change History (10)

Changed 9 years ago by zzanderr

Attachment: wcslib_main.log added

comment:1 Changed 9 years ago by zzanderr

Cc: zanderpower@… added

Cc Me!

comment:2 Changed 9 years ago by zzanderr

I managed to get wcslib to build, destroot, and install by adding

configure.ldflags-append "-read_only_relocs suppress"

to the Portfile.

Does anyone know of a reason why I might not want to do this?

comment:3 Changed 9 years ago by zzanderr

Not sure this makes a difference, but just to be thorough, I am using the +gcc47 variant.

comment:4 Changed 9 years ago by zzanderr

Update: py27-astropy failed in the build stage with a similar error. See ticket #48064

comment:5 in reply to:  2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to zanderpower@…:

I managed to get wcslib to build, destroot, and install by adding

configure.ldflags-append "-read_only_relocs suppress"

to the Portfile.

FWIW, there is no reason to put this in quotation marks.

comment:6 Changed 9 years ago by zzanderr

Yes, it builds and installs without the quotes. I guess you can tell I'm flying without radar...

comment:7 Changed 6 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to robitaille@…
Status: newassigned

comment:8 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)

Owner: robitaille@… deleted

comment:9 Changed 2 years ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: assignedclosed

In d7c09ae4f5ed38e9c3d50d67b07fbb750d69825e/macports-ports (master):

wcslib: for for 32-bit platforms
Fixes: #48047
Fixes: #66253

Note: See TracTickets for help on using tickets.