2025-09-08T20:07:13,395 Created temporary directory: /tmp/pip-build-tracker-zao0nh3y 2025-09-08T20:07:13,395 Initialized build tracking at /tmp/pip-build-tracker-zao0nh3y 2025-09-08T20:07:13,395 Created build tracker: /tmp/pip-build-tracker-zao0nh3y 2025-09-08T20:07:13,396 Entered build tracker: /tmp/pip-build-tracker-zao0nh3y 2025-09-08T20:07:13,396 Created temporary directory: /tmp/pip-wheel-7qa2bkw8 2025-09-08T20:07:13,399 Created temporary directory: /tmp/pip-ephem-wheel-cache-yra3oqtr 2025-09-08T20:07:13,454 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-08T20:07:13,456 2 location(s) to search for versions of donut-shellcode: 2025-09-08T20:07:13,456 * https://pypi.org/simple/donut-shellcode/ 2025-09-08T20:07:13,456 * https://www.piwheels.org/simple/donut-shellcode/ 2025-09-08T20:07:13,456 Fetching project page and analyzing links: https://pypi.org/simple/donut-shellcode/ 2025-09-08T20:07:13,457 Getting page https://pypi.org/simple/donut-shellcode/ 2025-09-08T20:07:13,458 Found index url https://pypi.org/simple/ 2025-09-08T20:07:13,604 Fetched page https://pypi.org/simple/donut-shellcode/ as application/vnd.pypi.simple.v1+json 2025-09-08T20:07:13,607 Found link https://files.pythonhosted.org/packages/21/d9/443a166c53af55f16f7b1ce2680fa1599e2dcd9aee0ceb342d77db77df2b/donut-shellcode-0.9.2.tar.gz (from https://pypi.org/simple/donut-shellcode/) (requires-python:>=3.0), version: 0.9.2 2025-09-08T20:07:13,607 Found link https://files.pythonhosted.org/packages/70/0b/9a17095c025908aea92d464f8f91ac845b9474704bafdb5311b73a6bd748/donut-shellcode-1.0.2.tar.gz (from https://pypi.org/simple/donut-shellcode/) (requires-python:>=3.0), version: 1.0.2 2025-09-08T20:07:13,608 Found link https://files.pythonhosted.org/packages/72/8c/242e224a2e4ce924d05b8c4f0ac3495fd43fa348614799376b2e05ddd657/donut_shellcode-1.1.tar.gz (from https://pypi.org/simple/donut-shellcode/) (requires-python:>=3.0), version: 1.1 2025-09-08T20:07:13,609 Fetching project page and analyzing links: https://www.piwheels.org/simple/donut-shellcode/ 2025-09-08T20:07:13,609 Getting page https://www.piwheels.org/simple/donut-shellcode/ 2025-09-08T20:07:13,611 Found index url https://www.piwheels.org/simple/ 2025-09-08T20:07:13,716 Fetched page https://www.piwheels.org/simple/donut-shellcode/ as text/html 2025-09-08T20:07:13,719 Skipping link: No binaries permitted for donut-shellcode: https://archive1.piwheels.org/simple/donut-shellcode/donut_shellcode-0.9.2-cp39-cp39-linux_armv6l.whl#sha256=633a76c6e66310cc165d8bd2c9d288db24e756c56749b75661d6d6359918265d (from https://www.piwheels.org/simple/donut-shellcode/) (requires-python:>=3.0) 2025-09-08T20:07:13,720 Skipping link: No binaries permitted for donut-shellcode: https://archive1.piwheels.org/simple/donut-shellcode/donut_shellcode-0.9.2-cp39-cp39-linux_armv7l.whl#sha256=633a76c6e66310cc165d8bd2c9d288db24e756c56749b75661d6d6359918265d (from https://www.piwheels.org/simple/donut-shellcode/) (requires-python:>=3.0) 2025-09-08T20:07:13,720 Skipping link: No binaries permitted for donut-shellcode: https://archive1.piwheels.org/simple/donut-shellcode/donut_shellcode-0.9.2-cp34-cp34m-linux_armv6l.whl#sha256=fcc3e500f79594c0f1af33ed12ffd8b6e8b9e37b366f83e2a8c39d145cec62e5 (from https://www.piwheels.org/simple/donut-shellcode/) (requires-python:>=3.0) 2025-09-08T20:07:13,720 Skipping link: No binaries permitted for donut-shellcode: https://archive1.piwheels.org/simple/donut-shellcode/donut_shellcode-0.9.2-cp34-cp34m-linux_armv7l.whl#sha256=fcc3e500f79594c0f1af33ed12ffd8b6e8b9e37b366f83e2a8c39d145cec62e5 (from https://www.piwheels.org/simple/donut-shellcode/) (requires-python:>=3.0) 2025-09-08T20:07:13,720 Skipping link: No binaries permitted for donut-shellcode: https://archive1.piwheels.org/simple/donut-shellcode/donut_shellcode-0.9.2-cp37-cp37m-linux_armv7l.whl#sha256=020b92eba19817462a7410938a934e0f606853bb11f7cb16dd3dc8b8c76af8e0 (from https://www.piwheels.org/simple/donut-shellcode/) (requires-python:>=3.0) 2025-09-08T20:07:13,720 Skipping link: No binaries permitted for donut-shellcode: https://archive1.piwheels.org/simple/donut-shellcode/donut_shellcode-0.9.2-cp37-cp37m-linux_armv6l.whl#sha256=020b92eba19817462a7410938a934e0f606853bb11f7cb16dd3dc8b8c76af8e0 (from https://www.piwheels.org/simple/donut-shellcode/) (requires-python:>=3.0) 2025-09-08T20:07:13,720 Skipping link: No binaries permitted for donut-shellcode: https://archive1.piwheels.org/simple/donut-shellcode/donut_shellcode-0.9.2-cp35-cp35m-linux_armv6l.whl#sha256=7cf5fb49f1a22bc695960d3e7e45b724410ffa92cb0eb46ba6b2aa06137fec21 (from https://www.piwheels.org/simple/donut-shellcode/) (requires-python:>=3.0) 2025-09-08T20:07:13,721 Skipping link: No binaries permitted for donut-shellcode: https://archive1.piwheels.org/simple/donut-shellcode/donut_shellcode-0.9.2-cp35-cp35m-linux_armv7l.whl#sha256=7cf5fb49f1a22bc695960d3e7e45b724410ffa92cb0eb46ba6b2aa06137fec21 (from https://www.piwheels.org/simple/donut-shellcode/) (requires-python:>=3.0) 2025-09-08T20:07:13,721 Skipping link: No binaries permitted for donut-shellcode: https://archive1.piwheels.org/simple/donut-shellcode/donut_shellcode-0.9.2-cp311-cp311-linux_armv6l.whl#sha256=e0cf2adb3c7bf6c997b3bde746d7b19cbe5ebb6460f34e8cacc723d0d05daf42 (from https://www.piwheels.org/simple/donut-shellcode/) (requires-python:>=3.0) 2025-09-08T20:07:13,721 Skipping link: No binaries permitted for donut-shellcode: https://archive1.piwheels.org/simple/donut-shellcode/donut_shellcode-0.9.2-cp311-cp311-linux_armv7l.whl#sha256=e0cf2adb3c7bf6c997b3bde746d7b19cbe5ebb6460f34e8cacc723d0d05daf42 (from https://www.piwheels.org/simple/donut-shellcode/) (requires-python:>=3.0) 2025-09-08T20:07:13,721 Skipping link: not a file: https://www.piwheels.org/simple/donut-shellcode/ 2025-09-08T20:07:13,721 Skipping link: not a file: https://pypi.org/simple/donut-shellcode/ 2025-09-08T20:07:13,745 Given no hashes to check 1 links for project 'donut-shellcode': discarding no candidates 2025-09-08T20:07:13,746 Collecting donut-shellcode==0.9.2 2025-09-08T20:07:13,748 Created temporary directory: /tmp/pip-unpack-cu96ui98 2025-09-08T20:07:13,888 Downloading donut-shellcode-0.9.2.tar.gz (149 kB) 2025-09-08T20:07:13,985 Added donut-shellcode==0.9.2 from https://files.pythonhosted.org/packages/21/d9/443a166c53af55f16f7b1ce2680fa1599e2dcd9aee0ceb342d77db77df2b/donut-shellcode-0.9.2.tar.gz to build tracker '/tmp/pip-build-tracker-zao0nh3y' 2025-09-08T20:07:13,986 Running setup.py (path:/tmp/pip-wheel-7qa2bkw8/donut-shellcode_dc011fd454c3430bae36bb46050c2611/setup.py) egg_info for package donut-shellcode 2025-09-08T20:07:13,986 Created temporary directory: /tmp/pip-pip-egg-info-jw1pn19y 2025-09-08T20:07:13,987 Preparing metadata (setup.py): started 2025-09-08T20:07:13,987 Running command python setup.py egg_info 2025-09-08T20:07:15,132 running egg_info 2025-09-08T20:07:15,208 creating /tmp/pip-pip-egg-info-jw1pn19y/donut_shellcode.egg-info 2025-09-08T20:07:15,208 writing /tmp/pip-pip-egg-info-jw1pn19y/donut_shellcode.egg-info/PKG-INFO 2025-09-08T20:07:15,210 writing dependency_links to /tmp/pip-pip-egg-info-jw1pn19y/donut_shellcode.egg-info/dependency_links.txt 2025-09-08T20:07:15,211 writing top-level names to /tmp/pip-pip-egg-info-jw1pn19y/donut_shellcode.egg-info/top_level.txt 2025-09-08T20:07:15,211 writing manifest file '/tmp/pip-pip-egg-info-jw1pn19y/donut_shellcode.egg-info/SOURCES.txt' 2025-09-08T20:07:15,430 reading manifest file '/tmp/pip-pip-egg-info-jw1pn19y/donut_shellcode.egg-info/SOURCES.txt' 2025-09-08T20:07:15,431 reading manifest template 'MANIFEST.in' 2025-09-08T20:07:15,442 adding license file 'LICENSE' 2025-09-08T20:07:15,447 writing manifest file '/tmp/pip-pip-egg-info-jw1pn19y/donut_shellcode.egg-info/SOURCES.txt' 2025-09-08T20:07:15,560 Preparing metadata (setup.py): finished with status 'done' 2025-09-08T20:07:15,565 Source in /tmp/pip-wheel-7qa2bkw8/donut-shellcode_dc011fd454c3430bae36bb46050c2611 has version 0.9.2, which satisfies requirement donut-shellcode==0.9.2 from https://files.pythonhosted.org/packages/21/d9/443a166c53af55f16f7b1ce2680fa1599e2dcd9aee0ceb342d77db77df2b/donut-shellcode-0.9.2.tar.gz 2025-09-08T20:07:15,565 Removed donut-shellcode==0.9.2 from https://files.pythonhosted.org/packages/21/d9/443a166c53af55f16f7b1ce2680fa1599e2dcd9aee0ceb342d77db77df2b/donut-shellcode-0.9.2.tar.gz from build tracker '/tmp/pip-build-tracker-zao0nh3y' 2025-09-08T20:07:15,570 Created temporary directory: /tmp/pip-unpack-f1x9ucdo 2025-09-08T20:07:15,570 Created temporary directory: /tmp/pip-unpack-g17zltif 2025-09-08T20:07:15,570 Building wheels for collected packages: donut-shellcode 2025-09-08T20:07:15,572 Created temporary directory: /tmp/pip-wheel-b26295qq 2025-09-08T20:07:15,572 DEPRECATION: Building 'donut-shellcode' 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 'donut-shellcode'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-09-08T20:07:15,573 Building wheel for donut-shellcode (setup.py): started 2025-09-08T20:07:15,574 Destination directory: /tmp/pip-wheel-b26295qq 2025-09-08T20:07:15,574 Running command python setup.py bdist_wheel 2025-09-08T20:07:16,640 running bdist_wheel 2025-09-08T20:07:17,005 running build 2025-09-08T20:07:17,005 running build_ext 2025-09-08T20:07:17,347 building 'donut' extension 2025-09-08T20:07:17,349 creating build/temp.linux-armv7l-cpython-313 2025-09-08T20:07:17,350 creating build/temp.linux-armv7l-cpython-313/payload 2025-09-08T20:07:17,350 arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -Iinclude -I/usr/include/python3.13 -c donut.c -o build/temp.linux-armv7l-cpython-313/donut.o 2025-09-08T20:07:17,571 donut.c: In function ‘get_file_info’: 2025-09-08T20:07:17,572 donut.c:377:17: warning: comparison of integer expressions of different signedness: ‘DWORD’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2025-09-08T20:07:17,572 377 | if (ofs != -1) { 2025-09-08T20:07:17,572 | ^~ 2025-09-08T20:07:17,572 donut.c:382:20: warning: comparison of integer expressions of different signedness: ‘DWORD’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2025-09-08T20:07:17,572 382 | if(ofs != -1) { 2025-09-08T20:07:17,572 | ^~ 2025-09-08T20:07:17,572 donut.c: In function ‘is_dll_export’: 2025-09-08T20:07:17,573 donut.c:416:16: warning: comparison of integer expressions of different signedness: ‘DWORD’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2025-09-08T20:07:17,573 416 | if(ofs != -1) { 2025-09-08T20:07:17,573 | ^~ 2025-09-08T20:07:17,574 donut.c: In function ‘GenRandomString’: 2025-09-08T20:07:17,574 donut.c:492:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long long unsigned int’} [-Wsign-compare] 2025-09-08T20:07:17,574 492 | for(i=0; imethod, c->method, DONUT_MAX_NAME-1); 2025-09-08T20:07:17,781 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-08T20:07:17,781 donut.c:572:7: warning: ‘strncpy’ output may be truncated copying 2055 bytes from a string of length 2303 [-Wstringop-truncation] 2025-09-08T20:07:17,782 572 | strncpy(parambuf, c->param, sizeof(parambuf)-1); 2025-09-08T20:07:17,782 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-08T20:07:18,427 arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -Iinclude -I/usr/include/python3.13 -c donutmodule.c -o build/temp.linux-armv7l-cpython-313/donutmodule.o 2025-09-08T20:07:18,803 donutmodule.c: In function ‘Donut_Create’: 2025-09-08T20:07:18,804 donutmodule.c:68:14: error: assignment to ‘int’ from ‘int *’ makes integer from pointer without a cast [-Wint-conversion] 2025-09-08T20:07:18,804 68 | c.arch = arch; 2025-09-08T20:07:18,804 | ^ 2025-09-08T20:07:18,804 donutmodule.c:73:16: error: assignment to ‘int’ from ‘int *’ makes integer from pointer without a cast [-Wint-conversion] 2025-09-08T20:07:18,804 73 | c.bypass = bypass; 2025-09-08T20:07:18,804 | ^ 2025-09-08T20:07:18,804 donutmodule.c:49:9: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 2025-09-08T20:07:18,804 49 | int err; 2025-09-08T20:07:18,805 | ^~~ 2025-09-08T20:07:18,805 donutmodule.c: At top level: 2025-09-08T20:07:18,805 donutmodule.c:131:9: error: initialization of ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} from incompatible pointer type ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types] 2025-09-08T20:07:18,805 131 | Donut_Create, // C wrapper function 2025-09-08T20:07:18,805 | ^~~~~~~~~~~~ 2025-09-08T20:07:18,805 donutmodule.c:131:9: note: (near initialization for ‘Donut_FunctionsTable[0].ml_meth’) 2025-09-08T20:07:18,814 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2025-09-08T20:07:18,963 ERROR: python setup.py bdist_wheel exited with 1 2025-09-08T20:07:18,975 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-08T20:07:18,975 exec(compile('"'"''"'"''"'"' 2025-09-08T20:07:18,975 # This is -- a caller that pip uses to run setup.py 2025-09-08T20:07:18,975 # 2025-09-08T20:07:18,975 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-08T20:07:18,975 # import from `distutils.core` to work with newer packaging standards. 2025-09-08T20:07:18,975 # - It provides a clear error message when setuptools is not installed. 2025-09-08T20:07:18,975 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-08T20:07:18,975 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-08T20:07:18,975 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-08T20:07:18,975 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-08T20:07:18,975 import os, sys, tokenize, traceback 2025-09-08T20:07:18,975 2025-09-08T20:07:18,975 try: 2025-09-08T20:07:18,975 import setuptools 2025-09-08T20:07:18,975 except ImportError: 2025-09-08T20:07:18,975 print( 2025-09-08T20:07:18,975 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-08T20:07:18,975 "the build environment with exception:", 2025-09-08T20:07:18,975 file=sys.stderr, 2025-09-08T20:07:18,975 ) 2025-09-08T20:07:18,975 traceback.print_exc() 2025-09-08T20:07:18,975 sys.exit(1) 2025-09-08T20:07:18,975 2025-09-08T20:07:18,975 __file__ = %r 2025-09-08T20:07:18,975 sys.argv[0] = __file__ 2025-09-08T20:07:18,975 2025-09-08T20:07:18,975 if os.path.exists(__file__): 2025-09-08T20:07:18,975 filename = __file__ 2025-09-08T20:07:18,975 with tokenize.open(__file__) as f: 2025-09-08T20:07:18,975 setup_py_code = f.read() 2025-09-08T20:07:18,975 else: 2025-09-08T20:07:18,975 filename = "" 2025-09-08T20:07:18,975 setup_py_code = "from setuptools import setup; setup()" 2025-09-08T20:07:18,975 2025-09-08T20:07:18,975 exec(compile(setup_py_code, filename, "exec")) 2025-09-08T20:07:18,975 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-7qa2bkw8/donut-shellcode_dc011fd454c3430bae36bb46050c2611/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-b26295qq[/] 2025-09-08T20:07:18,975 [bold magenta]cwd[/]: /tmp/pip-wheel-7qa2bkw8/donut-shellcode_dc011fd454c3430bae36bb46050c2611/ 2025-09-08T20:07:18,975 Building wheel for donut-shellcode (setup.py): finished with status 'error' 2025-09-08T20:07:18,976 ERROR: Failed building wheel for donut-shellcode 2025-09-08T20:07:18,976 Running setup.py clean for donut-shellcode 2025-09-08T20:07:18,977 Running command python setup.py clean 2025-09-08T20:07:20,110 running clean 2025-09-08T20:07:20,256 removing 'build/temp.linux-armv7l-cpython-313' (and everything under it) 2025-09-08T20:07:20,256 'build/lib.linux-armv7l-cpython-313' does not exist -- can't clean it 2025-09-08T20:07:20,256 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-09-08T20:07:20,256 'build/scripts-3.13' does not exist -- can't clean it 2025-09-08T20:07:20,256 removing 'build' 2025-09-08T20:07:20,368 Failed to build donut-shellcode 2025-09-08T20:07:20,369 ERROR: Failed to build one or more wheels 2025-09-08T20:07:20,369 Exception information: 2025-09-08T20:07:20,369 Traceback (most recent call last): 2025-09-08T20:07:20,369 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-08T20:07:20,369 status = _inner_run() 2025-09-08T20:07:20,369 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-08T20:07:20,369 return self.run(options, args) 2025-09-08T20:07:20,369 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-08T20:07:20,369 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-08T20:07:20,369 return func(self, options, args) 2025-09-08T20:07:20,369 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-08T20:07:20,369 raise CommandError("Failed to build one or more wheels") 2025-09-08T20:07:20,369 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-08T20:07:20,374 Removed build tracker: '/tmp/pip-build-tracker-zao0nh3y'