Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.8.3
-
None
Description
build fails on conda-forge for macos/arm64 (6.8.2 was ok, x86_64 is ok), it seems to choke on a codesign command:
[3148/3465] Linking CXX executable qtbase/lib/qt6/bin/qmltestrunner 2025-03-27T10:12:29.0174720Z FAILED: qtbase/lib/qt6/bin/qmltestrunner 2025-03-27T10:12:29.0182650Z : && $BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-clang++ -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/qt6-main-6.8.3 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -DNDEBUG -O2 -isysroot /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mmacosx-version-min=11.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,$PREFIX/lib -L$PREFIX/lib -fPIE -Xlinker -pie qtdeclarative/tools/qmltestrunner/CMakeFiles/qmltestrunner_native.dir/Unity/unity_0_cxx.cxx.o -o qtbase/lib/qt6/bin/qmltestrunner -Wl,-rpath,$SRC_DIR/build/qtbase/lib qtbase/lib/libQt6QuickTest.6.8.3.dylib qtbase/lib/libQt6Test.6.8.3.dylib -framework Security -framework ApplicationServices -framework Foundation qtbase/lib/libQt6Qml.6.8.3.dylib qtbase/lib/libQt6Network.6.8.3.dylib qtbase/lib/libQt6Gui.6.8.3.dylib -framework AGL -framework AppKit -framework OpenGL -framework ImageIO -framework Metal qtbase/lib/libQt6Core.6.8.3.dylib -framework IOKit -framework DiskArbitration -framework UniformTypeIdentifiers && cd $SRC_DIR/build/qtdeclarative/tools/qmltestrunner && codesign --sign - --entitlements $SRC_DIR/qtbase/cmake/macos/test.entitlements.plist $SRC_DIR/build/qtbase/lib/qt6/bin/qmltestrunner 2025-03-27T10:12:29.0186110Z libc++abi: terminating due to uncaught exception of type std::runtime_error: file is already signed. pass -f to sign regardless. 2025-03-27T10:12:29.0186950Z /bin/sh: line 1: 78719 Abort trap: 6 codesign --sign - --entitlements $SRC_DIR/qtbase/cmake/macos/test.entitlements.plist $SRC_DIR/build/qtbase/lib/qt6/bin/qmltestrunner
I'm using unity build if that matters
maybe I should try with the suggested "-f" option ?