Opened 3 years ago

Last modified 3 years ago

#63378 assigned defect

(10.5.8) wget > Failed to build legacy-support: command execution failed — at Version 2

Reported by: mrkapqa Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: toolchain Cc:
Port: llvm

Description (last modified by kencu (Ken))

hello,

on leopard ppc 10.5.8

wget fails to build with error

Failed to build legacy-support: command execution failed

thank you

Change History (3)

Changed 3 years ago by mrkapqa

Attachment: main.log added

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Cc: cjones051073 added
Description: modified (diff)
Keywords: wget legacy-support removed
Owner: set to kencu
Port: legacy-support added; wget removed
Status: newassigned
Summary: (10.5.8) wget > Failed to build legacy-support: command execution failedlegacy-support: build failure on 10.5.8

the error appears to be

:info:build dyld: Library not loaded: /opt/local/lib/libffi.6.dylib
126	:info:build   Referenced from: /opt/local/libexec/llvm-3.3/lib/libLTO.dylib
127	:info:build   Reason: image not found
128	:info:build /usr/bin/gcc-4.2 -c -Iinclude -Os -arch ppc  src/best_fchdir.c -o src/best_fchdir.o
129	:info:build /bin/sh: line 1:   708 Trace/BPT trap          ${ld} -r "${output}.inode32.${arch}" "${output}.inode32unix2003.${arch}" "${output}.inode64unix2003.${arch}" -o "${output}.${arch}"
130	:info:build make: *** [src/fdopendir.dl.o] Error 133
131	:info:build make: *** Waiting for unfinished jobs....

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

Cc: cjones051073 removed
Description: modified (diff)
Keywords: wget legacy-support added
Port: wget added; legacy-support removed
Summary: legacy-support: build failure on 10.5.8(10.5.8) wget > Failed to build legacy-support: command execution failed

here is your issue:

125     :info:build dyld: Library not loaded: /opt/local/lib/libffi.6.dylib
126	:info:build   Referenced from: /opt/local/libexec/llvm-3.3/lib/libLTO.dylib
127	:info:build   Reason: image not found

I assume you have libffi installed. That was updated and the library name changed.

So - to fix this properly you'll need to rebuild llvm-3.3 against the new libffi. Uninstall llvm-3.3 and then reinstall it.

To fix this for the moment you could make a symlink from the new libffi name to the old libffi name. Just do the right fix as soon as you have a moment.

Note: See TracTickets for help on using tickets.