******************************************************************************** conan install zxing-cpp/2.0.0@#a4f50f058d64ee168d9256f488d21bba --build=zxing-cpp -pr /home/conan/w/prod/BuildSingleReference/150476/a5a8add2-494d-49a8-9926-9786fe4385b3/profile_linux_7_libstdcpp11_gcc_release_64.zxing-cpp-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 7 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/home/conan/w/prod/BuildSingleReference/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=7 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] zxing-cpp:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True zxing-cpp/2.0.0: Forced build from source Installing package: zxing-cpp/2.0.0 Requirements zxing-cpp/2.0.0 from local cache - Cache Packages zxing-cpp/2.0.0:abe111dc5c37d6880038dbfeb0c77aea985b5a4a - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK zxing-cpp/2.0.0: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/source/src zxing-cpp/2.0.0: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK zxing-cpp/2.0.0: Copying sources to build folder zxing-cpp/2.0.0: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a zxing-cpp/2.0.0: Generator txt created conanbuildinfo.txt zxing-cpp/2.0.0: Calling generate() zxing-cpp/2.0.0: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' zxing-cpp/2.0.0: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/build/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' zxing-cpp/2.0.0: Aggregating env generators [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 zxing-cpp/2.0.0: Calling build() zxing-cpp/2.0.0: apply_conandata_patches(): No patches defined in conandata zxing-cpp/2.0.0: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/package/abe111dc5c37d6880038dbfeb0c77aea985b5a4a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/package/abe111dc5c37d6880038dbfeb0c77aea985b5a4a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/src" ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC) -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The CXX compiler identification is GNU 7.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Performing Test COMPILER_NEEDS_FLOAT_STORE -- Performing Test COMPILER_NEEDS_FLOAT_STORE - Success -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/build/Release zxing-cpp/2.0.0: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/build/Release" '--' '-j3' ----------------- Scanning dependencies of target ZXing [ 1%] Building CXX object core/CMakeFiles/ZXing.dir/src/BarcodeFormat.cpp.o [ 1%] Building CXX object core/CMakeFiles/ZXing.dir/src/BitArray.cpp.o [ 2%] Building CXX object core/CMakeFiles/ZXing.dir/src/BitMatrix.cpp.o [ 3%] Building CXX object core/CMakeFiles/ZXing.dir/src/BitMatrixIO.cpp.o [ 4%] Building CXX object core/CMakeFiles/ZXing.dir/src/CharacterSet.cpp.o [ 5%] Building CXX object core/CMakeFiles/ZXing.dir/src/ConcentricFinder.cpp.o [ 6%] Building CXX object core/CMakeFiles/ZXing.dir/src/ECI.cpp.o [ 7%] Building CXX object core/CMakeFiles/ZXing.dir/src/GenericGF.cpp.o [ 7%] Building CXX object core/CMakeFiles/ZXing.dir/src/GenericGFPoly.cpp.o [ 8%] Building CXX object core/CMakeFiles/ZXing.dir/src/GTIN.cpp.o [ 9%] Building CXX object core/CMakeFiles/ZXing.dir/src/TextUtfEncoding.cpp.o [ 10%] Building CXX object core/CMakeFiles/ZXing.dir/src/ZXBigInteger.cpp.o core/CMakeFiles/ZXing.dir/build.make:198: recipe for target 'core/CMakeFiles/ZXing.dir/src/GTIN.cpp.o' failed CMakeFiles/Makefile2:112: recipe for target 'core/CMakeFiles/ZXing.dir/all' failed Makefile:159: recipe for target 'all' failed zxing-cpp/2.0.0: /home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/src/core/src/GTIN.cpp: In function ‘std::__cxx11::string ZXing::GTIN::EanAddOn(const ZXing::Result&)’: /home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/src/core/src/GTIN.cpp:208:28: error: ‘const class ZXing::ByteArray’ has no member named ‘asString’ auto txt = result.bytes().asString(); ^~~~~~~~ make[2]: *** [core/CMakeFiles/ZXing.dir/src/GTIN.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [core/CMakeFiles/ZXing.dir/all] Error 2 make: *** [all] Error 2 zxing-cpp/2.0.0: 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 zxing-cpp/2.0.0: ERROR: Package 'abe111dc5c37d6880038dbfeb0c77aea985b5a4a' build failed zxing-cpp/2.0.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/build/Release ERROR: zxing-cpp/2.0.0: Error in build() method, line 102 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/zxing-cpp/2.0.0/_/_/build/abe111dc5c37d6880038dbfeb0c77aea985b5a4a/build/Release" '--' '-j3'