******************************************************************************** conan test conan-center-index/recipes/libjpeg/all/test_package/conanfile.py libjpeg/9d@ --profile=/home/conan/w/BuildSingleReference/7322/75bb63ac-d5d6-4c20-95fc-bb181868d33d/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux os_build=Linux [options] libjpeg:shared=True [build_requires] [env] libjpeg/9d (test package): Installing package Requirements libjpeg/9d from local cache - Cache Packages libjpeg/9d:76480ff7af5ef6b0a1c8bc2444dbd480a5eaef8b - Cache Installing (downloading, building) binaries... libjpeg/9d: 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 libjpeg/9d (test package): Generator txt created conanbuildinfo.txt libjpeg/9d (test package): Generator cmake created conanbuildinfo.cmake libjpeg/9d (test package): Generated conaninfo.txt libjpeg/9d (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libjpeg/all/test_package/build/6ea509320a136e945fedaf2431033804e10b7fd0/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 libjpeg/9d (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libjpeg/all/test_package/build/6ea509320a136e945fedaf2431033804e10b7fd0' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/conan-center-index/recipes/libjpeg/all/test_package/build/6ea509320a136e945fedaf2431033804e10b7fd0/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/libjpeg/all/test_package' ----------------- -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.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 -- 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: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 7 -- Conan: Checking correct version: 7 -- Conan: C++ stdlib: libstdc++11 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/libjpeg/all/test_package/build/6ea509320a136e945fedaf2431033804e10b7fd0 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libjpeg/all/test_package/build/6ea509320a136e945fedaf2431033804e10b7fd0' '--' '-j3' ----------------- Scanning dependencies of target test_package Scanning dependencies of target test_transupp [ 20%] Building C object CMakeFiles/test_package.dir/test_package.c.o [ 40%] Building C object CMakeFiles/test_transupp.dir/test_transupp.c.o [ 60%] Building C object CMakeFiles/test_transupp.dir/home/conan/w/BuildSingleReference/.conan/data/libjpeg/9d/_/_/package/76480ff7af5ef6b0a1c8bc2444dbd480a5eaef8b/res/transupp.c.o [ 80%] Linking C executable bin/test_package [ 80%] Built target test_package [100%] Linking C executable bin/test_transupp [100%] Built target test_transupp libjpeg/9d (test package): Running test() ----Running------ > bin/test_package /home/conan/w/BuildSingleReference/conan-center-index/recipes/libjpeg/all/test_package/testimg.jpg ----------------- JPEG image is 227w * 149h, 3 color components, 8 bits per sample JPEG process: Baseline ----Running------ > bin/test_transupp /home/conan/w/BuildSingleReference/conan-center-index/recipes/libjpeg/all/test_package/testimg.jpg /home/conan/w/BuildSingleReference/conan-center-index/recipes/libjpeg/all/test_package/build/6ea509320a136e945fedaf2431033804e10b7fd0/outimg.jpg ----------------- Done 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/libjpeg/all/test_package/test_transupp.c: In function ‘main’: /home/conan/w/BuildSingleReference/conan-center-index/recipes/libjpeg/all/test_package/test_transupp.c:69:16: warning: passing argument 1 of ‘printf’ from incompatible pointer type [-Wincompatible-pointer-types] printf(stderr, "Can only transform odd-size images perfectly.\n"); ^~~~~~ In file included from /usr/include/stdio.h:862:0, from /home/conan/w/BuildSingleReference/conan-center-index/recipes/libjpeg/all/test_package/test_transupp.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:102:1: note: expected ‘const char * restrict’ but argument is of type ‘struct _IO_FILE *’ printf (const char *__restrict __fmt, ...) ^~~~~~ The input image is odd-sized. The transform will not be correct.