Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package] ade/0.1.1f: can't build on windows with clang #13319

Open
AndreyMlashkin opened this issue Oct 6, 2022 · 1 comment
Open

[package] ade/0.1.1f: can't build on windows with clang #13319

AndreyMlashkin opened this issue Oct 6, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@AndreyMlashkin
Copy link
Contributor

Description

can't build ade/0.1.1f on windows with clang

Package and Environment Details

Package Name/Version: ade/0.1.1f
Operating System+version: Windows 10
Compiler+version: clang from MSVC
Conan version: conan 1.53

Conan profile

[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=clang
compiler.version=12
build_type=Release
cppstd=17
[options]
[conf]
[build_requires]
[env]
CONAN_CMAKE_GENERATOR=Ninja

Steps to reproduce

conan install ade/0.1.1f@ --build missing -r conancenter -u -pr clang

Logs

Click to expand log
ade/0.1.1f: Copying sources to build folder
ade/0.1.1f: Building your package in D:\.conan\storage\ade\0.1.1f\_\_\build\953141255571f930532512aaa0e30f6ab1eec04c
ade/0.1.1f: Generator txt created conanbuildinfo.txt
ade/0.1.1f: Calling generate()
ade/0.1.1f: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
ade/0.1.1f: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release'
ade/0.1.1f: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake <path> -G "MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE=D:\.conan\storage\ade\0.1.1f\_\_\build\953141255571f930532512aaa0e30f6ab1eec04c\build\generators\conan_toolchain.cmake -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
ade/0.1.1f: Aggregating env generators
ade/0.1.1f: Calling build()
ade/0.1.1f: CMake command: cmake -G "MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE="D:/.conan/storage/ade/0.1.1f/_/_/build/953141255571f930532512aaa0e30f6ab1eec04c/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="D:/.conan/storage/ade/0.1.1f/_/_/package/953141255571f930532512aaa0e30f6ab1eec04c" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "D:\.conan\storage\ade\0.1.1f\_\_\build\953141255571f930532512aaa0e30f6ab1eec04c\src"

----Running------
> cmake -G "MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE="D:/.conan/storage/ade/0.1.1f/_/_/build/953141255571f930532512aaa0e30f6ab1eec04c/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="D:/.conan/storage/ade/0.1.1f/_/_/package/953141255571f930532512aaa0e30f6ab1eec04c" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "D:\.conan\storage\ade\0.1.1f\_\_\build\953141255571f930532512aaa0e30f6ab1eec04c\src"
-----------------
-- Using Conan toolchain: D:/.conan/storage/ade/0.1.1f/_/_/build/953141255571f930532512aaa0e30f6ab1eec04c/build/generators/conan_toolchain.cmake
-- The C compiler identification is Clang 15.0.1 with GNU-like command-line
-- The CXX compiler identification is Clang 15.0.1 with GNU-like command-line
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/LLVM/bin/clang.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:/Program Files/LLVM/bin/clang++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
    CMAKE_SH


-- Build files have been written to: D:/.conan/storage/ade/0.1.1f/_/_/build/953141255571f930532512aaa0e30f6ab1eec04c/build/Release
ade/0.1.1f: CMake command: cmake --build "D:\.conan\storage\ade\0.1.1f\_\_\build\953141255571f930532512aaa0e30f6ab1eec04c\build\Release" -- -j12

----Running------
> cmake --build "D:\.conan\storage\ade\0.1.1f\_\_\build\953141255571f930532512aaa0e30f6ab1eec04c\build\Release" -- -j12
-----------------
[  5%] Building CXX object sources/ade/CMakeFiles/ade.dir/source/alloc.cpp.obj
[ 11%] Building CXX object sources/ade/CMakeFiles/ade.dir/source/assert.cpp.obj
[ 16%] Building CXX object sources/ade/CMakeFiles/ade.dir/source/check_cycles.cpp.obj
[ 22%] Building CXX object sources/ade/CMakeFiles/ade.dir/source/edge.cpp.obj
[ 27%] Building CXX object sources/ade/CMakeFiles/ade.dir/source/execution_engine.cpp.obj
[ 33%] Building CXX object sources/ade/CMakeFiles/ade.dir/source/graph.cpp.obj
clang++: error: no such file or directory: '/GS'
clang++: error: no such file or directory: '/DynamicBase'
clang++: error: no such file or directory: '/GS'
clang++: error: no such file or directory: '/DynamicBase'
clang++: error: no such file or directory: '/GS'
clang++: error: no such file or directory: '/DynamicBase'
clang++: error: no such file or directory: '/GS'
clang++: error: no such file or directory: '/DynamicBase'
mingw32-make[2]: *** [sources\ade\CMakeFiles\ade.dir\build.make:76: sources/ade/CMakeFiles/ade.dir/source/alloc.cpp.obj] Error 1
mingw32-make[2]: *** Waiting for unfinished jobs....
clang++: error: no such file or directory: '/GS'mingw32-make[2]: *** [sources\ade\CMakeFiles\ade.dir\build.make:91: sources/ade/CMakeFiles/ade.dir/source/assert.cpp.obj] Error 1

mingw32-make[2]: *** [sources\ade\CMakeFiles\ade.dir\build.make:106: sources/ade/CMakeFiles/ade.dir/source/check_cycles.cpclang++p.obj] Error 1
: error: no such file or directory: '/DynamicBase'
mingw32-make[2]: *** [sources\ade\CMakeFiles\ade.dir\build.make:121: sources/ade/CMakeFiles/ade.dir/source/edge.cpp.obj] Error 1
mingw32-make[2]: *** [sources\ade\CMakeFiles\ade.dir\build.make:136: sources/ade/CMakeFiles/ade.dir/source/execution_engine.cpp.obj] Error 1
clang++: error: no such file or directory: '/GS'
clang++: error: no such file or directory: '/DynamicBase'
mingw32-make[2]: *** [sources\ade\CMakeFiles\ade.dir\build.make:151: sources/ade/CMakeFiles/ade.dir/source/graph.cpp.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:97: sources/ade/CMakeFiles/ade.dir/all] Error 2
mingw32-make: *** [Makefile:155: all] Error 2
ade/0.1.1f:
ade/0.1.1f: ERROR: Package '953141255571f930532512aaa0e30f6ab1eec04c' build failed
ade/0.1.1f: WARN: Build folder D:\.conan\storage\ade\0.1.1f\_\_\build\953141255571f930532512aaa0e30f6ab1eec04c\build\Release
ERROR: ade/0.1.1f: Error in build() method, line 50
        cmake.build()
        ConanException: Error 2 while executing cmake --build "D:\.conan\storage\ade\0.1.1f\_\_\build\953141255571f930532512aaa0e30f6ab1eec04c\build\Release" -- -j12
@AndreyMlashkin AndreyMlashkin added the bug Something isn't working label Oct 6, 2022
@AndreyMlashkin
Copy link
Contributor Author

Relates to conan-io/conan#11492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant