Opened 10 years ago

Closed 4 years ago

#43998 closed defect (fixed)

icu: Build fails on PPC Tiger because of "ld: -rpath can only be used when targeting Mac OS X 10.5 or later"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: Cc: potmj (Michael Pot)
Port: icu

Description

gnumake[1]: Entering directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_icu/icu/work/icu/source/stubdata'
   gcc-apple-4.2	 ...  stubdata.c
ar r -c libicudata.a stubdata.ao
ranlib libicudata.a
   gcc-apple-4.2	 ...  stubdata.c
/opt/local/bin/gcc-apple-4.2 -dynamiclib -dynamic -pipe -arch ppc -O2 -std=c99 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings   -arch ppc -Wl,-rpath,/opt/local/lib   -Wl,-compatibility_version -Wl,53 -Wl,-current_version -Wl,53.1 -install_name /opt/local/lib/libicudata.53.dylib -o libicudata.53.1.dylib stubdata.o 
ld: -rpath can only be used when targeting Mac OS X 10.5 or later
collect2: ld returned 1 exit status
gnumake[1]: *** [libicudata.53.1.dylib] Error 1

Attachments (2)

main.log (21.7 KB) - added by ballapete (Peter "Pete" Dyballa) 10 years ago.
main.log
main.2.log (1.0 MB) - added by potmj (Michael Pot) 10 years ago.
Failed when upgrading other ports.

Download all attachments as: .zip

Change History (13)

Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Could you report the problem to the developers of icu so they can fix it? Alternately, we can mark icu as requiring Mac OS X 10.5 or later.

comment:2 in reply to:  1 Changed 10 years ago by t.tensi@…

Dear all,

in the course of the upgrade to icu 53.1 (defect #43959) there have been some additional changes in the port file like "enable-rpath". I assume the changer has an OSX version after 10.5 and wanted to optimize some things, but it seems that those changes are not really necessary to build icu 53.1.

Maybe the port file can be enhanced to check for Tiger and then leave out the rpath stuff.

Best regards, Thomas

comment:3 in reply to:  1 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Replying to ryandesign@…:

Could you report the problem to the developers of icu so they can fix it? Alternately, we can mark icu as requiring Mac OS X 10.5 or later.

It has been reported last week and has this ticket: http://bugs.icu-project.org/trac/ticket/10954.

comment:4 Changed 10 years ago by ned-deily (Ned Deily)

The upstream ticket has been closed as "workingasdesigned": "The answer is don't use rpath on that old version. We don't really support ICU on such an old version."

comment:5 in reply to:  4 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Replying to nad@…:

The upstream ticket has been closed as "workingasdesigned": "The answer is don't use rpath on that old version. We don't really support ICU on such an old version."

It wasn't my idea to use this modern software, it was port's idea. It told me that this software has to be upgraded.

comment:6 Changed 10 years ago by potmj (Michael Pot)

Cc: fmw@… added

Cc Me! It looks like this recent change has now broken 10.5.8 intel

Error: org.macports.destroot for port icu returned: icu-config differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_icu/icu/work/destroot-powerpc//opt/local/bin and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_icu/icu/work/destroot-intel//opt/local/bin and cannot be merged

logfile attached

Last edited 10 years ago by potmj (Michael Pot) (previous) (diff)

Changed 10 years ago by potmj (Michael Pot)

Attachment: main.2.log added

Failed when upgrading other ports.

comment:7 in reply to:  6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to fmw@…:

It looks like this recent change has now broken 10.5.8 intel

Error: org.macports.destroot for port icu returned: icu-config differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_icu/icu/work/destroot-powerpc//opt/local/bin and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_icu/icu/work/destroot-intel//opt/local/bin and cannot be merged

That's a completely different problem. See #45268.

comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Build fails on PPC Tiger because of "ld: -rpath can only be used when targeting Mac OS X 10.5 or later"icu: Build fails on PPC Tiger because of "ld: -rpath can only be used when targeting Mac OS X 10.5 or later"

comment:9 in reply to:  8 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Meanwhile I have icu @54.1_0 active on PPC Tiger.

comment:10 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign removed

comment:11 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

fixed somewhere

Note: See TracTickets for help on using tickets.