conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
960 stars 1.77k forks source link

[package] qt/6.2.4: can't build with mingw #10111

Open AndreyMlashkin opened 2 years ago

AndreyMlashkin commented 2 years ago

Package and Environment Details (include every applicable attribute)

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.exception=seh
compiler.libcxx=libstdc++11
compiler.threads=win32
compiler.version=11.2
cppstd=17
os=Windows
[options]
"*":with_ffi=False
"*":with_libffi=False
*:with_pq=False
harfbuzz:with_glib=False
qt:gui=False
qt:openssl=False
qt:widgets=False
qt:with_brotli=False
qt:with_doubleconversion=False
qt:with_freetype=False
qt:with_glib=False
qt:with_gstreamer=False
qt:with_harfbuzz=False
qt:with_libpng=False
qt:with_odbc=False
qt:with_openal=False
qt:with_pcre2=False
qt:with_pq=False
qt:with_sqlite3=False
[build_requires]
[env]
CC=gcc
CXX=g++
[conf]
tools.cmake.cmaketoolchain:generator=Ninja

Steps to reproduce (Include if Applicable)

conan install qt/6.2.4@ -pr mingw --build missing

Logs (Include/Attach if Applicable)

Click to expand log ``` qt/6.2.4: Applying build-requirement: cmake/3.22.0 qt/6.2.4: Applying build-requirement: ninja/1.10.2 qt/6.2.4: Applying build-requirement: pkgconf/1.7.4 qt/6.2.4: Applying build-requirement: strawberryperl/5.30.0.1 Downloading conan_sources.tgz completed [2.30k] Decompressing conan_sources.tgz completed [0.00k] qt/6.2.4: Configuring sources in D:\.conan\262902\1 Downloading qt-everywhere-src-6.2.4.tar.xz completed [646156.05k] qt/6.2.4: Building your package in D:\.conan\3d5abb\1 qt/6.2.4: Generator pkg_config created cmake.pc qt/6.2.4: Generator pkg_config created ninja.pc qt/6.2.4: Generator pkg_config created libpkgconf.pc qt/6.2.4: Generator pkg_config created strawberryperl.pc qt/6.2.4: Generator pkg_config created zlib.pc qt/6.2.4: Generator cmake_find_package created Findcmake.cmake qt/6.2.4: Generator cmake_find_package created Findninja.cmake qt/6.2.4: Generator cmake_find_package created Findpkgconf.cmake qt/6.2.4: Generator cmake_find_package created Findstrawberryperl.cmake qt/6.2.4: Generator cmake_find_package created FindZLIB.cmake qt/6.2.4: Generator cmake created conanbuildinfo.cmake qt/6.2.4: Aggregating env generators qt/6.2.4: Calling build() WARN: replace_in_file didn't find pattern '$<$,SHARED_LIBRARY>:>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$,MODULE_LIBRARY>:>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$,EXECUTABLE>:>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findcmake.cmake' file. WARN: replace_in_file didn't find pattern '$<$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findcmake.cmake' file. WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'Findcmake.cmake' file. WARN: replace_in_file didn't find pattern '$<$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findninja.cmake' file. WARN: replace_in_file didn't find pattern '$<$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findninja.cmake' file. WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'Findninja.cmake' file. WARN: replace_in_file didn't find pattern '$<$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findpkgconf.cmake' file. WARN: replace_in_file didn't find pattern '$<$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findpkgconf.cmake' file. WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'Findpkgconf.cmake' file. WARN: replace_in_file didn't find pattern '$<$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findstrawberryperl.cmake' file. WARN: replace_in_file didn't find pattern '$<$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findstrawberryperl.cmake' file. WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'Findstrawberryperl.cmake' file. WARN: replace_in_file didn't find pattern '$<$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindZLIB.cmake' file. WARN: replace_in_file didn't find pattern '$<$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindZLIB.cmake' file. WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'FindZLIB.cmake' file. ----Running------ > cd D:\.conan\3d5abb\1 && cmake -G "Ninja" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="11.2" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="D:\.conan\99f3cb\1" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_MODULE_PATH="D:/.conan/3d5abb/1" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DINSTALL_MKSPECSDIR="D:\.conan\99f3cb\1\res\archdatadir\mkspecs" -DINSTALL_ARCHDATADIR="D:\.conan\99f3cb\1\res\archdatadir" -DINSTALL_LIBEXECDIR="D:\.conan\99f3cb\1\bin" -DINSTALL_DATADIR="D:\.conan\99f3cb\1\res\datadir" -DINSTALL_SYSCONFDIR="D:\.conan\99f3cb\1\res\sysconfdir" -DQT_BUILD_TESTS="OFF" -DQT_BUILD_EXAMPLES="OFF" -DFEATURE_optimize_size="OFF" -DBUILD_qtsvg="OFF" -DBUILD_qtdeclarative="OFF" -DBUILD_qtactiveqt="OFF" -DBUILD_qtmultimedia="OFF" -DBUILD_qttools="OFF" -DBUILD_qttranslations="OFF" -DBUILD_qtdoc="OFF" -DBUILD_qtrepotools="OFF" -DBUILD_qtqa="OFF" -DBUILD_qtpositioning="OFF" -DBUILD_qtsensors="OFF" -DBUILD_qtconnectivity="OFF" -DBUILD_qtwayland="OFF" -DBUILD_qt3d="OFF" -DBUILD_qtimageformats="OFF" -DBUILD_qtserialbus="OFF" -DBUILD_qtserialport="OFF" -DBUILD_qtwebsockets="OFF" -DBUILD_qtwebchannel="OFF" -DBUILD_qtwebengine="OFF" -DBUILD_qtwebview="OFF" -DBUILD_qtcharts="OFF" -DBUILD_qtdatavis3d="OFF" -DBUILD_qtvirtualkeyboard="OFF" -DBUILD_qtscxml="OFF" -DBUILD_qtnetworkauth="OFF" -DBUILD_qtremoteobjects="OFF" -DBUILD_qtlottie="OFF" -DBUILD_qtquicktimeline="OFF" -DBUILD_qtquick3d="OFF" -DBUILD_qtshadertools="OFF" -DBUILD_qt5compat="OFF" -DBUILD_qtcoap="OFF" -DBUILD_qtmqtt="OFF" -DBUILD_qtopcua="OFF" -DFEATURE_system_zlib="ON" -DINPUT_opengl="no" -DINPUT_openssl="no" -DFEATURE_dbus="OFF" -DFEATURE_glib="OFF" -DFEATURE_icu="OFF" -DFEATURE_fontconfig="OFF" -DFEATURE_sql_mysql="OFF" -DFEATURE_sql_psql="OFF" -DFEATURE_sql_odbc="OFF" -DFEATURE_gui="OFF" -DFEATURE_widgets="OFF" -DFEATURE_zstd="OFF" -DFEATURE_vulkan="OFF" -DFEATURE_brotli="OFF" -DFEATURE_doubleconversion="OFF" -DFEATURE_system_doubleconversion="OFF" -DFEATURE_freetype="OFF" -DFEATURE_system_freetype="OFF" -DFEATURE_harfbuzz="OFF" -DFEATURE_system_harfbuzz="OFF" -DFEATURE_jpeg="OFF" -DFEATURE_system_jpeg="OFF" -DFEATURE_png="OFF" -DFEATURE_system_png="OFF" -DFEATURE_sqlite="OFF" -DFEATURE_system_sqlite="OFF" -DFEATURE_pcre2="OFF" -DFEATURE_system_pcre2="OFF" -DFEATURE_="OFF" -DQT_QMAKE_TARGET_MKSPEC="win32-g++" -DFEATURE_pkg_config="ON" -Wno-dev D:\.conan\262902\1\qt6 ----------------- -- The CXX compiler identification is unknown -- The C compiler identification is unknown -- The ASM compiler identification is GNU -- Found assembler: D:/.conan/fb39bb/1/bin/gcc.exe -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Check for working CXX compiler: D:/.conan/fb39bb/1/bin/g++.exe -- Check for working CXX compiler: D:/.conan/fb39bb/1/bin/g++.exe - broken CMake Error at D:/.conan/storage/cmake/3.22.0/_/_/package/0a420ff5c47119e668867cdb51baff0eca1fdb68/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message): The C++ compiler "D:/.conan/fb39bb/1/bin/g++.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: D:/.conan/3d5abb/1/CMakeFiles/CMakeTmp Run Build Command(s):D:/.conan/storage/ninja/1.10.2/_/_/package/0a420ff5c47119e668867cdb51baff0eca1fdb68/bin/ninja.exe cmTC_13741 && [1/2] Building CXX object CMakeFiles\cmTC_13741.dir\testCXXCompiler.cxx.obj FAILED: CMakeFiles/cmTC_13741.dir/testCXXCompiler.cxx.obj D:\.conan\fb39bb\1\bin\g++.exe -o CMakeFiles\cmTC_13741.dir\testCXXCompiler.cxx.obj -c D:\.conan\3d5abb\1\CMakeFiles\CMakeTmp\testCXXCompiler.cxx cc1plus.exe: error: unrecognized command-line option '-auxbase-strip' cc1plus.exe: error: too many filenames given; type 'cc1plus.exe --help' for usage ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:13 (project) -- Configuring incomplete, errors occurred! See also "D:/.conan/3d5abb/1/CMakeFiles/CMakeOutput.log". See also "D:/.conan/3d5abb/1/CMakeFiles/CMakeError.log". qt/6.2.4: Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/.conan/fb39bb/1/bin/g++.exe Build flags: Id flags: The output was: 1 cc1plus.exe: error: unrecognized command-line option '-auxbase' cc1plus.exe: error: too many filenames given; type 'cc1plus.exe --help' for usage Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/.conan/fb39bb/1/bin/g++.exe Build flags: Id flags: -c The output was: 1 cc1plus.exe: error: unrecognized command-line option '-auxbase' cc1plus.exe: error: too many filenames given; type 'cc1plus.exe --help' for usage Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/.conan/fb39bb/1/bin/g++.exe Build flags: Id flags: --c++ The output was: 1 g++.exe: error: unrecognized command line option '--c++' Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/.conan/fb39bb/1/bin/g++.exe Build flags: Id flags: --ec++ The output was: 1 g++.exe: error: unrecognized command line option '--ec++'; did you mean '-Weffc++'? Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/.conan/fb39bb/1/bin/g++.exe Build flags: Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 The output was: 1 g++.exe: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++.exe: error: unrecognized command line option '--target=arm-arm-none-eabi' Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/.conan/fb39bb/1/bin/g++.exe Build flags: Id flags: -c;-I__does_not_exist__ The output was: 1 cc1plus.exe: error: unrecognized command-line option '-auxbase' cc1plus.exe: error: too many filenames given; type 'cc1plus.exe --help' for usage Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/.conan/fb39bb/1/bin/g++.exe Build flags: Id flags: The output was: 1 cc1plus.exe: error: unrecognized command-line option '-auxbase' cc1plus.exe: error: too many filenames given; type 'cc1plus.exe --help' for usage Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/.conan/fb39bb/1/bin/g++.exe Build flags: Id flags: -c The output was: 1 cc1plus.exe: error: unrecognized command-line option '-auxbase' cc1plus.exe: error: too many filenames given; type 'cc1plus.exe --help' for usage Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/.conan/fb39bb/1/bin/g++.exe Build flags: Id flags: --c++ The output was: 1 g++.exe: error: unrecognized command line option '--c++' Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/.conan/fb39bb/1/bin/g++.exe Build flags: Id flags: --ec++ The output was: 1 g++.exe: error: unrecognized command line option '--ec++'; did you mean '-Weffc++'? Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/.conan/fb39bb/1/bin/g++.exe Build flags: Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 The output was: 1 g++.exe: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++.exe: error: unrecognized command line option '--target=arm-arm-none-eabi' Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/.conan/fb39bb/1/bin/g++.exe Build flags: Id flags: -c;-I__does_not_exist__ The output was: 1 cc1plus.exe: error: unrecognized command-line option '-auxbase' cc1plus.exe: error: too many filenames given; type 'cc1plus.exe --help' for usage Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler": g++.exe: fatal error: no input files compilation terminated. Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler": g++.exe: fatal error: no input files compilation terminated. Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/.conan/fb39bb/1/bin/gcc.exe Build flags: Id flags: The output was: 1 cc1.exe: error: unrecognized command-line option '-auxbase' cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/.conan/fb39bb/1/bin/gcc.exe Build flags: Id flags: -c The output was: 1 cc1.exe: error: unrecognized command-line option '-auxbase' cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/.conan/fb39bb/1/bin/gcc.exe Build flags: Id flags: -Aa The output was: 1 cc1.exe: error: unrecognized command-line option '-auxbase' cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/.conan/fb39bb/1/bin/gcc.exe Build flags: Id flags: -D__CLASSIC_C__ The output was: 1 cc1.exe: error: unrecognized command-line option '-auxbase' cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/.conan/fb39bb/1/bin/gcc.exe Build flags: Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 The output was: 1 gcc.exe: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead gcc.exe: error: unrecognized command line option '--target=arm-arm-none-eabi' Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/.conan/fb39bb/1/bin/gcc.exe Build flags: Id flags: -c;-I__does_not_exist__ The output was: 1 cc1.exe: error: unrecognized command-line option '-auxbase' cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/.conan/fb39bb/1/bin/gcc.exe Build flags: Id flags: The output was: 1 cc1.exe: error: unrecognized command-line option '-auxbase' cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/.conan/fb39bb/1/bin/gcc.exe Build flags: Id flags: -c The output was: 1 cc1.exe: error: unrecognized command-line option '-auxbase' cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/.conan/fb39bb/1/bin/gcc.exe Build flags: Id flags: -Aa The output was: 1 cc1.exe: error: unrecognized command-line option '-auxbase' cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/.conan/fb39bb/1/bin/gcc.exe Build flags: Id flags: -D__CLASSIC_C__ The output was: 1 cc1.exe: error: unrecognized command-line option '-auxbase' cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/.conan/fb39bb/1/bin/gcc.exe Build flags: Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 The output was: 1 gcc.exe: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead gcc.exe: error: unrecognized command line option '--target=arm-arm-none-eabi' Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/.conan/fb39bb/1/bin/gcc.exe Build flags: Id flags: -c;-I__does_not_exist__ The output was: 1 cc1.exe: error: unrecognized command-line option '-auxbase' cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler": gcc.exe: fatal error: no input files compilation terminated. Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler": gcc.exe: fatal error: no input files compilation terminated. Detecting CXX compiler ABI info failed to compile with the following output: Change Dir: D:/.conan/3d5abb/1/CMakeFiles/CMakeTmp Run Build Command(s):D:/.conan/storage/ninja/1.10.2/_/_/package/0a420ff5c47119e668867cdb51baff0eca1fdb68/bin/ninja.exe cmTC_8bc49 && [1/2] Building CXX object CMakeFiles\cmTC_8bc49.dir\CMakeCXXCompilerABI.cpp.obj FAILED: CMakeFiles/cmTC_8bc49.dir/CMakeCXXCompilerABI.cpp.obj D:\.conan\fb39bb\1\bin\g++.exe -o CMakeFiles\cmTC_8bc49.dir\CMakeCXXCompilerABI.cpp.obj -c D:\.conan\storage\cmake\3.22.0\_\_\package\0a420ff5c47119e668867cdb51baff0eca1fdb68\share\cmake-3.22\Modules\CMakeCXXCompilerABI.cpp cc1plus.exe: error: unrecognized command-line option '-auxbase-strip' cc1plus.exe: error: too many filenames given; type 'cc1plus.exe --help' for usage ninja: build stopped: subcommand failed. Determining if the CXX compiler works failed with the following output: Change Dir: D:/.conan/3d5abb/1/CMakeFiles/CMakeTmp Run Build Command(s):D:/.conan/storage/ninja/1.10.2/_/_/package/0a420ff5c47119e668867cdb51baff0eca1fdb68/bin/ninja.exe cmTC_13741 && [1/2] Building CXX object CMakeFiles\cmTC_13741.dir\testCXXCompiler.cxx.obj FAILED: CMakeFiles/cmTC_13741.dir/testCXXCompiler.cxx.obj D:\.conan\fb39bb\1\bin\g++.exe -o CMakeFiles\cmTC_13741.dir\testCXXCompiler.cxx.obj -c D:\.conan\3d5abb\1\CMakeFiles\CMakeTmp\testCXXCompiler.cxx cc1plus.exe: error: unrecognized command-line option '-auxbase-strip' cc1plus.exe: error: too many filenames given; type 'cc1plus.exe --help' for usage ninja: build stopped: subcommand failed. qt/6.2.4: The system is: Windows - 10.0.19043 - AMD64 Checking whether the ASM compiler is GNU using "--version" matched "(GNU assembler)|(GCC)|(Free Software Foundation)": gcc.exe (x86_64-posix-seh, Built by strawberryperl.com project) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. qt/6.2.4: qt/6.2.4: ERROR: Package '02f1a102f73bb3269f238dfe2b78584d58130dcd' build failed qt/6.2.4: WARN: Build folder D:\.conan\3d5abb\1 ERROR: qt/6.2.4: Error in build() method, line 697 cmake = self._configure_cmake() while calling '_configure_cmake', line 647 self._cmake.configure(source_folder="qt6") ConanException: Error 1 while executing cd D:\.conan\3d5abb\1 && cmake -G "Ninja" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="11.2" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="D:\.conan\99f3cb\1" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_MODULE_PATH="D:/.conan/3d5abb/1" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DINSTALL_MKSPECSDIR="D:\.conan\99f3cb\1\res\archdatadir\mkspecs" -DINSTALL_ARCHDATADIR="D:\.conan\99f3cb\1\res\archdatadir" -DINSTALL_LIBEXECDIR="D:\.conan\99f3cb\1\bin" -DINSTALL_DATADIR="D:\.conan\99f3cb\1\res\datadir" -DINSTALL_SYSCONFDIR="D:\.conan\99f3cb\1\res\sysconfdir" -DQT_BUILD_TESTS="OFF" -DQT_BUILD_EXAMPLES="OFF" -DFEATURE_optimize_size="OFF" -DBUILD_qtsvg="OFF" -DBUILD_qtdeclarative="OFF" -DBUILD_qtactiveqt="OFF" -DBUILD_qtmultimedia="OFF" -DBUILD_qttools="OFF" -DBUILD_qttranslations="OFF" -DBUILD_qtdoc="OFF" -DBUILD_qtrepotools="OFF" -DBUILD_qtqa="OFF" -DBUILD_qtpositioning="OFF" -DBUILD_qtsensors="OFF" -DBUILD_qtconnectivity="OFF" -DBUILD_qtwayland="OFF" -DBUILD_qt3d="OFF" -DBUILD_qtimageformats="OFF" -DBUILD_qtserialbus="OFF" -DBUILD_qtserialport="OFF" -DBUILD_qtwebsockets="OFF" -DBUILD_qtwebchannel="OFF" -DBUILD_qtwebengine="OFF" -DBUILD_qtwebview="OFF" -DBUILD_qtcharts="OFF" -DBUILD_qtdatavis3d="OFF" -DBUILD_qtvirtualkeyboard="OFF" -DBUILD_qtscxml="OFF" -DBUILD_qtnetworkauth="OFF" -DBUILD_qtremoteobjects="OFF" -DBUILD_qtlottie="OFF" -DBUILD_qtquicktimeline="OFF" -DBUILD_qtquick3d="OFF" -DBUILD_qtshadertools="OFF" -DBUILD_qt5compat="OFF" -DBUILD_qtcoap="OFF" -DBUILD_qtmqtt="OFF" -DBUILD_qtopcua="OFF" -DFEATURE_system_zlib="ON" -DINPUT_opengl="no" -DINPUT_openssl="no" -DFEATURE_dbus="OFF" -DFEATURE_glib="OFF" -DFEATURE_icu="OFF" -DFEATURE_fontconfig="OFF" -DFEATURE_sql_mysql="OFF" -DFEATURE_sql_psql="OFF" -DFEATURE_sql_odbc="OFF" -DFEATURE_gui="OFF" -DFEATURE_widgets="OFF" -DFEATURE_zstd="OFF" -DFEATURE_vulkan="OFF" -DFEATURE_brotli="OFF" -DFEATURE_doubleconversion="OFF" -DFEATURE_system_doubleconversion="OFF" -DFEATURE_freetype="OFF" -DFEATURE_system_freetype="OFF" -DFEATURE_harfbuzz="OFF" -DFEATURE_system_harfbuzz="OFF" -DFEATURE_jpeg="OFF" -DFEATURE_system_jpeg="OFF" -DFEATURE_png="OFF" -DFEATURE_system_png="OFF" -DFEATURE_sqlite="OFF" -DFEATURE_system_sqlite="OFF" -DFEATURE_pcre2="OFF" -DFEATURE_system_pcre2="OFF" -DFEATURE_="OFF" -DQT_QMAKE_TARGET_MKSPEC="win32-g++" -DFEATURE_pkg_config="ON" -Wno-dev D:\.conan\262902\1\qt6 ```
AndreyMlashkin commented 2 years ago

