+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/py311-sip-4.19.25/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/py311-sip-4.19.25/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for py311-sip-4.19.25 gmake[1]: Entering directory '/home/pbulk/build/x11/py-sip/work/sip-4.19.25/sipgen' gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.11 -O2 -Wall -W -DNDEBUG -I. -I/opt/local/include -o main.o main.c main.c: In function 'warning': main.c:528:9: warning: 'wstr' may be used uninitialized in this function [-Wmaybe-uninitialized] 528 | fprintf(stderr, "%s: %s: ", sipPackage, wstr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.11 -O2 -Wall -W -DNDEBUG -I. -I/opt/local/include -o transform.o transform.c gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.11 -O2 -Wall -W -DNDEBUG -I. -I/opt/local/include -o gencode.o gencode.c gencode.c: In function 'generateNamedBaseType': gencode.c:9635:23: warning: this statement may fall through [-Wimplicit-fallthrough=] 9635 | nr_derefs = 1; | ~~~~~~~~~~^~~ gencode.c:9639:9: note: here 9639 | case byte_type: | ^~~~ gencode.c:9697:23: warning: this statement may fall through [-Wimplicit-fallthrough=] 9697 | nr_derefs = 1; | ~~~~~~~~~~^~~ gencode.c:9701:9: note: here 9701 | case fake_void_type: | ^~~~ gencode.c: In function 'generateCastZero': gencode.c:7669:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 7669 | prcode(fp, "(%E)0", ed); | ^~~~~~~~~~~~~~~~~~~~~~~ gencode.c:7672:5: note: here 7672 | case pyobject_type: | ^~~~ gencode.c: In function 'generateTupleBuilder': gencode.c:8790:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 8790 | if (needsHeapCopy(ad, TRUE)) | ^ gencode.c:8798:9: note: here 8798 | case fake_void_type: | ^~~~ gencode.c: In function 'generateHandleResult': gencode.c:12392:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 12392 | if (ad->u.ed->fqcname != NULL) | ^ gencode.c:12415:5: note: here 12415 | case byte_type: | ^~~~ gencode.c: In function 'generateVariableGetter': gencode.c:5238:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 5238 | if (vd->type.u.ed->fqcname != NULL) | ^ gencode.c:5261:5: note: here 5261 | case byte_type: | ^~~~ gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.11 -O2 -Wall -W -DNDEBUG -I. -I/opt/local/include -o extracts.o extracts.c gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.11 -O2 -Wall -W -DNDEBUG -I. -I/opt/local/include -o export.o export.c gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.11 -O2 -Wall -W -DNDEBUG -I. -I/opt/local/include -o type_hints.o type_hints.c gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.11 -O2 -Wall -W -DNDEBUG -I. -I/opt/local/include -o heap.o heap.c gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.11 -O2 -Wall -W -DNDEBUG -I. -I/opt/local/include -o parser.o parser.c gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.11 -O2 -Wall -W -DNDEBUG -I. -I/opt/local/include -o lexer.o lexer.c g++ -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/local/lib -lintl -liconv -o sip3.11 main.o transform.o gencode.o extracts.o export.o type_hints.o heap.o parser.o lexer.o -L/opt/local/lib gmake[1]: Leaving directory '/home/pbulk/build/x11/py-sip/work/sip-4.19.25/sipgen' gmake[1]: Entering directory '/home/pbulk/build/x11/py-sip/work/sip-4.19.25/siplib' gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.11 -fPIC -O2 -Wall -W -DNDEBUG -I. -I/opt/local/include -I/opt/local/include/python3.11 -o siplib.o siplib.c siplib.c:205:9: warning: missing initializer for field 'am_send' of 'PyAsyncMethods' [-Wmissing-field-initializers] 205 | }, | ^ In file included from /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/object.h:757, from /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/Python.h:44, from siplib.c:20: /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/cpython/object.h:134:14: note: 'am_send' declared here 134 | sendfunc am_send; | ^~~~~~~ siplib.c:304:5: warning: missing initializer for field '_ht_tpname' of 'PyHeapTypeObject' {aka 'struct _heaptypeobject'} [-Wmissing-field-initializers] 304 | }, | ^ In file included from /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/object.h:757, from /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/Python.h:44, from siplib.c:20: /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/cpython/object.h:256:11: note: '_ht_tpname' declared here 256 | char *_ht_tpname; // Storage for "tp_name"; see PyType_FromModuleAndSpec | ^~~~~~~~~~ siplib.c: In function 'sipSimpleWrapper_getbuffer': siplib.c:11201:45: warning: cast between incompatible function types from 'sipGetBufferFunc' {aka 'int (* const)(struct _object *, void *, Py_buffer *, int)'} to 'int (*)(PyObject *, void *, sipBufferDef *)' {aka 'int (*)(struct _object *, void *, struct _sipBufferDef *)'} [-Wcast-function-type] 11201 | sipGetBufferFuncLimited getbuffer = (sipGetBufferFuncLimited)ctd->ctd_getbuffer; | ^ siplib.c: In function 'sipSimpleWrapper_releasebuffer': siplib.c:11238:53: warning: cast between incompatible function types from 'sipReleaseBufferFunc' {aka 'void (* const)(struct _object *, void *, Py_buffer *)'} to 'void (*)(PyObject *, void *)' {aka 'void (*)(struct _object *, void *)'} [-Wcast-function-type] 11238 | sipReleaseBufferFuncLimited releasebuffer = (sipReleaseBufferFuncLimited)ctd->ctd_releasebuffer; | ^ siplib.c: At top level: siplib.c:11590:9: warning: missing initializer for field 'am_send' of 'PyAsyncMethods' [-Wmissing-field-initializers] 11590 | }, | ^ In file included from /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/object.h:757, from /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/Python.h:44, from siplib.c:20: /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/cpython/object.h:134:14: note: 'am_send' declared here 134 | sendfunc am_send; | ^~~~~~~ siplib.c:11689:5: warning: missing initializer for field '_ht_tpname' of 'PyHeapTypeObject' {aka 'struct _heaptypeobject'} [-Wmissing-field-initializers] 11689 | }, | ^ In file included from /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/object.h:757, from /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/Python.h:44, from siplib.c:20: /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/cpython/object.h:256:11: note: '_ht_tpname' declared here 256 | char *_ht_tpname; // Storage for "tp_name"; see PyType_FromModuleAndSpec | ^~~~~~~~~~ siplib.c: In function 'sip_api_get_frame': siplib.c:13750:22: error: invalid use of undefined type 'struct _frame' 13750 | frame = frame->f_back; | ^~ In file included from /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/bytesobject.h:10, from /home/pbulk/build/x11/py-sip/work/.buildlink/include/python3.11/Python.h:50, from siplib.c:20: siplib.c: In function 'parsePass2': siplib.c:5936:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 5936 | va_arg(va, void *); | ^ siplib.c:5940:9: note: here 5940 | default: | ^~~~~~~ siplib.c: In function 'detail_FromFailure': siplib.c:8120:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 8120 | if (detail) | ^ siplib.c:8128:5: note: here 8128 | default: | ^~~~~~~ gmake[1]: *** [Makefile:29: siplib.o] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/x11/py-sip/work/sip-4.19.25/siplib' gmake: *** [Makefile:4: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/x11/py-sip *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/x11/py-sip