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

MacPorts noreply at macports.org
Sun May 24 00:06:07 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):

 One interesting tidbit is that the universal build proceeded without any
 trouble on 10.6.8:
 {{{
 $ port -v installed zstd
 The following ports are currently installed:
   zstd @1.4.5_0+universal (active) platform='darwin 10' archs='i386
 x86_64' date='2020-05-23T17:00:52-0700'
 }}}
 and the apparently troublesome file is indeed fat
 {{{
 $ file /opt/local/lib/libzstd.a
 /opt/local/lib/libzstd.a: Mach-O universal binary with 2 architectures:
 [x86_64:current ar archive random library] [i386:current ar archive random
 library]
 }}}

 This suggests it might just be the linker warning that causes trouble, but
 to be tested...

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


More information about the macports-tickets mailing list