[MacPorts] #63612: quassel @0.13.1_1: build fails with undefined symbols for architecture x86_64
MacPorts
noreply at macports.org
Mon Oct 11 18:54:40 UTC 2021
#63612: quassel @0.13.1_1: build fails with undefined symbols for architecture
x86_64
-------------------------+---------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: quassel
-------------------------+---------------------
I've seen other build failures like this before so I'm wondering if it
might just be an issue with my computer:
{{{
[ 99%] Linking CXX executable ../quassel
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_irc_quassel/quassel/work/build/src
&& /opt/local/bin/cmake -E cmake_link_script
CMakeFiles/quassel.dir/link.txt --verbose=ON
/usr/bin/clang++ -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -std=c++11
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts
-Wall -W -Wextra -Wpointer-arith -Wformat-security -Woverloaded-virtual
-fno-common -Wno-deprecated-register -arch x86_64 -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -mmacosx-version-
min=11.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names
-L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
CMakeFiles/quassel.dir/quassel_autogen/mocs_compilation.cpp.o
CMakeFiles/quassel.dir/common/main.cpp.o
CMakeFiles/quassel.dir/qtui/monoapplication.cpp.o -o ../quassel
-Wl,-rpath,/opt/local/lib -framework Carbon qtui/libmod_qtui.a
uisupport/libmod_uisupport.a client/libmod_client.a core/libmod_core.a
common/libmod_common.a
/opt/local/libexec/qt5/lib/QtMultimedia.framework/QtMultimedia
/opt/local/libexec/qt5/lib/QtWebEngine.framework/QtWebEngine
/opt/local/libexec/qt5/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets
/opt/local/libexec/qt5/lib/QtWebEngineCore.framework/QtWebEngineCore
/opt/local/libexec/qt5/lib/QtWebChannel.framework/QtWebChannel
/opt/local/libexec/qt5/lib/QtPositioning.framework/QtPositioning
/opt/local/libexec/qt5/lib/QtQuick.framework/QtQuick
/opt/local/libexec/qt5/lib/QtQmlModels.framework/QtQmlModels
/opt/local/libexec/qt5/lib/QtQml.framework/QtQml
/opt/local/libexec/qt5/lib/QtPrintSupport.framework/QtPrintSupport
/opt/local/lib/libdbusmenu-qt5.2.6.0.dylib
/opt/local/libexec/qt5/lib/QtDBus.framework/QtDBus
/opt/local/libexec/qt5/lib/QtWidgets.framework/QtWidgets
/opt/local/libexec/qt5/lib/QtGui.framework/QtGui -framework Foundation
-framework Carbon /opt/local/libexec/qt5/lib/QtNetwork.framework/QtNetwork
-framework CoreServices -framework CoreFoundation
/opt/local/lib/libz.dylib
/opt/local/libexec/qt5/lib/QtScript.framework/QtScript
/opt/local/libexec/qt5/lib/QtSql.framework/QtSql
/opt/local/libexec/qt5/lib/QtCore.framework/QtCore
/opt/local/lib/libldap.dylib /opt/local/lib/liblber.dylib
ld: warning: dylib
(/opt/local/libexec/qt5/lib/QtWebChannel.framework/QtWebChannel) was built
for newer macOS version (11.2) than being linked (11.0)
ld: warning: dylib
(/opt/local/libexec/qt5/lib/QtPositioning.framework/QtPositioning) was
built for newer macOS version (11.2) than being linked (11.0)
ld: warning: dylib (/opt/local/lib/libdbusmenu-qt5.2.6.0.dylib) was built
for newer macOS version (11.2) than being linked (11.0)
ld: warning: dylib (/opt/local/lib/libldap.dylib) was built for newer
macOS version (11.2) than being linked (11.0)
ld: warning: dylib (/opt/local/lib/liblber.dylib) was built for newer
macOS version (11.2) than being linked (11.0)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_NSUserNotification", referenced from:
objc-class-ref in libmod_qtui.a(osxnotificationbackend.mm.o)
"_OBJC_CLASS_$_NSUserNotificationCenter", referenced from:
objc-class-ref in libmod_qtui.a(osxnotificationbackend.mm.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [quassel] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_irc_quassel/quassel/work/build'
make[1]: *** [src/CMakeFiles/quassel.dir/all] Error 2
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_irc_quassel/quassel/work/build'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_irc_quassel/quassel/work/build'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_irc_quassel/quassel/work/build"
&& /usr/bin/make -j16 -w all VERBOSE=ON
Exit code: 2
Error: Failed to build quassel: command execution failed
DEBUG: Error code: CHILDSTATUS 60051 2
}}}
I'm on Big Sur (11.6) with Xcode 13, for reference.
--
Ticket URL: <https://trac.macports.org/ticket/63612>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list