=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for bg5pdf-1.0.0nb17 --- all --- clang -fPIC -shared bg5pdflib.c -I/usr/pkg/include -I/usr/pkg/include/python3.7 -L/usr/pkg/lib -lpdf -Wl,-R/usr/pkg/lib -o bg5pdflib.so bg5pdflib.c:122:10: warning: implicit declaration of function 'PyString_FromString' is invalid in C99 [-Wimplicit-function-declaration] return PyString_FromString(""); ^ bg5pdflib.c:122:10: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *') [-Wint-conversion] return PyString_FromString(""); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bg5pdflib.c:194:1: error: unknown type name 'statichere' statichere PyTypeObject varlinktype = { ^ bg5pdflib.c:194:24: error: expected ';' after top level declarator statichere PyTypeObject varlinktype = { ^ ; bg5pdflib.c:219:3: error: use of undeclared identifier 'varlinktype' varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ ^ bg5pdflib.c:220:11: error: no member named 'ob_type' in 'struct swig_varlinkobject' result->ob_type = &varlinktype; ~~~~~~ ^ bg5pdflib.c:220:22: error: use of undeclared identifier 'varlinktype' result->ob_type = &varlinktype; ^ bg5pdflib.c:226:11: error: no member named 'ob_refcnt' in 'struct swig_varlinkobject' result->ob_refcnt = 0; ~~~~~~ ^ bg5pdflib.c:599:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, error_message); ^~~~~~~~~~~~~ bg5pdflib.c:599:18: note: treat the string as an argument to avoid this fprintf(stderr, error_message); ^ "%s", bg5pdflib.c:821:8: warning: implicit declaration of function 'PyString_Size' is invalid in C99 [-Wimplicit-function-declaration] len = PyString_Size(PyTuple_GetItem(args, 1)); ^ bg5pdflib.c:849:8: warning: implicit declaration of function 'PyString_Size' is invalid in C99 [-Wimplicit-function-declaration] len = PyString_Size(PyTuple_GetItem(args, 1)); ^ bg5pdflib.c:1048:7: warning: implicit declaration of function 'Py_InitModule' is invalid in C99 [-Wimplicit-function-declaration] m = Py_InitModule("bg5pdflib", pdflibMethods); ^ bg5pdflib.c:1048:5: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion] m = Py_InitModule("bg5pdflib", pdflibMethods); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings and 6 errors generated. *** [all] Error code 1 make: stopped in /data/scratch/print/bg5pdf/work/bg5pdf 1 error make: stopped in /data/scratch/print/bg5pdf/work/bg5pdf *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/print/bg5pdf *** Error code 1 Stop. make: stopped in /data/pkgsrc/print/bg5pdf