Opened 3 years ago
Closed 17 months ago
#64290 closed defect (fixed)
scribus-devel @1.5.7.svn-20201209_2 build fails on Monterey on Intel
Reported by: | acrostich (Panda Mery) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | monterey ventura | Cc: | |
Port: | scribus-devel |
Description
I upgraded from Big Sur to Monterey so went through the migration process except I didn't use the script but reinstalled all my old requested ports. Scribus-devel failed. I tried again after a clean, same build failure. The error in the logs is:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_scribus-devel/scribus-devel/work/scribus-2dbeda3c6793075305b6adaf26f7be5d455a88ba/scribus/pluginmanager.cpp:94:31: error: assigning to 'void *' from 'QFunctionPointer' (aka 'void (*)()') converts between void pointer and function pointer :info:build if( plugin ) symAddr = qlib->resolve(sym); :info:build ~~~~~~^~~~~~~~~~~~ :info:build 1 error generated.
Log attached.
Attachments (1)
Change History (13)
Changed 3 years ago by acrostich (Panda Mery)
comment:1 follow-up: 7 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | monterey added |
---|
I'll update the port to a newer version but even the latest version doesn't seem to have changed this code much so I suspect we'll end up having to report it to the developers for them to fix.
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
The new version built successfully on our automated builders running macOS 11 on arm64 and x86_64 and macOS 12 on arm64 so maybe there's a good chance it'll build on macOS 12 on x86_64 too. The other builders have a several-day backlog, and the macOS 12 x86_64 builder has a several-week backlog, so we won't know for some time if those builds succeed, but you can sudo port selfupdate
and try to build the new version yourself.
comment:4 Changed 3 years ago by acrostich (Panda Mery)
This new version builds fine on Monterey on Intel. Thank you.
comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Status: | new → accepted |
comment:6 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:7 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | ventura added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Replying to ryandesign:
I suspect we'll end up having to report it to the developers for them to fix.
In the mean time, scribus-devel would not build anymore due to updates of the poppler port, so I updated scribus-devel to version 1.5.8 today. It built fine on our builders running macOS 10.14, 10.15, 11, and 12, but on macOS 13, we're seeing the same error reported in this ticket. I've now reported it to the developers.
comment:8 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:9 follow-up: 10 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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.
comment:10 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign:
I need to report this bug to the developers.
comment:11 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
comment:12 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
scribus-devel_main.log