>>> chntpw: Building community/chntpw 140201-r5 (using abuild 3.11.0_rc13-r0) started Tue, 25 Apr 2023 07:17:11 +0000 >>> chntpw: Checking sanity of /home/buildozer/aports/community/chntpw/APKBUILD... >>> chntpw: Analyzing dependencies... >>> chntpw: Installing for build: build-base (1/1) Installing .makedepends-chntpw (20230425.071713) OK: 373 MiB in 99 packages >>> chntpw: Cleaning up srcdir >>> chntpw: Cleaning up pkgdir >>> chntpw: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/chntpw-source-140201.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1371k 100 1371k 0 0 9199k 0 --:--:-- --:--:-- --:--:-- 9264k >>> chntpw: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/chntpw-source-140201.zip >>> chntpw: Checking sha512sums... chntpw-source-140201.zip: OK stdint.patch: OK chntpw-080526-correct-test-for-failing-open-syscall.patch: OK chntpw-110511-detect-failure-to-write-key.patch: OK chntpw-110511-reged-no-deref-null.patch: OK chntpw-110511-robustness.patch: OK chntpw-140201-get_abs_path.patch: OK >>> chntpw: Unpacking /var/cache/distfiles/v3.18/chntpw-source-140201.zip... >>> chntpw: stdint.patch patching file ntreg.h >>> chntpw: chntpw-080526-correct-test-for-failing-open-syscall.patch patching file ntreg.c Hunk #1 succeeded at 4132 (offset 1367 lines). >>> chntpw: chntpw-110511-detect-failure-to-write-key.patch patching file ntreg.c Hunk #1 succeeded at 3492 (offset 103 lines). >>> chntpw: chntpw-110511-reged-no-deref-null.patch patching file reged.c >>> chntpw: chntpw-110511-robustness.patch patching file ntreg.c Hunk #1 succeeded at 227 (offset 37 lines). Hunk #2 succeeded at 4253 (offset 130 lines). >>> chntpw: chntpw-140201-get_abs_path.patch patching file ntreg.c Hunk #1 succeeded at 1515 (offset 4 lines). gcc -c -Os -Wformat -Werror=format-security chntpw.c gcc -c -Os -Wformat -Werror=format-security ntreg.c gcc -c -Os -Wformat -Werror=format-security edlib.c gcc -c -Os -Wformat -Werror=format-security libsam.c gcc -c -Os -Wformat -Werror=format-security cpnt.c gcc -c -Os -Wformat -Werror=format-security reged.c libsam.c: In function 'sam_put_grp_members_sid': libsam.c:514:28: warning: passing argument 1 of 'hexdump' from incompatible pointer type [-Wincompatible-pointer-types] 514 | if (gverbose) hexdump(&c->data, 0, c->len, 1); | ^~~~~~~~ | | | int * In file included from libsam.c:47: ntreg.h:396:20: note: expected 'char *' but argument is of type 'int *' 396 | void hexdump(char *hbuf, int start, int stop, int ascii); | ~~~~~~^~~~ libsam.c:531:56: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'void *' [-Wformat=] 531 | if (gverbose) printf(" copying : %d len %x, at %x\n",i,sarray[i].len, sidptr); | ~^ ~~~~~~ | | | | unsigned int void * | %p libsam.c:542:27: warning: passing argument 1 of 'hexdump' from incompatible pointer type [-Wincompatible-pointer-types] 542 | if (gverbose) hexdump(&c->data, 0, c->len, 1); | ^~~~~~~~ | | | int * ntreg.h:396:20: note: expected 'char *' but argument is of type 'int *' 396 | void hexdump(char *hbuf, int start, int stop, int ascii); | ~~~~~~^~~~ chntpw.c: In function 'handle_syskey': chntpw.c:805:31: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations] 805 | ff->syskeyflags1[i] = 0; | ~~~~~~~~~~~~~~~~~~~~^~~ chntpw.c:804:23: note: within this loop 804 | for (i = 0; i < 0x3b; i++) { | ~~^~~~~~ gcc -Os -Wformat -Werror=format-security -o cpnt cpnt.o -L/usr/lib gcc -Os -Wformat -Werror=format-security -o chntpw chntpw.o ntreg.o edlib.o libsam.o -L/usr/lib gcc -Os -Wformat -Werror=format-security -o reged reged.o ntreg.o edlib.o >>> chntpw: Entering fakeroot... >>> chntpw*: Running postcheck for chntpw >>> chntpw*: Preparing package chntpw... >>> chntpw*: Stripping binaries >>> chntpw*: Scanning shared objects >>> chntpw*: Tracing dependencies... so:libc.musl-x86.so.1 >>> chntpw*: Package size: 184.0 KB >>> chntpw*: Compressing data... >>> chntpw*: Create checksum... >>> chntpw*: Create chntpw-140201-r5.apk >>> chntpw: Build complete at Tue, 25 Apr 2023 07:17:16 +0000 elapsed time 0h 0m 5s >>> chntpw: Cleaning up srcdir >>> chntpw: Cleaning up pkgdir >>> chntpw: Uninstalling dependencies... (1/1) Purging .makedepends-chntpw (20230425.071713) OK: 373 MiB in 98 packages >>> chntpw: Updating the community/x86 repository index... >>> chntpw: Signing the index...