>>> dived: Building community/dived 1.9.0-r0 (using abuild 3.15.0_rc3-r3) started Thu, 22 May 2025 04:33:20 +0000 >>> dived: Validating /home/buildozer/aports/community/dived/APKBUILD... >>> dived: Analyzing dependencies... >>> dived: Installing for build: build-base libcap-dev linux-headers bash procps-ng (1/7) Installing linux-headers (6.14.2-r0) (2/7) Installing libcap-dev (2.76-r0) (3/7) Installing bash (5.2.37-r0) Executing bash-5.2.37-r0.post-install (4/7) Installing libintl (0.24.1-r0) (5/7) Installing libproc2 (4.0.4-r2) (6/7) Installing procps-ng (4.0.4-r2) (7/7) Installing .makedepends-dived (20250522.043328) Executing busybox-1.37.0-r17.trigger OK: 345 MiB in 108 packages >>> dived: Cleaning up srcdir >>> dived: Cleaning up pkgdir >>> dived: Cleaning up tmpdir >>> dived: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/dive-1.9.0.tar.gz >>> dived: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/dive-1.9.0.tar.gz >>> dived: Checking sha512sums... dive-1.9.0.tar.gz: OK fix-format.patch: OK >>> dived: Unpacking /var/cache/distfiles/v3.22/dive-1.9.0.tar.gz... >>> dived: fix-format.patch patching file dived.c int setns(int, int); int execvpe(const char *, char *const [], char *const []); int unshare(int); 41 Configuration finished, wrote necessary workarounds to config.h cc -Os -fstack-clash-protection -Wformat -Werror=format-security -c -o safer.o safer.c cc -Os -fstack-clash-protection -Wformat -Werror=format-security -Wall -g recv_fd.c dived.c safer.o -Wl,--as-needed,-O1,--sort-common -lcap -o dived cc -Os -fstack-clash-protection -Wformat -Werror=format-security -Wall -g send_fd.c dive.c safer.o -Wl,--as-needed,-O1,--sort-common -o dive bash tests.sh Dummy dived call OK Dummy dive call OK dived -J simple test OK dived -J return code OK dived -J print OK dive and dived echo OK dive and dived echo (dived -n) OK dive and dived return code OK dive and dived return code (dived -n) OK Preserve environment OK No preserve environment if -E OK No preserve DIVE_* environment OK DIVE_USER OK DIVE_USER -E OK DIVE_UID OK DIVE_PID OK High fd redirection OK dived -O option OK Current directory preservation OK No current directory preservation if dived -H OK --chdir option with -H OK Prepended args test OK Prepended args test with dived -A OK Umask preservance OK No umask preservance if dived -M OK No stray FDs OK No stray FDs (dived -n) OK dived -X option supported OK ping works fail soft; code=1 ping fails when from dived -X OK signal delivery without --signals OK signal delivery with --signals OK simple --authenticate test OK failed authentication test OK no pwd, env or umask is preserved for auth prog OK signals are not delivered to auth prog OK DIVE_WAITMODE=0 works OK DIVE_WAITMODE=1 works OK DIVE_WAITMODE=2 works OK DIVE_WAITMODE=0 with dived -w works OK DIVE_WAITMODE=1 with dived -w works OK DIVE_WAITMODE=2 with dived -w works OK Can we test with inetd? (inetd and socat works) tests.sh: line 255: inetd: command not found fail soft; code=127 tests.sh: line 259: kill: (10119) - No such process Testing --inetd mode tests.sh: line 264: inetd: command not found fail soft; code=2 tests.sh: line 268: kill: (10125) - No such process dived --rlimit argument parsing 1 OK dived --rlimit argument parsing 2 OK dived --rlimit argument parsing 3 OK dived --rlimit argument parsing 4 OK dived --rlimit argument parsing 5 OK dived --rlimit argument parsing 6 OK dived --rlimit argument parsing 7 OK dived --rlimit nofile=10 enforcement 9> FAIL code=1 dived --rlimit nofile=10 enforcement 10> OK dived --write-content file "1 2 3" OK The rest tests require root access make: *** [Makefile:59: test] Error 1 >>> ERROR: dived: check failed >>> dived: Uninstalling dependencies... (1/7) Purging .makedepends-dived (20250522.043328) (2/7) Purging libcap-dev (2.76-r0) (3/7) Purging linux-headers (6.14.2-r0) (4/7) Purging bash (5.2.37-r0) Executing bash-5.2.37-r0.pre-deinstall (5/7) Purging procps-ng (4.0.4-r2) (6/7) Purging libintl (0.24.1-r0) (7/7) Purging libproc2 (4.0.4-r2) Executing busybox-1.37.0-r17.trigger OK: 338 MiB in 101 packages