+ test -d Tools/config + /Users/jenkins/w/cci_PR-4534/.conan/data/automake/1.16.2/_/_/package/3c28ba69276b46fd46e9c2060ba991d725ccab43/bin/aclocal -I Tools/config + /Users/jenkins/w/cci_PR-4534/.conan/data/autoconf/2.69/_/_/package/cc471ed355602ffa7007968c83aa4e7e648a38b5/bin/autoheader + /Users/jenkins/w/cci_PR-4534/.conan/data/automake/1.16.2/_/_/package/3c28ba69276b46fd46e9c2060ba991d725ccab43/bin/automake --add-missing --copy --force-missing configure.ac:23: installing 'Tools/config/compile' configure.ac:11: installing 'Tools/config/config.guess' configure.ac:11: installing 'Tools/config/config.sub' configure.ac:12: installing 'Tools/config/install-sh' configure.ac:12: installing 'Tools/config/missing' Source/Makefile.am: installing 'Tools/config/depcomp' configure.ac: installing 'Tools/config/ylwrap' + /Users/jenkins/w/cci_PR-4534/.conan/data/autoconf/2.69/_/_/package/cc471ed355602ffa7007968c83aa4e7e648a38b5/bin/autoconf + cd CCache + /Users/jenkins/w/cci_PR-4534/.conan/data/autoconf/2.69/_/_/package/cc471ed355602ffa7007968c83aa4e7e648a38b5/bin/autoreconf /Users/jenkins/w/cci_PR-4534/.conan/data/swig/4.0.2/_/_/build/d4aa2abd54088819886d62eb9f1b3cbcb87de2d0/Source/../source_subfolder/Source/CParse/parser.y:23.1-7: warning: POSIX Yacc does not support %expect [-Wyacc] 23 | %expect 6 | ^~~~~~~ ../source_subfolder/Source/CParse/templ.c:839:13: warning: unused variable 'nodeType' [-Wunused-variable] String *nodeType = nodeType(n); ^ 1 warning generated. ../source_subfolder/Source/Modules/go.cxx:4108:10: warning: unused variable 'is_ignored' [-Wunused-variable] bool is_ignored = GetFlag(n, "feature:ignore") ? true : false; ^ ../source_subfolder/Source/Modules/go.cxx:6086:10: warning: unused variable 'r' [-Wunused-variable] bool r = addSymbol(name, n, scope) ? true : false; ^ ../source_subfolder/Source/Modules/lua.cxx:1003:13: warning: unused variable 'lua_name' [-Wunused-variable] String *lua_name = Getattr(n, "lua:name"); ^ 1 warning generated. 2 warnings generated. ../source_subfolder/Source/Modules/python.cxx:4872:16: warning: unused variable 'rclassname' [-Wunused-variable] String *rclassname = Swig_class_name(getCurrentClass()); ^ ../source_subfolder/Source/Swig/typeobj.c:405:7: warning: unused variable 'check' [-Wunused-variable] int check = strncmp(c, "r.", 2); ^ ../source_subfolder/Source/Swig/typeobj.c:440:7: warning: unused variable 'check' [-Wunused-variable] int check = strncmp(c, "z.", 2); ^ ../source_subfolder/Source/Swig/typeobj.c:530:7: warning: unused variable 'check' [-Wunused-variable] int check = strncmp(c, "q(", 2); ^ ../source_subfolder/Source/Swig/typeobj.c:598:7: warning: unused variable 'check' [-Wunused-variable] int check = strncmp(c, "m(", 2); ^ ../source_subfolder/Source/Swig/typeobj.c:642:7: warning: unused variable 'check' [-Wunused-variable] int check = strncmp(c, "a(", 2); ^ 5 warnings generated. 1 warning generated. clang: warning: argument unused during compilation: '-ansi' [-Wunused-command-line-argument] CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY /Users/jenkins/w/cci_PR-4534/4/088d1def-f72b-4ca8-bd76-a3386c0028d1/recipes/swig/all/test_package/test_package.c:17:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else // both u and v are even ^ 1 warning generated. Undefined symbols for architecture x86_64: "_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_NewEx", referenced from: _SWIG_PyInstanceMethod_New in testPYTHON_wrap.c.o "_PyCFunction_Type", 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: _PyInit__PackageTest in testPYTHON_wrap.c.o "_PyCapsule_New", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o "_PyDict_New", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o "_PyDict_SetItemString", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o "_PyErr_Clear", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o _Swig_var_foo_set in testPYTHON_wrap.c.o __wrap_gcd in testPYTHON_wrap.c.o "_PyErr_Fetch", referenced from: _SwigPyObject_dealloc in testPYTHON_wrap.c.o "_PyErr_Format", referenced from: __wrap_gcd 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: _PyInit__PackageTest in testPYTHON_wrap.c.o _Swig_var_foo_set in testPYTHON_wrap.c.o __wrap_gcd in testPYTHON_wrap.c.o _swig_varlink_getattr in testPYTHON_wrap.c.o _swig_varlink_setattr 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_var_foo_set in testPYTHON_wrap.c.o __wrap_gcd 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_varlink_getattr in testPYTHON_wrap.c.o _swig_varlink_setattr in testPYTHON_wrap.c.o "_PyExc_OverflowError", referenced from: __wrap_gcd in testPYTHON_wrap.c.o "_PyExc_SystemError", referenced from: __wrap_gcd in testPYTHON_wrap.c.o "_PyExc_TypeError", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o _Swig_var_foo_set in testPYTHON_wrap.c.o __wrap_gcd in testPYTHON_wrap.c.o _SwigPyObject_append in testPYTHON_wrap.c.o "_PyFloat_AsDouble", referenced from: _Swig_var_foo_set in testPYTHON_wrap.c.o "_PyFloat_FromDouble", referenced from: _Swig_var_foo_get in testPYTHON_wrap.c.o "_PyFloat_Type", referenced from: _Swig_var_foo_set in testPYTHON_wrap.c.o "_PyImport_AddModule", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o "_PyInstanceMethod_New", referenced from: _SWIG_PyInstanceMethod_New in testPYTHON_wrap.c.o "_PyLong_AsDouble", referenced from: _Swig_var_foo_set in testPYTHON_wrap.c.o "_PyLong_AsLong", referenced from: __wrap_gcd in testPYTHON_wrap.c.o "_PyLong_FromLong", referenced from: __wrap_gcd in testPYTHON_wrap.c.o "_PyLong_FromVoidPtr", referenced from: _SwigPyObject_long in testPYTHON_wrap.c.o "_PyModule_AddObject", referenced from: _PyInit__PackageTest 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: _PyInit__PackageTest in testPYTHON_wrap.c.o "_PyObject_CallFunctionObjArgs", referenced from: _SwigPyObject_dealloc in testPYTHON_wrap.c.o "_PyObject_Free", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o _SwigPyPacked_dealloc in testPYTHON_wrap.c.o _SwigPyObject_dealloc in testPYTHON_wrap.c.o "_PyObject_GenericGetAttr", referenced from: _SwigPyPacked_TypeOnce.tmp in testPYTHON_wrap.c.o _SwigPyObject_TypeOnce.tmp in testPYTHON_wrap.c.o "_PyObject_Init", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o _SwigPyObject_dealloc in testPYTHON_wrap.c.o "_PyObject_IsTrue", referenced from: _SwigPyObject_own in testPYTHON_wrap.c.o "_PyObject_Malloc", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o _SwigPyObject_dealloc in testPYTHON_wrap.c.o "_PyObject_SetAttr", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o "_PyTuple_New", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o "_PyType_IsSubtype", referenced from: _Swig_var_foo_set in testPYTHON_wrap.c.o "_PyType_Ready", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o _SwigPyPacked_dealloc in testPYTHON_wrap.c.o _SwigPyObject_dealloc in testPYTHON_wrap.c.o _SwigPyObject_append 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: _PyInit__PackageTest in testPYTHON_wrap.c.o _SwigPyPacked_str in testPYTHON_wrap.c.o _SWIG_Python_DestroyModule 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: _PyInit__PackageTest in testPYTHON_wrap.c.o "__Py_NoneStruct", referenced from: _PyInit__PackageTest in testPYTHON_wrap.c.o _SwigPyObject_disown in testPYTHON_wrap.c.o _SwigPyObject_acquire in testPYTHON_wrap.c.o _SwigPyObject_own in testPYTHON_wrap.c.o _SwigPyObject_append in testPYTHON_wrap.c.o _SwigPyObject_next in testPYTHON_wrap.c.o "__Py_NotImplementedStruct", referenced from: _SwigPyObject_richcompare in testPYTHON_wrap.c.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [lib/_PackageTest.so] Error 1 make[1]: *** [CMakeFiles/_PackageTest.dir/all] Error 2 make: *** [all] Error 2 ERROR: swig/4.0.2 (test package): Error in build() method, line 13 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/cci_PR-4534/4/088d1def-f72b-4ca8-bd76-a3386c0028d1/recipes/swig/all/test_package/build/6a5650190548703a37faf605fdbbf592f90244ff' '--' '-j8'