>>> chntpw: Building community/chntpw 140201-r5 (using abuild 3.13.0-r3) started Sun, 28 Apr 2024 04:15:50 +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 (20240428.041558) OK: 315 MiB in 104 packages >>> chntpw: Cleaning up srcdir >>> chntpw: Cleaning up pkgdir >>> chntpw: Cleaning up tmpdir >>> chntpw: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/chntpw-source-140201.zip Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> chntpw: Fetching http://pogostick.net/~pnh/ntpasswd/chntpw-source-140201.zip Connecting to pogostick.net (176.125.232.20:80) saving to '/var/cache/distfiles/chntpw-source-140201.zip.part' chntpw-source-140201 100% |********************************| 1371k 0:00:00 ETA '/var/cache/distfiles/chntpw-source-140201.zip.part' saved >>> chntpw: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/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/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 -fstack-clash-protection -Wformat -Werror=format-security chntpw.c gcc -c -Os -fstack-clash-protection -Wformat -Werror=format-security ntreg.c gcc -c -Os -fstack-clash-protection -Wformat -Werror=format-security edlib.c gcc -c -Os -fstack-clash-protection -Wformat -Werror=format-security libsam.c gcc -c -Os -fstack-clash-protection -Wformat -Werror=format-security cpnt.c gcc -c -Os -fstack-clash-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -o cpnt cpnt.o -L/usr/lib gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -o chntpw chntpw.o ntreg.o edlib.o libsam.o -L/usr/lib gcc -Os -fstack-clash-protection -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-armhf.so.1 >>> chntpw*: Package size: 168.0 KB >>> chntpw*: Compressing data... >>> chntpw*: Create checksum... >>> chntpw*: Create chntpw-140201-r5.apk >>> chntpw: Build complete at Sun, 28 Apr 2024 04:16:00 +0000 elapsed time 0h 0m 10s >>> chntpw: Cleaning up srcdir >>> chntpw: Cleaning up pkgdir >>> chntpw: Uninstalling dependencies... (1/1) Purging .makedepends-chntpw (20240428.041558) OK: 315 MiB in 103 packages >>> chntpw: Updating the community/armhf repository index... >>> chntpw: Signing the index...