=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Building for bg5pdf-1.0.0nb17
--- all ---
gcc -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: In function 'swig_varlink_repr':
bg5pdflib.c:122:10: warning: implicit declaration of function 'PyString_FromString'; did you mean 'PyLong_FromString'? [-Wimplicit-function-declaration]
   return PyString_FromString("<Global variables>");
          ^~~~~~~~~~~~~~~~~~~
          PyLong_FromString
bg5pdflib.c:122:10: warning: return makes pointer from integer without a cast [-Wint-conversion]
   return PyString_FromString("<Global variables>");
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bg5pdflib.c: At top level:
bg5pdflib.c:194:1: error: unknown type name 'statichere'; did you mean 'st_atime'?
 statichere PyTypeObject varlinktype = {
 ^~~~~~~~~~
 st_atime
bg5pdflib.c:194:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'varlinktype'
 statichere PyTypeObject varlinktype = {
                         ^~~~~~~~~~~
bg5pdflib.c: In function 'SWIG_newvarlink':
bg5pdflib.c:219:3: error: 'varlinktype' undeclared (first use in this function)
   varlinktype.ob_type = &PyType_Type;    /* Patch varlinktype into a PyType */
   ^~~~~~~~~~~
bg5pdflib.c:219:3: note: each undeclared identifier is reported only once for each function it appears in
bg5pdflib.c:220:11: error: 'swig_varlinkobject {aka struct swig_varlinkobject}' has no member named 'ob_type'; did you mean 'ob_base'?
   result->ob_type = &varlinktype;
           ^~~~~~~
           ob_base
bg5pdflib.c:226:9: error: 'swig_varlinkobject {aka struct swig_varlinkobject}' has no member named 'ob_refcnt'
   result->ob_refcnt = 0;
         ^~
bg5pdflib.c: In function '_wrap_PDF_show':
bg5pdflib.c:821:8: warning: implicit declaration of function 'PyString_Size'; did you mean 'PyMapping_Size'? [-Wimplicit-function-declaration]
  len = PyString_Size(PyTuple_GetItem(args, 1));
        ^~~~~~~~~~~~~
        PyMapping_Size
bg5pdflib.c: In function 'initbg5pdflib':
bg5pdflib.c:1048:7: warning: implicit declaration of function 'Py_InitModule'; did you mean 'Py_Initialize'? [-Wimplicit-function-declaration]
   m = Py_InitModule("bg5pdflib", pdflibMethods);
       ^~~~~~~~~~~~~
       Py_Initialize
bg5pdflib.c:1048:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
   m = Py_InitModule("bg5pdflib", pdflibMethods);
     ^
*** [all] Error code 1

make: stopped in /tmp/pkgbuild/print/bg5pdf/work.earmv7hf/bg5pdf
1 error

make: stopped in /tmp/pkgbuild/print/bg5pdf/work.earmv7hf/bg5pdf
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/print/bg5pdf
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/bg5pdf