WARNING: [license.mk] Every package should define a LICENSE. ===> Building for py27-gdchart-0.6nb28 clang -c -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -fPIC -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/python2.7 -DHAVE_JPEG -DHAVE_LIBFREETYPE gdc_py.c gdc_py.c:1351:37: warning: incompatible pointer types passing 'int *' to parameter of type 'Py_ssize_t *' (aka 'long *') [-Wincompatible-pointer-types] while (PyDict_Next(keywordDict, &pos, &key, &value)) { ^~~~ /Users/pbulk/build/graphics/py-gdchart/work/.buildlink/include/python2.7/dictobject.h:119:31: note: passing argument to parameter 'pos' here PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value); ^ gdc_py.c:1534:43: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *((unsigned char **) opt->chartvar) = val; ^ ~~~ gdc_py.c:1537:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *((unsigned char **) opt->pievar) = val; ^ ~~~ 3 warnings generated. clang -shared gdc_py.o -L/opt/pkg/lib -L/usr/lib -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib -lgdchart -lgd -lpng -lz -ljpeg -lfreetype -o gdchart.so Undefined symbols for architecture arm64: "_PyCapsule_Import", referenced from: _initgdchart in gdc_py.o "_PyDict_New", referenced from: _gdc_option in gdc_py.o "_PyDict_Next", referenced from: _gdc_option in gdc_py.o "_PyDict_SetItem", referenced from: _gdc_option in gdc_py.o "_PyDict_SetItemString", referenced from: _initgdchart in gdc_py.o __export_int in gdc_py.o "_PyDict_Size", referenced from: _gdc_option in gdc_py.o "_PyErr_Clear", referenced from: _initgdchart in gdc_py.o __export_int in gdc_py.o "_PyErr_NewException", referenced from: _initgdchart in gdc_py.o "_PyErr_NoMemory", referenced from: _gdc_chart in gdc_py.o "_PyErr_Occurred", referenced from: _initgdchart in gdc_py.o _gdc_chart in gdc_py.o _gdc_option in gdc_py.o "_PyErr_SetString", referenced from: __parse_data_set in gdc_py.o __parse_data_sets in gdc_py.o _gdc_chart in gdc_py.o _gdc_option in gdc_py.o "_PyExc_TypeError", referenced from: __parse_data_set in gdc_py.o __parse_data_sets in gdc_py.o _gdc_chart in gdc_py.o "_PyFile_AsFile", referenced from: _gdc_chart in gdc_py.o "_PyFile_Type", referenced from: _gdc_chart in gdc_py.o "_PyFloat_AsDouble", referenced from: __parse_data_set in gdc_py.o _gdc_option in gdc_py.o "_PyFloat_FromDouble", referenced from: _initgdchart in gdc_py.o "_PyInt_AsLong", referenced from: _gdc_chart in gdc_py.o _gdc_option in gdc_py.o "_PyInt_FromLong", referenced from: __export_int in gdc_py.o "_PyMem_Free", referenced from: _gdc_chart in gdc_py.o _gdc_option in gdc_py.o __cleanup in gdc_py.o "_PyMem_Malloc", referenced from: _gdc_chart in gdc_py.o _gdc_option in gdc_py.o "_PyModule_GetDict", referenced from: _initgdchart in gdc_py.o "_PyNumber_Check", referenced from: _gdc_option in gdc_py.o "_PyObject_Print", referenced from: _gdc_option in gdc_py.o "_PyObject_Size", referenced from: __parse_data_set in gdc_py.o __parse_data_sets in gdc_py.o _gdc_chart in gdc_py.o _gdc_option in gdc_py.o "_PySequence_Check", referenced from: __parse_data_set in gdc_py.o __parse_data_sets in gdc_py.o _gdc_chart in gdc_py.o _gdc_option in gdc_py.o "_PySequence_GetItem", referenced from: __parse_data_set in gdc_py.o __parse_data_sets in gdc_py.o _gdc_chart in gdc_py.o _gdc_option in gdc_py.o "_PySequence_Size", referenced from: _gdc_option in gdc_py.o "_PyString_AsString", referenced from: _gdc_chart in gdc_py.o _gdc_option in gdc_py.o "_PyString_FromString", referenced from: _gdc_option in gdc_py.o "_PyString_Size", referenced from: _gdc_option in gdc_py.o "_PyTuple_GetItem", referenced from: _gdc_chart in gdc_py.o "_PyTuple_New", referenced from: _gdc_option in gdc_py.o "_PyTuple_SetItem", referenced from: _gdc_option in gdc_py.o "_PyTuple_Size", referenced from: _gdc_chart in gdc_py.o "_PyType_IsSubtype", referenced from: _gdc_chart in gdc_py.o "_Py_AtExit", referenced from: _initgdchart in gdc_py.o "_Py_BuildValue", referenced from: _gdc_option in gdc_py.o "_Py_FatalError", referenced from: _initgdchart in gdc_py.o "_Py_InitModule4_64", referenced from: _initgdchart in gdc_py.o "__Py_NoneStruct", referenced from: __parse_data_set in gdc_py.o _gdc_chart in gdc_py.o _gdc_option in gdc_py.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [Makefile:56: gdchart.so] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/py-gdchart *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/py-gdchart