******************************************************************************** conan test conan-center-index/recipes/jemalloc/all/test_package/conanfile.py jemalloc/5.2.1@#1c6652e1ef0d9c25aa04735c9776cbea -pr:h /Users/jenkins/w/prod/BuildSingleReference/26109/1d2331b4-46c9-46e8-88d9-575f9bd26c16/profile_osx_130_libcpp_apple-clang_debug_armv8.jemalloc-shared-True.txt -pr:b /Users/jenkins/w/prod/BuildSingleReference/26109/1d2331b4-46c9-46e8-88d9-575f9bd26c16/profile_osx_130_libcpp_apple-clang_debug_64.jemalloc-shared-True.txt ******************************************************************************** Configuration (profile_host): [settings] arch=armv8 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] jemalloc:shared=True [build_requires] [env] Configuration (profile_build): [settings] arch=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] jemalloc:shared=True [build_requires] [env] jemalloc/5.2.1 (test package): Installing package Requirements jemalloc/5.2.1 from local cache - Cache Packages jemalloc/5.2.1:bb939e518fdf579f2a9edfc08a245b605e284d97 - Cache Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... jemalloc/5.2.1: Already installed! jemalloc/5.2.1 (test package): Generator txt created conanbuildinfo.txt jemalloc/5.2.1 (test package): Generator cmake created conanbuildinfo.cmake jemalloc/5.2.1 (test package): Aggregating env generators jemalloc/5.2.1 (test package): Generated conaninfo.txt jemalloc/5.2.1 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/prod/BuildSingleReference/conan-center-index/recipes/jemalloc/all/test_package/build/1c6aa36962c6618b1c3274aa567fa4995893d3d2/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 jemalloc/5.2.1 (test package): Calling build() ----Running------ > cd '/Users/jenkins/w/prod/BuildSingleReference/conan-center-index/recipes/jemalloc/all/test_package/build/1c6aa36962c6618b1c3274aa567fa4995893d3d2' && 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="13.0" -DCONAN_LIBCXX="libc++" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference/conan-center-index/recipes/jemalloc/all/test_package/build/1c6aa36962c6618b1c3274aa567fa4995893d3d2/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/prod/BuildSingleReference/conan-center-index/recipes/jemalloc/all/test_package' ----------------- -- The CXX compiler identification is AppleClang 13.0.0.13000029 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/conan/xcode/13/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - 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: C++ stdlib: libc++ -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/prod/BuildSingleReference/conan-center-index/recipes/jemalloc/all/test_package/build/1c6aa36962c6618b1c3274aa567fa4995893d3d2 ----Running------ > cmake --build '/Users/jenkins/w/prod/BuildSingleReference/conan-center-index/recipes/jemalloc/all/test_package/build/1c6aa36962c6618b1c3274aa567fa4995893d3d2' '--' '-j4' ----------------- [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX 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 /Users/jenkins/w/prod/BuildSingleReference/conan-center-index/recipes/jemalloc/all/test_package/test_package.cpp:8:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] malloc(i * 100); ^~~~~~ ~~~~~~~ 1 warning generated. ld: warning: ignoring file /Users/jenkins/w/prod/BuildSingleReference/.conan/data/jemalloc/5.2.1/_/_/package/bb939e518fdf579f2a9edfc08a245b605e284d97/lib/libjemalloc.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "_malloc_stats_print", referenced from: _main in test_package.cpp.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: jemalloc/5.2.1 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/prod/BuildSingleReference/conan-center-index/recipes/jemalloc/all/test_package/build/1c6aa36962c6618b1c3274aa567fa4995893d3d2' '--' '-j4'