>>> dived: Building community/dived 1.9.0-r0 (using abuild 3.16.0_rc4-r0) started Wed, 05 Nov 2025 21:06:02 +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/9) Installing linux-headers (6.16.12-r0) (2/9) Installing libcap-dev (2.77-r0) (3/9) Installing bash (5.3.3-r1) bash-5.3.3-r1.post-install: Executing script... (4/9) Installing libintl (0.24.1-r1) (5/9) Installing skalibs-libs (2.14.4.0-r0) (6/9) Installing utmps-libs (0.1.3.1-r0) (7/9) Installing libproc2 (4.0.4-r3) (8/9) Installing procps-ng (4.0.4-r3) (9/9) Installing .makedepends-dived (20251105.210607) busybox-1.37.0-r24.trigger: Executing script... OK: 442 MiB in 114 packages >>> dived: Cleaning up srcdir >>> dived: Cleaning up pkgdir >>> dived: Cleaning up tmpdir >>> dived: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/dive-1.9.0.tar.gz /var/cache/distfiles/v3.23/dive-1.9.0.tar.gz: OK /home/buildozer/aports/community/dived/fix-format.patch: OK >>> dived: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/dive-1.9.0.tar.gz /var/cache/distfiles/v3.23/dive-1.9.0.tar.gz: OK /home/buildozer/aports/community/dived/fix-format.patch: OK >>> dived: Unpacking /var/cache/distfiles/v3.23/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 -Wl,-z,pack-relative-relocs -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 -Wl,-z,pack-relative-relocs -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: (47382) - No such process Testing --inetd mode tests.sh: line 264: inetd: command not found fail soft; code=2 tests.sh: line 268: kill: (47388) - 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 >>> dived: Retrying (1/3)... 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: (47785) - No such process Testing --inetd mode tests.sh: line 264: inetd: command not found fail soft; code=2 tests.sh: line 268: kill: (47791) - 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 >>> dived: Retrying (2/3)... 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: (48188) - No such process Testing --inetd mode tests.sh: line 264: inetd: command not found fail soft; code=2 tests.sh: line 268: kill: (48194) - 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 >>> dived: Retrying (3/3)... 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: (48591) - No such process Testing --inetd mode tests.sh: line 264: inetd: command not found fail soft; code=2 tests.sh: line 268: kill: (48598) - 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/9) Purging .makedepends-dived (20251105.210607) (2/9) Purging libcap-dev (2.77-r0) (3/9) Purging linux-headers (6.16.12-r0) (4/9) Purging bash (5.3.3-r1) bash-5.3.3-r1.pre-deinstall: Executing script... (5/9) Purging procps-ng (4.0.4-r3) (6/9) Purging libintl (0.24.1-r1) (7/9) Purging libproc2 (4.0.4-r3) (8/9) Purging utmps-libs (0.1.3.1-r0) (9/9) Purging skalibs-libs (2.14.4.0-r0) busybox-1.37.0-r24.trigger: Executing script... OK: 431 MiB in 105 packages