2025-09-07T20:27:42,142 Created temporary directory: /tmp/pip-build-tracker-mkdsiaan 2025-09-07T20:27:42,142 Initialized build tracking at /tmp/pip-build-tracker-mkdsiaan 2025-09-07T20:27:42,143 Created build tracker: /tmp/pip-build-tracker-mkdsiaan 2025-09-07T20:27:42,143 Entered build tracker: /tmp/pip-build-tracker-mkdsiaan 2025-09-07T20:27:42,143 Created temporary directory: /tmp/pip-wheel-b103alv6 2025-09-07T20:27:42,146 Created temporary directory: /tmp/pip-ephem-wheel-cache-grni_itt 2025-09-07T20:27:42,202 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-07T20:27:42,204 2 location(s) to search for versions of py-sg: 2025-09-07T20:27:42,204 * https://pypi.org/simple/py-sg/ 2025-09-07T20:27:42,204 * https://www.piwheels.org/simple/py-sg/ 2025-09-07T20:27:42,205 Fetching project page and analyzing links: https://pypi.org/simple/py-sg/ 2025-09-07T20:27:42,205 Getting page https://pypi.org/simple/py-sg/ 2025-09-07T20:27:42,206 Found index url https://pypi.org/simple/ 2025-09-07T20:27:42,278 Fetched page https://pypi.org/simple/py-sg/ as application/vnd.pypi.simple.v1+json 2025-09-07T20:27:42,279 Found link https://files.pythonhosted.org/packages/09/64/52bfe3af24c1a8d9e1cc17d1c5da732963749b076bdda029dd9c5132ea42/py_sg-0.1.tar.gz (from https://pypi.org/simple/py-sg/), version: 0.1 2025-09-07T20:27:42,280 Found link https://files.pythonhosted.org/packages/de/fe/aa8b849771ed622e0f734183fe4ddb84648ea017b2a08f308b04bbf779bf/py_sg-0.11.tar.gz (from https://pypi.org/simple/py-sg/), version: 0.11 2025-09-07T20:27:42,280 Fetching project page and analyzing links: https://www.piwheels.org/simple/py-sg/ 2025-09-07T20:27:42,280 Getting page https://www.piwheels.org/simple/py-sg/ 2025-09-07T20:27:42,281 Found index url https://www.piwheels.org/simple/ 2025-09-07T20:27:42,368 Fetched page https://www.piwheels.org/simple/py-sg/ as text/html 2025-09-07T20:27:42,374 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.11-cp35-cp35m-linux_armv6l.whl#sha256=65bec5639247f64d1747b77cc43c19a0c2639b04096f4a8b8c7a5fbe111045f5 (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,374 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.11-cp35-cp35m-linux_armv7l.whl#sha256=65bec5639247f64d1747b77cc43c19a0c2639b04096f4a8b8c7a5fbe111045f5 (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,374 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.11-cp34-cp34m-linux_armv7l.whl#sha256=8c1fe05e1448b76cfb699fa12375e88ac43407c1ac44a9500722662bacfa0557 (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,374 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.11-cp34-cp34m-linux_armv6l.whl#sha256=8c1fe05e1448b76cfb699fa12375e88ac43407c1ac44a9500722662bacfa0557 (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,374 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.11-cp37-cp37m-linux_armv6l.whl#sha256=614c40bc45ac69e7fbb240afad6710fbb909edbc0154fe688f6dca78c8960b6e (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,374 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.11-cp37-cp37m-linux_armv7l.whl#sha256=614c40bc45ac69e7fbb240afad6710fbb909edbc0154fe688f6dca78c8960b6e (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,375 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.11-cp311-cp311-linux_armv6l.whl#sha256=2bbf372ea0f23c582937c5c681b0f796cfaf2d2b2bbd7ba62337dda95cce2052 (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,375 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.11-cp311-cp311-linux_armv7l.whl#sha256=2bbf372ea0f23c582937c5c681b0f796cfaf2d2b2bbd7ba62337dda95cce2052 (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,375 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.11-cp39-cp39-linux_armv6l.whl#sha256=be8c8fb6a4cb4f4e9a78866d80edab8195e3670595747240228507c182446c35 (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,375 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.11-cp39-cp39-linux_armv7l.whl#sha256=be8c8fb6a4cb4f4e9a78866d80edab8195e3670595747240228507c182446c35 (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,375 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.1-cp34-cp34m-linux_armv7l.whl#sha256=f584b0219f68ac3688fa4e5602990e793bb50607790da837d6e5b56dec10271b (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,375 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.1-cp34-cp34m-linux_armv6l.whl#sha256=f584b0219f68ac3688fa4e5602990e793bb50607790da837d6e5b56dec10271b (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,375 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.1-cp35-cp35m-linux_armv7l.whl#sha256=50083d8ad8a9ff18a7f57502be11786f1cd932251ba7432f9b36860cc7917e14 (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,376 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.1-cp35-cp35m-linux_armv6l.whl#sha256=50083d8ad8a9ff18a7f57502be11786f1cd932251ba7432f9b36860cc7917e14 (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,376 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.1-cp37-cp37m-linux_armv7l.whl#sha256=d8e318369ac8acd9c0b5942f19db16e25cbbee63a00adde381aa8c370e20899b (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,376 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.1-cp37-cp37m-linux_armv6l.whl#sha256=d8e318369ac8acd9c0b5942f19db16e25cbbee63a00adde381aa8c370e20899b (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,376 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.1-cp311-cp311-linux_armv6l.whl#sha256=cee43ea04527d6e5915ec07760a4450578a27bf18c28f0aaea4ca4d66bfa65ba (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,376 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.1-cp311-cp311-linux_armv7l.whl#sha256=cee43ea04527d6e5915ec07760a4450578a27bf18c28f0aaea4ca4d66bfa65ba (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,376 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.1-cp39-cp39-linux_armv6l.whl#sha256=5f6bbf67d70ebc7ab6f970ca6e98da7dec109a5ba1f4bece945b08b8b508b108 (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,376 Skipping link: No binaries permitted for py-sg: https://archive1.piwheels.org/simple/py-sg/py_sg-0.1-cp39-cp39-linux_armv7l.whl#sha256=5f6bbf67d70ebc7ab6f970ca6e98da7dec109a5ba1f4bece945b08b8b508b108 (from https://www.piwheels.org/simple/py-sg/) 2025-09-07T20:27:42,377 Skipping link: not a file: https://www.piwheels.org/simple/py-sg/ 2025-09-07T20:27:42,377 Skipping link: not a file: https://pypi.org/simple/py-sg/ 2025-09-07T20:27:42,400 Given no hashes to check 1 links for project 'py-sg': discarding no candidates 2025-09-07T20:27:42,401 Collecting py-sg==0.11 2025-09-07T20:27:42,402 Created temporary directory: /tmp/pip-unpack-p8mv_0zo 2025-09-07T20:27:42,540 Downloading py_sg-0.11.tar.gz (2.8 kB) 2025-09-07T20:27:42,554 Added py-sg==0.11 from https://files.pythonhosted.org/packages/de/fe/aa8b849771ed622e0f734183fe4ddb84648ea017b2a08f308b04bbf779bf/py_sg-0.11.tar.gz to build tracker '/tmp/pip-build-tracker-mkdsiaan' 2025-09-07T20:27:42,556 Running setup.py (path:/tmp/pip-wheel-b103alv6/py-sg_981a7d643c34435ca3fe443a8c726cca/setup.py) egg_info for package py-sg 2025-09-07T20:27:42,557 Created temporary directory: /tmp/pip-pip-egg-info-mo2_w_bu 2025-09-07T20:27:42,557 Preparing metadata (setup.py): started 2025-09-07T20:27:42,559 Running command python setup.py egg_info 2025-09-07T20:27:44,037 Preparing metadata (setup.py): finished with status 'done' 2025-09-07T20:27:44,041 Source in /tmp/pip-wheel-b103alv6/py-sg_981a7d643c34435ca3fe443a8c726cca has version 0.11, which satisfies requirement py-sg==0.11 from https://files.pythonhosted.org/packages/de/fe/aa8b849771ed622e0f734183fe4ddb84648ea017b2a08f308b04bbf779bf/py_sg-0.11.tar.gz 2025-09-07T20:27:44,042 Removed py-sg==0.11 from https://files.pythonhosted.org/packages/de/fe/aa8b849771ed622e0f734183fe4ddb84648ea017b2a08f308b04bbf779bf/py_sg-0.11.tar.gz from build tracker '/tmp/pip-build-tracker-mkdsiaan' 2025-09-07T20:27:44,044 Created temporary directory: /tmp/pip-unpack-o9gysvz5 2025-09-07T20:27:44,045 Created temporary directory: /tmp/pip-unpack-7ouw6u6b 2025-09-07T20:27:44,045 Building wheels for collected packages: py-sg 2025-09-07T20:27:44,046 Created temporary directory: /tmp/pip-wheel-i6udqi3c 2025-09-07T20:27:44,046 DEPRECATION: Building 'py-sg' 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 'py-sg'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-09-07T20:27:44,047 Building wheel for py-sg (setup.py): started 2025-09-07T20:27:44,048 Destination directory: /tmp/pip-wheel-i6udqi3c 2025-09-07T20:27:44,048 Running command python setup.py bdist_wheel 2025-09-07T20:27:46,148 py_sg.c: In function ‘sg_read’: 2025-09-07T20:27:46,148 py_sg.c:115:7: error: implicit declaration of function ‘PyObject_AsWriteBuffer’; did you mean ‘PyObject_GetBuffer’? [-Wimplicit-function-declaration] 2025-09-07T20:27:46,148 115 | if (PyObject_AsWriteBuffer(bufObj, (void*)&buf, &bufLen) < 0) { 2025-09-07T20:27:46,149 | ^~~~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:27:46,149 | PyObject_GetBuffer 2025-09-07T20:27:46,159 py_sg.c:116:14: error: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 2025-09-07T20:27:46,159 116 | bufLen = PyInt_AsLong(bufObj); 2025-09-07T20:27:46,160 | ^~~~~~~~~~~~ 2025-09-07T20:27:46,160 | PyLong_AsLong 2025-09-07T20:27:46,174 py_sg.c:123:14: error: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration] 2025-09-07T20:27:46,174 123 | bufObj = PyString_FromStringAndSize(NULL, bufLen); // new blank string 2025-09-07T20:27:46,174 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:27:46,174 | PyBytes_FromStringAndSize 2025-09-07T20:27:46,174 py_sg.c:123:12: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:27:46,174 123 | bufObj = PyString_FromStringAndSize(NULL, bufLen); // new blank string 2025-09-07T20:27:46,174 | ^ 2025-09-07T20:27:46,190 py_sg.c:125:27: error: implicit declaration of function ‘PyString_AS_STRING’; did you mean ‘PyBytes_AS_STRING’? [-Wimplicit-function-declaration] 2025-09-07T20:27:46,190 125 | buf = (unsigned char*)PyString_AS_STRING(bufObj); 2025-09-07T20:27:46,190 | ^~~~~~~~~~~~~~~~~~ 2025-09-07T20:27:46,190 | PyBytes_AS_STRING 2025-09-07T20:27:46,215 py_sg.c:169:9: error: implicit declaration of function ‘_PyString_Resize’ [-Wimplicit-function-declaration] 2025-09-07T20:27:46,215 169 | if (_PyString_Resize(&bufObj, len) < 0) return NULL; 2025-09-07T20:27:46,215 | ^~~~~~~~~~~~~~~~ 2025-09-07T20:27:46,225 py_sg.c:173:12: error: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration] 2025-09-07T20:27:46,225 173 | return PyInt_FromLong(len); 2025-09-07T20:27:46,225 | ^~~~~~~~~~~~~~ 2025-09-07T20:27:46,225 | PyLong_FromLong 2025-09-07T20:27:46,225 py_sg.c:173:12: 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:27:46,225 173 | return PyInt_FromLong(len); 2025-09-07T20:27:46,226 | ^~~~~~~~~~~~~~~~~~~ 2025-09-07T20:27:46,239 py_sg.c: In function ‘initpy_sg’: 2025-09-07T20:27:46,239 py_sg.c:197:19: error: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration] 2025-09-07T20:27:46,239 197 | PyObject *mod = Py_InitModule3("py_sg", SgMethods, module__doc__); 2025-09-07T20:27:46,239 | ^~~~~~~~~~~~~~ 2025-09-07T20:27:46,239 py_sg.c:197:19: error: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T20:27:46,239 py_sg.c:198:13: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 2025-09-07T20:27:46,239 198 | if (!mod) return; 2025-09-07T20:27:46,239 | ^~~~~~ 2025-09-07T20:27:46,240 py_sg.c:194:1: note: declared here 2025-09-07T20:27:46,240 194 | initpy_sg(void) 2025-09-07T20:27:46,241 | ^~~~~~~~~ 2025-09-07T20:27:46,248 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2025-09-07T20:27:46,393 ERROR: python setup.py bdist_wheel exited with 1 2025-09-07T20:27:46,406 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-07T20:27:46,406 exec(compile('"'"''"'"''"'"' 2025-09-07T20:27:46,406 # This is -- a caller that pip uses to run setup.py 2025-09-07T20:27:46,406 # 2025-09-07T20:27:46,406 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-07T20:27:46,406 # import from `distutils.core` to work with newer packaging standards. 2025-09-07T20:27:46,406 # - It provides a clear error message when setuptools is not installed. 2025-09-07T20:27:46,406 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-07T20:27:46,406 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-07T20:27:46,406 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-07T20:27:46,406 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-07T20:27:46,406 import os, sys, tokenize, traceback 2025-09-07T20:27:46,406 2025-09-07T20:27:46,406 try: 2025-09-07T20:27:46,406 import setuptools 2025-09-07T20:27:46,406 except ImportError: 2025-09-07T20:27:46,406 print( 2025-09-07T20:27:46,406 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-07T20:27:46,406 "the build environment with exception:", 2025-09-07T20:27:46,406 file=sys.stderr, 2025-09-07T20:27:46,406 ) 2025-09-07T20:27:46,406 traceback.print_exc() 2025-09-07T20:27:46,406 sys.exit(1) 2025-09-07T20:27:46,406 2025-09-07T20:27:46,406 __file__ = %r 2025-09-07T20:27:46,406 sys.argv[0] = __file__ 2025-09-07T20:27:46,406 2025-09-07T20:27:46,406 if os.path.exists(__file__): 2025-09-07T20:27:46,406 filename = __file__ 2025-09-07T20:27:46,406 with tokenize.open(__file__) as f: 2025-09-07T20:27:46,406 setup_py_code = f.read() 2025-09-07T20:27:46,406 else: 2025-09-07T20:27:46,406 filename = "" 2025-09-07T20:27:46,406 setup_py_code = "from setuptools import setup; setup()" 2025-09-07T20:27:46,406 2025-09-07T20:27:46,406 exec(compile(setup_py_code, filename, "exec")) 2025-09-07T20:27:46,406 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-b103alv6/py-sg_981a7d643c34435ca3fe443a8c726cca/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-i6udqi3c[/] 2025-09-07T20:27:46,406 [bold magenta]cwd[/]: /tmp/pip-wheel-b103alv6/py-sg_981a7d643c34435ca3fe443a8c726cca/ 2025-09-07T20:27:46,406 Building wheel for py-sg (setup.py): finished with status 'error' 2025-09-07T20:27:46,407 ERROR: Failed building wheel for py-sg 2025-09-07T20:27:46,408 Running setup.py clean for py-sg 2025-09-07T20:27:46,409 Running command python setup.py clean 2025-09-07T20:27:47,624 'build/lib.linux-armv7l-cpython-313' does not exist -- can't clean it 2025-09-07T20:27:47,624 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-09-07T20:27:47,624 'build/scripts-3.13' does not exist -- can't clean it 2025-09-07T20:27:47,734 Failed to build py-sg 2025-09-07T20:27:47,735 ERROR: Failed to build one or more wheels 2025-09-07T20:27:47,736 Exception information: 2025-09-07T20:27:47,736 Traceback (most recent call last): 2025-09-07T20:27:47,736 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-07T20:27:47,736 status = _inner_run() 2025-09-07T20:27:47,736 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-07T20:27:47,736 return self.run(options, args) 2025-09-07T20:27:47,736 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-07T20:27:47,736 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-07T20:27:47,736 return func(self, options, args) 2025-09-07T20:27:47,736 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-07T20:27:47,736 raise CommandError("Failed to build one or more wheels") 2025-09-07T20:27:47,736 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-07T20:27:47,740 Removed build tracker: '/tmp/pip-build-tracker-mkdsiaan'