[MacPorts] #60542: zstd @1.4.5_0+universal: ar: libzstd.a: Inappropriate file type or format
MacPorts
noreply at macports.org
Fri May 22 20:16:33 UTC 2020
#60542: zstd @1.4.5_0+universal: ar: libzstd.a: Inappropriate file type or format
-----------------------+--------------------
Reporter: thetrial | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: zstd |
-----------------------+--------------------
Comment (by kencu):
You might be able to use cctools randlib/ar/libtool instead...they are
often more forgiving of universal builds.
Also, FWIW, I have disabled that warning:
{{{
:info:build ld: warning: The i386 architecture is deprecated for macOS
(remove from the Xcode build setting: ARCHS)
}}}
in MacPorts ld64, so it will not pass it on, which may be helpful.
You can make Xcode's ld64 ignore the warning with -Wl,-w or some similar
way of passing -w as a linker flag.
--
Ticket URL: <https://trac.macports.org/ticket/60542#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list