Opened 3 years ago

Closed 3 years ago

#64657 closed defect (invalid)

legacy-support failure on 10.4.11

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: powerpc, tiger Cc:
Port: legacy-support

Description

This is on Tiger in bootstrap prefix. All settings are vanilla, all portfiles are stock ones.

{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf480
{\fonttbl\f0\fswiss\fcharset77 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\margl1440\margr1440\vieww9000\viewh8400\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural

\f0\fs24 \cf0 ar: creating archive lib/libMacportsLegacySupport.a\
/opt/bootstrap/bin/ranlib: file: lib/libMacportsLegacySupport.a(fsgetpath.o) has no symbols\
install -d -m 755 lib\
/opt/bootstrap/bin/gcc-apple-4.2 -dynamiclib -headerpad_max_install_names -install_name @executable_path/../lib/libMacportsLegacySystem.B.dylib -current_version 1.0.4 -compatibility_version 1.0.0 -L/opt/bootstrap/lib -Wl,-headerpad_max_install_names -arch ppc -Wl,-reexport_library /usr/lib/libSystem.B.dylib src/arc4random.dl.o src/atcalls.dl.o src/best_fchdir.dl.o src/fsetattrlist.dl.o src/fsgetpath.dl.o src/getdelim.dl.o src/getentropy.dl.o src/getline.dl.o src/lchmod.dl.o src/lutimes.dl.o src/macports_legacy_realpath.dl.o src/macports_legacy_sysconf.dl.o src/memmem.dl.o src/posix_memalign_emulation.dl.o src/setattrlistat.dl.o src/sincos.dl.o src/strings.dl.o src/strndup.dl.o src/strnlen.dl.o src/time.dl.o src/utimensat.dl.o src/wcpcpy_family.dl.o src/wcscasecmp_family.dl.o src/wcsdup.dl.o src/wcsnlen.dl.o src/fdopendir.dl.o -o lib/libMacportsLegacySystem.B.dylib\
/usr/bin/ld: unknown flag: -reexport_library\
collect2: ld returned 1 exit status\
make: *** [lib/libMacportsLegacySystem.B.dylib] Error 1\
make: Leaving directory `/opt/bootstrap/var/macports/build/_opt_bootstrap_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_legacy-support/legacy-support/work/macports-macports-legacy-support-f912da5'\
Command failed:  cd "/opt/bootstrap/var/macports/build/_opt_bootstrap_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_legacy-support/legacy-support/work/macports-legacy-support-1.0.4" && /usr/bin/make -j1 -w all \
Exit code: 2\
Error: Failed to build legacy-support: command execution failed\
Error: See /opt/bootstrap/var/macports/logs/_opt_bootstrap_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_legacy-support/legacy-support/main.log for details.\
Error: Follow https://guide.macports.org/#project.tickets if you believe there\
is a bug.\
}

Attachments (1)

main.log (26.0 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 3 years ago by barracuda156

I have booted the Quad from the same drive with Tiger, ran sudo ./port -v sync and sudo ./port -v install legacy-support, it reinstalled the linker, and legacy-support has built. Even more strange. I literally did nothing else beyond that. No changes in config, no custom command line calls.

The only difference was that initially on a PowerBook I used sudo ./port -v -N install curl instead of calling ports separately.

comment:2 Changed 3 years ago by kencu (Ken)

Resolution: invalid
Status: newclosed

yeah, you were somehow using the wrong linker.

/usr/bin/ld:

nobody will ever know why, so much going on there, and doesn’t matter now

Note: See TracTickets for help on using tickets.