[MacPorts] #60542: zstd @1.4.5_0+universal: ar: libzstd.a: Inappropriate file type or format

MacPorts noreply at macports.org
Sun May 24 15:54:08 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):

 It's still broken, at least for me, building on 10.13 +universal fails.

 There have been quite a few changes in {{{lib/Makefile}}} in 1.4.5. The
 last version @1.4.4 gave the warnings building universal, but didn't
 error:
 {{{
 compiling dynamic library 1.4.4
 compiling static library
 warning: /opt/local/bin/ranlib: archive library: libzstd.a will be fat and
 ar(1) will not be able to operate on it
 ld: warning: The i386 architecture is deprecated for macOS (remove from
 the Xcode build setting: ARCHS)
 creating versioned links
 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_macports-
 ports_archivers_zstd/zstd/work/zstd-1.4.4/lib'
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60542#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list