Skip to content

Conan error when rebuilding pylene/unstable

I have the following conanfile.txt configuration

[requires]

fmt/6.0.0
spdlog/1.4.2
pybind11/2.7.1
pylene/head@lrde/unstable

[generators]
cmake_find_package
cmake_paths

[options]
pylene:fPIC=True

and the following gcc-10 profile:

[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=10
compiler.libcxx=libstdc++11
compiler.cppstd=20
build_type=Release
[options]
[build_requires]
[env]
CXXFLAGS=-mavx

When trying to fetch and recompile Pylene, I get the following error:

[skipping irrelevant fetch/build info]
pylene/head@lrde/unstable: Applying build-requirement: gtest/1.11.0
pylene/head@lrde/unstable: Applying build-requirement: benchmark/1.6.1
pylene/head@lrde/unstable: Applying build-requirement: pybind11/2.6.2
Downloading conan_sources.tgz completed [200.86k]                                        
Decompressing conan_sources.tgz completed [0.00k]                                        
pylene/head@lrde/unstable: Configuring sources in /root/.conan/data/pylene/head/lrde/unstable/source
pylene/head@lrde/unstable: Copying sources to build folder
pylene/head@lrde/unstable: Building your package in /root/.conan/data/pylene/head/lrde/unstable/build/cf85cdf657911182209f7da4c3bcaae9bbddcbc0
pylene/head@lrde/unstable: 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
pylene/head@lrde/unstable: Generator 'CMakeDeps' calling 'generate()'
pylene/head@lrde/unstable: Calling generate()
pylene/head@lrde/unstable: 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
pylene/head@lrde/unstable: 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
pylene/head@lrde/unstable: Aggregating env generators
pylene/head@lrde/unstable: Calling build()
pylene/head@lrde/unstable: 
pylene/head@lrde/unstable: ERROR: Package 'cf85cdf657911182209f7da4c3bcaae9bbddcbc0' build failed
pylene/head@lrde/unstable: WARN: Build folder /root/.conan/data/pylene/head/lrde/unstable/build/cf85cdf657911182209f7da4c3bcaae9bbddcbc0/build
ERROR: pylene/head@lrde/unstable: Error in build() method, line 113
        cmake.configure(variables)
        TypeError: join() argument must be str, bytes, or os.PathLike object, not 'dict'

Command line used:

conan install -u . --build missing  --profile gcc-10

Am I using a wrong Conan version?

Thanks

Edited by Joseph Chazalon