>>> dived: Building testing/dived 1.9.0-r0 (using abuild 3.14.0-r0) started Tue, 22 Oct 2024 21:57:25 +0000 >>> dived: Validating /home/buildozer/aports/testing/dived/APKBUILD... >>> WARNING: dived: Setting the maintainer with a comment is deprecated. Use maintainer="Celeste " instead >>> dived: Analyzing dependencies... >>> dived: Installing for build: build-base libcap-dev linux-headers bash procps-ng (1/7) Installing linux-headers (6.6-r1) (2/7) Installing libcap-dev (2.70-r0) (3/7) Installing bash (5.2.37-r0) Executing bash-5.2.37-r0.post-install (4/7) Installing libintl (0.22.5-r0) (5/7) Installing libproc2 (4.0.4-r2) (6/7) Installing procps-ng (4.0.4-r2) (7/7) Installing .makedepends-dived (20241022.215727) Executing busybox-1.37.0-r3.trigger OK: 412 MiB in 122 packages >>> dived: Cleaning up srcdir >>> dived: Cleaning up pkgdir >>> dived: Cleaning up tmpdir >>> dived: Fetching https://distfiles.alpinelinux.org/distfiles/edge/dive-1.9.0.tar.gz >>> dived: Fetching https://distfiles.alpinelinux.org/distfiles/edge/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/edge/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); 217 Configuration finished, wrote necessary workarounds to config.h gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -c -o safer.o safer.c gcc -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 gcc -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: (36231) - No such process Testing --inetd mode tests.sh: line 264: inetd: command not found fail soft; code=2 tests.sh: line 268: kill: (36237) - 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 >>> dived: Entering fakeroot... mkdir -p /home/buildozer/aports/testing/dived/pkg/dived/usr/bin/ /home/buildozer/aports/testing/dived/pkg/dived/usr/share/man/man1/ install -m 755 dive /home/buildozer/aports/testing/dived/pkg/dived/usr/bin/ install -m 755 dived /home/buildozer/aports/testing/dived/pkg/dived/usr/bin/ gzip -9 < dive.1 > /home/buildozer/aports/testing/dived/pkg/dived/usr/share/man/man1/dive.1.gz gzip -9 < dived.1 > /home/buildozer/aports/testing/dived/pkg/dived/usr/share/man/man1/dived.1.gz created directory: '/home/buildozer/aports/testing/dived/pkg/dived/usr/share/licenses/' created directory: '/home/buildozer/aports/testing/dived/pkg/dived/usr/share/licenses/dived/' 'debian/copyright' -> '/home/buildozer/aports/testing/dived/pkg/dived/usr/share/licenses/dived/copyright' >>> dived-doc*: Running split function doc... 'usr/share/man' -> '/home/buildozer/aports/testing/dived/pkg/dived-doc/usr/share/man' 'usr/share/licenses' -> '/home/buildozer/aports/testing/dived/pkg/dived-doc/usr/share/licenses' >>> dived-doc*: Preparing subpackage dived-doc... >>> dived-doc*: Running postcheck for dived-doc >>> dived*: Running postcheck for dived >>> dived*: Preparing package dived... >>> dived*: Stripping binaries >>> dived-doc*: Scanning shared objects >>> dived*: Scanning shared objects >>> dived-doc*: Tracing dependencies... >>> dived-doc*: Package size: 9.1 KB >>> dived-doc*: Compressing data... >>> dived-doc*: Create checksum... >>> dived-doc*: Create dived-doc-1.9.0-r0.apk >>> dived*: Tracing dependencies... so:libc.musl-x86.so.1 so:libcap.so.2 >>> dived*: Package size: 54.5 KB >>> dived*: Compressing data... >>> dived*: Create checksum... >>> dived*: Create dived-1.9.0-r0.apk >>> dived: Build complete at Tue, 22 Oct 2024 21:57:34 +0000 elapsed time 0h 0m 9s >>> dived: Cleaning up srcdir >>> dived: Cleaning up pkgdir >>> dived: Uninstalling dependencies... (1/7) Purging .makedepends-dived (20241022.215727) (2/7) Purging libcap-dev (2.70-r0) (3/7) Purging linux-headers (6.6-r1) (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.22.5-r0) (7/7) Purging libproc2 (4.0.4-r2) Executing busybox-1.37.0-r3.trigger OK: 404 MiB in 115 packages >>> dived: Updating the testing/x86 repository index... >>> dived: Signing the index...