******************************************************************************** conan install libmaxminddb/1.5.2@ --profile=/home/conan/w/BuildSingleReference/10085/e68cf0ed-2c32-4d73-9eeb-480eb015f837/profile.txt --build=libmaxminddb ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=4.9 os=Linux os_build=Linux [options] libmaxminddb:shared=False [build_requires] [env] libmaxminddb/1.5.2: Forced build from source Installing package: libmaxminddb/1.5.2 Requirements libmaxminddb/1.5.2 from local cache - Cache Packages libmaxminddb/1.5.2:b869e6c05cb587ad588e5ec485deb62012ec7b93 - Build Installing (downloading, building) binaries... libmaxminddb/1.5.2: Copying sources to build folder libmaxminddb/1.5.2: Building your package in /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93 libmaxminddb/1.5.2: Generator txt created conanbuildinfo.txt [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 libmaxminddb/1.5.2: Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -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/libmaxminddb/1.5.2/_/_/package/b869e6c05cb587ad588e5ec485deb62012ec7b93" -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/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder' ----------------- -- The C 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 -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned __int128 -- Check size of unsigned __int128 - done -- Check size of unsigned int __attribute__((mode(TI))) -- Check size of unsigned int __attribute__((mode(TI))) - done -- Check if the system is big endian -- Searching 16 bit integer -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/build_subfolder ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/build_subfolder' '--' '-j3' ----------------- Scanning dependencies of target tap Scanning dependencies of target maxminddb [ 1%] Building C object t/CMakeFiles/tap.dir/libtap/tap.c.o [ 3%] Building C object CMakeFiles/maxminddb.dir/src/maxminddb.c.o [ 5%] Building C object CMakeFiles/maxminddb.dir/src/data-pool.c.o [ 6%] Linking C static library libtap.a [ 6%] Built target tap libmaxminddb/1.5.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 CONAN_CMAKE_POSITION_INDEPENDENT_CODE CONAN_COMPILER CONAN_COMPILER_VERSION CONAN_CXX_FLAGS CONAN_C_FLAGS CONAN_EXPORTED CONAN_IN_LOCAL_CACHE CONAN_SHARED_LINKER_FLAGS /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/data-pool.c: In function 'data_pool_destroy': /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/data-pool.c:56:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (size_t i = 0; i <= pool->index; i++) { ^ /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/data-pool.c:56:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/data-pool.c: In function 'data_pool_to_list': /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/data-pool.c:123:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (size_t i = 0; i <= pool->index; i++) { ^ /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/data-pool.c:131:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (size_t j = 0; j < size - 1; j++) { ^ make[2]: *** [CMakeFiles/maxminddb.dir/src/data-pool.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c:188:56: error: expected ';', ',' or ')' before 'p' static float get_ieee754_float(const uint8_t *restrict p); ^ /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c:189:58: error: expected ';', ',' or ')' before 'p' static double get_ieee754_double(const uint8_t *restrict p); ^ /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c: In function 'populate_languages_metadata': /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c:716:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (uint32_t i = 0; i < array_size; i++) { ^ /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c:716:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c: In function 'populate_description_metadata': /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c:787:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (uint32_t i = 0; i < map_size; i++) { ^ /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c: In function 'lookup_path_in_array': /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c:1231:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int i = 0; i < array_index; i++) { ^ /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c: At top level: /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c:1721:56: error: expected ';', ',' or ')' before 'p' static float get_ieee754_float(const uint8_t *restrict p) { ^ /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c:1737:58: error: expected ';', ',' or ')' before 'p' static double get_ieee754_double(const uint8_t *restrict p) { ^ /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c: In function 'free_languages_metadata': /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c:1820:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (size_t i = 0; i < mmdb->metadata.languages.count; i++) { ^ /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c: In function 'free_descriptions_metadata': /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c:1831:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (size_t i = 0; i < mmdb->metadata.description.count; i++) { ^ /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c: In function 'bytes_to_hex': /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/source_subfolder/src/maxminddb.c:2049:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (uint32_t i = 0; i < size; i++) { ^ make[2]: *** [CMakeFiles/maxminddb.dir/src/maxminddb.c.o] Error 1 make[1]: *** [CMakeFiles/maxminddb.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 2 libmaxminddb/1.5.2: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93 libmaxminddb/1.5.2: ERROR: Package 'b869e6c05cb587ad588e5ec485deb62012ec7b93' build failed libmaxminddb/1.5.2: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93 ERROR: libmaxminddb/1.5.2: Error in build() method, line 53 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/.conan/data/libmaxminddb/1.5.2/_/_/build/b869e6c05cb587ad588e5ec485deb62012ec7b93/build_subfolder' '--' '-j3'