+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/py312-lmdb-1.6.2nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/py312-lmdb-1.6.2nb1/work.log ===> Building for py312-lmdb-1.6.2nb1 * Building wheel... Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h |index ff03c22..3d6f4cc 100644 |--- a/libraries/liblmdb/lmdb.h |+++ b/libraries/liblmdb/lmdb.h -------------------------- Patching file lmdb.h using Plan A... Hunk #1 succeeded at 682. Hunk #2 succeeded at 706. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c |index deb6779..b5d152c 100644 |--- a/libraries/liblmdb/mdb.c |+++ b/libraries/liblmdb/mdb.c -------------------------- Patching file mdb.c using Plan A... Hunk #1 succeeded at 9366. Hunk #2 succeeded at 9417. Hunk #3 succeeded at 9481. Hunk #4 succeeded at 9599. Hunk #5 succeeded at 9625. Hunk #6 succeeded at 9642. done py-lmdb: Using bundled liblmdb with py-lmdb patches; override with LMDB_FORCE_SYSTEM=1 or LMDB_PURE=1. py-lmdb: Using CPython extension; override with LMDB_FORCE_CFFI=1. running bdist_wheel running build running build_py creating build/lib.solaris-2.11-i86pc.64bit-cpython-312/lmdb copying lmdb/__main__.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-312/lmdb copying lmdb/tool.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-312/lmdb copying lmdb/_config.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-312/lmdb copying lmdb/__init__.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-312/lmdb copying lmdb/cffi.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-312/lmdb running build_ext building 'cpython' extension creating build/temp.solaris-2.11-i86pc.64bit-cpython-312/build/lib creating build/temp.solaris-2.11-i86pc.64bit-cpython-312/lmdb gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.12 -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.12 -fPIC -Ilib/py-lmdb -Ibuild/lib -I/opt/pkg/include/python3.12 -c build/lib/mdb.c -o build/temp.solaris-2.11-i86pc.64bit-cpython-312/build/lib/mdb.o -DHAVE_PATCHED_LMDB=1 -UNDEBUG -w gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.12 -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.12 -fPIC -Ilib/py-lmdb -Ibuild/lib -I/opt/pkg/include/python3.12 -c build/lib/midl.c -o build/temp.solaris-2.11-i86pc.64bit-cpython-312/build/lib/midl.o -DHAVE_PATCHED_LMDB=1 -UNDEBUG -w gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.12 -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.12 -fPIC -Ilib/py-lmdb -Ibuild/lib -I/opt/pkg/include/python3.12 -c lmdb/cpython.c -o build/temp.solaris-2.11-i86pc.64bit-cpython-312/lmdb/cpython.o -DHAVE_PATCHED_LMDB=1 -UNDEBUG -w lmdb/cpython.c: In function 'get_fspath': lmdb/cpython.c:429:5: warning: 'Py_FileSystemDefaultEncoding' is deprecated [-Wdeprecated-declarations] 429 | return PyUnicode_AsEncodedString(src, Py_FileSystemDefaultEncoding, | ^~~~~~ In file included from /home/pbulk/build/databases/py-lmdb/work/.buildlink/include/python3.12/Python.h:72, from lmdb/cpython.c:26: /home/pbulk/build/databases/py-lmdb/work/.buildlink/include/python3.12/fileobject.h:22:46: note: declared here 22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ lmdb/cpython.c: In function 'val_from_buffer': lmdb/cpython.c:549:5: warning: 'PyObject_AsReadBuffer' is deprecated [-Wdeprecated-declarations] 549 | return PyObject_AsReadBuffer(buf, | ^~~~~~ In file included from /home/pbulk/build/databases/py-lmdb/work/.buildlink/include/python3.12/Python.h:100: /home/pbulk/build/databases/py-lmdb/work/.buildlink/include/python3.12/abstract.h:369:17: note: declared here 369 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ lmdb/cpython.c: In function 'env_copy': lmdb/cpython.c:1381:18: error: implicit declaration of function 'mdb_env_copy3'; did you mean 'mdb_env_copy2'? [-Wimplicit-function-declaration] 1381 | UNLOCKED(rc, mdb_env_copy3(self->env, fspath_s, flags, txn)); | ^~~~~~~~~~~~~ lmdb/cpython.c:571:12: note: in definition of macro 'UNLOCKED' 571 | out = (e); \ | ^ lmdb/cpython.c: In function 'env_copyfd': lmdb/cpython.c:1464:18: error: implicit declaration of function 'mdb_env_copyfd3'; did you mean 'mdb_env_copyfd2'? [-Wimplicit-function-declaration] 1464 | UNLOCKED(rc, mdb_env_copyfd3(self->env, HANDLE_ARG, flags, txn)); | ^~~~~~~~~~~~~~~ lmdb/cpython.c:571:12: note: in definition of macro 'UNLOCKED' 571 | out = (e); \ | ^ error: command '/home/pbulk/build/databases/py-lmdb/work/.cwrapper/bin/gcc' failed with exit code 1 ERROR Backend subprocess exited when trying to invoke build_wheel *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/py-lmdb *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/py-lmdb