******************************************************************************** conan install huffman/1.2.2@ --profile=/home/conan/w/BuildSingleReference/9707/911eb42d-b8bc-4bf6-9cb1-7fa93530275d/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=True [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:a5a3ee0d558fe87af753d63173b383d1d7d6c852 - 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/a5a3ee0d558fe87af753d63173b383d1d7d6c852 huffman/1.2.2: Generator cmake created conanbuildinfo.cmake [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 huffman/1.2.2: Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/a5a3ee0d558fe87af753d63173b383d1d7d6c852' && 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="ON" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/package/a5a3ee0d558fe87af753d63173b383d1d7d6c852" -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/huffman/1.2.2/_/_/build/a5a3ee0d558fe87af753d63173b383d1d7d6c852' ----------------- -- 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: 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/a5a3ee0d558fe87af753d63173b383d1d7d6c852 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/a5a3ee0d558fe87af753d63173b383d1d7d6c852' '--' '-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/a5a3ee0d558fe87af753d63173b383d1d7d6c852/source_subfolder/huffman.c: In function 'read_code_table': /home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/a5a3ee0d558fe87af753d63173b383d1d7d6c852/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/a5a3ee0d558fe87af753d63173b383d1d7d6c852/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/a5a3ee0d558fe87af753d63173b383d1d7d6c852 huffman/1.2.2: ERROR: Package 'a5a3ee0d558fe87af753d63173b383d1d7d6c852' build failed huffman/1.2.2: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/huffman/1.2.2/_/_/build/a5a3ee0d558fe87af753d63173b383d1d7d6c852 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/a5a3ee0d558fe87af753d63173b383d1d7d6c852' '--' '-j3'