+ 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=313 WRKLOG=/tmp/bulklog/py313-jsonlib-1.6.1nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=313 WRKLOG=/tmp/bulklog/py313-jsonlib-1.6.1nb1/work.log WARNING: lang/python/egg.mk is deprecated; use lang/python/wheel.mk instead. ===> Building for py313-jsonlib-1.6.1nb1 (cd /home/pbulk/build/textproc/py-jsonlib3/work/jsonlib-python3-1.6.1/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PYTHON=/opt/pkg/bin/python3.13 CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/usr/include\ -I/opt/pkg/include/python3.13\ -I/opt/pkg/include CPPFLAGS=-I/usr/include\ -I/opt/pkg/include/python3.13\ -I/opt/pkg/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/usr/include\ -I/opt/pkg/include/python3.13\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -Wl,-R/opt/pkg/lib\ -lintl\ -liconv\ -L/opt/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/textproc/py-jsonlib3/work/.cwrapper/bin:/home/pbulk/build/textproc/py-jsonlib3/work/.buildlink/bin:/home/pbulk/build/textproc/py-jsonlib3/work/.gcc/bin:/home/pbulk/build/textproc/py-jsonlib3/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/etc/opt/pkg CXXCPP=cpp HOME=/home/pbulk/build/textproc/py-jsonlib3/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/textproc/py-jsonlib3/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/textproc/py-jsonlib3/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/textproc/py-jsonlib3/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/textproc/py-jsonlib3/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/textproc/py-jsonlib3/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/textproc/py-jsonlib3/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/textproc/py-jsonlib3/work/.buildlink/lib/pkgconfig:/home/pbulk/build/textproc/py-jsonlib3/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/textproc/py-jsonlib3/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/textproc/py-jsonlib3/work/.cwrapper/config /opt/pkg/bin/python3.13 setup.py build -j4) /opt/pkg/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU General Public License (GPL) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() _jsonlib.c:38:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 38 | Py_UNICODE *start, *end, *index; | ^~~~~~~~~~ _jsonlib.c:38:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:38:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:42:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 42 | Py_UNICODE *stringparse_buffer; | ^~~~~~~~~~ _jsonlib.c:65:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 65 | parse_string_full (Parser *, Py_UNICODE *, size_t); | ^~~~~~~~~~~~~~~~~ _jsonlib.c:68:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 68 | parse_unicode_escape (Parser *, Py_UNICODE *, Py_UNICODE *, | ^~~~~~~~~~~~~~~~~~~~ _jsonlib.c:68:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:78:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 78 | skip_whitespace (Parser *, Py_UNICODE *, const char *); | ^~~~~~~~~~~~~~~ _jsonlib.c:81:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 81 | skip_char (Parser *, Py_UNICODE, const char *); | ^~~~~~~~~ _jsonlib.c:90:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 90 | parser_raise_unterminated_string (Parser *, Py_UNICODE *); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c: In function 'jsonlib_read': _jsonlib.c:105:24: error: implicit declaration of function 'PyUnicode_AsUnicode'; did you mean 'PyUnicode_Decode'? [-Wimplicit-function-declaration] 105 | parser.start = PyUnicode_AsUnicode (text); | ^~~~~~~~~~~~~~~~~~~ | PyUnicode_Decode _jsonlib.c:105:22: error: assignment to 'Py_UNICODE *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 105 | parser.start = PyUnicode_AsUnicode (text); | ^ _jsonlib.c:106:37: error: implicit declaration of function 'PyUnicode_GetSize'; did you mean 'PyUnicode_Resize'? [-Wimplicit-function-declaration] 106 | parser.end = parser.start + PyUnicode_GetSize (text); | ^~~~~~~~~~~~~~~~~ | PyUnicode_Resize _jsonlib.c: In function 'parse_raw': _jsonlib.c:128:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 128 | Py_UNICODE c; | ^~~~~~~~~~ _jsonlib.c: In function 'parse_object': _jsonlib.c:181:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 181 | Py_UNICODE *start = parser->index; | ^~~~~~~~~~ _jsonlib.c: In function 'parse_array': _jsonlib.c:255:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 255 | Py_UNICODE *start = parser->index; | ^~~~~~~~~~ _jsonlib.c: In function 'parse_string': _jsonlib.c:309:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 309 | Py_UNICODE c, *start, *end = parser->end; | ^~~~~~~~~~ _jsonlib.c:309:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:309:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:318:24: error: implicit declaration of function 'PyUnicode_FromUnicode'; did you mean 'PyUnicode_FSDecoder'? [-Wimplicit-function-declaration] 318 | return PyUnicode_FromUnicode (NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~ | PyUnicode_FSDecoder _jsonlib.c:318:24: error: returning 'int' from a function with return type 'PyObject *' {aka 'struct _object *'} makes pointer from integer without a cast [-Wint-conversion] 318 | return PyUnicode_FromUnicode (NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c:356:22: error: assignment to 'PyObject *' {aka 'struct _object *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 356 | if ((unicode = PyUnicode_FromUnicode (start + 1, ii - 1))) | ^ _jsonlib.c: At top level: _jsonlib.c:363:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 363 | parse_string_full (Parser *parser, Py_UNICODE *start, size_t max_char_count) | ^~~~~~~~~~~~~~~~~ _jsonlib.c: In function 'parse_string_full': _jsonlib.c:367:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 367 | Py_UNICODE c, *buffer; | ^~~~~~~~~~ _jsonlib.c:367:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:375:17: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 375 | Py_UNICODE *new_buffer; | ^~~~~~~~~~ _jsonlib.c:378:17: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 378 | new_buffer = PyMem_Resize (buffer, Py_UNICODE, new_size); | ^~~~~~~~~~ _jsonlib.c:378:17: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:378:17: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:404:41: error: assignment to 'PyObject *' {aka 'struct _object *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 404 | unicode = PyUnicode_FromUnicode (buffer, buffer_idx); | ^ _jsonlib.c: At top level: _jsonlib.c:454:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 454 | read_4hex (Py_UNICODE *start, Py_UNICODE *retval_ptr) | ^~~~~~~~~ _jsonlib.c:454:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c: In function 'read_4hex': _jsonlib.c:458:19: error: implicit declaration of function 'PyLong_FromUnicode'; did you mean 'PyLong_FromPid'? [-Wimplicit-function-declaration] 458 | py_long = PyLong_FromUnicode (start, 4, 16); | ^~~~~~~~~~~~~~~~~~ | PyLong_FromPid _jsonlib.c:458:17: error: assignment to 'PyObject *' {aka 'struct _object *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 458 | py_long = PyLong_FromUnicode (start, 4, 16); | ^ _jsonlib.c:461:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 461 | (*retval_ptr) = (Py_UNICODE) (PyLong_AsUnsignedLong (py_long)); | ^ _jsonlib.c: At top level: _jsonlib.c:467:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 467 | parse_unicode_escape (Parser *parser, Py_UNICODE *string_start, Py_UNICODE *buffer, | ^~~~~~~~~~~~~~~~~~~~ _jsonlib.c:467:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c: In function 'parse_unicode_escape': _jsonlib.c:472:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 472 | Py_UNICODE value; | ^~~~~~~~~~ _jsonlib.c:494:17: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 494 | Py_UNICODE upper = value, lower; | ^~~~~~~~~~ _jsonlib.c:494:17: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c: In function 'keyword_compare': _jsonlib.c:556:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 556 | Py_UNICODE *index = parser->index; | ^~~~~~~~~~ _jsonlib.c: In function 'parse_number': _jsonlib.c:591:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 591 | Py_UNICODE *ptr; | ^~~~~~~~~~ _jsonlib.c:646:35: error: assignment to 'PyObject *' {aka 'struct _object *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 646 | if (!(str = PyUnicode_FromUnicode (parser->index, | ^ _jsonlib.c:663:32: error: assignment to 'PyObject *' {aka 'struct _object *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 663 | object = PyLong_FromUnicode (parser->index, | ^ _jsonlib.c: At top level: _jsonlib.c:676:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 676 | skip_whitespace (Parser *parser, Py_UNICODE *start, const char *message) | ^~~~~~~~~~~~~~~ _jsonlib.c: In function 'skip_whitespace': _jsonlib.c:678:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 678 | Py_UNICODE *index = parser->index, *end = parser->end; | ^~~~~~~~~~ _jsonlib.c:678:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c: At top level: _jsonlib.c:714:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 714 | skip_char (Parser *parser, Py_UNICODE c, const char *message) | ^~~~~~~~~ _jsonlib.c:741:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 741 | parser_raise_unterminated_string (Parser *parser, Py_UNICODE *start) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c:763:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 763 | Py_UNICODE *buffer; | ^~~~~~~~~~ _jsonlib.c:786:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 786 | Py_UNICODE *buffer; | ^~~~~~~~~~ _jsonlib.c:860:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 860 | serializer_raise_reserved_cp (Serializer *, Py_UNICODE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c: In function 'serializer_run': _jsonlib.c:971:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 971 | Py_UNICODE fixed_buffer[FIXED_BUFFER_SIZE]; | ^~~~~~~~~~ _jsonlib.c: At top level: _jsonlib.c:1383:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1383 | serializer_validate_string (Serializer *s, Py_UNICODE *chars, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c: In function 'serialize_string': _jsonlib.c:1415:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1415 | Py_UNICODE *chars, c; | ^~~~~~~~~~ _jsonlib.c:1415:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:1422:17: error: implicit declaration of function 'PyUnicode_AS_UNICODE'; did you mean 'PyUnicode_AsUCS4'? [-Wimplicit-function-declaration] 1422 | chars = PyUnicode_AS_UNICODE (value); | ^~~~~~~~~~~~~~~~~~~~ | PyUnicode_AsUCS4 _jsonlib.c:1422:15: error: assignment to 'Py_UNICODE *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1422 | chars = PyUnicode_AS_UNICODE (value); | ^ _jsonlib.c:1423:22: error: implicit declaration of function 'PyUnicode_GET_SIZE'; did you mean 'PyDict_GET_SIZE'? [-Wimplicit-function-declaration] 1423 | char_count = PyUnicode_GET_SIZE (value); | ^~~~~~~~~~~~~~~~~~ | PyDict_GET_SIZE _jsonlib.c: At top level: _jsonlib.c:1579:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1579 | escape_unichar (Py_UNICODE c, Py_UNICODE *p) | ^~~~~~~~~~~~~~ _jsonlib.c:1579:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:1580:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1580 | { | ^ _jsonlib.c: In function 'escape_unichar': _jsonlib.c:1598:17: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1598 | Py_UNICODE reduced, upper, lower; | ^~~~~~~~~~ _jsonlib.c:1598:17: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:1598:17: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c: In function 'escape_string_ascii': _jsonlib.c:1634:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1634 | Py_UNICODE *old_buffer, *p, c; | ^~~~~~~~~~ _jsonlib.c:1634:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:1634:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:1637:20: error: assignment to 'Py_UNICODE *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1637 | old_buffer = PyUnicode_AS_UNICODE (value); | ^ _jsonlib.c:1686:22: error: assignment to 'PyObject *' {aka 'struct _object *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1686 | if (!(retval = PyUnicode_FromUnicode (NULL, new_buffer_size))) | ^ _jsonlib.c:1690:11: error: assignment to 'Py_UNICODE *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1690 | p = PyUnicode_AS_UNICODE (retval); | ^ _jsonlib.c: In function 'escape_string_unicode': _jsonlib.c:1714:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1714 | Py_UNICODE *old_buffer, *p, c; | ^~~~~~~~~~ _jsonlib.c:1714:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:1714:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] _jsonlib.c:1717:20: error: assignment to 'Py_UNICODE *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1717 | old_buffer = PyUnicode_AS_UNICODE (value); | ^ _jsonlib.c:1756:22: error: assignment to 'PyObject *' {aka 'struct _object *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1756 | if (!(retval = PyUnicode_FromUnicode (NULL, new_buffer_size))) | ^ _jsonlib.c:1760:11: error: assignment to 'Py_UNICODE *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1760 | p = PyUnicode_AS_UNICODE (retval); | ^ _jsonlib.c: At top level: _jsonlib.c:1892:1: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1892 | serializer_raise_reserved_cp (Serializer *s, Py_UNICODE c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c: In function 'serializer_append_unicode': _jsonlib.c:1919:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1919 | Py_UNICODE *text = PyUnicode_AS_UNICODE (obj); | ^~~~~~~~~~ _jsonlib.c:1919:28: error: initialization of 'Py_UNICODE *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1919 | Py_UNICODE *text = PyUnicode_AS_UNICODE (obj); | ^~~~~~~~~~~~~~~~~~~~ _jsonlib.c: In function 'buffer_serializer_flush': _jsonlib.c:1962:17: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1962 | base->buffer_size * sizeof (Py_UNICODE)); | ^~~~ _jsonlib.c: In function 'alloc_buffer_list': _jsonlib.c:1977:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1977 | lst->buffer = PyMem_Malloc (sizeof (Py_UNICODE) * FIXED_BUFFER_SIZE); | ^~~ _jsonlib.c: In function 'buffer_serializer_merge': _jsonlib.c:1989:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1989 | Py_UNICODE *raw_merged; | ^~~~~~~~~~ _jsonlib.c:1999:9: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 1999 | if (!(raw_merged = PyMem_Malloc (sizeof (Py_UNICODE) * total))) | ^~ _jsonlib.c:2006:25: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations] 2006 | lst->buffer_size * sizeof (Py_UNICODE)); | ^~~ _jsonlib.c:2013:26: error: implicit declaration of function 'PyUnicode_Encode'; did you mean 'PyUnicode_Decode'? [-Wimplicit-function-declaration] 2013 | merged = PyUnicode_Encode (raw_merged, total, s->encoding, | ^~~~~~~~~~~~~~~~ | PyUnicode_Decode _jsonlib.c:2013:24: error: assignment to 'PyObject *' {aka 'struct _object *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 2013 | merged = PyUnicode_Encode (raw_merged, total, s->encoding, | ^ _jsonlib.c:2019:24: error: assignment to 'PyObject *' {aka 'struct _object *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 2019 | merged = PyUnicode_FromUnicode (raw_merged, total); | ^ _jsonlib.c: In function 'stream_serializer_flush': _jsonlib.c:2047:21: error: assignment to 'PyObject *' {aka 'struct _object *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 2047 | obj = PyUnicode_Encode (base->buffer, base->buffer_size, | ^ _jsonlib.c:2053:21: error: assignment to 'PyObject *' {aka 'struct _object *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 2053 | obj = PyUnicode_FromUnicode(base->buffer, base->buffer_size); | ^ error: command '/home/pbulk/build/textproc/py-jsonlib3/work/.cwrapper/bin/gcc' failed with exit code 1 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/py-jsonlib3 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/py-jsonlib3