==> Retrieving sources... -> Updating donut git repo... ==> Generating checksums for source files... ==> Making package: donut 529.47758d7-1 (Fri 20 Dec 2024 08:37:27 PM UTC) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/mpdecimal 4.0.0-2 0.32 MiB core/python 3.12.7-1 70.07 MiB Total Installed Size: 70.39 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (10) New Version Net Change extra/python-autocommand 2.2.2-6 0.08 MiB extra/python-jaraco.collections 5.0.1-1 0.10 MiB extra/python-jaraco.context 5.3.0-1 0.04 MiB extra/python-jaraco.functools 4.0.2-1 0.07 MiB extra/python-jaraco.text 4.0.0-1 0.08 MiB extra/python-more-itertools 10.3.0-1 0.63 MiB extra/python-packaging 24.2-1 0.66 MiB extra/python-platformdirs 4.3.6-1 0.24 MiB extra/python-wheel 0.45.0-1 0.28 MiB extra/python-setuptools 1:75.2.0-2 7.99 MiB Total Installed Size: 10.18 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-jaraco.text... Optional dependencies for python-jaraco.text python-inflect: for show-newlines script installing python-jaraco.collections... installing python-packaging... installing python-platformdirs... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures python-setuptools: for legacy bdist_wheel subcommand [pending] installing python-setuptools... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Updating donut git repo... ==> Validating source files with sha512sums... donut ... Skipped ==> Extracting sources... -> Creating working copy of donut git repo... Switched to a new branch 'makepkg' ==> Starting prepare()... ==> Starting pkgver()... ==> Starting build()... rm -f loader.exe exe2h.exe exe2h loader32.exe loader64.exe donut.o hash.o encrypt.o format.o clib.o hash encrypt donut hash.exe encrypt.exe donut.exe lib/libdonut.a lib/libdonut.so gcc -Wunused-function -Wall -fpack-struct=8 -DDONUT_EXE -I include donut.c hash.c encrypt.c format.c loader/clib.c lib/aplib64.a -odonut format.c: In function ‘uuid_template’: format.c:259:18: warning: pointer ‘p’ used after ‘realloc’ [-Wuse-after-free] 259 | memcpy(p + len, uuid_null, rem); | ~~^~~~~ format.c:258:15: note: call to ‘realloc’ here 258 | pic = realloc(pic, len+rem); | ^~~~~~~~~~~~~~~~~~~~~ gcc -Wunused-function -Wall -c -fpack-struct=8 -fPIC -I include donut.c hash.c encrypt.c format.c loader/clib.c format.c: In function ‘uuid_template’: format.c:259:18: warning: pointer ‘p’ used after ‘realloc’ [-Wuse-after-free] 259 | memcpy(p + len, uuid_null, rem); | ~~^~~~~ format.c:258:15: note: call to ‘realloc’ here 258 | pic = realloc(pic, len+rem); | ^~~~~~~~~~~~~~~~~~~~~ ar rcs lib/libdonut.a donut.o hash.o encrypt.o format.o clib.o lib/aplib64.a gcc -Wall -shared -o lib/libdonut.so donut.o hash.o encrypt.o format.o clib.o lib/aplib64.a running build running build_ext building 'donut' extension creating build/temp.linux-x86_64-cpython-312 creating build/temp.linux-x86_64-cpython-312/loader gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/donut/src=/usr/src/debug/donut -flto=auto -fPIC -Iinclude -I/usr/include/python3.12 -c donut.c -o build/temp.linux-x86_64-cpython-312/donut.o donut.c: In function ‘read_file_info’: donut.c:574:19: warning: comparison of integer expressions of different signedness: ‘ULONG64’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 574 | if (ofs != -1) { | ^~ donut.c:579:22: warning: comparison of integer expressions of different signedness: ‘ULONG64’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 579 | if(ofs != -1) { | ^~ donut.c: In function ‘gen_random_string’: donut.c:667:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 667 | for(i=0; imethod, c->method, DONUT_MAX_NAME-1); | ^ donut.c:746:9: warning: ‘__strncpy_chk’ output may be truncated copying 8 bytes from a string of length 255 [-Wstringop-truncation] 746 | strncpy(mod->domain, c->domain, DONUT_DOMAIN_LEN); | ^ donut.c:753:9: warning: ‘__strncpy_chk’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 753 | strncpy(mod->cls, c->cls, DONUT_MAX_NAME-1); | ^ donut.c:756:9: warning: ‘__strncpy_chk’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 756 | strncpy(mod->method, c->method, DONUT_MAX_NAME-1); | ^ donut.c:763:7: warning: ‘__strncpy_chk’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 763 | strncpy(mod->runtime, c->runtime, DONUT_MAX_NAME-1); | ^ donut.c:792:7: warning: ‘__strncat_chk’ output may be truncated copying 250 bytes from a string of length 255 [-Wstringop-truncation] 792 | strncat(mod->args, c->args, DONUT_MAX_NAME-6); | ^ gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/donut/src=/usr/src/debug/donut -flto=auto -fPIC -Iinclude -I/usr/include/python3.12 -c donutmodule.c -o build/temp.linux-x86_64-cpython-312/donutmodule.o gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/donut/src=/usr/src/debug/donut -flto=auto -fPIC -Iinclude -I/usr/include/python3.12 -c encrypt.c -o build/temp.linux-x86_64-cpython-312/encrypt.o gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/donut/src=/usr/src/debug/donut -flto=auto -fPIC -Iinclude -I/usr/include/python3.12 -c format.c -o build/temp.linux-x86_64-cpython-312/format.o format.c: In function ‘uuid_template’: format.c:259:18: warning: pointer ‘p_91’ used after ‘realloc’ [-Wuse-after-free] 259 | memcpy(p + len, uuid_null, rem); | ~~^~~~~ format.c:258:15: note: call to ‘realloc’ here 258 | pic = realloc(pic, len+rem); | ^~~~~~~~~~~~~~~~~~~~~ In function ‘b64_encode’, inlined from ‘base64_template’ at format.c:131:10: format.c:111:12: warning: ‘i’ may be used uninitialized [-Wmaybe-uninitialized] 111 | while(i!=0) { *out++ = '='; i--; } | ~^~~ format.c: In function ‘base64_template’: format.c:75:14: note: ‘i’ was declared here 75 | uint32_t i, len, x; | ^ gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/donut/src=/usr/src/debug/donut -flto=auto -fPIC -Iinclude -I/usr/include/python3.12 -c hash.c -o build/temp.linux-x86_64-cpython-312/hash.o gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/donut/src=/usr/src/debug/donut -flto=auto -fPIC -Iinclude -I/usr/include/python3.12 -c loader/clib.c -o build/temp.linux-x86_64-cpython-312/loader/clib.o creating build/lib.linux-x86_64-cpython-312 gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/donut/src=/usr/src/debug/donut -flto=auto build/temp.linux-x86_64-cpython-312/donut.o build/temp.linux-x86_64-cpython-312/donutmodule.o build/temp.linux-x86_64-cpython-312/encrypt.o build/temp.linux-x86_64-cpython-312/format.o build/temp.linux-x86_64-cpython-312/hash.o build/temp.linux-x86_64-cpython-312/loader/clib.o lib/aplib64.a -Llib -L/usr/lib -o build/lib.linux-x86_64-cpython-312/donut.cpython-312-x86_64-linux-gnu.so ==> Entering fakeroot environment... ==> Starting package()... running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /src/packages/pentesting/donut/pkg/donut/usr/lib/python3.12/site-packages copying build/lib.linux-x86_64-cpython-312/donut.cpython-312-x86_64-linux-gnu.so -> /src/packages/pentesting/donut/pkg/donut/usr/lib/python3.12/site-packages writing byte-compilation script '/tmp/tmpu7k9uz3a.py' /usr/sbin/python /tmp/tmpu7k9uz3a.py removing /tmp/tmpu7k9uz3a.py running install_egg_info running egg_info creating donut_shellcode.egg-info writing donut_shellcode.egg-info/PKG-INFO writing dependency_links to donut_shellcode.egg-info/dependency_links.txt writing top-level names to donut_shellcode.egg-info/top_level.txt writing manifest file 'donut_shellcode.egg-info/SOURCES.txt' reading manifest file 'donut_shellcode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'donut_shellcode.egg-info/SOURCES.txt' Copying donut_shellcode.egg-info to /src/packages/pentesting/donut/pkg/donut/usr/lib/python3.12/site-packages/donut_shellcode-1.1-py3.12.egg-info running install_scripts ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "donut"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Creating package "donut-debug"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: donut 529.47758d7-1 (Fri 20 Dec 2024 08:37:35 PM UTC) ==> Cleaning up... ==> Removing installed dependencies... checking dependencies... :: git optionally requires python: git svn & git p4 :: iproute2 optionally requires python: for routel :: libevent optionally requires python: event_rpcgen.py :: libxml2 optionally requires python: Python bindings :: rsync optionally requires python: for rrsync :: util-linux-libs optionally requires python: python bindings to libmount Package (12) Old Version Net Change mpdecimal 4.0.0-2 -0.32 MiB python 3.12.7-1 -70.07 MiB python-autocommand 2.2.2-6 -0.08 MiB python-jaraco.collections 5.0.1-1 -0.10 MiB python-jaraco.context 5.3.0-1 -0.04 MiB python-jaraco.functools 4.0.2-1 -0.07 MiB python-jaraco.text 4.0.0-1 -0.08 MiB python-more-itertools 10.3.0-1 -0.63 MiB python-packaging 24.2-1 -0.66 MiB python-platformdirs 4.3.6-1 -0.24 MiB python-setuptools 1:75.2.0-2 -7.99 MiB python-wheel 0.45.0-1 -0.28 MiB Total Removed Size: 80.58 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing python-setuptools... removing python-wheel... removing python-platformdirs... removing python-packaging... removing python-jaraco.collections... removing python-jaraco.text... removing python-jaraco.functools... removing python-more-itertools... removing python-jaraco.context... removing python-autocommand... removing python... removing mpdecimal... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...