******************************************************************************** conan test cci-a392fb9a/recipes/jemalloc/all/test_package/conanfile.py jemalloc/5.2.1@#f4394044dfd9db59f2a7ab6481c69a21 -pr:h /Users/jenkins/w/prod/BuildSingleReference/240609/86e39292-36c9-4a35-9d7d-679dcfe4fc92/profile_osx_130_libcpp_apple-clang_debug_armv8.jemalloc-shared-True.txt -c:h tools.system.package_manager:mode=install -c:h tools.system.package_manager:sudo=True -c:h tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -pr:b /Users/jenkins/w/prod/BuildSingleReference/240609/86e39292-36c9-4a35-9d7d-679dcfe4fc92/profile_osx_130_libcpp_apple-clang_debug_64..txt -c:b tools.system.package_manager:mode=install -c:b tools.system.package_manager:sudo=True -c:b tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk ******************************************************************************** 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] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk Configuration (profile_build): [settings] arch=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk 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/cci-a392fb9a/recipes/jemalloc/all/test_package/build/dbb496c0187db97806f2794d287583a3f95056e9/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/cci-a392fb9a/recipes/jemalloc/all/test_package/build/dbb496c0187db97806f2794d287583a3f95056e9' && 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/cci-a392fb9a/recipes/jemalloc/all/test_package/build/dbb496c0187db97806f2794d287583a3f95056e9/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/cci-a392fb9a/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.0/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/cci-a392fb9a/recipes/jemalloc/all/test_package/build/dbb496c0187db97806f2794d287583a3f95056e9 ----Running------ > cmake --build '/Users/jenkins/w/prod/BuildSingleReference/cci-a392fb9a/recipes/jemalloc/all/test_package/build/dbb496c0187db97806f2794d287583a3f95056e9' '--' '-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/cci-a392fb9a/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/cci-a392fb9a/recipes/jemalloc/all/test_package/build/dbb496c0187db97806f2794d287583a3f95056e9' '--' '-j4'