******************************************************************************** conan install libschrift/0.10.2@#6079bd0e015616126cab1118b421260f --build=libschrift -pr /home/conan/w/prod/BuildSingleReference/94126/6d50df44-fd85-438a-bec6-5c459e4c027a/profile_linux_10_libstdcpp11_gcc_release_64.libschrift-shared-True.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 10 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=10 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=10 os=Linux [options] libschrift:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libschrift/0.10.2: Forced build from source Installing package: libschrift/0.10.2 Requirements libschrift/0.10.2 from local cache - Cache Packages libschrift/0.10.2:d0c219631d7c692d7a95436cf4e11fe2891dc312 - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libschrift/0.10.2: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/source/src libschrift/0.10.2: [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 libschrift/0.10.2: Copying sources to build folder libschrift/0.10.2: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312 libschrift/0.10.2: Generator txt created conanbuildinfo.txt libschrift/0.10.2: Calling generate() libschrift/0.10.2: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK libschrift/0.10.2: Calling build() libschrift/0.10.2: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/package/d0c219631d7c692d7a95436cf4e11fe2891dc312" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/src/.." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/package/d0c219631d7c692d7a95436cf4e11fe2891dc312" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/src/.." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- The C compiler identification is GNU 10.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/build/Release libschrift/0.10.2: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/build/Release" '--' '-j3' ----------------- Scanning dependencies of target schrift [ 50%] Building C object CMakeFiles/schrift.dir/src/schrift.c.o libschrift/0.10.2: /home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/src/schrift.c:32: warning: "_POSIX_C_SOURCE" redefined 32 | # define _POSIX_C_SOURCE 1 | In file included from /usr/include/assert.h:35, from /home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/src/schrift.c:17: /usr/include/features.h:281: note: this is the location of the previous definition 281 | # define _POSIX_C_SOURCE 200809L | /home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/src/schrift.c:128:14: error: static declaration of ‘reallocarray’ follows non-static declaration 128 | static void *reallocarray(void *optr, size_t nmemb, size_t size); | ^~~~~~~~~~~~ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/src/schrift.c:21: /usr/include/stdlib.h:559:14: note: previous declaration of ‘reallocarray’ was here 559 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ make[2]: *** [CMakeFiles/schrift.dir/build.make:82: CMakeFiles/schrift.dir/src/schrift.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/schrift.dir/all] Error 2 make: *** [Makefile:149: all] Error 2 libschrift/0.10.2: 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 libschrift/0.10.2: ERROR: Package 'd0c219631d7c692d7a95436cf4e11fe2891dc312' build failed libschrift/0.10.2: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/build/Release ERROR: libschrift/0.10.2: Error in build() method, line 63 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/libschrift/0.10.2/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/build/Release" '--' '-j3'