2025-09-07T20:32:22,353 Created temporary directory: /tmp/pip-build-tracker-v1otsxyk 2025-09-07T20:32:22,354 Initialized build tracking at /tmp/pip-build-tracker-v1otsxyk 2025-09-07T20:32:22,354 Created build tracker: /tmp/pip-build-tracker-v1otsxyk 2025-09-07T20:32:22,354 Entered build tracker: /tmp/pip-build-tracker-v1otsxyk 2025-09-07T20:32:22,355 Created temporary directory: /tmp/pip-wheel-0gb6ubjb 2025-09-07T20:32:22,358 Created temporary directory: /tmp/pip-ephem-wheel-cache-yzrmurh8 2025-09-07T20:32:22,416 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-07T20:32:22,418 2 location(s) to search for versions of jsonlib2: 2025-09-07T20:32:22,418 * https://pypi.org/simple/jsonlib2/ 2025-09-07T20:32:22,418 * https://www.piwheels.org/simple/jsonlib2/ 2025-09-07T20:32:22,419 Fetching project page and analyzing links: https://pypi.org/simple/jsonlib2/ 2025-09-07T20:32:22,419 Getting page https://pypi.org/simple/jsonlib2/ 2025-09-07T20:32:22,420 Found index url https://pypi.org/simple/ 2025-09-07T20:32:22,491 Fetched page https://pypi.org/simple/jsonlib2/ as application/vnd.pypi.simple.v1+json 2025-09-07T20:32:22,492 Found link https://files.pythonhosted.org/packages/7a/5e/ebb4bdee2d0839c711ffbf00c7fc3fbd3e8af3a83f651ad3816616b72118/jsonlib2-1.5.1.tar.gz (from https://pypi.org/simple/jsonlib2/), version: 1.5.1 2025-09-07T20:32:22,492 Found link https://files.pythonhosted.org/packages/0e/1d/745b4e69ca0710215f7291ebbdfcdc95896dec7e196312b29d5a7c606038/jsonlib2-1.5.2.tar.gz (from https://pypi.org/simple/jsonlib2/), version: 1.5.2 2025-09-07T20:32:22,493 Fetching project page and analyzing links: https://www.piwheels.org/simple/jsonlib2/ 2025-09-07T20:32:22,493 Getting page https://www.piwheels.org/simple/jsonlib2/ 2025-09-07T20:32:22,494 Found index url https://www.piwheels.org/simple/ 2025-09-07T20:32:22,586 Fetched page https://www.piwheels.org/simple/jsonlib2/ as text/html 2025-09-07T20:32:22,586 Skipping link: not a file: https://www.piwheels.org/simple/jsonlib2/ 2025-09-07T20:32:22,586 Skipping link: not a file: https://pypi.org/simple/jsonlib2/ 2025-09-07T20:32:22,609 Given no hashes to check 1 links for project 'jsonlib2': discarding no candidates 2025-09-07T20:32:22,610 Collecting jsonlib2==1.5.2 2025-09-07T20:32:22,611 Created temporary directory: /tmp/pip-unpack-gmebxp4d 2025-09-07T20:32:22,752 Downloading jsonlib2-1.5.2.tar.gz (31 kB) 2025-09-07T20:32:22,788 Added jsonlib2==1.5.2 from https://files.pythonhosted.org/packages/0e/1d/745b4e69ca0710215f7291ebbdfcdc95896dec7e196312b29d5a7c606038/jsonlib2-1.5.2.tar.gz to build tracker '/tmp/pip-build-tracker-v1otsxyk' 2025-09-07T20:32:22,789 Running setup.py (path:/tmp/pip-wheel-0gb6ubjb/jsonlib2_1c76a4977b794d5daf185f7ae9c8e0ca/setup.py) egg_info for package jsonlib2 2025-09-07T20:32:22,789 Created temporary directory: /tmp/pip-pip-egg-info-etkkpzsw 2025-09-07T20:32:22,789 Preparing metadata (setup.py): started 2025-09-07T20:32:22,790 Running command python setup.py egg_info 2025-09-07T20:32:23,466 /usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite' 2025-09-07T20:32:23,466 warnings.warn(msg) 2025-09-07T20:32:23,860 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-09-07T20:32:23,860 !! 2025-09-07T20:32:23,861 ******************************************************************************** 2025-09-07T20:32:23,861 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-09-07T20:32:23,861 License :: OSI Approved :: MIT License 2025-09-07T20:32:23,861 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-09-07T20:32:23,861 ******************************************************************************** 2025-09-07T20:32:23,861 !! 2025-09-07T20:32:23,861 self._finalize_license_expression() 2025-09-07T20:32:23,934 running egg_info 2025-09-07T20:32:24,007 creating /tmp/pip-pip-egg-info-etkkpzsw/jsonlib2.egg-info 2025-09-07T20:32:24,008 writing /tmp/pip-pip-egg-info-etkkpzsw/jsonlib2.egg-info/PKG-INFO 2025-09-07T20:32:24,009 writing dependency_links to /tmp/pip-pip-egg-info-etkkpzsw/jsonlib2.egg-info/dependency_links.txt 2025-09-07T20:32:24,010 writing top-level names to /tmp/pip-pip-egg-info-etkkpzsw/jsonlib2.egg-info/top_level.txt 2025-09-07T20:32:24,010 writing manifest file '/tmp/pip-pip-egg-info-etkkpzsw/jsonlib2.egg-info/SOURCES.txt' 2025-09-07T20:32:24,227 reading manifest file '/tmp/pip-pip-egg-info-etkkpzsw/jsonlib2.egg-info/SOURCES.txt' 2025-09-07T20:32:24,228 reading manifest template 'MANIFEST.in' 2025-09-07T20:32:24,228 adding license file 'LICENSE.txt' 2025-09-07T20:32:24,230 writing manifest file '/tmp/pip-pip-egg-info-etkkpzsw/jsonlib2.egg-info/SOURCES.txt' 2025-09-07T20:32:24,343 Preparing metadata (setup.py): finished with status 'done' 2025-09-07T20:32:24,348 Source in /tmp/pip-wheel-0gb6ubjb/jsonlib2_1c76a4977b794d5daf185f7ae9c8e0ca has version 1.5.2, which satisfies requirement jsonlib2==1.5.2 from https://files.pythonhosted.org/packages/0e/1d/745b4e69ca0710215f7291ebbdfcdc95896dec7e196312b29d5a7c606038/jsonlib2-1.5.2.tar.gz 2025-09-07T20:32:24,348 Removed jsonlib2==1.5.2 from https://files.pythonhosted.org/packages/0e/1d/745b4e69ca0710215f7291ebbdfcdc95896dec7e196312b29d5a7c606038/jsonlib2-1.5.2.tar.gz from build tracker '/tmp/pip-build-tracker-v1otsxyk' 2025-09-07T20:32:24,353 Created temporary directory: /tmp/pip-unpack-hdhbxsud 2025-09-07T20:32:24,354 Created temporary directory: /tmp/pip-unpack-q0zhmedu 2025-09-07T20:32:24,354 Building wheels for collected packages: jsonlib2 2025-09-07T20:32:24,355 Created temporary directory: /tmp/pip-wheel-o14dhikl 2025-09-07T20:32:24,355 DEPRECATION: Building 'jsonlib2' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'jsonlib2'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-09-07T20:32:24,356 Building wheel for jsonlib2 (setup.py): started 2025-09-07T20:32:24,357 Destination directory: /tmp/pip-wheel-o14dhikl 2025-09-07T20:32:24,357 Running command python setup.py bdist_wheel 2025-09-07T20:32:25,037 /usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite' 2025-09-07T20:32:25,037 warnings.warn(msg) 2025-09-07T20:32:25,430 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-09-07T20:32:25,430 !! 2025-09-07T20:32:25,430 ******************************************************************************** 2025-09-07T20:32:25,431 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-09-07T20:32:25,431 License :: OSI Approved :: MIT License 2025-09-07T20:32:25,431 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-09-07T20:32:25,431 ******************************************************************************** 2025-09-07T20:32:25,431 !! 2025-09-07T20:32:25,431 self._finalize_license_expression() 2025-09-07T20:32:25,432 running bdist_wheel 2025-09-07T20:32:25,806 running build 2025-09-07T20:32:25,806 running build_ext 2025-09-07T20:32:26,169 building 'jsonlib2' extension 2025-09-07T20:32:26,170 creating build/temp.linux-armv7l-cpython-313 2025-09-07T20:32:26,170 arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.13 -c jsonlib2.c -o build/temp.linux-armv7l-cpython-313/jsonlib2.o 2025-09-07T20:32:26,520 jsonlib2.c:61:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,520 61 | Py_UNICODE *start; 2025-09-07T20:32:26,521 | ^~~~~~~~~~ 2025-09-07T20:32:26,521 jsonlib2.c:62:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,521 62 | Py_UNICODE *end; 2025-09-07T20:32:26,521 | ^~~~~~~~~~ 2025-09-07T20:32:26,521 jsonlib2.c:63:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,521 63 | Py_UNICODE *index; 2025-09-07T20:32:26,521 | ^~~~~~~~~~ 2025-09-07T20:32:26,521 jsonlib2.c:65:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,521 65 | Py_UNICODE *stringparse_buffer; 2025-09-07T20:32:26,522 | ^~~~~~~~~~ 2025-09-07T20:32:26,522 jsonlib2.c:140:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,522 140 | Py_UNICODE *buffer; 2025-09-07T20:32:26,522 | ^~~~~~~~~~ 2025-09-07T20:32:26,535 jsonlib2.c: In function ‘jsonlib_str_format’: 2025-09-07T20:32:26,535 jsonlib2.c:233:26: error: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,535 233 | if (!(template = PyString_FromString (c_tmpl))) return NULL; 2025-09-07T20:32:26,535 | ^~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,536 | PyLong_FromString 2025-09-07T20:32:26,536 jsonlib2.c:233:24: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,536 233 | if (!(template = PyString_FromString (c_tmpl))) return NULL; 2025-09-07T20:32:26,536 | ^ 2025-09-07T20:32:26,549 jsonlib2.c:234:18: error: implicit declaration of function ‘PyString_Format’; did you mean ‘PyErr_Format’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,550 234 | retval = PyString_Format (template, args); 2025-09-07T20:32:26,550 | ^~~~~~~~~~~~~~~ 2025-09-07T20:32:26,550 | PyErr_Format 2025-09-07T20:32:26,550 jsonlib2.c:234:16: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,550 234 | retval = PyString_Format (template, args); 2025-09-07T20:32:26,550 | ^ 2025-09-07T20:32:26,557 jsonlib2.c: In function ‘normalize_indent_string’: 2025-09-07T20:32:26,557 jsonlib2.c:249:9: error: implicit declaration of function ‘PyInt_Check’; did you mean ‘PySet_Check’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,557 249 | if (PyInt_Check(indent_string)) { 2025-09-07T20:32:26,557 | ^~~~~~~~~~~ 2025-09-07T20:32:26,557 | PySet_Check 2025-09-07T20:32:26,566 jsonlib2.c:250:27: error: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,566 250 | long indent_val = PyInt_AsLong(indent_string); 2025-09-07T20:32:26,566 | ^~~~~~~~~~~~ 2025-09-07T20:32:26,567 | PyLong_AsLong 2025-09-07T20:32:26,567 jsonlib2.c: In function ‘skip_spaces’: 2025-09-07T20:32:26,567 jsonlib2.c:276:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,567 276 | Py_UNICODE c; 2025-09-07T20:32:26,567 | ^~~~~~~~~~ 2025-09-07T20:32:26,567 jsonlib2.c: In function ‘parser_find_next_value’: 2025-09-07T20:32:26,567 jsonlib2.c:294:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,567 294 | Py_UNICODE *c = decoder->index; 2025-09-07T20:32:26,567 | ^~~~~~~~~~ 2025-09-07T20:32:26,568 jsonlib2.c:329:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2025-09-07T20:32:26,569 329 | if (c[1] == 'a' && c[2] == 'N') 2025-09-07T20:32:26,569 | ^~ 2025-09-07T20:32:26,569 jsonlib2.c:332:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2025-09-07T20:32:26,569 332 | default: 2025-09-07T20:32:26,569 | ^~~~~~~ 2025-09-07T20:32:26,569 jsonlib2.c: At top level: 2025-09-07T20:32:26,569 jsonlib2.c:338:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,569 338 | next_ucs4 (Py_UNICODE *index) 2025-09-07T20:32:26,569 | ^~~~~~~~~ 2025-09-07T20:32:26,569 jsonlib2.c:356:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,569 356 | count_row_column (Py_UNICODE *start, Py_UNICODE *pos, unsigned long *offset, 2025-09-07T20:32:26,570 | ^~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,570 jsonlib2.c:356:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,570 jsonlib2.c: In function ‘count_row_column’: 2025-09-07T20:32:26,570 jsonlib2.c:359:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,570 359 | Py_UNICODE *ptr; 2025-09-07T20:32:26,570 | ^~~~~~~~~~ 2025-09-07T20:32:26,570 jsonlib2.c: At top level: 2025-09-07T20:32:26,570 jsonlib2.c:383:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,570 383 | set_error (Decoder *decoder, Py_UNICODE *position, PyObject *description, 2025-09-07T20:32:26,570 | ^~~~~~~~~ 2025-09-07T20:32:26,571 jsonlib2.c: In function ‘set_error’: 2025-09-07T20:32:26,571 jsonlib2.c:396:26: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,571 396 | new_desc = PyString_Format (description, description_args); 2025-09-07T20:32:26,571 | ^ 2025-09-07T20:32:26,571 jsonlib2.c:405:22: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,571 405 | err_str_tmpl = PyString_FromString (tmpl); 2025-09-07T20:32:26,572 | ^ 2025-09-07T20:32:26,572 jsonlib2.c:412:33: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,572 412 | err_str = PyString_Format (err_str_tmpl, err_format_args); 2025-09-07T20:32:26,572 | ^ 2025-09-07T20:32:26,572 jsonlib2.c: At top level: 2025-09-07T20:32:26,572 jsonlib2.c:426:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,572 426 | set_error_simple (Decoder *decoder, Py_UNICODE *position, 2025-09-07T20:32:26,572 | ^~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,573 jsonlib2.c: In function ‘set_error_simple’: 2025-09-07T20:32:26,573 jsonlib2.c:430:18: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,573 430 | desc_obj = PyString_FromString (description); 2025-09-07T20:32:26,573 | ^ 2025-09-07T20:32:26,573 jsonlib2.c: At top level: 2025-09-07T20:32:26,573 jsonlib2.c:439:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,573 439 | set_error_unexpected (Decoder *decoder, Py_UNICODE *position, 2025-09-07T20:32:26,573 | ^~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,573 jsonlib2.c: In function ‘set_error_unexpected’: 2025-09-07T20:32:26,574 jsonlib2.c:448:33: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,574 448 | err_str = PyString_FromString ("Unexpected U+%08X while looking for %s."); 2025-09-07T20:32:26,574 | ^ 2025-09-07T20:32:26,574 jsonlib2.c:450:33: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,574 450 | err_str = PyString_FromString ("Unexpected U+%04X while looking for %s."); 2025-09-07T20:32:26,574 | ^ 2025-09-07T20:32:26,574 jsonlib2.c:452:33: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,575 452 | err_str = PyString_FromString ("Unexpected U+%04X (%c) while looking for %s."); 2025-09-07T20:32:26,575 | ^ 2025-09-07T20:32:26,575 jsonlib2.c:457:33: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,575 457 | err_str = PyString_FromString ("Unexpected U+%08X."); 2025-09-07T20:32:26,575 | ^ 2025-09-07T20:32:26,575 jsonlib2.c:459:21: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,575 459 | err_str = PyString_FromString("Unexpected U+%04X."); 2025-09-07T20:32:26,575 | ^ 2025-09-07T20:32:26,576 jsonlib2.c:461:33: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,576 461 | err_str = PyString_FromString ("Unexpected U+%04X (%c)."); 2025-09-07T20:32:26,576 | ^ 2025-09-07T20:32:26,592 jsonlib2.c: In function ‘keyword_compare’: 2025-09-07T20:32:26,592 jsonlib2.c:502:17: error: implicit declaration of function ‘PyUnicode_FromUnicode’; did you mean ‘unicode_to_unicode’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,592 502 | PyUnicode_FromUnicode(decoder->index, len); 2025-09-07T20:32:26,592 | ^~~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,592 | unicode_to_unicode 2025-09-07T20:32:26,592 jsonlib2.c:502:17: error: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,593 jsonlib2.c: At top level: 2025-09-07T20:32:26,593 jsonlib2.c:529:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,593 529 | read_4hex (Py_UNICODE *start, Py_UNICODE *retval_ptr) 2025-09-07T20:32:26,593 | ^~~~~~~~~ 2025-09-07T20:32:26,593 jsonlib2.c:529:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,608 jsonlib2.c: In function ‘read_4hex’: 2025-09-07T20:32:26,609 jsonlib2.c:533:19: error: implicit declaration of function ‘PyLong_FromUnicode’; did you mean ‘PyLong_FromPid’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,609 533 | py_long = PyLong_FromUnicode (start, 4, 16); 2025-09-07T20:32:26,609 | ^~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,609 | PyLong_FromPid 2025-09-07T20:32:26,609 jsonlib2.c:533:17: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,609 533 | py_long = PyLong_FromUnicode (start, 4, 16); 2025-09-07T20:32:26,609 | ^ 2025-09-07T20:32:26,610 jsonlib2.c:536:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,610 536 | (*retval_ptr) = (Py_UNICODE) (PyLong_AsUnsignedLong (py_long)); 2025-09-07T20:32:26,610 | ^ 2025-09-07T20:32:26,610 jsonlib2.c: At top level: 2025-09-07T20:32:26,610 jsonlib2.c:542:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,610 542 | read_unicode_escape (Decoder *decoder, Py_UNICODE *string_start, 2025-09-07T20:32:26,610 | ^~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,611 jsonlib2.c:543:22: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,611 543 | Py_UNICODE *buffer, size_t *buffer_idx, 2025-09-07T20:32:26,611 | ^~~~~~~~~~ 2025-09-07T20:32:26,611 jsonlib2.c: In function ‘read_unicode_escape’: 2025-09-07T20:32:26,611 jsonlib2.c:547:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,611 547 | Py_UNICODE value; 2025-09-07T20:32:26,611 | ^~~~~~~~~~ 2025-09-07T20:32:26,612 jsonlib2.c:568:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,612 568 | Py_UNICODE upper = value, lower; 2025-09-07T20:32:26,612 | ^~~~~~~~~~ 2025-09-07T20:32:26,612 jsonlib2.c:568:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,613 jsonlib2.c:607:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,613 607 | Py_UNICODE *position = decoder->index + (*index_ptr) - 5; 2025-09-07T20:32:26,613 | ^~~~~~~~~~ 2025-09-07T20:32:26,614 jsonlib2.c:609:25: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,614 609 | err_str = PyString_FromString ("U+%04X is a reserved code point."); 2025-09-07T20:32:26,614 | ^ 2025-09-07T20:32:26,614 jsonlib2.c: At top level: 2025-09-07T20:32:26,615 jsonlib2.c:631:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,615 631 | read_string_full (Decoder *decoder, Py_UNICODE *start, size_t max_char_count) 2025-09-07T20:32:26,615 | ^~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,615 jsonlib2.c: In function ‘read_string_full’: 2025-09-07T20:32:26,615 jsonlib2.c:635:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,615 635 | Py_UNICODE c, *buffer; 2025-09-07T20:32:26,615 | ^~~~~~~~~~ 2025-09-07T20:32:26,616 jsonlib2.c:635:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,616 jsonlib2.c:645:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,616 645 | decoder->stringparse_buffer = PyMem_Resize (buffer, Py_UNICODE, new_size); 2025-09-07T20:32:26,616 | ^~~~~~~ 2025-09-07T20:32:26,616 jsonlib2.c:645:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,616 jsonlib2.c:645:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,617 jsonlib2.c:642:34: warning: variable ‘existing_size’ set but not used [-Wunused-but-set-variable] 2025-09-07T20:32:26,617 642 | size_t new_size, existing_size; 2025-09-07T20:32:26,617 | ^~~~~~~~~~~~~ 2025-09-07T20:32:26,618 jsonlib2.c:696:45: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,618 696 | err = PyString_FromString ("Unknown escape code: \\%s."); 2025-09-07T20:32:26,618 | ^ 2025-09-07T20:32:26,619 jsonlib2.c:724:17: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,619 724 | unicode = PyUnicode_FromUnicode (buffer, buffer_idx); 2025-09-07T20:32:26,619 | ^ 2025-09-07T20:32:26,619 jsonlib2.c: In function ‘read_string’: 2025-09-07T20:32:26,620 jsonlib2.c:739:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,620 739 | Py_UNICODE c, *start; 2025-09-07T20:32:26,620 | ^~~~~~~~~~ 2025-09-07T20:32:26,620 jsonlib2.c:739:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,621 jsonlib2.c:749:24: error: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,621 749 | return PyUnicode_FromUnicode (NULL, 0); 2025-09-07T20:32:26,621 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,622 jsonlib2.c:796:17: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,622 796 | unicode = PyUnicode_FromUnicode (start, ii); 2025-09-07T20:32:26,622 | ^ 2025-09-07T20:32:26,622 jsonlib2.c: In function ‘read_number’: 2025-09-07T20:32:26,622 jsonlib2.c:810:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,623 810 | Py_UNICODE *ptr, c; 2025-09-07T20:32:26,623 | ^~~~~~~~~~ 2025-09-07T20:32:26,623 jsonlib2.c:810:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,624 jsonlib2.c:872:39: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,624 872 | if (!(unicode = PyUnicode_FromUnicode (decoder->index, 2025-09-07T20:32:26,624 | ^ 2025-09-07T20:32:26,625 jsonlib2.c:881:26: error: too many arguments to function ‘PyFloat_FromString’ 2025-09-07T20:32:26,625 881 | object = PyFloat_FromString (unicode, NULL); 2025-09-07T20:32:26,625 | ^~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,625 In file included from /usr/include/python3.13/Python.h:84, 2025-09-07T20:32:26,625 from jsonlib2.c:10: 2025-09-07T20:32:26,626 /usr/include/python3.13/floatobject.h:36:23: note: declared here 2025-09-07T20:32:26,626 36 | PyAPI_FUNC(PyObject*) PyFloat_FromString(PyObject*); 2025-09-07T20:32:26,626 | ^~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,626 jsonlib2.c:890:31: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,626 890 | if (!(unicode = PyUnicode_FromUnicode (decoder->index, 2025-09-07T20:32:26,626 | ^ 2025-09-07T20:32:26,627 jsonlib2.c:902:24: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,627 902 | object = PyLong_FromUnicode (decoder->index, 2025-09-07T20:32:26,628 | ^ 2025-09-07T20:32:26,628 jsonlib2.c: In function ‘read_array_impl’: 2025-09-07T20:32:26,628 jsonlib2.c:921:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,628 921 | Py_UNICODE *start, c; 2025-09-07T20:32:26,628 | ^~~~~~~~~~ 2025-09-07T20:32:26,629 jsonlib2.c:921:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,630 jsonlib2.c: In function ‘read_object_impl’: 2025-09-07T20:32:26,631 jsonlib2.c:1002:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,631 1002 | Py_UNICODE *start, c; 2025-09-07T20:32:26,631 | ^~~~~~~~~~ 2025-09-07T20:32:26,631 jsonlib2.c:1002:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,652 jsonlib2.c: In function ‘unicode_autodetect’: 2025-09-07T20:32:26,653 jsonlib2.c:1218:17: error: implicit declaration of function ‘PyString_AS_STRING’; did you mean ‘PyBytes_AS_STRING’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,654 1218 | bytes = PyString_AS_STRING (bytestring); 2025-09-07T20:32:26,654 | ^~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,654 | PyBytes_AS_STRING 2025-09-07T20:32:26,654 jsonlib2.c:1218:15: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,655 1218 | bytes = PyString_AS_STRING (bytestring); 2025-09-07T20:32:26,655 | ^ 2025-09-07T20:32:26,669 jsonlib2.c:1219:22: error: implicit declaration of function ‘PyString_GET_SIZE’; did you mean ‘PySet_GET_SIZE’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,669 1219 | byte_count = PyString_GET_SIZE (bytestring); 2025-09-07T20:32:26,670 | ^~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,670 | PySet_GET_SIZE 2025-09-07T20:32:26,685 jsonlib2.c: In function ‘_read_entry’: 2025-09-07T20:32:26,687 jsonlib2.c:1316:25: error: implicit declaration of function ‘PyUnicode_AsUnicode’; did you mean ‘PyUnicode_Decode’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,687 1316 | decoder.start = PyUnicode_AsUnicode (unicode); 2025-09-07T20:32:26,687 | ^~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,687 | PyUnicode_Decode 2025-09-07T20:32:26,688 jsonlib2.c:1316:23: error: assignment to ‘Py_UNICODE *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,688 1316 | decoder.start = PyUnicode_AsUnicode (unicode); 2025-09-07T20:32:26,688 | ^ 2025-09-07T20:32:26,699 jsonlib2.c:1317:39: error: implicit declaration of function ‘PyUnicode_GetSize’; did you mean ‘PyUnicode_Resize’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,699 1317 | decoder.end = decoder.start + PyUnicode_GetSize (unicode); 2025-09-07T20:32:26,699 | ^~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,699 | PyUnicode_Resize 2025-09-07T20:32:26,700 jsonlib2.c: In function ‘buffer_encoder_append_unicode’: 2025-09-07T20:32:26,701 jsonlib2.c:1372:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,702 1372 | Py_UNICODE *raw; 2025-09-07T20:32:26,702 | ^~~~~~~~~~ 2025-09-07T20:32:26,719 jsonlib2.c:1375:15: error: implicit declaration of function ‘PyUnicode_AS_UNICODE’; did you mean ‘PyUnicode_AsUCS4’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,719 1375 | raw = PyUnicode_AS_UNICODE (text); 2025-09-07T20:32:26,719 | ^~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,719 | PyUnicode_AsUCS4 2025-09-07T20:32:26,720 jsonlib2.c:1375:13: error: assignment to ‘Py_UNICODE *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,720 1375 | raw = PyUnicode_AS_UNICODE (text); 2025-09-07T20:32:26,720 | ^ 2025-09-07T20:32:26,735 jsonlib2.c:1376:15: error: implicit declaration of function ‘PyUnicode_GET_SIZE’; did you mean ‘PyDict_GET_SIZE’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,735 1376 | len = PyUnicode_GET_SIZE (text); 2025-09-07T20:32:26,735 | ^~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,736 | PyDict_GET_SIZE 2025-09-07T20:32:26,737 jsonlib2.c:1381:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,737 1381 | len * sizeof (Py_UNICODE)); 2025-09-07T20:32:26,737 | ^~~ 2025-09-07T20:32:26,751 jsonlib2.c: In function ‘stream_encoder_append_ascii’: 2025-09-07T20:32:26,752 jsonlib2.c:1405:27: error: implicit declaration of function ‘PyString_Encode’ [-Wimplicit-function-declaration] 2025-09-07T20:32:26,752 1405 | encoded = PyString_Encode (text, len, encoder->encoding, "strict"); 2025-09-07T20:32:26,752 | ^~~~~~~~~~~~~~~ 2025-09-07T20:32:26,753 jsonlib2.c:1405:25: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,753 1405 | encoded = PyString_Encode (text, len, encoder->encoding, "strict"); 2025-09-07T20:32:26,753 | ^ 2025-09-07T20:32:26,768 jsonlib2.c: In function ‘encoder_append_string’: 2025-09-07T20:32:26,769 jsonlib2.c:1436:13: error: implicit declaration of function ‘PyString_CheckExact’; did you mean ‘PyLong_CheckExact’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,770 1436 | if (PyString_CheckExact (text)) 2025-09-07T20:32:26,770 | ^~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,770 | PyLong_CheckExact 2025-09-07T20:32:26,771 jsonlib2.c:1438:29: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,771 1438 | char *raw = PyString_AS_STRING (text); 2025-09-07T20:32:26,771 | ^~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,771 jsonlib2.c: In function ‘buffer_encoder_resize’: 2025-09-07T20:32:26,772 jsonlib2.c:1451:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,772 1451 | Py_UNICODE *new_buf; 2025-09-07T20:32:26,772 | ^~~~~~~~~~ 2025-09-07T20:32:26,774 jsonlib2.c:1461:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,774 1461 | encoder->buffer = PyMem_Malloc (sizeof (Py_UNICODE) * new_size); 2025-09-07T20:32:26,774 | ^~~~~~~ 2025-09-07T20:32:26,775 jsonlib2.c:1468:34: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,775 1468 | sizeof (Py_UNICODE) * new_size); 2025-09-07T20:32:26,775 | ^~~~~~ 2025-09-07T20:32:26,791 jsonlib2.c: In function ‘unicode_from_format’: 2025-09-07T20:32:26,792 jsonlib2.c:1508:18: error: implicit declaration of function ‘PyString_FromFormatV’; did you mean ‘PyBytes_FromFormatV’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,793 1508 | string = PyString_FromFormatV (format, args); 2025-09-07T20:32:26,793 | ^~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,793 | PyBytes_FromFormatV 2025-09-07T20:32:26,794 jsonlib2.c:1508:16: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,794 1508 | string = PyString_FromFormatV (format, args); 2025-09-07T20:32:26,794 | ^ 2025-09-07T20:32:26,810 jsonlib2.c: In function ‘write_string’: 2025-09-07T20:32:26,811 jsonlib2.c:1568:13: error: implicit declaration of function ‘PyString_AsStringAndSize’; did you mean ‘PyBytes_AsStringAndSize’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,811 1568 | if (PyString_AsStringAndSize (string, &buffer, &str_len) == -1) 2025-09-07T20:32:26,812 | ^~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,812 | PyBytes_AsStringAndSize 2025-09-07T20:32:26,829 jsonlib2.c:1586:24: error: implicit declaration of function ‘PyString_FromFormat’; did you mean ‘PyBytes_FromFormat’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,829 1586 | return PyString_FromFormat ("\"%s\"", buffer); 2025-09-07T20:32:26,829 | ^~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,829 | PyBytes_FromFormat 2025-09-07T20:32:26,830 jsonlib2.c:1586:24: error: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,830 1586 | return PyString_FromFormat ("\"%s\"", buffer); 2025-09-07T20:32:26,831 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,848 jsonlib2.c:1594:19: error: implicit declaration of function ‘PyString_AsDecodedObject’; did you mean ‘PyUnicode_AsDecodedObject’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,849 1594 | unicode = PyString_AsDecodedObject (string, "ascii", "strict"); 2025-09-07T20:32:26,849 | ^~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,849 | PyUnicode_AsDecodedObject 2025-09-07T20:32:26,850 jsonlib2.c:1594:17: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,850 1594 | unicode = PyString_AsDecodedObject (string, "ascii", "strict"); 2025-09-07T20:32:26,850 | ^ 2025-09-07T20:32:26,851 jsonlib2.c: In function ‘unicode_to_unicode’: 2025-09-07T20:32:26,852 jsonlib2.c:1618:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,852 1618 | Py_UNICODE *old_buffer, *p, c; 2025-09-07T20:32:26,852 | ^~~~~~~~~~ 2025-09-07T20:32:26,852 jsonlib2.c:1618:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,852 jsonlib2.c:1618:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,854 jsonlib2.c:1621:20: error: assignment to ‘Py_UNICODE *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,854 1621 | old_buffer = PyUnicode_AS_UNICODE (unicode); 2025-09-07T20:32:26,854 | ^ 2025-09-07T20:32:26,855 jsonlib2.c:1660:16: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,855 1660 | retval = PyUnicode_FromUnicode (NULL, new_buffer_size); 2025-09-07T20:32:26,856 | ^ 2025-09-07T20:32:26,857 jsonlib2.c:1664:11: error: assignment to ‘Py_UNICODE *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,857 1664 | p = PyUnicode_AS_UNICODE (retval); 2025-09-07T20:32:26,857 | ^ 2025-09-07T20:32:26,858 jsonlib2.c: At top level: 2025-09-07T20:32:26,859 jsonlib2.c:1702:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,859 1702 | escape_unichar (Py_UNICODE c, char *p) 2025-09-07T20:32:26,859 | ^~~~~~~~~~~~~~ 2025-09-07T20:32:26,859 jsonlib2.c: In function ‘escape_unichar’: 2025-09-07T20:32:26,860 jsonlib2.c:1721:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,860 1721 | Py_UNICODE reduced, upper, lower; 2025-09-07T20:32:26,861 | ^~~~~~~~~~ 2025-09-07T20:32:26,861 jsonlib2.c:1721:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,861 jsonlib2.c:1721:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,862 jsonlib2.c: In function ‘unicode_to_ascii’: 2025-09-07T20:32:26,863 jsonlib2.c:1757:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,863 1757 | Py_UNICODE *old_buffer; 2025-09-07T20:32:26,863 | ^~~~~~~~~~ 2025-09-07T20:32:26,864 jsonlib2.c:1761:20: error: assignment to ‘Py_UNICODE *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,864 1761 | old_buffer = PyUnicode_AS_UNICODE (unicode); 2025-09-07T20:32:26,864 | ^ 2025-09-07T20:32:26,866 jsonlib2.c:1786:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,866 1786 | Py_UNICODE c = old_buffer[ii]; 2025-09-07T20:32:26,866 | ^~~~~~~~~~ 2025-09-07T20:32:26,883 jsonlib2.c:1810:18: error: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,883 1810 | retval = PyString_FromStringAndSize (NULL, new_buffer_size); 2025-09-07T20:32:26,883 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,883 | PyBytes_FromStringAndSize 2025-09-07T20:32:26,884 jsonlib2.c:1810:16: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,884 1810 | retval = PyString_FromStringAndSize (NULL, new_buffer_size); 2025-09-07T20:32:26,885 | ^ 2025-09-07T20:32:26,886 jsonlib2.c:1814:11: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,886 1814 | p = PyString_AS_STRING (retval); 2025-09-07T20:32:26,886 | ^ 2025-09-07T20:32:26,888 jsonlib2.c:1818:17: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,888 1818 | Py_UNICODE c = old_buffer[ii]; 2025-09-07T20:32:26,888 | ^~~~~~~~~~ 2025-09-07T20:32:26,888 jsonlib2.c: In function ‘write_unicode’: 2025-09-07T20:32:26,890 jsonlib2.c:1836:9: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 2025-09-07T20:32:26,890 1836 | Py_UNICODE *buffer; 2025-09-07T20:32:26,890 | ^~~~~~~~~~ 2025-09-07T20:32:26,891 jsonlib2.c:1841:16: error: assignment to ‘Py_UNICODE *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,891 1841 | buffer = PyUnicode_AS_UNICODE (unicode); 2025-09-07T20:32:26,891 | ^ 2025-09-07T20:32:26,893 jsonlib2.c:1861:30: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,893 1861 | if (!(retval = PyUnicode_FromUnicode (NULL, str_len + 2))) 2025-09-07T20:32:26,893 | ^ 2025-09-07T20:32:26,909 jsonlib2.c:1865:17: error: implicit declaration of function ‘Py_UNICODE_COPY’; did you mean ‘Py_UNICODE_SIZE’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,909 1865 | Py_UNICODE_COPY (u_retval->str + 1, buffer, str_len); 2025-09-07T20:32:26,909 | ^~~~~~~~~~~~~~~ 2025-09-07T20:32:26,909 | Py_UNICODE_SIZE 2025-09-07T20:32:26,910 jsonlib2.c:1865:42: error: ‘PyUnicodeObject’ has no member named ‘str’ 2025-09-07T20:32:26,910 1865 | Py_UNICODE_COPY (u_retval->str + 1, buffer, str_len); 2025-09-07T20:32:26,910 | ^~ 2025-09-07T20:32:26,912 jsonlib2.c:1866:25: error: ‘PyUnicodeObject’ has no member named ‘str’ 2025-09-07T20:32:26,912 1866 | u_retval->str[0] = '"'; 2025-09-07T20:32:26,912 | ^~ 2025-09-07T20:32:26,913 jsonlib2.c:1867:25: error: ‘PyUnicodeObject’ has no member named ‘str’ 2025-09-07T20:32:26,913 1867 | u_retval->str[str_len + 1] = '"'; 2025-09-07T20:32:26,913 | ^~ 2025-09-07T20:32:26,928 jsonlib2.c: In function ‘mapping_process_key’: 2025-09-07T20:32:26,930 jsonlib2.c:1997:13: error: implicit declaration of function ‘PyString_Check’; did you mean ‘PyMapping_Check’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,930 1997 | if (PyString_Check (key) || PyUnicode_Check (key)) 2025-09-07T20:32:26,930 | ^~~~~~~~~~~~~~ 2025-09-07T20:32:26,931 | PyMapping_Check 2025-09-07T20:32:26,946 jsonlib2.c:2022:43: error: implicit declaration of function ‘PyObject_Unicode’; did you mean ‘PyObject_Size’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,946 2022 | new_key = PyObject_Unicode (key); 2025-09-07T20:32:26,946 | ^~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,947 | PyObject_Size 2025-09-07T20:32:26,948 jsonlib2.c:2022:41: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,948 2022 | new_key = PyObject_Unicode (key); 2025-09-07T20:32:26,948 | ^ 2025-09-07T20:32:26,969 jsonlib2.c: In function ‘write_basic’: 2025-09-07T20:32:26,971 jsonlib2.c:2307:13: error: implicit declaration of function ‘PyInt_CheckExact’; did you mean ‘PySet_CheckExact’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,972 2307 | if (PyInt_CheckExact (value) || PyLong_CheckExact (value)) 2025-09-07T20:32:26,972 | ^~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,972 | PySet_CheckExact 2025-09-07T20:32:26,983 jsonlib2.c: In function ‘_write_entry’: 2025-09-07T20:32:26,985 jsonlib2.c:2596:32: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,985 2596 | retval = PyUnicode_FromUnicode (encoder.buffer, 2025-09-07T20:32:26,985 | ^ 2025-09-07T20:32:26,996 jsonlib2.c:2602:34: error: implicit declaration of function ‘PyUnicode_Encode’; did you mean ‘PyUnicode_Decode’? [-Wimplicit-function-declaration] 2025-09-07T20:32:26,997 2602 | retval = PyUnicode_Encode (encoder.buffer, 2025-09-07T20:32:26,997 | ^~~~~~~~~~~~~~~~ 2025-09-07T20:32:26,997 | PyUnicode_Decode 2025-09-07T20:32:26,999 jsonlib2.c:2602:32: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:26,999 2602 | retval = PyUnicode_Encode (encoder.buffer, 2025-09-07T20:32:26,999 | ^ 2025-09-07T20:32:27,014 jsonlib2.c: In function ‘initjsonlib2’: 2025-09-07T20:32:27,016 jsonlib2.c:2771:24: error: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration] 2025-09-07T20:32:27,016 2771 | if (!(module = Py_InitModule3 ("jsonlib2", module_methods, 2025-09-07T20:32:27,016 | ^~~~~~~~~~~~~~ 2025-09-07T20:32:27,018 jsonlib2.c:2771:22: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:32:27,019 2771 | if (!(module = Py_InitModule3 ("jsonlib2", module_methods, 2025-09-07T20:32:27,019 | ^ 2025-09-07T20:32:27,021 jsonlib2.c:2773:17: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 2025-09-07T20:32:27,021 2773 | return; 2025-09-07T20:32:27,021 | ^~~~~~ 2025-09-07T20:32:27,023 jsonlib2.c:2766:1: note: declared here 2025-09-07T20:32:27,023 2766 | initjsonlib2 (void) 2025-09-07T20:32:27,023 | ^~~~~~~~~~~~ 2025-09-07T20:32:27,025 jsonlib2.c:2777:17: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 2025-09-07T20:32:27,025 2777 | return; 2025-09-07T20:32:27,026 | ^~~~~~ 2025-09-07T20:32:27,027 jsonlib2.c:2766:1: note: declared here 2025-09-07T20:32:27,027 2766 | initjsonlib2 (void) 2025-09-07T20:32:27,027 | ^~~~~~~~~~~~ 2025-09-07T20:32:27,030 jsonlib2.c:2783:17: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 2025-09-07T20:32:27,030 2783 | return; 2025-09-07T20:32:27,030 | ^~~~~~ 2025-09-07T20:32:27,032 jsonlib2.c:2766:1: note: declared here 2025-09-07T20:32:27,032 2766 | initjsonlib2 (void) 2025-09-07T20:32:27,032 | ^~~~~~~~~~~~ 2025-09-07T20:32:27,035 jsonlib2.c:2789:17: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 2025-09-07T20:32:27,035 2789 | return; 2025-09-07T20:32:27,035 | ^~~~~~ 2025-09-07T20:32:27,036 jsonlib2.c:2766:1: note: declared here 2025-09-07T20:32:27,036 2766 | initjsonlib2 (void) 2025-09-07T20:32:27,036 | ^~~~~~~~~~~~ 2025-09-07T20:32:27,039 jsonlib2.c:2798:17: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 2025-09-07T20:32:27,039 2798 | return; 2025-09-07T20:32:27,040 | ^~~~~~ 2025-09-07T20:32:27,041 jsonlib2.c:2766:1: note: declared here 2025-09-07T20:32:27,041 2766 | initjsonlib2 (void) 2025-09-07T20:32:27,041 | ^~~~~~~~~~~~ 2025-09-07T20:32:27,075 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2025-09-07T20:32:27,224 ERROR: python setup.py bdist_wheel exited with 1 2025-09-07T20:32:27,237 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-07T20:32:27,237 exec(compile('"'"''"'"''"'"' 2025-09-07T20:32:27,237 # This is -- a caller that pip uses to run setup.py 2025-09-07T20:32:27,237 # 2025-09-07T20:32:27,237 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-07T20:32:27,237 # import from `distutils.core` to work with newer packaging standards. 2025-09-07T20:32:27,237 # - It provides a clear error message when setuptools is not installed. 2025-09-07T20:32:27,237 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-07T20:32:27,237 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-07T20:32:27,237 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-07T20:32:27,237 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-07T20:32:27,237 import os, sys, tokenize, traceback 2025-09-07T20:32:27,237 2025-09-07T20:32:27,237 try: 2025-09-07T20:32:27,237 import setuptools 2025-09-07T20:32:27,237 except ImportError: 2025-09-07T20:32:27,237 print( 2025-09-07T20:32:27,237 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-07T20:32:27,237 "the build environment with exception:", 2025-09-07T20:32:27,237 file=sys.stderr, 2025-09-07T20:32:27,237 ) 2025-09-07T20:32:27,237 traceback.print_exc() 2025-09-07T20:32:27,237 sys.exit(1) 2025-09-07T20:32:27,237 2025-09-07T20:32:27,237 __file__ = %r 2025-09-07T20:32:27,237 sys.argv[0] = __file__ 2025-09-07T20:32:27,237 2025-09-07T20:32:27,237 if os.path.exists(__file__): 2025-09-07T20:32:27,237 filename = __file__ 2025-09-07T20:32:27,237 with tokenize.open(__file__) as f: 2025-09-07T20:32:27,237 setup_py_code = f.read() 2025-09-07T20:32:27,237 else: 2025-09-07T20:32:27,237 filename = "" 2025-09-07T20:32:27,237 setup_py_code = "from setuptools import setup; setup()" 2025-09-07T20:32:27,237 2025-09-07T20:32:27,237 exec(compile(setup_py_code, filename, "exec")) 2025-09-07T20:32:27,237 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-0gb6ubjb/jsonlib2_1c76a4977b794d5daf185f7ae9c8e0ca/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-o14dhikl[/] 2025-09-07T20:32:27,237 [bold magenta]cwd[/]: /tmp/pip-wheel-0gb6ubjb/jsonlib2_1c76a4977b794d5daf185f7ae9c8e0ca/ 2025-09-07T20:32:27,237 Building wheel for jsonlib2 (setup.py): finished with status 'error' 2025-09-07T20:32:27,238 ERROR: Failed building wheel for jsonlib2 2025-09-07T20:32:27,239 Running setup.py clean for jsonlib2 2025-09-07T20:32:27,240 Running command python setup.py clean 2025-09-07T20:32:27,913 /usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite' 2025-09-07T20:32:27,913 warnings.warn(msg) 2025-09-07T20:32:28,301 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-09-07T20:32:28,301 !! 2025-09-07T20:32:28,301 ******************************************************************************** 2025-09-07T20:32:28,301 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-09-07T20:32:28,301 License :: OSI Approved :: MIT License 2025-09-07T20:32:28,302 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-09-07T20:32:28,302 ******************************************************************************** 2025-09-07T20:32:28,302 !! 2025-09-07T20:32:28,302 self._finalize_license_expression() 2025-09-07T20:32:28,375 running clean 2025-09-07T20:32:28,518 removing 'build/temp.linux-armv7l-cpython-313' (and everything under it) 2025-09-07T20:32:28,518 'build/lib.linux-armv7l-cpython-313' does not exist -- can't clean it 2025-09-07T20:32:28,519 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-09-07T20:32:28,519 'build/scripts-3.13' does not exist -- can't clean it 2025-09-07T20:32:28,519 removing 'build' 2025-09-07T20:32:28,631 Failed to build jsonlib2 2025-09-07T20:32:28,632 ERROR: Failed to build one or more wheels 2025-09-07T20:32:28,633 Exception information: 2025-09-07T20:32:28,633 Traceback (most recent call last): 2025-09-07T20:32:28,633 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-07T20:32:28,633 status = _inner_run() 2025-09-07T20:32:28,633 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-07T20:32:28,633 return self.run(options, args) 2025-09-07T20:32:28,633 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-07T20:32:28,633 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-07T20:32:28,633 return func(self, options, args) 2025-09-07T20:32:28,633 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-07T20:32:28,633 raise CommandError("Failed to build one or more wheels") 2025-09-07T20:32:28,633 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-07T20:32:28,637 Removed build tracker: '/tmp/pip-build-tracker-v1otsxyk'