Open AndreyMlashkin opened 2 years ago
output is corrupted (because of multi-thread), it's a bit hard to see the actual error. it could be improved by:
Ninja
as a cmake generator (it doesn't shuffle the output) (CONAN_CMAKE_GENERATOR=Ninja
)CONAN_CPU_COUNT=1
to limit the number of parallel jobembree_build_log.txt Here we go
It seems, it uses invalid flags
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)Steps to reproduce (Include if Applicable)
conan install embree3/3.13.3@ -pr mingw --build missing -u -r conancenter
Logs (Include/Attach if Applicable)
Click to expand log
``` > conan install embree3/3.13.3@ -pr mingw --build missing -u -r conancenter Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.exception=seh compiler.libcxx=libstdc++11 compiler.threads=posix compiler.version=11.2 cppstd=17 os=Windows [options] *:with_embree=False diligent-core:shared=True [build_requires] [env] CC=C:\ProgramData\chocolatey\bin\gcc.exe CXX=C:\ProgramData\chocolatey\bin\g++.exe [conf] tools.cmake.cmaketoolchain:generator=Ninja embree3/3.13.3: WARN: Package binary is corrupted, removing: 9d9b5e907ac68454a60909fc9118546780b1b1e5 Installing package: embree3/3.13.3 Requirements embree3/3.13.3 from 'conancenter' - Cache Packages embree3/3.13.3:9d9b5e907ac68454a60909fc9118546780b1b1e5 - Build Installing (downloading, building) binaries... embree3/3.13.3: WARN: Build folder is dirty, removing it: D:\.conan\storage\embree3\3.13.3\_\_\build\9d9b5e907ac68454a60909fc9118546780b1b1e5 embree3/3.13.3: Copying sources to build folder embree3/3.13.3: Building your package in D:\.conan\storage\embree3\3.13.3\_\_\build\9d9b5e907ac68454a60909fc9118546780b1b1e5 embree3/3.13.3: Generator cmake created conanbuildinfo.cmake embree3/3.13.3: Aggregating env generators embree3/3.13.3: Calling build() ----Running------ > cd D:\.conan\storage\embree3\3.13.3\_\_\build\9d9b5e907ac68454a60909fc9118546780b1b1e5\build_subfolder && cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE="Debug" -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\storage\embree3\3.13.3\_\_\package\9d9b5e907ac68454a60909fc9118546780b1b1e5" -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_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DEMBREE_STATIC_LIB="True" -DBUILD_TESTING="False" -DEMBREE_TUTORIALS="False" -DEMBREE_GEOMETRY_CURVE="True" -DEMBREE_GEOMETRY_GRID="True" -DEMBREE_GEOMETRY_INSTANCE="True" -DEMBREE_GEOMETRY_QUAD="True" -DEMBREE_GEOMETRY_SUBDIVISION="True" -DEMBREE_GEOMETRY_TRIANGLE="True" -DEMBREE_GEOMETRY_USER="True" -DEMBREE_RAY_PACKETS="True" -DEMBREE_RAY_MASK="False" -DEMBREE_BACKFACE_CULLING="False" -DEMBREE_IGNORE_INVALID_RAYS="False" -DEMBREE_ISPC_SUPPORT="False" -DEMBREE_TASKING_SYSTEM="INTERNAL" -DEMBREE_MAX_ISA="NONE" -DEMBREE_ISA_NEON="False" -DEMBREE_ISA_SSE2="True" -DEMBREE_ISA_SSE42="False" -DEMBREE_ISA_AVX="False" -DEMBREE_ISA_AVX2="False" -DEMBREE_ISA_AVX512="False" -Wno-dev D:\.conan\storage\embree3\3.13.3\_\_\build\9d9b5e907ac68454a60909fc9118546780b1b1e5 ----------------- -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/ProgramData/chocolatey/bin/gcc.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/ProgramData/chocolatey/bin/g++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 11.2 -- Conan: Checking correct version: 11.2 -- Conan: C++ stdlib: libstdc++11 -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: D:/.conan/storage/embree3/3.13.3/_/_/build/9d9b5e907ac68454a60909fc9118546780b1b1e5/build_subfolder ----Running------ > cmake --build D:\.conan\storage\embree3\3.13.3\_\_\build\9d9b5e907ac68454a60909fc9118546780b1b1e5\build_subfolder -- -j12 ----------------- [ 1%] Building CXX object source_subfolder/common/math/CMakeFiles/math.dir/constants.cpp.obj [ 2%] Building CXX object source_subfolder/common/sys/CMakeFiles/sys.dir/sysinfo.cpp.obj [ 5%] Building CXX object source_subfolder/common/sys/CMakeFiles/sys.dir/alloc.cpp.obj [ 6%] [ 6%] Building CXX object source_subfolder/common/simd/CMakeFiles/simd.dir/sse.cpp.obj Building CXX object source_subfolder/common/tasking/CMakeFiles/tasking.dir/taskschedulerinternal.cpp.obj [ 7%] Building CXX object source_subfolder/common/sys/CMakeFiles/sys.dir/library.cpp.obj [ 10%] [ 10%] Building CXX object source_subfolder/common/sys/CMakeFiles/sys.dir/thread.cpp.objBuilding CXX object source_subfolder/common/sys/CMakeFiles/sys.dir/filename.cpp.obj [ 11%] Building CXX object source_subfolder/common/sys/CMakeFiles/sys.dir/string.cpp.obj [ 12%] Building CXX object source_subfolder/common/sys/CMakeFiles/sys.dir/regression.cpp.obj [ 13%] Building CXX object source_subfolder/common/sys/CMakeFiles/sys.dir/mutex.cpp.obj g++.exe: fatal error: cannot specify '-o' with '-cg++.exe: fatal error: ', 'cannot specify ' -S-ofatal error: ' with 'cannot specify ' -c ', 'c g++.exe: p i l' or '', ' fatal error: -S o' with multiple files ' or 'nc-o t-Em' with 'ep ric-cm oia', 'tnm apo-St nel' or ' da .te-E ro' with multiple files mnci ontmaetrpemdii.ln aattieodg++.exe: n. tfatal error: em ngw32-make[2]:rcannot specify ' *m * [source_subfolder\coi-om on\simd\CMakeFiles\' with 'ns md.dir\build.make:75: sourcamingw32-ma-cm ngw32-make[2]: *** [source_subfolder\common\math\CMakeFile', 'ket \math.dir\build.m-Se 2]: *** [source_subfolder' or 'e_a commd-Ek ubfoldeo.' with multiple files :ne 7\r5og++.exe:s s\CMakeFiles\sys.dir\build.ma /co mon/simd/CMakeFiles/simd.dir/sse.cpp.obj]fatal error: k :75: sourcannot specify ': source_subfolder/common/math/CMakeFiles/math.dir/constants.cpp.obj] c-om Error 1 ' with 'Err r 1mingw32-make[2]: *** [source_subfolder\common\tasking\CMakeFiles\taske-cp _iii', 'snn uggbfolder/common/sys/CMakeFiles/sys.dir/sysinfo.cpp.obj] Error 1 .amingw32-mwdir\bt-Sa e[2]: *** Waitingi32-make[1]: *u' or ' fo unfinished jobs.... io** [CMakeFiles\Makefile2-Enl .mak :2e cg++.exe:7 : source_subfolder/common/math/CMakeFiles/math.dir/all] Error 2 :to 5: sourmingw32-make[1]: *** Waiting for unfinished jobs.... fatal error: mce_subfolder/common/tasking/CMakeFiles/tasking.dir/taskschedulerinternal.cpp.obj] Error 1 pcannot specify 'emi ngw3-ol 2-make[1]: *** [CMakeFiles\Makefile2:296: source_subfolder/common/simd/CMakeFiles/simd.dir/all] Error 2 m' with 'ait mingw32-make[1]: *** [CMakeFiles\Makefile2:349: source_subfolder/common/tasking/CMakeFiles/tasking.dir/all] Erai-cro 2 ', 'toe d -S. ' or 'erm-Eina' with multiple files tceodm.p il tg++.exe:io n tfatal error: ercannot specify 'min-oa e' with 'd. -c', '-S' or '-E' with multiple files compilation temingw32-make[2]: *** [source_subfolder\common\sys\CMakeFiles\sys.dir\build.make:89: source_subfolder/common/sys/CMakeFiles/sys.dir/ralloc.cpp.obj] Error 1 minated. mingw32-make[2]: *** [source_subfolder\common\sys\CMakeFiles\sys.dir\build.make:103: source_subfolder/common/sys/CMakeFiles/sys.dir/filename.cpp.obj] Error 1 mingw32-make[2]: *** [source_subfolder\common\sys\CMakeFiles\sys.dir\b ild.mg++.exe:a e:117: source_subfolder/common/sys/CMakeFiles/sys.dir/library.cpp.o bj] Error 1 fatal error: cannot specify '-o' with 'mi gw32-make[2]: *** [source_subfolder\common\sys\CMakeFiles\sys.dir\build.make:131: sourc-ce subfolder/common/sys/C', 'Mak Files/sys.dir/thread.cpp.obj] Error 1 -S' or '-E' with multiple files compilation terminated. g++.exe: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files mingw32-make[2]: *** [source_subfolder\common\sys\CMakeFiles\sys.dir\build.make:145: source_subfolder/common/sys/CMakeFiles/sys.dir/string.cpp.obcj] Error 1 ompilation terminated. g++.exe: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files compilation terminated. mingw32-make[2]: *** [source_subfolder\common\sys\CMakeFiles\sys.dir\build.make:159: source_subfolder/common/sys/CMakeFiles/sys.dir/regression.cpp.obj] Error 1 mingw32-make[2]: *** [source_subfolder\common\sys\CMakeFiles\sys.dir\build.make:173: source_subfolder/common/sys/CMakeFiles/sys.dir/mutex.cpp.obj] Error 1 mingw32-make[1]: *** [CMakeFiles\Makefile2:244: source_subfolder/common/sys/CMakeFiles/sys.dir/all] Error 2 mingw32-make: *** [Makefile:155: all] Error 2 embree3/3.13.3: embree3/3.13.3: ERROR: Package '9d9b5e907ac68454a60909fc9118546780b1b1e5' build failed embree3/3.13.3: WARN: Build folder D:\.conan\storage\embree3\3.13.3\_\_\build\9d9b5e907ac68454a60909fc9118546780b1b1e5 ERROR: embree3/3.13.3: Error in build() method, line 183 cmake.build() ConanException: Error 2 while executing cmake --build D:\.conan\storage\embree3\3.13.3\_\_\build\9d9b5e907ac68454a60909fc9118546780b1b1e5\build_subfolder -- -j12 ```