******************************************************************************** conan test conan-center-index/recipes/mpdecimal/2.4.2/test_package/conanfile.py mpdecimal/2.4.2@ --profile:host=/Users/jenkins/w/BuildSingleReference@4/66782/9f49eaf6-b3ac-47f2-9e74-29160aa74d34/profile_host.txt --profile:build=default ******************************************************************************** Configuration (profile_host): [settings] arch=armv8 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos [options] mpdecimal:shared=True [build_requires] [env] Configuration (profile_build): [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos os_build=Macos [options] [build_requires] [env] mpdecimal/2.4.2 (test package): Installing package Requirements mpdecimal/2.4.2 from local cache - Cache Packages mpdecimal/2.4.2:022df1ff5bfca1e0cb0d8f05af5da05e31c18e7b - Cache Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... mpdecimal/2.4.2: 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 mpdecimal/2.4.2 (test package): Generator txt created conanbuildinfo.txt mpdecimal/2.4.2 (test package): Generator cmake created conanbuildinfo.cmake mpdecimal/2.4.2 (test package): Aggregating env generators mpdecimal/2.4.2 (test package): Generated conaninfo.txt mpdecimal/2.4.2 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/mpdecimal/2.4.2/test_package/build/c56a78e73a70762e44ccb9d62b23e04d2cd25919/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 mpdecimal/2.4.2 (test package): Calling build() ----Running------ > cd '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/mpdecimal/2.4.2/test_package/build/c56a78e73a70762e44ccb9d62b23e04d2cd25919' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_SYSTEM_NAME="Darwin" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="12.0" -DCONAN_LIBCXX="libc++" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/mpdecimal/2.4.2/test_package/build/c56a78e73a70762e44ccb9d62b23e04d2cd25919/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 '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/mpdecimal/2.4.2/test_package' ----------------- -- The C compiler identification is AppleClang 12.0.0.12000032 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C 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 -- This project seems to be plain C, using 'AppleClang' compiler -- Conan: C++ stdlib: libc++ -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/mpdecimal/2.4.2/test_package/build/c56a78e73a70762e44ccb9d62b23e04d2cd25919 ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/mpdecimal/2.4.2/test_package/build/c56a78e73a70762e44ccb9d62b23e04d2cd25919' '--' '-j4' ----------------- 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 ld: warning: ignoring file /Users/jenkins/w/BuildSingleReference@4/.conan/data/mpdecimal/2.4.2/_/_/package/022df1ff5bfca1e0cb0d8f05af5da05e31c18e7b/lib/libmpdec.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "_mpd_del", referenced from: _main in test_package.c.o "_mpd_free", referenced from: _main in test_package.c.o "_mpd_init", referenced from: _main in test_package.c.o "_mpd_new", referenced from: _main in test_package.c.o "_mpd_pow", referenced from: _main in test_package.c.o "_mpd_set_string", referenced from: _main in test_package.c.o "_mpd_snprint_flags", referenced from: _main in test_package.c.o "_mpd_to_sci", referenced from: _main in test_package.c.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bin/test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: mpdecimal/2.4.2 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/mpdecimal/2.4.2/test_package/build/c56a78e73a70762e44ccb9d62b23e04d2cd25919' '--' '-j4'