******************************************************************************** conan test conan-center-index/recipes/swig/all/test_package/conanfile.py swig/4.0.1@ --profile:host=/Users/jenkins/w/BuildSingleReference/32862/f5cac1ef-22d1-4808-9b10-37826096e645/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] [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] swig/4.0.1 (test package): Installing package Requirements Packages Build requirements bzip2/1.0.8 from 'conan-center' - Cache pcre/8.45 from 'conan-center' - Cache swig/4.0.1 from local cache - Cache zlib/1.2.11 from 'conan-center' - Cache Build requirements packages bzip2/1.0.8:75fe66fbfe61230e9fcbb361f13b6b3baa483e0a - Download pcre/8.45:6b708b31085f36a04cd9dea85c6b67a06a563c31 - Download swig/4.0.1:099d7b9cd06e9bd11e92b9a2ddf3b29cd986fdcb - Download zlib/1.2.11:647afeb69d3b0a2d3d316e80b24d38c714cc6900 - Download Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package 75fe66fbfe61230e9fcbb361f13b6b3baa483e0a from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed 75fe66fbfe61230e9fcbb361f13b6b3baa483e0a bzip2/1.0.8: Downloaded package revision a02fa822d1130a9f333b48d403022ca6 zlib/1.2.11: Retrieving package 647afeb69d3b0a2d3d316e80b24d38c714cc6900 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.11: Package installed 647afeb69d3b0a2d3d316e80b24d38c714cc6900 zlib/1.2.11: Downloaded package revision 7b4633170c55d50da27f126213147ab6 pcre/8.45: Retrieving package 6b708b31085f36a04cd9dea85c6b67a06a563c31 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pcre/8.45: Package installed 6b708b31085f36a04cd9dea85c6b67a06a563c31 pcre/8.45: Downloaded package revision b7c415c94c3ef258a4e28703edd7ee25 swig/4.0.1: Retrieving package 099d7b9cd06e9bd11e92b9a2ddf3b29cd986fdcb from remote 'c3i_PR-7217' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz swig/4.0.1: Package installed 099d7b9cd06e9bd11e92b9a2ddf3b29cd986fdcb swig/4.0.1: Downloaded package revision e1db9501c4d81b7a24a69f50cccd0a40 bzip2/1.0.8: Appending PATH environment variable: /Users/jenkins/w/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/75fe66fbfe61230e9fcbb361f13b6b3baa483e0a/bin [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 [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 pcre/8.45: Appending PATH environment variable: /Users/jenkins/w/BuildSingleReference/.conan/data/pcre/8.45/_/_/package/6b708b31085f36a04cd9dea85c6b67a06a563c31/bin [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 swig/4.0.1: Appending PATH environment variable: /Users/jenkins/w/BuildSingleReference/.conan/data/swig/4.0.1/_/_/package/099d7b9cd06e9bd11e92b9a2ddf3b29cd986fdcb/bin [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 swig/4.0.1 (test package): Applying build-requirement: swig/4.0.1 swig/4.0.1 (test package): Applying build-requirement: pcre/8.45 swig/4.0.1 (test package): Applying build-requirement: bzip2/1.0.8 swig/4.0.1 (test package): Applying build-requirement: zlib/1.2.11 swig/4.0.1 (test package): Generator cmake created conanbuildinfo.cmake swig/4.0.1 (test package): Generator txt created conanbuildinfo.txt swig/4.0.1 (test package): Generated conaninfo.txt swig/4.0.1 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/swig/all/test_package/build/68d5b73bff6bd8a5be9b2487d2c7b99420463b02/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 swig/4.0.1 (test package): Calling build() ----Running------ > DYLD_LIBRARY_PATH=":/Users/jenkins/w/BuildSingleReference/.conan/data/swig/4.0.1/_/_/package/099d7b9cd06e9bd11e92b9a2ddf3b29cd986fdcb/lib:/Users/jenkins/w/BuildSingleReference/.conan/data/pcre/8.45/_/_/package/6b708b31085f36a04cd9dea85c6b67a06a563c31/lib:/Users/jenkins/w/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/75fe66fbfe61230e9fcbb361f13b6b3baa483e0a/lib:/Users/jenkins/w/BuildSingleReference/.conan/data/zlib/1.2.11/_/_/package/647afeb69d3b0a2d3d316e80b24d38c714cc6900/lib" DYLD_FRAMEWORK_PATH="" swig -swiglib ----------------- /Users/jenkins/w/BuildSingleReference/.conan/data/swig/4.0.1/_/_/package/099d7b9cd06e9bd11e92b9a2ddf3b29cd986fdcb/bin/swiglib ----Running------ > cd '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/swig/all/test_package/build/68d5b73bff6bd8a5be9b2487d2c7b99420463b02' && 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/conan-center-index/recipes/swig/all/test_package/build/68d5b73bff6bd8a5be9b2487d2c7b99420463b02/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_MODULE_PATH="/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/swig/all/test_package/build/68d5b73bff6bd8a5be9b2487d2c7b99420463b02" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/swig/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: /Users/administrator/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Conan: called by CMake conan helper -- Conan: Using cmake targets 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++ -- Found SWIG: /Users/jenkins/w/BuildSingleReference/.conan/data/swig/4.0.1/_/_/package/099d7b9cd06e9bd11e92b9a2ddf3b29cd986fdcb/bin/swig (found version "4.0.1") -- Found PythonLibs: /usr/local/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib (found suitable version "3.9.5", minimum required is "3") -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/swig/all/test_package/build/68d5b73bff6bd8a5be9b2487d2c7b99420463b02 ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/swig/all/test_package/build/68d5b73bff6bd8a5be9b2487d2c7b99420463b02' '--' '-j4' ----------------- Scanning dependencies of target PackageTest_swig_compilation [ 25%] Swig compile test.i for python [ 25%] Built target PackageTest_swig_compilation Scanning dependencies of target _PackageTest [ 75%] Building C object CMakeFiles/_PackageTest.dir/test_package.c.o [ 75%] Building C object CMakeFiles/_PackageTest.dir/CMakeFiles/_PackageTest.dir/testPYTHON_wrap.c.o [100%] Linking C shared module _PackageTest.so 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 /usr/local/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "_PyArg_UnpackTuple", referenced from: _SwigPyObject_own in testPYTHON_wrap.c.o "_PyBool_FromLong", referenced from: _SwigPyObject_richcompare in testPYTHON_wrap.c.o _SwigPyObject_own in testPYTHON_wrap.c.o "_PyCFunction_Type", referenced from: _SWIG_PyInstanceMethod_New in testPYTHON_wrap.c.o "_PyCMethod_New", referenced from: _SWIG_PyInstanceMethod_New in testPYTHON_wrap.c.o "_PyCapsule_GetPointer", referenced from: _SWIG_Python_DestroyModule in testPYTHON_wrap.c.o "_PyCapsule_Import", referenced from: _SWIG_Python_GetModule in testPYTHON_wrap.c.o "_PyCapsule_New", referenced from: _SWIG_Python_SetModule in testPYTHON_wrap.c.o "_PyDict_New", referenced from: _SWIG_Python_TypeCache in testPYTHON_wrap.c.o _SWIG_Python_NewShadowInstance in testPYTHON_wrap.c.o "_PyDict_SetItemString", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o _SWIG_Python_InstallConstants in testPYTHON_wrap.c.o "_PyErr_Clear", referenced from: _SWIG_AsVal_long in testPYTHON_wrap.c.o _SWIG_Python_GetModule in testPYTHON_wrap.c.o _SWIG_AsVal_double in testPYTHON_wrap.c.o "_PyErr_Fetch", referenced from: _SwigPyObject_dealloc in testPYTHON_wrap.c.o "_PyErr_Format", referenced from: _SWIG_Python_UnpackTuple in testPYTHON_wrap.c.o _swig_varlink_getattr in testPYTHON_wrap.c.o _swig_varlink_setattr in testPYTHON_wrap.c.o "_PyErr_Occurred", referenced from: _SWIG_AsVal_long in testPYTHON_wrap.c.o _SWIG_Python_GetModule in testPYTHON_wrap.c.o _swig_varlink_getattr in testPYTHON_wrap.c.o _swig_varlink_setattr in testPYTHON_wrap.c.o _SWIG_AsVal_double in testPYTHON_wrap.c.o "_PyErr_Restore", referenced from: _SwigPyObject_dealloc in testPYTHON_wrap.c.o "_PyErr_SetString", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o _SWIG_Python_UnpackTuple in testPYTHON_wrap.c.o _SWIG_Python_SetErrorMsg in testPYTHON_wrap.c.o _SwigPyObject_append in testPYTHON_wrap.c.o "_PyErr_WriteUnraisable", referenced from: _SwigPyObject_dealloc in testPYTHON_wrap.c.o "_PyExc_AttributeError", referenced from: _SWIG_Python_ErrorType in testPYTHON_wrap.c.o _swig_varlink_getattr in testPYTHON_wrap.c.o _swig_varlink_setattr in testPYTHON_wrap.c.o "_PyExc_IOError", referenced from: _SWIG_Python_ErrorType in testPYTHON_wrap.c.o "_PyExc_IndexError", referenced from: _SWIG_Python_ErrorType in testPYTHON_wrap.c.o "_PyExc_MemoryError", referenced from: _SWIG_Python_ErrorType in testPYTHON_wrap.c.o "_PyExc_OverflowError", referenced from: _SWIG_Python_ErrorType in testPYTHON_wrap.c.o "_PyExc_RuntimeError", referenced from: _SWIG_Python_ErrorType in testPYTHON_wrap.c.o "_PyExc_SyntaxError", referenced from: _SWIG_Python_ErrorType in testPYTHON_wrap.c.o "_PyExc_SystemError", referenced from: _SWIG_Python_UnpackTuple in testPYTHON_wrap.c.o _SWIG_Python_ErrorType in testPYTHON_wrap.c.o "_PyExc_TypeError", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o _SWIG_Python_UnpackTuple in testPYTHON_wrap.c.o _SWIG_Python_ErrorType in testPYTHON_wrap.c.o _SwigPyObject_append in testPYTHON_wrap.c.o "_PyExc_ValueError", referenced from: _SWIG_Python_ErrorType in testPYTHON_wrap.c.o "_PyExc_ZeroDivisionError", referenced from: _SWIG_Python_ErrorType in testPYTHON_wrap.c.o "_PyFloat_AsDouble", referenced from: _SWIG_AsVal_double in testPYTHON_wrap.c.o "_PyFloat_FromDouble", referenced from: _Swig_var_foo_get in testPYTHON_wrap.c.o "_PyFloat_Type", referenced from: _SWIG_AsVal_double in testPYTHON_wrap.c.o "_PyImport_AddModule", referenced from: _SWIG_Python_SetModule in testPYTHON_wrap.c.o "_PyInstanceMethod_New", referenced from: _SWIG_PyInstanceMethod_New in testPYTHON_wrap.c.o "_PyLong_AsDouble", referenced from: _SWIG_AsVal_double in testPYTHON_wrap.c.o "_PyLong_AsLong", referenced from: _SWIG_AsVal_long in testPYTHON_wrap.c.o "_PyLong_FromLong", referenced from: _SWIG_From_int in testPYTHON_wrap.c.o "_PyLong_FromVoidPtr", referenced from: _SwigPyObject_long in testPYTHON_wrap.c.o "_PyModule_AddObject", referenced from: _SWIG_Python_SetModule in testPYTHON_wrap.c.o "_PyModule_Create2", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o "_PyModule_GetDict", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o "_PyObject_Call", referenced from: _SWIG_Python_NewShadowInstance in testPYTHON_wrap.c.o "_PyObject_CallFunctionObjArgs", referenced from: _SwigPyObject_dealloc in testPYTHON_wrap.c.o "_PyObject_Free", referenced from: _SwigPyPacked_dealloc in testPYTHON_wrap.c.o _SwigPyObject_dealloc in testPYTHON_wrap.c.o _SwigPyPacked_New in testPYTHON_wrap.c.o "_PyObject_GenericGetAttr", referenced from: l___const.SwigPyPacked_TypeOnce.tmp in testPYTHON_wrap.c.o l___const.SwigPyObject_TypeOnce.tmp in testPYTHON_wrap.c.o "_PyObject_IsTrue", referenced from: _SwigPyObject_own in testPYTHON_wrap.c.o "_PyObject_SetAttr", referenced from: _SWIG_Python_NewShadowInstance in testPYTHON_wrap.c.o "_PyTuple_New", referenced from: _SWIG_Python_NewShadowInstance in testPYTHON_wrap.c.o "_PyType_IsSubtype", referenced from: _SWIG_PyInstanceMethod_New in testPYTHON_wrap.c.o _SWIG_AsVal_double in testPYTHON_wrap.c.o "_PyType_Ready", referenced from: _SwigPyPacked_TypeOnce in testPYTHON_wrap.c.o _SwigPyObject_TypeOnce in testPYTHON_wrap.c.o _swig_varlink_type in testPYTHON_wrap.c.o "_PyUnicode_Concat", referenced from: _SwigPyObject_repr in testPYTHON_wrap.c.o _swig_varlink_str in testPYTHON_wrap.c.o "_PyUnicode_FromFormat", referenced from: _SwigPyPacked_repr in testPYTHON_wrap.c.o _SwigPyPacked_str in testPYTHON_wrap.c.o _SwigPyObject_repr in testPYTHON_wrap.c.o "_PyUnicode_FromString", referenced from: _SWIG_Python_str_FromChar in testPYTHON_wrap.c.o _swig_varlink_str in testPYTHON_wrap.c.o "_PyUnicode_InternFromString", referenced from: _swig_varlink_repr in testPYTHON_wrap.c.o _swig_varlink_str in testPYTHON_wrap.c.o "_Py_DecRef", referenced from: _SwigPyObject_repr in testPYTHON_wrap.c.o _swig_varlink_str in testPYTHON_wrap.c.o "__PyObject_New", referenced from: _SwigPyObject_New in testPYTHON_wrap.c.o _SWIG_Python_NewPointerObj in testPYTHON_wrap.c.o _SwigPyPacked_New in testPYTHON_wrap.c.o _SWIG_Python_newvarlink in testPYTHON_wrap.c.o "__Py_Dealloc", referenced from: __Py_DECREF in testPYTHON_wrap.c.o "__Py_NoneStruct", referenced from: _SWIG_Py_Void in testPYTHON_wrap.c.o "__Py_NotImplementedStruct", referenced from: _SwigPyObject_richcompare in testPYTHON_wrap.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]: *** [_PackageTest.so] Error 1 make[1]: *** [CMakeFiles/_PackageTest.dir/all] Error 2 make: *** [all] Error 2 ERROR: swig/4.0.1 (test package): Error in build() method, line 27 self._cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/swig/all/test_package/build/68d5b73bff6bd8a5be9b2487d2c7b99420463b02' '--' '-j4'