@ericLemanissier

ericLemanissier commented 2 years ago

I started a test at https://github.com/eirikb/proof-of-conan/runs/5831051706?check_suite_focus=true, it failed later in the build process. It uses mingw-builds/11.2.0 as compiler. which package is stored in D:\.conan\fb39bb on your machine ?

AndreyMlashkin commented 2 years ago

It's strawberryperl\5.30.0.1

ericLemanissier commented 2 years ago

please retry with -u argument. strawberryperl should not have a compiler since https://github.com/conan-io/conan-center-index/commit/692cd9a955de9acb5aea7f369de014f57f157392

AndreyMlashkin commented 2 years ago

full_log.txt it is still showing an error

ericLemanissier commented 2 years ago

you disabled pcre2, but qt does not seem to like that:

-- The following REQUIRED packages have not been found:

 * WrapPCRE2
AndreyMlashkin commented 2 years ago

qt_build_log.txt now it fails here

ericLemanissier commented 2 years ago

what compiler do you want to use, gcc or clang-cl ? your log has CC=clang-cl

AndreyMlashkin commented 2 years ago

qt_script.txt sorry, if was a wrong file

ericLemanissier commented 2 years ago

what package is stored in E:\.conan\5fc737 ? if it's strawberryperl again, then the solution is identical to last time: retry with -u command line argument (or manually delete E:\.conan\5fc737). please join on slack => https://cpplang.slack.com/?id=conan to continue discussion

AndreyMlashkin commented 2 years ago

It's again stroberyperl. I am not allowed to join your workspace.

I think some path is missing here: E:/.conan/8282aa/1/qtbase/src/tools/moc/moc_resource.rc:1:10: fatal error: windows.h: No such file or directory 1 | #include

SSE4 commented 2 years ago

it might be MinGW is case-sensitive and doesn't like #include "windows.h" and wants #include "Windows.h", can you check that?

ericLemanissier commented 2 years ago

it's not relatedto mingw or case-sensitivity. Your build is using windres from strawberryperl, which is wrong and easy to fix.