******************************************************************************** conan install libelfin/0.3@ --profile=/home/conan/w/BuildSingleReference/3622/376d2515-4f45-452b-a413-55638cf8d360/profile.txt --build=libelfin ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=clang compiler.libcxx=libstdc++ compiler.version=10 os=Linux os_build=Linux [options] libelfin:shared=False [build_requires] [env] libelfin/0.3: Forced build from source Installing package: libelfin/0.3 Requirements libelfin/0.3 from 'conan-upstream' - Cache Packages libelfin/0.3:c504c67933d514fc146c38d6f062b33cd27ad91d - Build Installing (downloading, building) binaries... libelfin/0.3: Copying sources to build folder libelfin/0.3: Building your package in /home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d libelfin/0.3: Generator cmake created conanbuildinfo.cmake [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK libelfin/0.3: Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="10" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/package/c504c67933d514fc146c38d6f062b33cd27ad91d" -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" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d' ----------------- -- The CXX compiler identification is Clang 10.0.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++ - 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: Adjusting fPIC flag (ON) -- Conan: Compiler Clang>=8, checking major version 10 -- Conan: Checking correct version: 10 -- Conan: C++ stdlib: libstdc++ -- Found PythonInterp: /opt/pyenv/versions/3.8.2/bin/python3 (found suitable version "3.8.2", minimum required is "3") -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d' '--' '-j3' ----------------- [ 10%] Generating source_subfolder/elf/to_string.cc [ 10%] Generating source_subfolder/dwarf/to_string.cc Scanning dependencies of target elf++ [ 15%] Building CXX object CMakeFiles/elf++.dir/source_subfolder/elf/elf.cc.o [ 21%] Building CXX object CMakeFiles/elf++.dir/source_subfolder/elf/mmap_loader.cc.o Scanning dependencies of target dwarf++ [ 26%] Building CXX object CMakeFiles/dwarf++.dir/source_subfolder/dwarf/abbrev.cc.o CMakeFiles/elf++.dir/build.make:108: recipe for target 'CMakeFiles/elf++.dir/source_subfolder/elf/mmap_loader.cc.o' failed [ 31%] Building CXX object CMakeFiles/dwarf++.dir/source_subfolder/dwarf/attrs.cc.o CMakeFiles/elf++.dir/build.make:95: recipe for target 'CMakeFiles/elf++.dir/source_subfolder/elf/elf.cc.o' failed CMakeFiles/Makefile2:123: recipe for target 'CMakeFiles/elf++.dir/all' failed [ 36%] Building CXX object CMakeFiles/dwarf++.dir/source_subfolder/dwarf/cursor.cc.o [ 42%] Building CXX object CMakeFiles/dwarf++.dir/source_subfolder/dwarf/die.cc.o [ 47%] Building CXX object CMakeFiles/dwarf++.dir/source_subfolder/dwarf/die_str_map.cc.o [ 52%] Building CXX object CMakeFiles/dwarf++.dir/source_subfolder/dwarf/dwarf.cc.o [ 57%] Building CXX object CMakeFiles/dwarf++.dir/source_subfolder/dwarf/elf.cc.o [ 63%] Building CXX object CMakeFiles/dwarf++.dir/source_subfolder/dwarf/expr.cc.o [ 68%] Building CXX object CMakeFiles/dwarf++.dir/source_subfolder/dwarf/line.cc.o [ 73%] Building CXX object CMakeFiles/dwarf++.dir/source_subfolder/dwarf/rangelist.cc.o [ 78%] Building CXX object CMakeFiles/dwarf++.dir/source_subfolder/dwarf/value.cc.o [ 84%] Building CXX object CMakeFiles/dwarf++.dir/source_subfolder/dwarf/to_string.cc.o [ 89%] Linking CXX static library lib/libdwarf++.a [ 89%] Built target dwarf++ Makefile:148: recipe for target 'all' failed libelfin/0.3: CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY In file included from /home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/elf/mmap_loader.cc:5: In file included from /home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/elf/elf++.hh:9: /home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/elf/data.hh:558:22: error: cannot assign to non-static data member within const member function 'set_binding' info = (info & 0xF) | ((unsigned char)v << 4); ~~~~ ^ /home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/elf/data.hh:556:14: note: member function 'elf::Sym::set_binding' is declared const here void set_binding(stb v) const ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/elf/elf.cc:5: In file included from /home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/elf/elf++.hh:9: /home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/elf/data.hh:558:22: error: cannot assign to non-static data member within const member function 'set_binding' info = (info & 0xF) | ((unsigned char)v << 4); ~~~~ ^ /home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/elf/data.hh:556:14: note: member function 'elf::Sym::set_binding' is declared const here void set_binding(stb v) const ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[2]: *** [CMakeFiles/elf++.dir/source_subfolder/elf/mmap_loader.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 1 error generated. make[2]: *** [CMakeFiles/elf++.dir/source_subfolder/elf/elf.cc.o] Error 1 make[1]: *** [CMakeFiles/elf++.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 2 libelfin/0.3: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d libelfin/0.3: ERROR: Package 'c504c67933d514fc146c38d6f062b33cd27ad91d' build failed libelfin/0.3: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d ERROR: libelfin/0.3: Error in build() method, line 53 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/.conan/data/libelfin/0.3/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d' '--' '-j3'