******************************************************************************** conan test conan-center-index/recipes/libxpm/all/test_package/conanfile.py libxpm/3.5.13@ --profile=/home/conan/w/BuildSingleReference/73711/c43df0c2-a7b5-48d8-9f54-0ceb588fbdaa/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=10 os=Linux [options] libxpm:shared=True [build_requires] [env] libxpm/3.5.13 (test package): Installing package Requirements libxpm/3.5.13 from local cache - Cache Packages libxpm/3.5.13:248343b8d28afb90ec68061bcbc09d1e1c8b84b3 - Cache Installing (downloading, building) binaries... libxpm/3.5.13: 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 libxpm/3.5.13 (test package): Generator cmake created conanbuildinfo.cmake libxpm/3.5.13 (test package): Generator txt created conanbuildinfo.txt libxpm/3.5.13 (test package): Generator cmake_find_package_multi created libxpm-config-version.cmake libxpm/3.5.13 (test package): Generator cmake_find_package_multi created libxpm-config.cmake libxpm/3.5.13 (test package): Generator cmake_find_package_multi created libxpmTargets.cmake libxpm/3.5.13 (test package): Generator cmake_find_package_multi created libxpmTarget-release.cmake libxpm/3.5.13 (test package): Aggregating env generators libxpm/3.5.13 (test package): Generated conaninfo.txt libxpm/3.5.13 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libxpm/all/test_package/build/fa704771068d766e3052a919a17fa710b77e2128/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 libxpm/3.5.13 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libxpm/all/test_package/build/fa704771068d766e3052a919a17fa710b77e2128' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="10" -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/libxpm/all/test_package/build/fa704771068d766e3052a919a17fa710b77e2128/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_PREFIX_PATH="/home/conan/w/BuildSingleReference/conan-center-index/recipes/libxpm/all/test_package/build/fa704771068d766e3052a919a17fa710b77e2128" -DCMAKE_MODULE_PATH="/home/conan/w/BuildSingleReference/conan-center-index/recipes/libxpm/all/test_package/build/fa704771068d766e3052a919a17fa710b77e2128" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libxpm/all/test_package' ----------------- -- The C compiler identification is GNU 10.3.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 -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library Xpm found /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'GNU' compiler -- Conan: Compiler GCC>=5, checking major version 10 -- Conan: Checking correct version: 10 -- Conan: C++ stdlib: libstdc++11 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/libxpm/all/test_package/build/fa704771068d766e3052a919a17fa710b77e2128 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libxpm/all/test_package/build/fa704771068d766e3052a919a17fa710b77e2128' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable bin/test_package 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 /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XAllocColor' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XFreeColors' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `xpmCreatePixmapFromImage' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XDefaultVisual' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XDefaultScreen' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XDefaultColormap' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XDefaultDepth' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XUngrabServer' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XQueryColors' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XGrabServer' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XGetGeometry' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XParseColor' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XCreateImage' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/libxpm/3.5.13/_/_/package/248343b8d28afb90ec68061bcbc09d1e1c8b84b3/lib/libXpm.so: undefined reference to `XGetImage' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/test_package.dir/build.make:104: bin/test_package] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/test_package.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 ERROR: libxpm/3.5.13 (test package): Error in build() method, line 13 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libxpm/all/test_package/build/fa704771068d766e3052a919a17fa710b77e2128' '--' '-j3'