[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.29 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-115 started "build nsjail.spec" at Thu Nov 28 06:35:32 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_6.5_unified_emulator/nsjail-3.0.20210707-0/nsjail.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_6.5_unified_emulator/x86_64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen-6.5/Tizen-6.5-Base/tizen-6.5-base_20241128.013610/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen-6.5/Tizen-6.5-Base/tizen-6.5-base_20241128.013610/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_6.5_unified_emulator/nsjail-3.0.20210707-0/nsjail.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.29/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.29/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_6.5_unified_emulator/x86_64/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-6.5/Tizen-6.5-Base/tizen-6.5-base_20241128.013610/repos/standard/packages/ [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-6.5/Tizen-6.5-Base/tizen-6.5-base_20241128.013610/repos/standard/debug/ [ 3s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] calculating packages to download... [ 18s] reordering...cycle: libsoftokn3 -> nss [ 18s] breaking dependency nss -> libsoftokn3 [ 18s] reordering done [ 21s] deleting doxygen [ 22s] [1/101] keeping libmagic-data-5.39-1.13 [ 22s] [2/101] keeping setup-0.9-1.3 [ 22s] [3/101] keeping filesystem-3.1-1.1 [ 22s] [4/101] keeping glibc-2.30-1.12 [ 22s] [5/101] keeping bash-3.2.57-1.1 [ 22s] [6/101] keeping cpio-2.8-1.1 [ 22s] [7/101] keeping diffutils-3.3-1.1 [ 22s] [8/101] keeping findutils-4.3.8-1.13 [ 22s] [9/101] keeping gdbm-1.8.3-1.14 [ 22s] [10/101] keeping hostname-3.23-1.1 [ 22s] [11/101] keeping libatomic-9.2.0-1.14 [ 22s] [12/101] keeping libattr-2.4.48-1.13 [ 22s] [13/101] keeping libblkid-2.36-2.2 [ 22s] [14/101] keeping libbz2-1.0.8-1.13 [ 22s] [15/101] keeping libcap-2.24-1.13 [ 22s] [16/101] keeping libfreebl3-3.87-1.14 [ 22s] [17/101] keeping libgcc-9.2.0-1.14 [ 22s] [18/101] keeping libgomp-9.2.0-1.14 [ 22s] [19/101] keeping libitm-9.2.0-1.14 [ 22s] [20/101] keeping libltdl-2.4.2-1.14 [ 22s] [21/101] keeping liblua-5.1.5-1.13 [ 22s] [22/101] keeping liblzma-5.2.5-1.14 [ 22s] [23/101] cumulate libnl3-3.2.22-1.1 [ 22s] [24/101] keeping libopenssl11-1.1.1w-1.1 [ 22s] [25/101] keeping libpcre-8.44-1.6 [ 22s] [26/101] keeping libpopt-1.16-1.13 [ 22s] [27/101] keeping libquadmath-9.2.0-1.14 [ 22s] [28/101] keeping libsmack-1.3.1-1.13 [ 22s] [29/101] keeping libsmartcols-2.36-2.2 [ 22s] [30/101] keeping libsqlite-3.33.0-1.13 [ 22s] [31/101] keeping libuuid-2.36-2.2 [ 22s] [32/101] keeping libzstd1-1.4.5-1.13 [ 22s] [33/101] keeping m4-1.4.17-1.1 [ 22s] [34/101] keeping net-tools-2.0_20121208git-1.2 [ 22s] [35/101] keeping nspr-4.35-1.13 [ 22s] [36/101] keeping patch-2.7-1.13 [ 22s] [37/101] keeping pkg-config-0.28-1.14 [ 22s] [38/101] keeping sed-4.1c-1.1 [ 22s] [39/101] keeping update-alternatives-1.20.5-1.1 [ 22s] [40/101] keeping which-2.17-1.1 [ 22s] [41/101] keeping zlib-1.2.11-1.14 [ 22s] [42/101] keeping build-compare-2015.04.28-1.7 [ 22s] [43/101] keeping terminfo-base-full-6.2-1.14 [ 22s] [44/101] keeping coreutils-6.9-14.6 [ 22s] [45/101] keeping cpp-9.2.0-1.14 [ 22s] [46/101] cumulate flex-2.6.4-1.14 [ 22s] [47/101] keeping gawk-3.1.5-1.1 [ 22s] [48/101] keeping gcc-c++-9.2.0-1.14 [ 22s] [49/101] keeping grep-2.5.2-1.1 [ 22s] [50/101] keeping libacl-2.2.53-1.13 [ 22s] [51/101] keeping libelf-0.178-1.14 [ 22s] [52/101] keeping libmount-2.36-2.2 [ 22s] [53/101] cumulate libnl3-cli-3.2.22-1.1 [ 22s] [54/101] keeping libstdc++-9.2.0-1.14 [ 22s] [55/101] keeping make-4.0-1.13 [ 22s] [56/101] keeping nss-certs-3.87-1.14 [ 22s] [57/101] keeping smack-1.3.1-1.13 [ 23s] [58/101] cumulate bison-3.0.5-1.14 [ 23s] [59/101] keeping bzip2-1.0.8-1.13 [ 23s] [60/101] keeping libfdisk-2.36-2.2 [ 23s] [61/101] keeping libgfortran-9.2.0-1.14 [ 23s] [62/101] keeping libmagic-5.39-1.13 [ 23s] [63/101] keeping libxml2-2.9.12-1.14 [ 23s] [64/101] keeping perl-5.32.0-1.13 [ 23s] [65/101] keeping xz-5.2.5-1.14 [ 23s] [66/101] keeping build-mkbaselibs-20120927-1.1 [ 23s] [67/101] keeping libstdc++-devel-9.2.0-1.14 [ 23s] [68/101] keeping file-5.39-1.13 [ 23s] [69/101] keeping linux-glibc-devel-3.10-1.14 [ 23s] [70/101] keeping tar-1.17-1.1 [ 23s] [71/101] keeping autoconf-2.69-1.14 [ 23s] [72/101] keeping binutils-2.33.1-1.14 [ 23s] [73/101] keeping glibc-locale-2.30-1.12 [ 23s] [74/101] keeping gzip-1.3.12-1.13 [ 23s] [75/101] keeping libcc1-9.2.0-1.14 [ 23s] [76/101] cumulate libnl3-devel-3.2.22-1.1 [ 23s] [77/101] keeping libubsan-9.2.0-1.14 [ 23s] [78/101] keeping pam-1.1.6-1.2 [ 23s] [79/101] keeping libncurses6-6.2-1.14 [ 23s] [80/101] cumulate protobuf-3.14.0-1 [ 23s] [81/101] keeping tzdata-2023c-1.1 [ 23s] [82/101] keeping libdw-0.178-1.14 [ 23s] [83/101] keeping libarchive-3.5.1-1.13 [ 23s] [84/101] keeping libncurses-6.2-1.14 [ 23s] [85/101] keeping glibc-devel-2.30-1.12 [ 23s] [86/101] keeping less-466-1.1 [ 23s] [87/101] keeping libreadline-5.2-1.14 [ 23s] [88/101] keeping automake-1.15.1-1.14 [ 23s] [89/101] keeping libasm-0.178-1.14 [ 23s] [90/101] keeping build-20120927-1.1 [ 23s] [91/101] cumulate protobuf-compiler-3.14.0-1 [ 23s] [92/101] keeping gcc-9.2.0-1.14 [ 23s] [93/101] cumulate protobuf-devel-3.14.0-1 [ 23s] [94/101] keeping libtool-2.4.2-1.14 [ 23s] [95/101] keeping elfutils-0.178-1.14 [ 23s] [96/101] keeping util-linux-2.36-2.2 [ 23s] [97/101] keeping util-linux-su-2.36-2.2 [ 23s] [98/101] keeping nss-3.87-1.14 [ 23s] [99/101] keeping libsoftokn3-3.87-1.14 [ 23s] [100/101] keeping rpm-4.14.1.1-1.14 [ 23s] [101/101] keeping rpm-build-4.14.1.1-1.14 [ 23s] now installing cumulated packages [ 23s] Preparing... ######################################## [ 23s] Updating / installing... [ 24s] protobuf-3.14.0-1 ######################################## [ 24s] libnl3-3.2.22-1.1 ######################################## [ 24s] libnl3-cli-3.2.22-1.1 ######################################## [ 24s] protobuf-compiler-3.14.0-1 ######################################## [ 25s] protobuf-devel-3.14.0-1 ######################################## [ 25s] libnl3-devel-3.2.22-1.1 ######################################## [ 25s] bison-3.0.5-1.14 ######################################## [ 25s] flex-2.6.4-1.14 ######################################## [ 25s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.29/etc/nsswitch.conf... [ 25s] now finalizing build dir... [ 26s] ----------------------------------------------------------------- [ 26s] ----- building nsjail.spec (user abuild) [ 26s] ----------------------------------------------------------------- [ 26s] ----------------------------------------------------------------- [ 26s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=x86_64 --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/nsjail.spec [ 26s] warning: bogus date in %changelog: Mon Jul 7 2021 Baik [ 26s] Building target platforms: x86_64 [ 26s] Building for target x86_64 [ 26s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.P7z54h [ 26s] + umask 022 [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + rm -rf nsjail-3.0.20210707 [ 26s] + /bin/tar -xof - [ 26s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/nsjail-3.0.20210707.tar.gz [ 26s] + STATUS=0 [ 26s] + '[' 0 -ne 0 ']' [ 26s] + cd nsjail-3.0.20210707 [ 26s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 26s] + echo 'Patch #0 (0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz):' [ 26s] Patch #0 (0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz): [ 26s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 26s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz [ 26s] patching file Makefile [ 26s] patching file kafel.tar.gz [ 26s] + echo 'Patch #1 (0002-Adjust-cgroup-cpu-for-Tizen.patch):' [ 26s] Patch #1 (0002-Adjust-cgroup-cpu-for-Tizen.patch): [ 26s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 26s] patching file cgroup.cc [ 26s] + echo 'Patch #2 (0003-Add-Simple-test-program-for-Tizen-nsjail.patch):' [ 26s] Patch #2 (0003-Add-Simple-test-program-for-Tizen-nsjail.patch): [ 26s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 26s] patching file test/Makefile [ 26s] patching file test/memory_syscall_test.cc [ 26s] + echo 'Patch #3 (0004-Add-runner-sandbox.cfg-for-Tizen-nsjail-test.patch):' [ 26s] Patch #3 (0004-Add-runner-sandbox.cfg-for-Tizen-nsjail-test.patch): [ 26s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 26s] patching file test/runner-sandbox.cfg [ 26s] + echo 'Patch #4 (0005-Add-nsjail-service-for-Tizen-distribution.patch):' [ 26s] Patch #4 (0005-Add-nsjail-service-for-Tizen-distribution.patch): [ 26s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 26s] patching file mnt.cc [ 26s] patching file test/runner-sandbox.cfg [ 26s] + echo 'Patch #5 (0006-Add-nsjail-test-Tizen-application.patch):' [ 26s] Patch #5 (0006-Add-nsjail-test-Tizen-application.patch): [ 26s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 26s] patching file test/test_runner_app/Jenkinsfile [ 26s] patching file test/test_runner_app/build_test_runner.sh [ 26s] patching file test/test_runner_app/buildspec.json [ 26s] patching file test/test_runner_app/test_runner/.exportMap [ 26s] patching file test/test_runner_app/test_runner/inc/test_runner.h [ 26s] patching file test/test_runner_app/test_runner/project_def.prop [ 26s] patching file test/test_runner_app/test_runner/shared/res/test_runner.png [ 26s] patching file test/test_runner_app/test_runner/src/test_runner.c [ 26s] patching file test/test_runner_app/test_runner/src/test_runner_util.c [ 26s] patching file test/test_runner_app/test_runner/tizen-manifest.xml [ 26s] + echo 'Patch #6 (0007-Change-cgroup-node-from-NSJAIL-to-malort.patch):' [ 26s] Patch #6 (0007-Change-cgroup-node-from-NSJAIL-to-malort.patch): [ 26s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 26s] patching file test/runner-sandbox.cfg [ 26s] + echo 'Patch #7 (0008-Add-dev-and-tmp-for-Testing.patch):' [ 26s] Patch #7 (0008-Add-dev-and-tmp-for-Testing.patch): [ 26s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 26s] patching file test/runner-sandbox.cfg [ 26s] + echo 'Patch #8 (0009-Change-test-configuration-log-path-and-cpu-conf.patch):' [ 26s] Patch #8 (0009-Change-test-configuration-log-path-and-cpu-conf.patch): [ 26s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file test/runner-sandbox.cfg [ 27s] + echo 'Patch #9 (0010-Disable-MACVLAN-feature-for-Tizen.patch):' [ 27s] Patch #9 (0010-Disable-MACVLAN-feature-for-Tizen.patch): [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file net.cc [ 27s] + echo 'Patch #10 (0011-Disable-Net-NS-feature-for-Tizen.patch):' [ 27s] Patch #10 (0011-Disable-Net-NS-feature-for-Tizen.patch): [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file net.cc [ 27s] + echo 'Patch #11 (0012-Clean-up-Kafel-source-code.patch.gz):' [ 27s] Patch #11 (0012-Clean-up-Kafel-source-code.patch.gz): [ 27s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0012-Clean-up-Kafel-source-code.patch.gz [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file kafel.tar.gz [ 27s] + echo 'Patch #12 (0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz):' [ 27s] Patch #12 (0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz): [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz [ 27s] patching file kafel.tar.gz [ 27s] + echo 'Patch #13 (0014-x86-build-fixes.patch.gz):' [ 27s] Patch #13 (0014-x86-build-fixes.patch.gz): [ 27s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0014-x86-build-fixes.patch.gz [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file kafel.tar.gz [ 27s] + echo 'Patch #14 (0015-Exit-test-program-in-case-of-malloc-fail.patch):' [ 27s] Patch #14 (0015-Exit-test-program-in-case-of-malloc-fail.patch): [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file test/memory_syscall_test.cc [ 27s] + echo 'Patch #15 (0016-Fix-Werror-shadow-Error-of-open-source-nsjail.patch):' [ 27s] Patch #15 (0016-Fix-Werror-shadow-Error-of-open-source-nsjail.patch): [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file subproc.cc [ 27s] + echo 'Patch #16 (0017-Add-cgroup_remount-program-for-target-using-old-reso.patch):' [ 27s] Patch #16 (0017-Add-cgroup_remount-program-for-target-using-old-reso.patch): [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file Makefile [ 27s] patching file cgroup_remount.cc [ 27s] + echo 'Patch #17 (0018-Add-mthumb-option-to-Linker-flag.patch):' [ 27s] Patch #17 (0018-Add-mthumb-option-to-Linker-flag.patch): [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file Makefile [ 27s] + echo 'Patch #18 (0019-Fix-to-apply-mthumb-option-to-only-arm.patch):' [ 27s] Patch #18 (0019-Fix-to-apply-mthumb-option-to-only-arm.patch): [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file Makefile [ 27s] + echo 'Patch #19 (0020-Fix-test-nsjail-configuration.patch):' [ 27s] Patch #19 (0020-Fix-test-nsjail-configuration.patch): [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file test/runner-sandbox.cfg [ 27s] + echo 'Patch #20 (0021-Adjust-test-configuration-of-nsjail-test.patch):' [ 27s] Patch #20 (0021-Adjust-test-configuration-of-nsjail-test.patch): [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file test/runner-sandbox.cfg [ 27s] + echo 'Patch #21 (0022-Remove-bin-usr-bin-mount-from-test-configuration.patch):' [ 27s] Patch #21 (0022-Remove-bin-usr-bin-mount-from-test-configuration.patch): [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] patching file test/runner-sandbox.cfg [ 27s] + echo 'Patch #22 (0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz):' [ 27s] Patch #22 (0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz): [ 27s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 27s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz [ 27s] patching file kafel.tar.gz [ 27s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.manifest . [ 27s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.service . [ 27s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.sh . [ 27s] + exit 0 [ 27s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MVq6si [ 27s] + umask 022 [ 27s] + cd /home/abuild/rpmbuild/BUILD [ 27s] + cd nsjail-3.0.20210707 [ 27s] ++ uname -m [ 27s] + [[ x86_64 == \a\a\r\c\h\6\4 ]] [ 27s] + LANG=C [ 27s] + export LANG [ 27s] + unset DISPLAY [ 27s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 27s] + export CFLAGS [ 27s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 27s] + export CXXFLAGS [ 27s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir' [ 27s] + export FFLAGS [ 27s] + LDFLAGS= [ 27s] + export LDFLAGS [ 27s] + export 'CFLAGS=-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN' [ 27s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN' [ 27s] + export 'CXXFLAGS=-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN' [ 27s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN' [ 27s] + make -j8 [ 27s] tar xvfz kafel.tar.gz [ 27s] kafel/ [ 27s] kafel/build/ [ 27s] kafel/build/Makefile.mk [ 27s] kafel/README.md [ 27s] kafel/CONTRIBUTING [ 27s] kafel/include/ [ 27s] kafel/include/kafel.h [ 27s] kafel/LICENSE [ 27s] kafel/test/ [ 27s] kafel/test/runner/ [ 27s] kafel/test/runner/harness.c [ 27s] kafel/test/runner/runner.c [ 27s] kafel/test/runner/harness.h [ 27s] kafel/test/runner/interpreter.c [ 27s] kafel/test/runner/runner.h [ 27s] kafel/test/runner/interpreter.h [ 27s] kafel/test/runner/Makefile [ 27s] kafel/test/basic.c [ 27s] kafel/test/includes.c [ 27s] kafel/test/testdata/ [ 27s] kafel/test/testdata/short_loop.policy [ 27s] kafel/test/testdata/self_recursive.policy [ 27s] kafel/test/testdata/chain_2.policy [ 27s] kafel/test/testdata/includes_short_loop.policy [ 27s] kafel/test/testdata/chain_2_1.policy [ 27s] kafel/test/testdata/basic.policy [ 27s] kafel/test/testdata/empty.policy [ 27s] kafel/test/testdata/chain_3.policy [ 27s] kafel/test/testdata/short_loop_b.policy [ 27s] kafel/test/testdata/chain.policy [ 27s] kafel/test/broken.c [ 27s] kafel/test/Makefile [ 27s] kafel/src/ [ 27s] kafel/src/parser.y [ 27s] kafel/src/kafel.c [ 27s] kafel/src/policy.h [ 27s] kafel/src/includes.h [ 27s] kafel/src/parser_types.c [ 27s] kafel/src/parser_types.h [ 27s] kafel/src/lexer.l [ 27s] kafel/src/context.c [ 27s] kafel/src/codegen.h [ 27s] kafel/src/expression.c [ 27s] kafel/src/syscall.c [ 27s] kafel/src/syscall.h [ 27s] kafel/src/includes.c [ 27s] kafel/src/expression.h [ 27s] kafel/src/range_rules.h [ 27s] kafel/src/common.h [ 27s] kafel/src/syscalls/ [ 27s] kafel/src/syscalls/mipso32_syscalls.c [ 27s] kafel/src/syscalls/i386_syscalls.c [ 27s] kafel/src/syscalls/amd64_syscalls.c [ 27s] kafel/src/syscalls/mips64_syscalls.c [ 27s] kafel/src/syscalls/arm_syscalls.c [ 27s] kafel/src/syscalls/aarch64_syscalls.c [ 27s] kafel/src/codegen.c [ 27s] kafel/src/policy.c [ 27s] kafel/src/Makefile [ 27s] kafel/src/range_rules.c [ 27s] kafel/src/context.h [ 27s] kafel/samples/ [ 27s] kafel/samples/sample_custom_syscall_const.policy [ 27s] kafel/samples/sample_and_eq_var_long.policy [ 27s] kafel/samples/sample_and_cmp_var.policy [ 27s] kafel/samples/sample_custom_syscall.policy [ 27s] kafel/samples/sample_and_eq_short_bottom_set.policy [ 27s] kafel/samples/sample_constants.policy [ 27s] kafel/samples/sample_var_cmp.policy [ 27s] kafel/samples/sample_composition.policy [ 27s] kafel/samples/sample_and_eq_var_long_set.policy [ 27s] kafel/samples/sample_or_flags.policy [ 27s] kafel/samples/sample_basic_many.policy [ 27s] kafel/samples/sample_empty.policy [ 27s] kafel/samples/sample_and_eq_long.policy [ 27s] kafel/samples/sample_and_eq_short_top_set.policy [ 27s] kafel/samples/sample_and_eq_var_short_top.policy [ 27s] kafel/samples/sample_ftrace.policy [ 27s] kafel/samples/sample_empty_not_kill.policy [ 27s] kafel/samples/sample_and_eq_short_top.policy [ 27s] kafel/samples/sample_basic.policy [ 27s] kafel/samples/sample_and_eq_long_set.policy [ 27s] kafel/samples/sample_and_eq_var_short_bottom.policy [ 27s] kafel/samples/sample_kill_all.policy [ 27s] kafel/samples/sample_and_eq_short_bottom.policy [ 27s] kafel/Makefile [ 27s] kafel/tools/ [ 27s] kafel/tools/dump_policy_bpf/ [ 27s] kafel/tools/dump_policy_bpf/disasm.c [ 27s] kafel/tools/dump_policy_bpf/print.h [ 27s] kafel/tools/dump_policy_bpf/main.c [ 27s] kafel/tools/dump_policy_bpf/disasm.h [ 27s] kafel/tools/dump_policy_bpf/print.c [ 27s] kafel/tools/dump_policy_bpf/Makefile [ 27s] kafel/tools/gen_syscalls/ [ 27s] kafel/tools/gen_syscalls/missing/ [ 27s] kafel/tools/gen_syscalls/missing/amd64.c [ 27s] kafel/tools/gen_syscalls/missing/arm.c [ 27s] kafel/tools/gen_syscalls/extract.py [ 27s] kafel/tools/gen_syscalls/gen_syscalls.sh [ 27s] kafel/tools/Makefile [ 27s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 caps.cc -o caps.o [ 27s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cgroup.cc -o cgroup.o [ 27s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cgroup2.cc -o cgroup2.o [ 27s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cmdline.cc -o cmdline.o [ 27s] protoc --cpp_out=. config.proto [ 27s] protoc --cpp_out=. config.proto [ 27s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 contain.cc -o contain.o [ 27s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cpu.cc -o cpu.o [ 28s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 logs.cc -o logs.o [ 28s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 mnt.cc -o mnt.o [ 28s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 net.cc -o net.o [ 28s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 nsjail.cc -o nsjail.o [ 28s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 pid.cc -o pid.o [ 28s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 sandbox.cc -o sandbox.o [ 29s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 subproc.cc -o subproc.o [ 29s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 uts.cc -o uts.o [ 29s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 user.cc -o user.o [ 29s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 util.cc -o util.o [ 29s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cgroup_remount.cc -o cgroup_remount.o [ 30s] g++ -o cgroup_remount cgroup_remount.o -pie -Wl,-z,noexecstack -lpthread -lprotobuf -lpthread -lnl-route-3 -lnl-3 [ 30s] CFLAGS=-fPIE make -C kafel [ 30s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel' [ 30s] Makefile:27: warning: overriding recipe for target 'test' [ 30s] build/Makefile.mk:41: warning: ignoring old recipe for target 'test' [ 30s] make -C src PROJECT_ROOT=../ [ 30s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 config.pb.cc -o config.pb.o [ 30s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel/src' [ 30s] flex lexer.l [ 30s] bison parser.y [ 30s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o context.o context.c [ 30s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o codegen.o codegen.c [ 30s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o expression.o expression.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o includes.o includes.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o parser_types.o parser_types.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o policy.o policy.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o range_rules.o range_rules.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o syscall.o syscall.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Wno-error -c -o lexer.o lexer.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -Wno-error -c -o parser.o parser.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o syscalls/amd64_syscalls.o syscalls/amd64_syscalls.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o syscalls/i386_syscalls.o syscalls/i386_syscalls.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o syscalls/aarch64_syscalls.o syscalls/aarch64_syscalls.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o syscalls/mipso32_syscalls.o syscalls/mipso32_syscalls.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o syscalls/mips64_syscalls.o syscalls/mips64_syscalls.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o syscalls/arm_syscalls.o syscalls/arm_syscalls.c [ 31s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o kafel.o kafel.c [ 32s] cc -fPIE -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/arm_syscalls.o -o ../libkafel.so [ 32s] ld -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/arm_syscalls.o -o libkafel_r.o [ 32s] # Fix x86 PIC symbols [ 32s] objdump -t libkafel_r.o | grep '.hidden' | grep -v 'get_pc_thunk' | sed -e 's/^.*\.hidden //' > libkafel.localize_symbols [ 32s] objcopy -w --localize-symbols=libkafel.localize_symbols libkafel_r.o libkafel.o [ 32s] rm -f libkafel.localize_symbols [ 32s] rm -f libkafel_r.o [ 32s] ar rcs ../libkafel.a libkafel.o [ 32s] rm -f libkafel.o [ 32s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel/src' [ 32s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel' [ 37s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -Ikafel/include -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 config.cc -o config.o [ 40s] 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 -pie -Wl,-z,noexecstack -lpthread -lprotobuf -lpthread -lnl-route-3 -lnl-3 [ 41s] + pushd test [ 41s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/test ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 41s] + make -j8 [ 41s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN -O2 -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -Wformat -Wformat-security -Wno-format-nonliteral -Wall -Wextra -Werror -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter memory_syscall_test.cc -o memory_syscall_test.o [ 41s] g++ -o jail_mem_syscall_test memory_syscall_test.o -pie -Wl,-z,noexecstack -lpthread [ 41s] + popd test [ 41s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/test [ 41s] + exit 0 [ 41s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cIfbzi [ 41s] + umask 022 [ 41s] + cd /home/abuild/rpmbuild/BUILD [ 41s] + cd nsjail-3.0.20210707 [ 41s] + LANG=C [ 41s] + export LANG [ 41s] + unset DISPLAY [ 41s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 41s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 41s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/ [ 41s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/nsjail_test/ [ 41s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/ [ 41s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/lua-libs/ [ 41s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/lua-scripts/ [ 41s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/lib/systemd/system [ 41s] + install -m 0755 nsjail /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/ [ 41s] + install -m 0755 cgroup_remount /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/ [ 41s] + install -m 0755 nsjail.sh /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/ [ 41s] + install -m 0644 nsjail.service /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/lib/systemd/system/ [ 41s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/lib/systemd/system/multi-user.target.wants [ 41s] + ln -s ../nsjail.service /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/lib/systemd/system/multi-user.target.wants/nsjail.service [ 41s] + cp -a test/jail_mem_syscall_test /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/nsjail_test/ [ 41s] + cp -a test/runner-sandbox.cfg /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/ [ 41s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 3.0.20210707-0 --unique-debug-src-base nsjail-3.0.20210707-0.x86_64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707 [ 42s] 1+0 records in [ 42s] 1+0 records out [ 42s] 7 bytes (7 B) copied, 2.6596e-05 s, 263 kB/s [ 42s] 1+0 records in [ 42s] 1+0 records out [ 42s] 7 bytes (7 B) copied, 0.00119788 s, 5.8 kB/s [ 42s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/bin/cgroup_remount [ 42s] 1+0 records in [ 42s] 1+0 records out [ 42s] 7 bytes (7 B) copied, 2.2562e-05 s, 310 kB/s [ 42s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/bin/nsjail [ 42s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/bin/nsjail_test/jail_mem_syscall_test [ 42s] 0+0 records in [ 42s] 0+0 records out [ 42s] 0 bytes (0 B) copied, 1.7958e-05 s, 0.0 kB/s [ 42s] 0+0 records in [ 42s] 0+0 records out [ 42s] 0 bytes (0 B) copied, 2.2851e-05 s, 0.0 kB/s [ 42s] 0+0 records in [ 42s] 0+0 records out [ 42s] 0 bytes (0 B) copied, 8.7511e-05 s, 0.0 kB/s [ 42s] 1329 blocks [ 42s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/nsjail-debuginfo.manifest [ 42s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/nsjail-debugsource.manifest [ 42s] + /usr/lib/rpm/check-buildroot [ 42s] + /usr/lib/rpm//brp-compress [ 42s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 43s] + /usr/lib/rpm/brp-python-hardlink [ 43s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 43s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/isu.list [ 43s] ~/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 43s] ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 43s] Processing files: nsjail-3.0.20210707-0.x86_64 [ 43s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIi8+Cgk8L3Jl [ 43s] cXVlc3Q+CjwvbWFuaWZlc3Q+Cg== [ 43s] [ 43s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nJxdGh [ 43s] + umask 022 [ 43s] + cd /home/abuild/rpmbuild/BUILD [ 43s] + cd nsjail-3.0.20210707 [ 43s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/licenses/nsjail [ 43s] + export LC_ALL=C [ 43s] + LC_ALL=C [ 43s] + export LICENSEDIR [ 43s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/licenses/nsjail [ 43s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/licenses/nsjail [ 43s] + exit 0 [ 43s] Provides: nsjail = 3.0.20210707-0 nsjail(x86-64) = 3.0.20210707-0 [ 43s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 43s] Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libnl-3.so.200()(64bit) libnl-route-3.so.200()(64bit) libprotobuf.so.25()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) [ 43s] Processing files: nsjail-debugsource-3.0.20210707-0.x86_64 [ 43s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 43s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 43s] [ 43s] Provides: nsjail-debugsource = 3.0.20210707-0 nsjail-debugsource(x86-64) = 3.0.20210707-0 [ 43s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 43s] Processing files: nsjail-test-3.0.20210707-0.x86_64 [ 43s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIi8+Cgk8L3Jl [ 43s] cXVlc3Q+CjwvbWFuaWZlc3Q+Cg== [ 43s] [ 43s] Provides: nsjail-test = 3.0.20210707-0 nsjail-test(x86-64) = 3.0.20210707-0 [ 43s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 43s] Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libstdc++.so.6()(64bit) [ 43s] Processing files: nsjail-debuginfo-3.0.20210707-0.x86_64 [ 43s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 43s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 43s] [ 43s] Provides: nsjail-debuginfo = 3.0.20210707-0 nsjail-debuginfo(x86-64) = 3.0.20210707-0 [ 43s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 43s] Recommends: nsjail-debugsource(x86-64) = 3.0.20210707-0 [ 43s] Processing files: nsjail-test-debuginfo-3.0.20210707-0.x86_64 [ 43s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 43s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 43s] [ 43s] Provides: nsjail-test-debuginfo = 3.0.20210707-0 nsjail-test-debuginfo(x86-64) = 3.0.20210707-0 [ 43s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 43s] Recommends: nsjail-debugsource(x86-64) = 3.0.20210707-0 [ 43s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 44s] Wrote: /home/abuild/rpmbuild/SRPMS/nsjail-3.0.20210707-0.src.rpm [ 44s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-3.0.20210707-0.x86_64.rpm [ 44s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-debugsource-3.0.20210707-0.x86_64.rpm [ 45s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-test-3.0.20210707-0.x86_64.rpm [ 49s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-debuginfo-3.0.20210707-0.x86_64.rpm [ 49s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-test-debuginfo-3.0.20210707-0.x86_64.rpm [ 49s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JhP0fi [ 49s] + umask 022 [ 49s] + cd /home/abuild/rpmbuild/BUILD [ 49s] + cd nsjail-3.0.20210707 [ 49s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 49s] + exit 0 [ 49s] ... checking for files with abuild user/group [ 49s] ... creating baselibs [ 50s] [ 50s] ip-192-168-56-115 finished "build nsjail.spec" at Thu Nov 28 06:36:22 UTC 2024. [ 50s]