>>> dived: Building community/dived 1.9.0-r0 (using abuild 3.15.0-r0) started Thu, 09 Oct 2025 17:10:45 +0000 >>> dived: Validating /home/udu/aports/community/dived/APKBUILD... >>> dived: Analyzing dependencies... >>> dived: Installing for build: build-base libcap-dev linux-headers bash procps-ng WARNING: opening /home/udu/packages//community: No such file or directory WARNING: opening /home/udu/packages//main: No such file or directory fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz (1/7) Installing linux-headers (6.14.2-r0) (2/7) Installing libcap-dev (2.76-r0) (3/7) Installing skalibs-libs (2.14.4.0-r0) (4/7) Installing utmps-libs (0.1.3.1-r0) (5/7) Installing libproc2 (4.0.4-r3) (6/7) Installing procps-ng (4.0.4-r3) (7/7) Installing .makedepends-dived (20251009.171045) Executing busybox-1.37.0-r19.trigger OK: 303 MiB in 96 packages >>> dived: Cleaning up srcdir >>> dived: Cleaning up pkgdir >>> dived: Cleaning up tmpdir >>> dived: Fetching https://github.com/vi/dive/archive/v1.9.0/dive-1.9.0.tar.gz >>> dived: Fetching https://github.com/vi/dive/archive/v1.9.0/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/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); 155 Configuration finished, wrote necessary workarounds to config.h cc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -c -o safer.o safer.c cc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -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 -fno-plt -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 FAIL code=1 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 ls: /proc/self/fd/: No such file or directory FAIL code=1 No stray FDs (dived -n) ls: /proc/self/fd/: No such file or directory FAIL code=1 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) inetd -i <(echo "test_dived stream unix nowait $USER /bin/echo echo qqq")& ^~~~~ tests.sh:255: Command 'inetd' not found (OILS-ERR-100) fail soft; code=127 kill: can't kill pid 1929704: No such process Testing --inetd mode inetd -i <(echo "test_dived stream unix nowait $USER ./$DIVED_NAME dived -i -T -P")& ^~~~~ tests.sh:264: Command 'inetd' not found (OILS-ERR-100) fail soft; code=2 kill: can't kill pid 1929709: 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> OK 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 FAIL code=1 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 ls: /proc/self/fd/: No such file or directory FAIL code=1 No stray FDs (dived -n) ls: /proc/self/fd/: No such file or directory FAIL code=1 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) inetd -i <(echo "test_dived stream unix nowait $USER /bin/echo echo qqq")& ^~~~~ tests.sh:255: Command 'inetd' not found (OILS-ERR-100) fail soft; code=127 kill: can't kill pid 1930032: No such process Testing --inetd mode inetd -i <(echo "test_dived stream unix nowait $USER ./$DIVED_NAME dived -i -T -P")& ^~~~~ tests.sh:264: Command 'inetd' not found (OILS-ERR-100) fail soft; code=2 kill: can't kill pid 1930037: 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> OK 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 FAIL code=1 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 ls: /proc/self/fd/: No such file or directory FAIL code=1 No stray FDs (dived -n) ls: /proc/self/fd/: No such file or directory FAIL code=1 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) inetd -i <(echo "test_dived stream unix nowait $USER /bin/echo echo qqq")& ^~~~~ tests.sh:255: Command 'inetd' not found (OILS-ERR-100) fail soft; code=127 kill: can't kill pid 1930345: No such process Testing --inetd mode inetd -i <(echo "test_dived stream unix nowait $USER ./$DIVED_NAME dived -i -T -P")& ^~~~~ tests.sh:264: Command 'inetd' not found (OILS-ERR-100) fail soft; code=2 kill: can't kill pid 1930350: 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> OK 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 FAIL code=1 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 ls: /proc/self/fd/: No such file or directory FAIL code=1 No stray FDs (dived -n) ls: /proc/self/fd/: No such file or directory FAIL code=1 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) inetd -i <(echo "test_dived stream unix nowait $USER /bin/echo echo qqq")& ^~~~~ tests.sh:255: Command 'inetd' not found (OILS-ERR-100) fail soft; code=127 kill: can't kill pid 1930656: No such process Testing --inetd mode inetd -i <(echo "test_dived stream unix nowait $USER ./$DIVED_NAME dived -i -T -P")& ^~~~~ tests.sh:264: Command 'inetd' not found (OILS-ERR-100) fail soft; code=2 kill: can't kill pid 1930661: 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> OK 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 (20251009.171045) (2/7) Purging libcap-dev (2.76-r0) (3/7) Purging linux-headers (6.14.2-r0) (4/7) Purging procps-ng (4.0.4-r3) (5/7) Purging libproc2 (4.0.4-r3) (6/7) Purging utmps-libs (0.1.3.1-r0) (7/7) Purging skalibs-libs (2.14.4.0-r0) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages