>>> nsjail: Building testing/nsjail 3.2-r0 (using abuild 3.10.0_rc1-r2) started Wed, 26 Oct 2022 20:12:45 +0000 >>> nsjail: Checking sanity of /home/buildozer/aports/testing/nsjail/APKBUILD... >>> nsjail: Analyzing dependencies... >>> nsjail: Installing for build: build-base bison flex linux-headers libnl3-dev protobuf-dev libbsd-dev (1/19) Installing m4 (1.4.19-r1) (2/19) Installing bison (3.8.2-r0) (3/19) Installing flex (2.6.4-r3) (4/19) Installing linux-headers (5.19.5-r0) (5/19) Installing libnl3 (3.7.0-r0) (6/19) Installing libnl3-cli (3.7.0-r0) (7/19) Installing libnl3-dev (3.7.0-r0) (8/19) Installing zlib-dev (1.2.13-r0) (9/19) Installing libprotobuf (3.21.8-r0) (10/19) Installing libprotoc (3.21.8-r0) (11/19) Installing protoc (3.21.8-r0) (12/19) Installing libprotobuf-lite (3.21.8-r0) (13/19) Installing protobuf-dev (3.21.8-r0) (14/19) Installing bsd-compat-headers (0.7.2-r3) (15/19) Installing libmd (1.0.4-r0) (16/19) Installing libmd-dev (1.0.4-r0) (17/19) Installing libbsd (0.11.7-r0) (18/19) Installing libbsd-dev (0.11.7-r0) (19/19) Installing .makedepends-nsjail (20221026.201246) Executing busybox-1.35.0-r27.trigger OK: 428 MiB in 117 packages >>> nsjail: Cleaning up srcdir >>> nsjail: Cleaning up pkgdir >>> nsjail: Fetching https://distfiles.alpinelinux.org/distfiles/edge/nsjail-3.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> nsjail: Fetching https://github.com/google/nsjail/archive/3.2/nsjail-3.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 69159 0 69159 0 0 101k 0 --:--:-- --:--:-- --:--:-- 221k >>> nsjail: Fetching https://distfiles.alpinelinux.org/distfiles/edge/kafel-1af0975af45ca4404f357b9a4e1636f53a01bfd3.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> nsjail: Fetching https://github.com/google/kafel/archive/1af0975af45ca4404f357b9a4e1636f53a01bfd3/kafel-1af0975af45ca4404f357b9a4e1636f53a01bfd3.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13015 0 13015 0 0 22297 0 --:--:-- --:--:-- --:--:-- 22297 100 86996 0 86996 0 0 138k 0 --:--:-- --:--:-- --:--:-- 2491k >>> nsjail: Fetching https://distfiles.alpinelinux.org/distfiles/edge/nsjail-3.2.tar.gz >>> nsjail: Fetching https://distfiles.alpinelinux.org/distfiles/edge/kafel-1af0975af45ca4404f357b9a4e1636f53a01bfd3.tar.gz >>> nsjail: Checking sha512sums... nsjail-3.2.tar.gz: OK kafel-1af0975af45ca4404f357b9a4e1636f53a01bfd3.tar.gz: OK 0001-subproc-mount-use-better-types-for-flags-u64-for-clo.patch: OK 0002-subproc.h-make-cloneProc-declaration-match-the-defin.patch: OK >>> nsjail: Unpacking /var/cache/distfiles/edge/nsjail-3.2.tar.gz... >>> nsjail: Unpacking /var/cache/distfiles/edge/kafel-1af0975af45ca4404f357b9a4e1636f53a01bfd3.tar.gz... >>> nsjail: 0001-subproc-mount-use-better-types-for-flags-u64-for-clo.patch patching file mnt.cc patching file subproc.cc >>> nsjail: 0002-subproc.h-make-cloneProc-declaration-match-the-defin.patch patching file subproc.h make: Entering directory '/home/buildozer/aports/testing/nsjail/src/nsjail-3.2/kafel' Makefile:27: warning: overriding recipe for target 'test' build/Makefile.mk:41: warning: ignoring old recipe for target 'test' make -C src PROJECT_ROOT=../ make[1]: Entering directory '/home/buildozer/aports/testing/nsjail/src/nsjail-3.2/kafel/src' flex lexer.l bison parser.y gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o context.o context.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o codegen.o codegen.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o expression.o expression.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o includes.o includes.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o parser_types.o parser_types.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o policy.o policy.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o range_rules.o range_rules.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o syscall.o syscall.c bison parser.y gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o syscalls/amd64_syscalls.o syscalls/amd64_syscalls.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o syscalls/i386_syscalls.o syscalls/i386_syscalls.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o syscalls/aarch64_syscalls.o syscalls/aarch64_syscalls.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o syscalls/mipso32_syscalls.o syscalls/mipso32_syscalls.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o syscalls/mips64_syscalls.o syscalls/mips64_syscalls.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o syscalls/riscv64_syscalls.o syscalls/riscv64_syscalls.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o syscalls/arm_syscalls.o syscalls/arm_syscalls.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Os -fomit-frame-pointer -c -o kafel.o kafel.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Wno-error -Os -fomit-frame-pointer -c -o lexer.o lexer.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Wno-error -Os -fomit-frame-pointer -c -o parser.o parser.c gcc -Os -fomit-frame-pointer -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Wl,-soname,../libkafel.so.1 -shared kafel.o context.o codegen.o expression.o includes.o parser_types.o policy.o range_rules.o syscall.o lexer.o parser.o syscalls/amd64_syscalls.o syscalls/i386_syscalls.o syscalls/aarch64_syscalls.o syscalls/mipso32_syscalls.o syscalls/mips64_syscalls.o syscalls/riscv64_syscalls.o syscalls/arm_syscalls.o -o ../libkafel.so gcc -Wl,--as-needed,-O1,--sort-common -r kafel.o context.o codegen.o expression.o includes.o parser_types.o policy.o range_rules.o syscall.o lexer.o parser.o syscalls/amd64_syscalls.o syscalls/i386_syscalls.o syscalls/aarch64_syscalls.o syscalls/mipso32_syscalls.o syscalls/mips64_syscalls.o syscalls/riscv64_syscalls.o syscalls/arm_syscalls.o -o libkafel_r.o # Fix x86 PIC symbols objdump -t libkafel_r.o | grep '.hidden' | grep -v 'get_pc_thunk' | sed -e 's/^.*\.hidden //' > libkafel.localize_symbols objcopy -w --localize-symbols=libkafel.localize_symbols libkafel_r.o libkafel.o rm -f libkafel.localize_symbols rm -f libkafel_r.o ar rcs ../libkafel.a libkafel.o rm -f libkafel.o make[1]: Leaving directory '/home/buildozer/aports/testing/nsjail/src/nsjail-3.2/kafel/src' make: Leaving directory '/home/buildozer/aports/testing/nsjail/src/nsjail-3.2/kafel' Makefile:60: warning: ignoring prerequisites on suffix rule definition CFLAGS=-fPIE make -C kafel make[1]: Entering directory '/home/buildozer/aports/testing/nsjail/src/nsjail-3.2/kafel' Makefile:27: warning: overriding recipe for target 'test' build/Makefile.mk:41: warning: ignoring old recipe for target 'test' g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 caps.cc -o caps.o make -C src PROJECT_ROOT=../ g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cgroup.cc -o cgroup.o make[2]: Entering directory '/home/buildozer/aports/testing/nsjail/src/nsjail-3.2/kafel/src' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/testing/nsjail/src/nsjail-3.2/kafel/src' make[1]: Leaving directory '/home/buildozer/aports/testing/nsjail/src/nsjail-3.2/kafel' g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cgroup2.cc -o cgroup2.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cmdline.cc -o cmdline.o protoc --cpp_out=. config.proto protoc --cpp_out=. config.proto g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 contain.cc -o contain.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cpu.cc -o cpu.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 logs.cc -o logs.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 mnt.cc -o mnt.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 net.cc -o net.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 nsjail.cc -o nsjail.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 pid.cc -o pid.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 sandbox.cc -o sandbox.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 subproc.cc -o subproc.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 uts.cc -o uts.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 user.cc -o user.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 util.cc -o util.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 config.pb.cc -o config.pb.o g++ -Os -fomit-frame-pointer -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 config.cc -o config.o g++ -o nsjail caps.o cgroup.o cgroup2.o cmdline.o config.o contain.o cpu.o logs.o mnt.o net.o nsjail.o pid.o sandbox.o subproc.o uts.o user.o util.o config.pb.o kafel/libkafel.a -Wl,--as-needed,-O1,--sort-common -pie -Wl,-z,noexecstack -lpthread -lprotobuf -lnl-route-3 -lnl-3 >>> nsjail: Entering fakeroot... >>> nsjail-doc*: Running split function doc... >>> nsjail-doc*: Preparing subpackage nsjail-doc... >>> nsjail-doc*: Running postcheck for nsjail-doc >>> nsjail*: Running postcheck for nsjail >>> nsjail*: Preparing package nsjail... >>> nsjail*: Stripping binaries >>> nsjail-doc*: Scanning shared objects >>> nsjail*: Scanning shared objects >>> nsjail-doc*: Tracing dependencies... >>> nsjail-doc*: Package size: 128.0 KB >>> nsjail-doc*: Compressing data... >>> nsjail-doc*: Create checksum... >>> nsjail-doc*: Create nsjail-doc-3.2-r0.apk >>> nsjail*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libnl-3.so.200 so:libnl-route-3.so.200 so:libprotobuf.so.32 so:libstdc++.so.6 >>> nsjail*: Package size: 804.0 KB >>> nsjail*: Compressing data... >>> nsjail*: Create checksum... >>> nsjail*: Create nsjail-3.2-r0.apk >>> nsjail: Build complete at Wed, 26 Oct 2022 20:12:58 +0000 elapsed time 0h 0m 13s >>> nsjail: Cleaning up srcdir >>> nsjail: Cleaning up pkgdir >>> nsjail: Uninstalling dependencies... (1/19) Purging .makedepends-nsjail (20221026.201246) (2/19) Purging bison (3.8.2-r0) (3/19) Purging flex (2.6.4-r3) (4/19) Purging m4 (1.4.19-r1) (5/19) Purging libnl3-dev (3.7.0-r0) (6/19) Purging libnl3-cli (3.7.0-r0) (7/19) Purging libnl3 (3.7.0-r0) (8/19) Purging protobuf-dev (3.21.8-r0) (9/19) Purging zlib-dev (1.2.13-r0) (10/19) Purging protoc (3.21.8-r0) (11/19) Purging libprotobuf-lite (3.21.8-r0) (12/19) Purging libprotoc (3.21.8-r0) (13/19) Purging libbsd-dev (0.11.7-r0) (14/19) Purging bsd-compat-headers (0.7.2-r3) (15/19) Purging linux-headers (5.19.5-r0) (16/19) Purging libmd-dev (1.0.4-r0) (17/19) Purging libbsd (0.11.7-r0) (18/19) Purging libprotobuf (3.21.8-r0) (19/19) Purging libmd (1.0.4-r0) Executing busybox-1.35.0-r27.trigger OK: 393 MiB in 98 packages >>> nsjail: Updating the testing/x86_64 repository index... >>> nsjail: Signing the index...