Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.2
-
None
-
-
2d87bb7d2 (dev), 8e0d08d0c (6.8), 6fec7fb6f (6.7), e1d71aae7 (tqtc/lts-6.5)
Description
Hi,
I tried to to build our Qt distribution on my local machine and it throw:
Error copying directory from "/Users/andre/Documents/l/b/src/qt-host-build/qtbase/include/QtCore/.syncqt_staging" to "/Users/andre/Documents/l/b/src/qt-host-build/qtbase/lib/QtCore.framework/Versions/A/Headers".
The same configuration works on our CI. Looks like it is something special on my machine.
+ exec /Users/andre/Documents/l/b/src/qt-host/qtbase/configure -top-level -prefix /Users/andre/Documents/l/dist/qt-host -release -optimize-size -shared -no-widgets -no-openssl -no-zstd -no-opengl -no-qml-debug -opensource -confirm-license -nomake examples -nomake tests -no-mtdev -no-dbus -no-sql-sqlite -qt-zlib -qt-pcre -qt-harfbuzz -qt-libpng -qt-libjpeg -no-feature-hijricalendar -no-feature-islamiccivilcalendar -no-feature-jalalicalendar -no-feature-designer -no-feature-testlib_selfcover -no-feature-imageformat_bmp -no-feature-imageformat_ppm -no-feature-imageformat_xbm -no-feature-sharedmemory -no-feature-textodfwriter -no-feature-undocommand -no-feature-undogroup -no-feature-undostack -no-feature-printsupport -no-feature-dtls -no-feature-dom -no-feature-sql -no-feature-xml -no-feature-pdf -no-feature-brotli -no-feature-topleveldomain -no-feature-private_tests -no-feature-dnslookup -no-feature-sctp -no-feature-localserver -no-feature-filesystemwatcher -no-feature-libresolv -no-feature-quickcontrols2-imagine -no-feature-quickcontrols2-material -no-feature-quickcontrols2-universal -no-feature-quickcontrols2-fusion -skip ,qtquick3d,qtactiveqt,qtlanguageserver -submodules qtbase,qtdeclarative,qtshadertools,qttools -- -DCMAKE_PREFIX_PATH=/Users/andre/Documents/l/dist/qt-host opt: zlib val: qt opt: pcre val: qt opt: harfbuzz val: qt Overriding option 'harfbuzz' with 'qt' (was: 'undefined') opt: libpng val: qt Overriding option 'libpng' with 'qt' (was: 'undefined') opt: libjpeg val: qt Overriding option 'libjpeg' with 'qt' (was: 'undefined') '/Applications/CMake.app/Contents/bin/cmake' '-DBUILD_=OFF' '-DBUILD_qtquick3d=OFF' '-DBUILD_qtactiveqt=OFF' '-DBUILD_qtlanguageserver=OFF' '-DQT_BUILD_SUBMODULES=qtbase;qtdeclarative;qtshadertools;qttools' '-DCMAKE_PREFIX_PATH=/Users/andre/Documents/l/dist/qt-host' '-DQT_INTERNAL_CALLED_FROM_CONFIGURE:BOOL=TRUE' '-DBUILD_SHARED_LIBS=ON' '-DCMAKE_INSTALL_PREFIX=/Users/andre/Documents/l/dist/qt-host' '-DQT_BUILD_EXAMPLES=FALSE' '-DQT_BUILD_TESTS=FALSE' '-DCMAKE_BUILD_TYPE=Release' '-DINPUT_optimize_size=yes' '-DINPUT_widgets=no' '-DINPUT_openssl=no' '-DINPUT_zstd=no' '-DINPUT_opengl=no' '-DINPUT_qml_debug=no' '-DINPUT_mtdev=no' '-DINPUT_dbus=no' '-DINPUT_sql_sqlite=no' '-DINPUT_system_zlib=no' '-DINPUT_pcre=qt' '-DINPUT_harfbuzz=qt' '-DINPUT_libpng=qt' '-DINPUT_libjpeg=qt' '-DINPUT_hijricalendar=no' '-DINPUT_islamiccivilcalendar=no' '-DINPUT_jalalicalendar=no' '-DINPUT_designer=no' '-DINPUT_testlib_selfcover=no' '-DINPUT_imageformat_bmp=no' '-DINPUT_imageformat_ppm=no' '-DINPUT_imageformat_xbm=no' '-DINPUT_sharedmemory=no' '-DINPUT_textodfwriter=no' '-DINPUT_undocommand=no' '-DINPUT_undogroup=no' '-DINPUT_undostack=no' '-DINPUT_printsupport=no' '-DINPUT_dtls=no' '-DINPUT_dom=no' '-DINPUT_sql=no' '-DINPUT_xml=no' '-DINPUT_pdf=no' '-DINPUT_brotli=no' '-DINPUT_topleveldomain=no' '-DINPUT_private_tests=no' '-DINPUT_dnslookup=no' '-DINPUT_sctp=no' '-DINPUT_localserver=no' '-DINPUT_filesystemwatcher=no' '-DINPUT_libresolv=no' '-DINPUT_quickcontrols2_imagine=no' '-DINPUT_quickcontrols2_material=no' '-DINPUT_quickcontrols2_universal=no' '-DINPUT_quickcontrols2_fusion=no' '-G' 'Unix Makefiles' '/Users/andre/Documents/l/b/src/qt-host' -- The CXX compiler identification is AppleClang 15.0.0.15000309 -- The C compiler identification is AppleClang 15.0.0.15000309 -- The ASM compiler identification is AppleClang -- Found assembler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Checking dependencies of submodule 'qtbase' -- Checking dependencies of submodule 'qtimageformats' -- Checking dependencies of submodule 'qtshadertools' -- Checking dependencies of submodule 'qtsvg' -- Checking dependencies of submodule 'qtdeclarative' -- Skipping optional dependency 'qtlanguageserver' of 'qtdeclarative', because building 'qtlanguageserver' was explicitly disabled. -- Checking dependencies of submodule 'qttools' -- Skipping optional dependency 'qtactiveqt' of 'qttools', because building 'qtactiveqt' was explicitly disabled. -- Configuring submodule 'qtbase' CMake Warning at qtbase/cmake/QtBuildHelpers.cmake:12 (message): The officially supported CMake generator for building Qt is Ninja / Ninja Multi-Config. You are using: 'Unix Makefiles' instead. Thus, you might encounter issues. Use at your own risk. Call Stack (most recent call first): qtbase/cmake/QtBuildHelpers.cmake:385 (qt_internal_validate_cmake_generator) qtbase/cmake/QtBuild.cmake:4 (qt_internal_setup_build_and_global_variables) qtbase/cmake/QtSetup.cmake:6 (include) qtbase/cmake/QtBuildRepoHelpers.cmake:21 (include) qtbase/cmake/QtBuildRepoHelpers.cmake:179 (qt_build_internals_set_up_private_api) qtbase/cmake/QtBaseHelpers.cmake:154 (qt_build_repo_begin) qtbase/CMakeLists.txt:32 (qt_internal_qtbase_build_repo) -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release' -DCMAKE_C_FLAGS_DEBUG=-g -DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG -DCMAKE_CXX_FLAGS_DEBUG=-g -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG -DCMAKE_C_STANDARD=11 -DCMAKE_C_STANDARD_REQUIRED=ON -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DCMAKE_MODULE_PATH:STRING=/Users/andre/Documents/l/b/src/qt-host/qtbase/cmake/platforms -DCMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH:BOOL=OFF -- Configuring submodule 'qtimageformats' -- Configuring submodule 'qtshadertools' -- Configuring submodule 'qtsvg' -- Configuring submodule 'qtdeclarative' -- Configuring submodule 'qttools' -- Could NOT find Clang (missing: Clang_DIR) -- Could NOT find Clang (missing: Clang_DIR) -- Configuration summary shown below. It has also been written to /Users/andre/Documents/l/b/src/qt-host-build/config.summary -- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations. -- Configure summary: Building for: macx-clang (arm64, CPU features: neon crc32 crypto) Compiler: clang (Apple) 15.0.0.15000309 Build options: Mode ................................... release Optimize release build for size ........ yes Fully optimize release builds (-O3) .... no Building shared libraries .............. yes Using ccache ........................... no Unity Build ............................ no Relocatable ............................ yes Using precompiled headers .............. yes Using Link Time Optimization (LTCG) .... no Using Intel CET ........................ no Target compiler supports: ARM Extensions ....................... NEON CRC32 AES Sanitizers: Addresses ............................ no Threads .............................. no Memory ............................... no Fuzzer (instrumentation only) ........ no Undefined ............................ no Build parts ............................ libs tools Install examples sources ............... no App store compliance ................... no Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... no Qt D-Bus directly linked to libdbus .... no Qt Gui ................................. yes Qt Network ............................. yes Qt PrintSupport ........................ no Qt Sql ................................. no Qt Testlib ............................. yes Qt Widgets ............................. no Qt Xml ................................. no Support enabled for: Using pkg-config ....................... no Using vcpkg ............................ no udev ................................... no OpenSSL ................................ no Qt directly linked to OpenSSL ........ no OpenSSL 1.1 ............................ no OpenSSL 3.0 ............................ no Using system zlib ...................... no Zstandard support ...................... no Thread support ......................... yes Common build options: Linker can resolve circular dependencies yes Qt Core: backtrace .............................. yes DoubleConversion ....................... yes Using system DoubleConversion ........ no GLib ................................... no ICU .................................... no Using system libb2 ..................... no Built-in copy of the MIME database ..... yes Application permissions ................ yes Defaulting legacy IPC to POSIX ......... no Tracing backend ........................ <none> OpenSSL based cryptographic hash ....... no Logging backends: journald ............................. no syslog ............................... no slog2 ................................ no PCRE2 .................................. yes Using system PCRE2 ................... no Qt Network: getifaddrs() ........................... yes IPv6 ifname ............................ yes libproxy ............................... no SecureTransport ........................ yes DTLS ................................... no OCSP-stapling .......................... no SCTP ................................... no Use system proxies ..................... yes GSSAPI ................................. yes Brotli Decompression Support ........... no qIsEffectiveTLD() ...................... no Built-in publicsuffix database ....... no System publicsuffix database ......... no Core tools: Android deployment tool ................ yes macOS deployment tool .................. yes Windows deployment tool ................ no qmake .................................. yes Qt Gui: Accessibility .......................... yes FreeType ............................... yes Using system FreeType ................ no HarfBuzz ............................... yes Using system HarfBuzz ................ no Fontconfig ............................. no Image formats: GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... no PNG .................................. yes Using system libpng ................ no Text formats: HtmlParser ........................... yes CssParser ............................ yes OdfWriter ............................ no MarkdownReader ....................... yes Using system libmd4c ............... no MarkdownWriter ....................... yes EGL .................................... no OpenVG ................................. no OpenGL: Desktop OpenGL ....................... no OpenGL ES 2.0 ........................ no OpenGL ES 3.0 ........................ no OpenGL ES 3.1 ........................ no OpenGL ES 3.2 ........................ no Vulkan ................................. no Session Management ..................... yes Features used by QPA backends: evdev .................................. no libinput ............................... no HiRes wheel support in libinput ........ no INTEGRITY HID .......................... no mtdev .................................. no tslib .................................. no xkbcommon .............................. no X11 specific: XLib ................................. no XCB Xlib ............................. no EGL on X11 ........................... no xkbcommon-x11 ........................ no xcb-sm ............................... no QPA backends: DirectFB ............................... no EGLFS .................................. no EGLFS details: EGLFS OpenWFD ........................ no EGLFS i.Mx6 .......................... no EGLFS i.Mx6 Wayland .................. no EGLFS RCAR ........................... no EGLFS EGLDevice ...................... no EGLFS GBM ............................ no EGLFS VSP2 ........................... no EGLFS Mali ........................... no EGLFS Raspberry Pi ................... no EGLFS X11 ............................ no LinuxFB ................................ no VNC .................................... no VK_KHR_display ......................... no QNX: lgmon ................................ no IMF .................................. no XCB: Using system-provided xcb-xinput ..... no GL integrations: GLX Plugin ......................... no XCB GLX .......................... no EGL-X11 Plugin ..................... no Windows: Direct 2D ............................ no Direct 2D 1.1 ........................ no DirectWrite .......................... no DirectWrite 3 ........................ no Qt Testlib: Tester for item models ................. yes Batch tests ............................ no Further Image Formats: JasPer ................................. no MNG .................................... no TIFF ................................... yes Using system libtiff ................. no WEBP ................................... yes Using system libwebp ................. no Qt QML: QML network support .................... yes QML debugging and profiling support .... no QML just-in-time compiler .............. no QML XML http request ................... yes QML Locale ............................. yes QML SSL support ........................ yes Qt QML: QML network support .................... yes QML debugging and profiling support .... no QML just-in-time compiler .............. no QML XML http request ................... yes QML Locale ............................. yes QML SSL support ........................ yes Qt QML Models: QML list model ......................... yes QML delegate model ..................... yes Qt Quick: AnimatedImage item ..................... yes Canvas item ............................ yes Support for Qt Quick Designer .......... yes Flipable item .......................... yes GridView item .......................... yes ListView item .......................... yes TableView item ......................... yes TreeView item .......................... yes Path support ........................... yes PathView item .......................... yes Positioner items ....................... yes Repeater item .......................... yes ShaderEffect item ...................... yes Sprite item ............................ yes Qt Quick Templates 2: Hover support .......................... yes Multi-touch support .................... yes Calendar support ....................... yes Qt Quick Controls 2: Styles ................................. Basic iOS macOS Qt Tools: Qt Assistant ........................... no libclang found ......................... no Clang-based lupdate parser ............. no Qt Designer ............................ no Qt Distance Field Generator ............ no Qt Linguist ............................ yes pixeltool .............................. no qdbus .................................. no QDoc ................................... no Qt Attributions Scanner ................ yes qtdiag ................................. yes qtplugininfo ........................... yes WARNING: QDoc will not be compiled, probably because clang's C and C++ libraries could not be located. This means that you cannot build the Qt documentation. You may need to set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation. Other than clang's libraries, you may need to install another package, such as clang itself, to provide the ClangConfig.cmake file needed to detect your libraries. Once this file is in place, the configure script may be able to detect your system-installed libraries without further environment variables. On macOS, you can use Homebrew's llvm package. You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check. WARNING: Clang-based lupdate parser will not be available. Suitable LLVM and Clang C++ libraries have not been found. You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check. -- Qt is now configured for building. Just run 'cmake --build . --parallel' Once everything is built, you must run 'cmake --install .' Qt will be installed into '/Users/andre/Documents/l/dist/qt-host' To configure and build other Qt modules, you can use the following convenience script: /Users/andre/Documents/l/dist/qt-host/bin/qt-configure-module If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory Alternatively, you can add the --fresh flag to your CMake flags. -- Configuring done (17.8s) -- Generating done (4.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_ INPUT_dom INPUT_sql_sqlite -- Build files have been written to: /Users/andre/Documents/l/b/src/qt-host-build [ 69%] Performing build step for 'qt-host' [ 0%] Generating ../../../mkspecs/modules/qt_ext_libpng.pri Error copying directory from "/Users/andre/Documents/l/b/src/qt-host-build/qtbase/include/QtCore/.syncqt_staging" to "/Users/andre/Documents/l/b/src/qt-host-build/qtbase/lib/QtCore.framework/Versions/A/Headers". make[5]: *** [qtbase/src/corelib/CMakeFiles/Core_copy_fw_sync_headers] Error 1 make[4]: *** [qtbase/src/corelib/CMakeFiles/Core_copy_fw_sync_headers.dir/all] Error 2 make[4]: *** Waiting for unfinished jobs.... [ 0%] Building C object qtbase/src/3rdparty/libjpeg/CMakeFiles/BundledLibjpeg12bits.dir/jcapistd_12.c.o [ 0%] Generating ../../mkspecs/modules/qt_lib_core_private.pri [ 0%] Building CXX object qtbase/src/tools/syncqt/CMakeFiles/syncqt.dir/main.cpp.o [ 0%] Generating mkspecs/qmodule.pri ... [ 2%] Linking C static library ../../../lib/libQt6BundledLibjpeg12bits.a [ 2%] Built target BundledLibjpeg12bits [ 2%] Linking C static library ../../../lib/libQt6BundledPcre2.a [ 2%] Built target BundledPcre2 [ 2%] Linking CXX executable ../../../libexec/syncqt [ 2%] Built target syncqt make[3]: *** [all] Error 2 make[2]: *** [b/src/qt-host-stamp/qt-host-build] Error 2 make[1]: *** [CMakeFiles/qt-host.dir/all] Error 2 make: *** [all] Error 2 Error copying directory from "/Users/andre/Documents/l/b/src/qt-host-build/qtbase/include/QtCore/.syncqt_staging" to "/Users/andre/Documents/l/b/src/qt-host-build/qtbase/lib/QtCore.framework/Versions/A/Headers".