Opened 4 years ago
Closed 4 years ago
#60800 closed defect (invalid)
lcms2 @2.11_0+universal: build error
Reported by: | andreok (Andre Kovacs) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | lcms2 |
Description (last modified by mf2k (Frank Schima))
sudo port install lcms2 @2.11_0+universal ---> Computing dependencies for lcms2 ---> Fetching archive for lcms2 ---> Attempting to fetch lcms2-2.11_0+universal.darwin_17.i386-x86_64.tbz2 from https://packages.macports.org/lcms2 ---> Attempting to fetch lcms2-2.11_0+universal.darwin_17.i386-x86_64.tbz2 from http://cph.dk.packages.macports.org/lcms2 ---> Attempting to fetch lcms2-2.11_0+universal.darwin_17.i386-x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/lcms2 ---> Building lcms2 Error: Failed to build lcms2: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_lcms2/lcms2/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port lcms2 failed
Attachments (1)
Change History (6)
Changed 4 years ago by andreok (Andre Kovacs)
Attachment: | main.log.zip added |
---|
comment:2 Changed 4 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|
Interesting. The log says:
:debug:sysinfo macOS 10.13 (darwin/17.7.0) arch i386 :debug:sysinfo MacPorts 2.6.2 :debug:sysinfo Xcode 9.4.1
With the same version of macOS and Xcode, I have no trouble building lcms2 @2.11 +universal. The log also says:
:info:build ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS) :info:build Undefined symbols for architecture i386: :info:build "__cmsLCMScolorSpace", referenced from: :info:build _main in tificc.o :info:build "_cmsBuildGamma", referenced from: :info:build _OpenStockProfile in vprf.o :info:build "_cmsBuildTabulatedToneCurve16", referenced from: :info:build _main in tificc.o :info:build "_cmsCloseProfile", referenced from: :info:build _main in tificc.o
and a zillion more undefined symbols. I do not see that deprecation warning or those undefined symbols on my system.
Is it possible that you have installed the command line tools for Xcode 10.x? If so, try installing the command line tools for Xcode 9.4.1: https://developer.apple.com/download/more/?=Xcode%209.4.1
comment:4 Changed 4 years ago by andreok (Andre Kovacs)
It worked perfectly after installing the command line tools for Xcode 9.4.1, as suggested.
Thank you for your promptly support.
Regards, Andre
comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Ok great. I don't think there's anything else we can do here to make things work with Xcode 10 so I'll close the ticket. If you want to build 32-bit, stick with Xcode 9. That's what I've done on my personal 10.13 machine and on our 10.13 build machine, so that we can continue to offer universal 32-bit/64-bit builds where needed.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_lcms2/lcms2/main.log