2025-09-07T20:17:30,185 Created temporary directory: /tmp/pip-build-tracker-4r59v19t 2025-09-07T20:17:30,186 Initialized build tracking at /tmp/pip-build-tracker-4r59v19t 2025-09-07T20:17:30,186 Created build tracker: /tmp/pip-build-tracker-4r59v19t 2025-09-07T20:17:30,186 Entered build tracker: /tmp/pip-build-tracker-4r59v19t 2025-09-07T20:17:30,187 Created temporary directory: /tmp/pip-wheel-y5qfutpt 2025-09-07T20:17:30,190 Created temporary directory: /tmp/pip-ephem-wheel-cache-v45ri7e8 2025-09-07T20:17:30,247 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-07T20:17:30,249 2 location(s) to search for versions of py-sg: 2025-09-07T20:17:30,249 * https://pypi.org/simple/py-sg/ 2025-09-07T20:17:30,249 * https://www.piwheels.org/simple/py-sg/ 2025-09-07T20:17:30,249 Fetching project page and analyzing links: https://pypi.org/simple/py-sg/ 2025-09-07T20:17:30,250 Getting page https://pypi.org/simple/py-sg/ 2025-09-07T20:17:30,251 Found index url https://pypi.org/simple/ 2025-09-07T20:17:30,398 Fetched page https://pypi.org/simple/py-sg/ as application/vnd.pypi.simple.v1+json 2025-09-07T20:17:30,399 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:17:30,400 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:17:30,401 Fetching project page and analyzing links: https://www.piwheels.org/simple/py-sg/ 2025-09-07T20:17:30,401 Getting page https://www.piwheels.org/simple/py-sg/ 2025-09-07T20:17:30,403 Found index url https://www.piwheels.org/simple/ 2025-09-07T20:17:30,501 Fetched page https://www.piwheels.org/simple/py-sg/ as text/html 2025-09-07T20:17:30,505 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:17:30,505 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:17:30,505 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:17:30,505 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:17:30,506 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:17:30,506 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:17:30,506 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:17:30,506 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:17:30,506 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:17:30,506 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:17:30,506 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:17:30,506 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:17:30,507 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:17:30,507 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:17:30,507 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:17:30,507 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:17:30,507 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:17:30,507 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:17:30,507 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:17:30,508 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:17:30,508 Skipping link: not a file: https://www.piwheels.org/simple/py-sg/ 2025-09-07T20:17:30,508 Skipping link: not a file: https://pypi.org/simple/py-sg/ 2025-09-07T20:17:30,532 Given no hashes to check 1 links for project 'py-sg': discarding no candidates 2025-09-07T20:17:30,533 Collecting py-sg==0.1 2025-09-07T20:17:30,534 Created temporary directory: /tmp/pip-unpack-fz43im_j 2025-09-07T20:17:30,672 Downloading py_sg-0.1.tar.gz (2.4 kB) 2025-09-07T20:17:30,682 Added py-sg==0.1 from https://files.pythonhosted.org/packages/09/64/52bfe3af24c1a8d9e1cc17d1c5da732963749b076bdda029dd9c5132ea42/py_sg-0.1.tar.gz to build tracker '/tmp/pip-build-tracker-4r59v19t' 2025-09-07T20:17:30,684 Running setup.py (path:/tmp/pip-wheel-y5qfutpt/py-sg_63a8801793e14dce89f93e145a580e6a/setup.py) egg_info for package py-sg 2025-09-07T20:17:30,684 Created temporary directory: /tmp/pip-pip-egg-info-ysq99eti 2025-09-07T20:17:30,685 Preparing metadata (setup.py): started 2025-09-07T20:17:30,686 Running command python setup.py egg_info 2025-09-07T20:17:32,158 Preparing metadata (setup.py): finished with status 'done' 2025-09-07T20:17:32,163 Source in /tmp/pip-wheel-y5qfutpt/py-sg_63a8801793e14dce89f93e145a580e6a has version 0.1, which satisfies requirement py-sg==0.1 from https://files.pythonhosted.org/packages/09/64/52bfe3af24c1a8d9e1cc17d1c5da732963749b076bdda029dd9c5132ea42/py_sg-0.1.tar.gz 2025-09-07T20:17:32,163 Removed py-sg==0.1 from https://files.pythonhosted.org/packages/09/64/52bfe3af24c1a8d9e1cc17d1c5da732963749b076bdda029dd9c5132ea42/py_sg-0.1.tar.gz from build tracker '/tmp/pip-build-tracker-4r59v19t' 2025-09-07T20:17:32,166 Created temporary directory: /tmp/pip-unpack-9f_z4_1k 2025-09-07T20:17:32,166 Created temporary directory: /tmp/pip-unpack-n91uxo7h 2025-09-07T20:17:32,166 Building wheels for collected packages: py-sg 2025-09-07T20:17:32,167 Created temporary directory: /tmp/pip-wheel-nc51wp01 2025-09-07T20:17:32,168 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:17:32,169 Building wheel for py-sg (setup.py): started 2025-09-07T20:17:32,169 Destination directory: /tmp/pip-wheel-nc51wp01 2025-09-07T20:17:32,170 Running command python setup.py bdist_wheel 2025-09-07T20:17:34,245 py_sg.c: In function ‘sg_read’: 2025-09-07T20:17:34,245 py_sg.c:115:7: error: implicit declaration of function ‘PyObject_AsWriteBuffer’; did you mean ‘PyObject_GetBuffer’? [-Wimplicit-function-declaration] 2025-09-07T20:17:34,245 115 | if (PyObject_AsWriteBuffer(bufObj, (void*)&buf, &bufLen) < 0) { 2025-09-07T20:17:34,245 | ^~~~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:17:34,245 | PyObject_GetBuffer 2025-09-07T20:17:34,255 py_sg.c:116:14: error: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 2025-09-07T20:17:34,255 116 | bufLen = PyInt_AsLong(bufObj); 2025-09-07T20:17:34,256 | ^~~~~~~~~~~~ 2025-09-07T20:17:34,256 | PyLong_AsLong 2025-09-07T20:17:34,271 py_sg.c:123:14: error: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration] 2025-09-07T20:17:34,271 123 | bufObj = PyString_FromStringAndSize(NULL, bufLen); // new blank string 2025-09-07T20:17:34,271 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-07T20:17:34,271 | PyBytes_FromStringAndSize 2025-09-07T20:17:34,272 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:17:34,272 123 | bufObj = PyString_FromStringAndSize(NULL, bufLen); // new blank string 2025-09-07T20:17:34,272 | ^ 2025-09-07T20:17:34,288 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:17:34,288 125 | buf = (unsigned char*)PyString_AS_STRING(bufObj); 2025-09-07T20:17:34,288 | ^~~~~~~~~~~~~~~~~~ 2025-09-07T20:17:34,288 | PyBytes_AS_STRING 2025-09-07T20:17:34,313 py_sg.c:169:9: error: implicit declaration of function ‘_PyString_Resize’ [-Wimplicit-function-declaration] 2025-09-07T20:17:34,314 169 | if (_PyString_Resize(&bufObj, len) < 0) return NULL; 2025-09-07T20:17:34,314 | ^~~~~~~~~~~~~~~~ 2025-09-07T20:17:34,324 py_sg.c:173:12: error: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration] 2025-09-07T20:17:34,324 173 | return PyInt_FromLong(len); 2025-09-07T20:17:34,324 | ^~~~~~~~~~~~~~ 2025-09-07T20:17:34,325 | PyLong_FromLong 2025-09-07T20:17:34,325 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:17:34,325 173 | return PyInt_FromLong(len); 2025-09-07T20:17:34,325 | ^~~~~~~~~~~~~~~~~~~ 2025-09-07T20:17:34,339 py_sg.c: In function ‘initpy_sg’: 2025-09-07T20:17:34,339 py_sg.c:197:19: error: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration] 2025-09-07T20:17:34,339 197 | PyObject *mod = Py_InitModule3("py_sg", SgMethods, module__doc__); 2025-09-07T20:17:34,339 | ^~~~~~~~~~~~~~ 2025-09-07T20:17:34,340 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:17:34,340 py_sg.c:198:13: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 2025-09-07T20:17:34,340 198 | if (!mod) return; 2025-09-07T20:17:34,340 | ^~~~~~ 2025-09-07T20:17:34,341 py_sg.c:194:1: note: declared here 2025-09-07T20:17:34,341 194 | initpy_sg(void) 2025-09-07T20:17:34,341 | ^~~~~~~~~ 2025-09-07T20:17:34,351 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2025-09-07T20:17:34,496 ERROR: python setup.py bdist_wheel exited with 1 2025-09-07T20:17:34,509 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-07T20:17:34,509 exec(compile('"'"''"'"''"'"' 2025-09-07T20:17:34,509 # This is -- a caller that pip uses to run setup.py 2025-09-07T20:17:34,509 # 2025-09-07T20:17:34,509 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-07T20:17:34,509 # import from `distutils.core` to work with newer packaging standards. 2025-09-07T20:17:34,509 # - It provides a clear error message when setuptools is not installed. 2025-09-07T20:17:34,509 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-07T20:17:34,509 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-07T20:17:34,509 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-07T20:17:34,509 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-07T20:17:34,509 import os, sys, tokenize, traceback 2025-09-07T20:17:34,509 2025-09-07T20:17:34,509 try: 2025-09-07T20:17:34,509 import setuptools 2025-09-07T20:17:34,509 except ImportError: 2025-09-07T20:17:34,509 print( 2025-09-07T20:17:34,509 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-07T20:17:34,509 "the build environment with exception:", 2025-09-07T20:17:34,509 file=sys.stderr, 2025-09-07T20:17:34,509 ) 2025-09-07T20:17:34,509 traceback.print_exc() 2025-09-07T20:17:34,509 sys.exit(1) 2025-09-07T20:17:34,509 2025-09-07T20:17:34,509 __file__ = %r 2025-09-07T20:17:34,509 sys.argv[0] = __file__ 2025-09-07T20:17:34,509 2025-09-07T20:17:34,509 if os.path.exists(__file__): 2025-09-07T20:17:34,509 filename = __file__ 2025-09-07T20:17:34,509 with tokenize.open(__file__) as f: 2025-09-07T20:17:34,509 setup_py_code = f.read() 2025-09-07T20:17:34,509 else: 2025-09-07T20:17:34,509 filename = "" 2025-09-07T20:17:34,509 setup_py_code = "from setuptools import setup; setup()" 2025-09-07T20:17:34,509 2025-09-07T20:17:34,509 exec(compile(setup_py_code, filename, "exec")) 2025-09-07T20:17:34,509 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-y5qfutpt/py-sg_63a8801793e14dce89f93e145a580e6a/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-nc51wp01[/] 2025-09-07T20:17:34,509 [bold magenta]cwd[/]: /tmp/pip-wheel-y5qfutpt/py-sg_63a8801793e14dce89f93e145a580e6a/ 2025-09-07T20:17:34,509 Building wheel for py-sg (setup.py): finished with status 'error' 2025-09-07T20:17:34,510 ERROR: Failed building wheel for py-sg 2025-09-07T20:17:34,511 Running setup.py clean for py-sg 2025-09-07T20:17:34,511 Running command python setup.py clean 2025-09-07T20:17:35,715 'build/lib.linux-armv7l-cpython-313' does not exist -- can't clean it 2025-09-07T20:17:35,715 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-09-07T20:17:35,715 'build/scripts-3.13' does not exist -- can't clean it 2025-09-07T20:17:35,827 Failed to build py-sg 2025-09-07T20:17:35,828 ERROR: Failed to build one or more wheels 2025-09-07T20:17:35,829 Exception information: 2025-09-07T20:17:35,829 Traceback (most recent call last): 2025-09-07T20:17:35,829 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-07T20:17:35,829 status = _inner_run() 2025-09-07T20:17:35,829 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-07T20:17:35,829 return self.run(options, args) 2025-09-07T20:17:35,829 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-07T20:17:35,829 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-07T20:17:35,829 return func(self, options, args) 2025-09-07T20:17:35,829 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-07T20:17:35,829 raise CommandError("Failed to build one or more wheels") 2025-09-07T20:17:35,829 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-07T20:17:35,833 Removed build tracker: '/tmp/pip-build-tracker-4r59v19t'