******************************************************************************** conan install libschrift/0.10.1@#30517d86b8686aac574776d1dbe09500 --build=libschrift -pr /home/conan/w/BuildSingleReference/82739/a3ae32e7-63a5-4239-9144-c05ae6339238/profile_linux_10_libstdcpp11_gcc_release_64.libschrift-shared-True.txt ******************************************************************************** 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] libschrift/0.10.1: Forced build from source Installing package: libschrift/0.10.1 Requirements libschrift/0.10.1 from local cache - Cache Packages libschrift/0.10.1:d0c219631d7c692d7a95436cf4e11fe2891dc312 - Build Installing (downloading, building) binaries... libschrift/0.10.1: Copying sources to build folder libschrift/0.10.1: Building your package in /home/conan/w/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312 libschrift/0.10.1: Generator cmake created conanbuildinfo.cmake libschrift/0.10.1: 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.1: Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="10" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/package/d0c219631d7c692d7a95436cf4e11fe2891dc312" -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" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312' ----------------- -- 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 -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting language standard -- This project seems to be plain C, using 'GNU' compiler -- Conan: Compiler GCC>=5, checking major version 10 -- Conan: Checking correct version: 10 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312' '--' '-j3' ----------------- Scanning dependencies of target schrift [ 50%] Building C object CMakeFiles/schrift.dir/source_subfolder/schrift.c.o libschrift/0.10.1: CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY /home/conan/w/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/source_subfolder/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/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/source_subfolder/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/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/source_subfolder/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/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312/source_subfolder/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/source_subfolder/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.1: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312 libschrift/0.10.1: ERROR: Package 'd0c219631d7c692d7a95436cf4e11fe2891dc312' build failed libschrift/0.10.1: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312 ERROR: libschrift/0.10.1: Error in build() method, line 55 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/.conan/data/libschrift/0.10.1/_/_/build/d0c219631d7c692d7a95436cf4e11fe2891dc312' '--' '-j3'