******************************************************************************** conan test conan-center-index/recipes/libmad/all/test_package/conanfile.py libmad/0.15.1b@ --profile:host=/Users/jenkins/w/BuildSingleReference@3/26628/1dfbf79c-84bf-4900-8738-c1660e6fcb2d/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] libmad: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] libmad/0.15.1b (test package): Installing package Requirements libmad/0.15.1b from local cache - Cache Packages libmad/0.15.1b:022df1ff5bfca1e0cb0d8f05af5da05e31c18e7b - Cache Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... libmad/0.15.1b: 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 libmad/0.15.1b (test package): Generator cmake created conanbuildinfo.cmake libmad/0.15.1b (test package): Generator txt created conanbuildinfo.txt libmad/0.15.1b (test package): Generated conaninfo.txt libmad/0.15.1b (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/BuildSingleReference@3/conan-center-index/recipes/libmad/all/test_package/build/1cab683793fc67e96bd65664a94de420639c1d12/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 libmad/0.15.1b (test package): Calling build() ----Running------ > cd '/Users/jenkins/w/BuildSingleReference@3/conan-center-index/recipes/libmad/all/test_package/build/1cab683793fc67e96bd65664a94de420639c1d12' && 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@3/conan-center-index/recipes/libmad/all/test_package/build/1cab683793fc67e96bd65664a94de420639c1d12/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@3/conan-center-index/recipes/libmad/all/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@3/conan-center-index/recipes/libmad/all/test_package/build/1cab683793fc67e96bd65664a94de420639c1d12 ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference@3/conan-center-index/recipes/libmad/all/test_package/build/1cab683793fc67e96bd65664a94de420639c1d12' '--' '-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@3/.conan/data/libmad/0.15.1b/_/_/package/022df1ff5bfca1e0cb0d8f05af5da05e31c18e7b/lib/libmad.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "_mad_author", referenced from: _main in test_package.c.o "_mad_build", referenced from: _main in test_package.c.o "_mad_copyright", referenced from: _main in test_package.c.o "_mad_version", 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: libmad/0.15.1b (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/BuildSingleReference@3/conan-center-index/recipes/libmad/all/test_package/build/1cab683793fc67e96bd65664a94de420639c1d12' '--' '-j4'