[MacPorts] #65763: ld64-274 - universal variant -- Linker Failed - Undefined symbols for architecture i386 & /opt/local/lib/libxar.dylib, file was built for unsupported file format
MacPorts
noreply at macports.org
Wed Sep 27 16:59:35 UTC 2023
#65763: ld64-274 - universal variant -- Linker Failed - Undefined symbols for
architecture i386 & /opt/local/lib/libxar.dylib, file was built for
unsupported file format
-----------------------+----------------------
Reporter: RobK88 | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: lion
Port: ld64-274 |
-----------------------+----------------------
Comment (by RobK88):
I just revisited this ticket, And for some reason, I am now able to build
the `+universal` variant for `ld64-274` on my old Mac Pro running Lion.
See below:
{{{
bash-3.2$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.7.5
BuildVersion: 11G63
bash-3.2$
bash-3.2$ sudo port clean ld64-274 @274.2_0+llvm34+universal
---> Cleaning ld64-274
bash-3.2$
bash-3.2$ sudo port -st install ld64-274 +universal
---> Computing dependencies for ld64-274
---> Fetching distfiles for ld64-274
---> Verifying checksums for ld64-274
---> Extracting ld64-274
---> Applying patches to ld64-274
---> Configuring ld64-274
---> Building ld64-274
---> Staging ld64-274 into destroot
---> Installing ld64-274 @274.2_0+llvm34+universal
---> Activating ld64-274 @274.2_0+llvm34+universal
---> Cleaning ld64-274
---> Scanning binaries for linking errors
---> No broken files found.
---> No broken ports found.
bash-3.2$
}}}
I suspect either `ld64-274` was updated or one of is dependencies since
the ticket was created that fixed the bug on Lion. (I am also now able to
build the universal variant of `xar`).
We should probably close this ticket now.
--
Ticket URL: <https://trac.macports.org/ticket/65763#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list