******************************************************************************** conan install huffman/1.2.2@ --profile=/home/conan/w/BuildSingleReference/9707/d0ea723d-051e-440a-a1a8-fb5155011ab1/profile.txt --build=huffman ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++ compiler.version=4.9 os=Linux os_build=Linux [options] huffman:shared=False [build_requires] [env] huffman/1.2.2: Forced build from source Installing package: huffman/1.2.2 Requirements huffman/1.2.2 from local cache - Cache Packages huffman/1.2.2:2345d377da94e8ffae1333469573b8215c98c514 - Build Installing (downloading, building) binaries... huffman/1.2.2: Copying sources to build folder huffman/1.2.2: Building your package in /home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/2345d377da94e8ffae1333469573b8215c98c514 huffman/1.2.2: 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 huffman/1.2.2: Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/2345d377da94e8ffae1333469573b8215c98c514' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="4.9" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/package/2345d377da94e8ffae1333469573b8215c98c514" -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/huffman/1.2.2/_/_/build/2345d377da94e8ffae1333469573b8215c98c514' ----------------- -- The C compiler identification is GNU 4.9.4 -- The CXX compiler identification is GNU 4.9.4 -- 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 -- 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 -- 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: Checking correct version: 4.9 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/2345d377da94e8ffae1333469573b8215c98c514 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/2345d377da94e8ffae1333469573b8215c98c514' '--' '-j3' ----------------- Scanning dependencies of target huffman [ 50%] Building C object CMakeFiles/huffman.dir/source_subfolder/huffman.c.o huffman/1.2.2: CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR /home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/2345d377da94e8ffae1333469573b8215c98c514/source_subfolder/huffman.c: In function 'read_code_table': /home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/2345d377da94e8ffae1333469573b8215c98c514/source_subfolder/huffman.c:699:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for(unsigned int curbit = 0; curbit < numbits; ++curbit) ^ /home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/2345d377da94e8ffae1333469573b8215c98c514/source_subfolder/huffman.c:699:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code make[2]: *** [CMakeFiles/huffman.dir/source_subfolder/huffman.c.o] Error 1 make[1]: *** [CMakeFiles/huffman.dir/all] Error 2 make: *** [all] Error 2 huffman/1.2.2: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/2345d377da94e8ffae1333469573b8215c98c514 huffman/1.2.2: ERROR: Package '2345d377da94e8ffae1333469573b8215c98c514' build failed huffman/1.2.2: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/2345d377da94e8ffae1333469573b8215c98c514 ERROR: huffman/1.2.2: Error in build() method, line 49 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/2345d377da94e8ffae1333469573b8215c98c514' '--' '-j3'