[MacPorts] #62081: libjpeg-turbo doesn't build +universal on 10.10.5

MacPorts noreply at macports.org
Mon Jan 18 18:29:37 UTC 2021


#62081: libjpeg-turbo doesn't build +universal on 10.10.5
----------------------------+--------------------------------
  Reporter:  metbic         |      Owner:  larryv
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.4
Resolution:                 |   Keywords:  yosemite universal
      Port:  libjpeg-turbo  |
----------------------------+--------------------------------

Comment (by mascguy):

 Ken/anyone,

 It looks like MacPorts is trying to build for i386, rather than x86_64.
 Given that this is a 10.10 installation, that's interesting.

 Meanwhile, during compilation, we end up with both `-arch x86_64` and
 `-arch -i386`, with the latter presumably taking precedence:

 {{{
 :info:build /usr/bin/clang
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_libjpeg-turbo/libjpeg-
 turbo/work/build
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_libjpeg-turbo/libjpeg-turbo/work
 /libjpeg-turbo-2.0.4 -pipe -Os -DNDEBUG -I/opt/local/include -arch x86_64
 -arch i386 -mmacosx-version-min=10.10 -o CMakeFiles/jpegtran-
 static.dir/cdjpeg.c.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_libjpeg-turbo/libjpeg-turbo/work
 /libjpeg-turbo-2.0.4/cdjpeg.c
 }}}

 I thought 10.10 was 64-bit only?

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


More information about the macports-tickets mailing list