-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Description
When I build Ports/qt6-serenity with aarch64 and Clang parameters on macOS with m1 chip, I got the error.
(tve) steveriemannx@steveriemannxMacbookAir qt6-serenity % ./package.sh
=> Installing dependencies of qt6-serenity...
=> Installing dependencies of qt6-qtbase...
=> Fetching qt6-qtbase...
[qt6-qtbase/fetch] /Users/steveriemannx/serenity/Ports/qt6-qtbase/qtbase-everywhere-src-6.4.0.tar.xz already exists
=> Patching qt6-qtbase...
=> Configuring qt6-qtbase...
[qt6-qtbase/configure] + cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=/Users/steveriemannx/serenity/Build/aarch64clang/CMakeToolchain.txt -DCMAKE_CROSSCOMPILING=ON -DQT_FORCE_BUILD_TOOLS=ON -DQT_FEATURE_cxx20=ON -DQT_FEATURE_ssl=ON -DQT_FEATURE_zstd=ON -DQT_FEATURE_sql=ON -DINPUT_opengl=no -DQT_HOST_PATH=/opt/homebrew -DQt6HostInfo_DIR=/opt/homebrew/lib/cmake/Qt6HostInfo/ -DQt6CoreTools_DIR=/opt/homebrew/lib/cmake/Qt6CoreTools/ -DQt6GuiTools_DIR=/opt/homebrew/lib/cmake/Qt6GuiTools/ -DQt6WidgetsTools_DIR=/opt/homebrew/lib/cmake/Qt6WidgetsTools/ -DQT_FEATURE_opengl=OFF -DQT_FEATURE_dbus=OFF -DQT_FEATURE_systemsemaphore=OFF -DQT_FEATURE_sharedmemory=OFF -DQT_FEATURE_dnslookup=OFF
[qt6-qtbase/configure] CMake Warning:
[qt6-qtbase/configure] No source or binary directory provided. Both will be assumed to be the
[qt6-qtbase/configure] same as the current working directory, but note that this warning will
[qt6-qtbase/configure] become a fatal error in future CMake releases.
[qt6-qtbase/configure]
[qt6-qtbase/configure]
[qt6-qtbase/configure] CMake Error at cmake/QtPublicTargetHelpers.cmake:257 (set_property):
[qt6-qtbase/configure] Attempt to promote imported target "Threads::Threads" to global scope (by
[qt6-qtbase/configure] setting IMPORTED_GLOBAL) which is not built in this directory.
[qt6-qtbase/configure] Call Stack (most recent call first):
[qt6-qtbase/configure] cmake/QtFindPackageHelpers.cmake:180 (__qt_internal_promote_target_to_global)
[qt6-qtbase/configure] src/corelib/CMakeLists.txt:4 (qt_find_package)
[qt6-qtbase/configure]
[qt6-qtbase/configure]
[qt6-qtbase/configure] QtCore: WARNING: /Users/steveriemannx/serenity/Build/aarch64clang/Ports/qt6-qtbase/qtbase-everywhere-src-6.4.0/src/corelib/qtcore_tracepoints_p.h does not have the "We mean it." warning
[qt6-qtbase/configure] QtCore: WARNING: /Users/steveriemannx/serenity/Build/aarch64clang/Ports/qt6-qtbase/qtbase-everywhere-src-6.4.0/src/corelib/tools/qatomicscopedvaluerollback_p.h does not have the "We mean it." warning
[qt6-qtbase/configure] QtGui: WARNING: /Users/steveriemannx/serenity/Build/aarch64clang/Ports/qt6-qtbase/qtbase-everywhere-src-6.4.0/src/gui/qtgui_tracepoints_p.h does not have the "We mean it." warning
[qt6-qtbase/configure] QtWidgets: WARNING: /Users/steveriemannx/serenity/Build/aarch64clang/Ports/qt6-qtbase/qtbase-everywhere-src-6.4.0/src/widgets/qtwidgets_tracepoints_p.h does not have the "We mean it." warning
[qt6-qtbase/configure]
[qt6-qtbase/configure]
[qt6-qtbase/configure]
[qt6-qtbase/configure] Note: Due to CMAKE_STAGING_PREFIX usage and an unfixed CMake bug,
[qt6-qtbase/configure] to ensure correct build time rpaths, directory-level install
[qt6-qtbase/configure] rules like ninja src/gui/install will not work.
[qt6-qtbase/configure] Check QTBUG-102592 for further details.
[qt6-qtbase/configure]
[qt6-qtbase/configure] -- Configuring incomplete, errors occurred!
Error in step qt6-qtbase/configure (status=1)
I wonder whether Ports/qt6-serenityos and Ports/qt6-qt6base run well on SerenityOS now or before and whether simple hello_world window qt gui demo run well on SerenityOS now or before.
Metadata
Metadata
Assignees
Labels
No labels