[MacPorts] #64290: scribus-devel @1.5.7.svn-20201209_2 build fails on Monterey on Intel

MacPorts noreply at macports.org
Fri Jul 7 17:38:14 UTC 2023


#64290: scribus-devel @1.5.7.svn-20201209_2 build fails on Monterey on Intel
----------------------------+------------------------------
  Reporter:  acrostich      |      Owner:  ryandesign
      Type:  defect         |     Status:  reopened
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:  monterey ventura
      Port:  scribus-devel  |
----------------------------+------------------------------
Changes (by ryandesign):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 That commit did fix the pointer conversion issue but it turns out that
 wasn't the real problem. The real problem was that the build was happening
 for `-arch i386`. This became more obvious once the pointer conversion
 problem was fixed:

 {{{
 ld: warning: The i386 architecture is deprecated for macOS (remove from
 the Xcode build setting: ARCHS)
 ld: warning: ignoring file /opt/local/lib/libcairo.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file
 /opt/local/libexec/qt5/lib/QtXml.framework/QtXml, building for macOS-i386
 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file
 /opt/local/libexec/qt5/lib/QtNetwork.framework/QtNetwork, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file
 /opt/local/libexec/qt5/lib/QtOpenGL.framework/QtOpenGL, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libz.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file
 /opt/local/libexec/qt5/lib/QtPrintSupport.framework/QtPrintSupport,
 building for macOS-i386 but attempting to link with file built for macOS-
 x86_64
 ld: warning: ignoring file /opt/local/lib/libfreetype.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libxml2.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libicudata.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libharfbuzz.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libz.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libicuuc.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libharfbuzz-subset.dylib,
 building for macOS-i386 but attempting to link with file built for macOS-
 x86_64
 ld: warning: ignoring file /opt/local/lib/libpng.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libjpeg.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libfontconfig.dylib, building
 for macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libtiff.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libharfbuzz-icu.dylib, building
 for macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/liblcms2.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libpodofo.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libz.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libxml2.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libfreetype.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libtiff.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libpng.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libjpeg.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/liblcms2.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file /opt/local/lib/libpodofo.dylib, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file
 /opt/local/libexec/qt5/lib/QtWidgets.framework/QtWidgets, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file
 /opt/local/libexec/qt5/lib/QtGui.framework/QtGui, building for macOS-i386
 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file
 /opt/local/libexec/qt5/lib/QtCore.framework/QtCore, building for
 macOS-i386 but attempting to link with file built for macOS-x86_64
 ld: warning: ignoring file
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libcups.tbd,
 missing required architecture i386 in file
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libcups.tbd
 (3 slices)
 ld: warning: ignoring file
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libcups.tbd,
 missing required architecture i386 in file
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libcups.tbd
 (3 slices)
 ld: warning: ignoring file
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libc++.tbd,
 missing required architecture i386 in file
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libc++.tbd
 (3 slices)
 ld: warning: ignoring file
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libSystem.tbd,
 missing required architecture i386 in file
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libSystem.tbd
 (3 slices)
 ld: warning: ignoring file
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd,
 missing required architecture i386 in file
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd
 (4 slices)
 ld: dynamic executables or dylibs must link with libSystem.dylib for
 architecture i386
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

 It turns out the scribus build system has hundreds of lines of code for
 identifying and handling each version of macOS, and when it encounters an
 unknown version of macOS on x86_64, it falls back to building for i386,
 which of course makes no sense. I need to report this bug to the
 developers.

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


More information about the macports-tickets mailing list