******************************************************************************** conan test conan-center-index/recipes/ssht/all/test_package/conanfile.py ssht/1.3.6@ --profile=/home/conan/w/BuildSingleReference/7472/e75542aa-7e82-48c3-9e88-966c4213c17f/profile.txt ******************************************************************************** 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] [build_requires] [env] ssht/1.3.6 (test package): Installing package Requirements fftw/3.3.9 from 'conan-center' - Cache ssht/1.3.6 from local cache - Cache Packages fftw/3.3.9:a8680ab789f0e57949dcdacb5ba78131efdfbfe7 - Cache ssht/1.3.6:9124eca77c435861d34d2a76e99ef90f146ebbd3 - Cache Installing (downloading, building) binaries... fftw/3.3.9: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK ssht/1.3.6: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK ssht/1.3.6 (test package): Generator cmake created conanbuildinfo.cmake ssht/1.3.6 (test package): Generator txt created conanbuildinfo.txt ssht/1.3.6 (test package): Generated conaninfo.txt ssht/1.3.6 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/ssht/all/test_package/build/dfae4d6ba682b8d9c5630c4c912db585c2a46c64/conan.lock' Using cached profile from lockfile [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 ssht/1.3.6 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/ssht/all/test_package/build/dfae4d6ba682b8d9c5630c4c912db585c2a46c64' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="4.9" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/conan-center-index/recipes/ssht/all/test_package/build/dfae4d6ba682b8d9c5630c4c912db585c2a46c64/package" -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-center-index/recipes/ssht/all/test_package' ----------------- -- 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 -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library ssht found /home/conan/w/BuildSingleReference/.conan/data/ssht/1.3.6/_/_/package/9124eca77c435861d34d2a76e99ef90f146ebbd3/lib/libssht.a -- Library fftw3 found /home/conan/w/BuildSingleReference/.conan/data/fftw/3.3.9/_/_/package/a8680ab789f0e57949dcdacb5ba78131efdfbfe7/lib/libfftw3.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'GNU' compiler -- Conan: Checking correct version: 4.9 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/ssht/all/test_package/build/dfae4d6ba682b8d9c5630c4c912db585c2a46c64 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/ssht/all/test_package/build/dfae4d6ba682b8d9c5630c4c912db585c2a46c64' '--' '-j3' ----------------- Scanning dependencies of target example [ 50%] Building C object CMakeFiles/example.dir/example.c.o 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-center-index/recipes/ssht/all/test_package/example.c: In function 'null_test': /home/conan/w/BuildSingleReference/conan-center-index/recipes/ssht/all/test_package/example.c:47:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for(int i = 0; i < n; ++i){ if(cabs(X[i]) != 0.0){ Y = 1; i = n; } } ^ /home/conan/w/BuildSingleReference/conan-center-index/recipes/ssht/all/test_package/example.c:47:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code /home/conan/w/BuildSingleReference/conan-center-index/recipes/ssht/all/test_package/example.c: In function 'nan_test': /home/conan/w/BuildSingleReference/conan-center-index/recipes/ssht/all/test_package/example.c:63:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for(int i = 0; i < n; ++i){ if(X[i] != X[i]){ Y = 0; i = n; } } ^ make[2]: *** [CMakeFiles/example.dir/example.c.o] Error 1 make[1]: *** [CMakeFiles/example.dir/all] Error 2 make: *** [all] Error 2 [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component fftw::fftw libdir "lib" does not contain any declared library ERROR: ssht/1.3.6 (test package): Error in build() method, line 15 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/ssht/all/test_package/build/dfae4d6ba682b8d9c5630c4c912db585c2a46c64' '--' '-j3'