[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.21 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386:noarch [ 0s] [ 0s] [ 0s] ip-192-168-72-226 started "build nsjail.spec" at Thu Oct 19 22:37:33 UTC 2023. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_8.0_unified_standard/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_8.0_unified_standard/x86_64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen-8.0/Tizen-8.0-Base/tizen-8.0-base_20231016.131614/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen-8.0/Tizen-8.0-Base/tizen-8.0-base_20231016.131614/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_8.0_unified_standard/nsjail-3.0.20210707-0/nsjail.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.21/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.21/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_8.0_unified_standard/x86_64/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-8.0/Tizen-8.0-Base/tizen-8.0-base_20231016.131614/repos/standard/packages/ [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-8.0/Tizen-8.0-Base/tizen-8.0-base_20231016.131614/repos/standard/debug/ [ 3s] expanding package dependencies... [ 4s] copying qemu [ 4s] [ 4s] calculating packages to download... [ 18s] reordering...cycle: libsoftokn3 -> nss [ 18s] breaking dependency nss -> libsoftokn3 [ 18s] reordering done [ 20s] [1/101] keeping libmagic-data-5.44-1.14 [ 20s] [2/101] keeping setup-0.9-1.3 [ 20s] [3/101] keeping filesystem-3.1-1.1 [ 20s] [4/101] keeping glibc-2.30-1.13 [ 20s] [5/101] keeping bash-3.2.57-1.1 [ 20s] [6/101] keeping cpio-2.8-1.1 [ 20s] [7/101] keeping diffutils-3.8-1.1 [ 20s] [8/101] keeping findutils-4.3.8-1.14 [ 20s] [9/101] keeping gdbm-1.8.3-1.15 [ 20s] [10/101] keeping hostname-3.23-1.1 [ 20s] [11/101] keeping libatomic-9.2.0-1.13 [ 20s] [12/101] keeping libattr-2.5.1-1.15 [ 20s] [13/101] keeping libblkid-2.37.4-1.3 [ 20s] [14/101] keeping libbz2-1.0.8-1.15 [ 20s] [15/101] keeping libcap-2.24-1.13 [ 20s] [16/101] keeping libfreebl3-3.87-1.15 [ 20s] [17/101] keeping libgcc-9.2.0-1.13 [ 20s] [18/101] keeping libgomp-9.2.0-1.13 [ 20s] [19/101] keeping libitm-9.2.0-1.13 [ 20s] [20/101] keeping libltdl-2.4.7-1.15 [ 20s] [21/101] keeping liblua-5.1.5-1.13 [ 20s] [22/101] keeping liblzma-5.4.0-1.15 [ 20s] [23/101] cumulate libnl3-3.2.22-1.1 [ 20s] [24/101] keeping libopenssl11-1.1.1u-1.15 [ 20s] [25/101] keeping libpcre-8.45-1.7 [ 20s] [26/101] keeping libpopt-1.16-1.13 [ 20s] [27/101] keeping libquadmath-9.2.0-1.13 [ 20s] [28/101] keeping libsmack-1.3.1-1.13 [ 20s] [29/101] keeping libsmartcols-2.37.4-1.3 [ 20s] [30/101] keeping libsqlite-3.40.1-1.14 [ 20s] [31/101] keeping libuuid-2.37.4-1.3 [ 20s] [32/101] keeping libzstd1-1.5.2-1.15 [ 20s] [33/101] keeping m4-1.4.19-1.1 [ 20s] [34/101] keeping net-tools-2.0_20121208git-1.1 [ 20s] [35/101] keeping nspr-4.35-1.13 [ 20s] [36/101] keeping patch-2.7.6-1.13 [ 20s] [37/101] keeping pkg-config-0.29.2-1.14 [ 20s] [38/101] keeping sed-4.1c-1.1 [ 20s] [39/101] keeping update-alternatives-1.21.18-1.1 [ 20s] [40/101] keeping which-2.17-1.1 [ 20s] [41/101] keeping zlib-1.2.13-1.14 [ 20s] [42/101] keeping build-compare-2015.04.28-1.7 [ 20s] [43/101] keeping coreutils-6.9-14.7 [ 20s] [44/101] keeping cpp-9.2.0-1.13 [ 20s] [45/101] cumulate flex-2.6.4-1.14 [ 20s] [46/101] keeping gawk-3.1.5-1.1 [ 20s] [47/101] keeping gcc-c++-9.2.0-1.13 [ 20s] [48/101] keeping grep-2.5.2-1.1 [ 20s] [49/101] keeping libacl-2.2.53-1.14 [ 20s] [50/101] keeping libelf-0.189-1.15 [ 20s] [51/101] keeping libmount-2.37.4-1.3 [ 20s] [52/101] cumulate libnl3-cli-3.2.22-1.1 [ 20s] [53/101] keeping libstdc++-9.2.0-1.13 [ 20s] [54/101] keeping make-4.3-1.13 [ 20s] [55/101] keeping nss-certs-3.87-1.15 [ 20s] [56/101] keeping smack-1.3.1-1.13 [ 21s] [57/101] cumulate bison-3.0.5-1.15 [ 21s] [58/101] keeping bzip2-1.0.8-1.15 [ 21s] [59/101] keeping libfdisk-2.37.4-1.3 [ 21s] [60/101] keeping libgfortran-9.2.0-1.13 [ 21s] [61/101] keeping libmagic-5.44-1.14 [ 21s] [62/101] keeping libxml2-2.10.2-1.14 [ 21s] [63/101] keeping perl-5.34.0-1.14 [ 21s] [64/101] keeping xz-5.4.0-1.15 [ 21s] [65/101] keeping build-mkbaselibs-20120927-1.1 [ 21s] [66/101] keeping libstdc++-devel-9.2.0-1.13 [ 21s] [67/101] keeping file-5.44-1.14 [ 21s] [68/101] keeping linux-glibc-devel-3.10-1.15 [ 21s] [69/101] keeping tar-1.17-1.1 [ 21s] [70/101] keeping terminfo-base-full-6.4-1.3 [ 21s] [71/101] keeping autoconf-2.71-1.15 [ 21s] [72/101] keeping binutils-2.33.1-1.15 [ 21s] [73/101] keeping glibc-locale-2.30-1.13 [ 21s] [74/101] keeping gzip-1.3.12-1.14 [ 21s] [75/101] keeping libcc1-9.2.0-1.13 [ 21s] [76/101] cumulate libnl3-devel-3.2.22-1.1 [ 21s] [77/101] keeping libubsan-9.2.0-1.13 [ 21s] [78/101] keeping pam-1.1.6-1.1 [ 21s] [79/101] cumulate protobuf-3.20.3-1 [ 21s] [80/101] keeping tzdata-2023c-1.1 [ 21s] [81/101] keeping libdw-0.189-1.15 [ 21s] [82/101] keeping libarchive-3.6.2-2.1 [ 21s] [83/101] keeping glibc-devel-2.30-1.13 [ 21s] [84/101] keeping automake-1.16.5-1.15 [ 21s] [85/101] keeping libasm-0.189-1.15 [ 21s] [86/101] keeping libncurses6-6.4-1.3 [ 21s] [87/101] keeping build-20120927-1.1 [ 21s] [88/101] cumulate protobuf-compiler-3.20.3-1 [ 21s] [89/101] keeping gcc-9.2.0-1.13 [ 21s] [90/101] keeping libncurses-6.4-1.3 [ 21s] [91/101] keeping less-608-1.1 [ 21s] [92/101] keeping libreadline-5.2-1.14 [ 21s] [93/101] cumulate protobuf-devel-3.20.3-1 [ 21s] [94/101] keeping libtool-2.4.7-1.15 [ 21s] [95/101] keeping elfutils-0.189-1.15 [ 21s] [96/101] keeping util-linux-2.37.4-1.3 [ 21s] [97/101] keeping util-linux-su-2.37.4-1.3 [ 21s] [98/101] keeping nss-3.87-1.15 [ 21s] [99/101] keeping libsoftokn3-3.87-1.15 [ 21s] [100/101] keeping rpm-4.14.1.1-1.14 [ 21s] [101/101] keeping rpm-build-4.14.1.1-1.14 [ 21s] now installing cumulated packages [ 21s] Preparing... ######################################## [ 21s] Updating / installing... [ 21s] protobuf-3.20.3-1 ######################################## [ 22s] libnl3-3.2.22-1.1 ######################################## [ 22s] libnl3-cli-3.2.22-1.1 ######################################## [ 22s] protobuf-compiler-3.20.3-1 ######################################## [ 22s] protobuf-devel-3.20.3-1 ######################################## [ 22s] libnl3-devel-3.2.22-1.1 ######################################## [ 23s] bison-3.0.5-1.15 ######################################## [ 23s] flex-2.6.4-1.14 ######################################## [ 23s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.21/etc/nsswitch.conf... [ 23s] now finalizing build dir... [ 24s] ----------------------------------------------------------------- [ 24s] ----- building nsjail.spec (user abuild) [ 24s] ----------------------------------------------------------------- [ 24s] ----------------------------------------------------------------- [ 24s] + 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 [ 24s] warning: bogus date in %changelog: Mon Jul 7 2021 Baik [ 24s] Building target platforms: x86_64 [ 24s] Building for target x86_64 [ 24s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T3BgBd [ 24s] + umask 022 [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + rm -rf nsjail-3.0.20210707 [ 24s] + /bin/tar -xof - [ 24s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/nsjail-3.0.20210707.tar.gz [ 24s] + STATUS=0 [ 24s] + '[' 0 -ne 0 ']' [ 24s] + cd nsjail-3.0.20210707 [ 24s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 24s] + echo 'Patch #0 (0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz):' [ 24s] Patch #0 (0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz): [ 24s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file Makefile [ 24s] patching file kafel.tar.gz [ 24s] + echo 'Patch #1 (0002-Adjust-cgroup-cpu-for-Tizen.patch):' [ 24s] Patch #1 (0002-Adjust-cgroup-cpu-for-Tizen.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file cgroup.cc [ 24s] + echo 'Patch #2 (0003-Add-Simple-test-program-for-Tizen-nsjail.patch):' [ 24s] Patch #2 (0003-Add-Simple-test-program-for-Tizen-nsjail.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file test/Makefile [ 24s] patching file test/memory_syscall_test.cc [ 24s] + echo 'Patch #3 (0004-Add-runner-sandbox.cfg-for-Tizen-nsjail-test.patch):' [ 24s] Patch #3 (0004-Add-runner-sandbox.cfg-for-Tizen-nsjail-test.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file test/runner-sandbox.cfg [ 24s] + echo 'Patch #4 (0005-Add-nsjail-service-for-Tizen-distribution.patch):' [ 24s] Patch #4 (0005-Add-nsjail-service-for-Tizen-distribution.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file mnt.cc [ 24s] patching file test/runner-sandbox.cfg [ 24s] + echo 'Patch #5 (0006-Add-nsjail-test-Tizen-application.patch):' [ 24s] Patch #5 (0006-Add-nsjail-test-Tizen-application.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file test/test_runner_app/Jenkinsfile [ 24s] patching file test/test_runner_app/build_test_runner.sh [ 24s] patching file test/test_runner_app/buildspec.json [ 24s] patching file test/test_runner_app/test_runner/.exportMap [ 24s] patching file test/test_runner_app/test_runner/inc/test_runner.h [ 24s] patching file test/test_runner_app/test_runner/project_def.prop [ 24s] patching file test/test_runner_app/test_runner/shared/res/test_runner.png [ 24s] patching file test/test_runner_app/test_runner/src/test_runner.c [ 24s] patching file test/test_runner_app/test_runner/src/test_runner_util.c [ 24s] patching file test/test_runner_app/test_runner/tizen-manifest.xml [ 24s] + echo 'Patch #6 (0007-Change-cgroup-node-from-NSJAIL-to-malort.patch):' [ 24s] Patch #6 (0007-Change-cgroup-node-from-NSJAIL-to-malort.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file test/runner-sandbox.cfg [ 24s] + echo 'Patch #7 (0008-Add-dev-and-tmp-for-Testing.patch):' [ 24s] Patch #7 (0008-Add-dev-and-tmp-for-Testing.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file test/runner-sandbox.cfg [ 24s] + echo 'Patch #8 (0009-Change-test-configuration-log-path-and-cpu-conf.patch):' [ 24s] Patch #8 (0009-Change-test-configuration-log-path-and-cpu-conf.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file test/runner-sandbox.cfg [ 24s] + echo 'Patch #9 (0010-Disable-MACVLAN-feature-for-Tizen.patch):' [ 24s] Patch #9 (0010-Disable-MACVLAN-feature-for-Tizen.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file net.cc [ 24s] + echo 'Patch #10 (0011-Disable-Net-NS-feature-for-Tizen.patch):' [ 24s] Patch #10 (0011-Disable-Net-NS-feature-for-Tizen.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file net.cc [ 24s] + echo 'Patch #11 (0012-Clean-up-Kafel-source-code.patch.gz):' [ 24s] Patch #11 (0012-Clean-up-Kafel-source-code.patch.gz): [ 24s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0012-Clean-up-Kafel-source-code.patch.gz [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file kafel.tar.gz [ 24s] + echo 'Patch #12 (0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz):' [ 24s] Patch #12 (0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz): [ 24s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file kafel.tar.gz [ 24s] + echo 'Patch #13 (0014-x86-build-fixes.patch.gz):' [ 24s] Patch #13 (0014-x86-build-fixes.patch.gz): [ 24s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0014-x86-build-fixes.patch.gz [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file kafel.tar.gz [ 24s] + echo 'Patch #14 (0015-Exit-test-program-in-case-of-malloc-fail.patch):' [ 24s] Patch #14 (0015-Exit-test-program-in-case-of-malloc-fail.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file test/memory_syscall_test.cc [ 24s] + echo 'Patch #15 (0016-Fix-Werror-shadow-Error-of-open-source-nsjail.patch):' [ 24s] Patch #15 (0016-Fix-Werror-shadow-Error-of-open-source-nsjail.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file subproc.cc [ 24s] + echo 'Patch #16 (0017-Add-cgroup_remount-program-for-target-using-old-reso.patch):' [ 24s] Patch #16 (0017-Add-cgroup_remount-program-for-target-using-old-reso.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file Makefile [ 24s] patching file cgroup_remount.cc [ 24s] + echo 'Patch #17 (0018-Add-mthumb-option-to-Linker-flag.patch):' [ 24s] Patch #17 (0018-Add-mthumb-option-to-Linker-flag.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file Makefile [ 24s] + echo 'Patch #18 (0019-Fix-to-apply-mthumb-option-to-only-arm.patch):' [ 24s] Patch #18 (0019-Fix-to-apply-mthumb-option-to-only-arm.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file Makefile [ 24s] + echo 'Patch #19 (0020-Fix-test-nsjail-configuration.patch):' [ 24s] Patch #19 (0020-Fix-test-nsjail-configuration.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file test/runner-sandbox.cfg [ 24s] + echo 'Patch #20 (0021-Adjust-test-configuration-of-nsjail-test.patch):' [ 24s] Patch #20 (0021-Adjust-test-configuration-of-nsjail-test.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file test/runner-sandbox.cfg [ 24s] + echo 'Patch #21 (0022-Remove-bin-usr-bin-mount-from-test-configuration.patch):' [ 24s] Patch #21 (0022-Remove-bin-usr-bin-mount-from-test-configuration.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file test/runner-sandbox.cfg [ 24s] + echo 'Patch #22 (0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz):' [ 24s] Patch #22 (0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz [ 24s] patching file kafel.tar.gz [ 24s] + echo 'Patch #23 (0024-Add-.gitignore.patch):' [ 24s] Patch #23 (0024-Add-.gitignore.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file .gitignore [ 24s] + echo 'Patch #24 (0025-riscv64-Update-kafel.patch.gz):' [ 24s] Patch #24 (0025-riscv64-Update-kafel.patch.gz): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0025-riscv64-Update-kafel.patch.gz [ 24s] patching file kafel.tar.gz [ 24s] + echo 'Patch #25 (0026-Fix-compile-using-FROM-ubuntu-20.04.patch):' [ 24s] Patch #25 (0026-Fix-compile-using-FROM-ubuntu-20.04.patch): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] patching file subproc.cc [ 24s] + echo 'Patch #26 (0027-Revert-riscv64-Update-kafel.patch.gz):' [ 24s] Patch #26 (0027-Revert-riscv64-Update-kafel.patch.gz): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0027-Revert-riscv64-Update-kafel.patch.gz [ 24s] patching file kafel.tar.gz [ 24s] + echo 'Patch #27 (0028-Restore-riscv64-Update-kafel.patch.gz):' [ 24s] Patch #27 (0028-Restore-riscv64-Update-kafel.patch.gz): [ 24s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 24s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0028-Restore-riscv64-Update-kafel.patch.gz [ 24s] patching file kafel.tar.gz [ 24s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.manifest . [ 24s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.service . [ 24s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.sh . [ 24s] + exit 0 [ 24s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9aWJad [ 24s] + umask 022 [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + cd nsjail-3.0.20210707 [ 24s] ++ uname -m [ 24s] + [[ x86_64 == \a\a\r\c\h\6\4 ]] [ 24s] + LANG=C [ 24s] + export LANG [ 24s] + unset DISPLAY [ 24s] + 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' [ 24s] + export CFLAGS [ 24s] + 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' [ 24s] + export CXXFLAGS [ 24s] + 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' [ 24s] + export FFLAGS [ 24s] + LDFLAGS= [ 24s] + export LDFLAGS [ 24s] + 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' [ 24s] + 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' [ 24s] + 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' [ 24s] + 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' [ 24s] + tar -xf kafel.tar.gz [ 24s] + pushd kafel [ 24s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/kafel ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 24s] + for p in /home/abuild/rpmbuild/SOURCES/0001-Add-special-rules-for-generated-headers.patch [ 24s] + patch -p1 [ 24s] patching file src/Makefile [ 24s] + popd [ 24s] ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 24s] + make -j8 [ 24s] Makefile:60: warning: ignoring prerequisites on suffix rule definition [ 24s] CFLAGS=-fPIE make -C kafel [ 24s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel' [ 24s] Makefile:27: warning: overriding recipe for target 'test' [ 24s] build/Makefile.mk:41: warning: ignoring old recipe for target 'test' [ 24s] make -C src PROJECT_ROOT=../ [ 24s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel/src' [ 24s] flex lexer.l [ 24s] bison parser.y [ 24s] 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 [ 24s] 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 [ 24s] 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 [ 24s] 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 [ 24s] 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 [ 24s] 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 [ 24s] 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 [ 24s] 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 [ 24s] 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 [ 24s] 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 [ 24s] 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 [ 24s] 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 [ 24s] 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 [ 24s] 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 [ 24s] cc -fPIE -std=gnu11 -Iinclude -Wall -Wextra -Werror -O2 -fPIC -fvisibility=hidden -std=gnu11 -I../include -Wall -Wextra -Werror -O2 -c -o syscalls/riscv64_syscalls.o syscalls/riscv64_syscalls.c [ 24s] 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 [ 24s] 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 [ 25s] 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 [ 25s] 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 [ 25s] 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 [ 25s] 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 [ 25s] 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 [ 25s] protoc --cpp_out=. config.proto [ 25s] protoc --cpp_out=. config.proto [ 25s] 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 [ 25s] 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 [ 25s] 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 [ 25s] 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 [ 25s] 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/riscv64_syscalls.o syscalls/arm_syscalls.o -o ../libkafel.so [ 25s] 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/riscv64_syscalls.o syscalls/arm_syscalls.o -o libkafel_r.o [ 25s] # Fix x86 PIC symbols [ 25s] objdump -t libkafel_r.o | grep '.hidden' | grep -v 'get_pc_thunk' | sed -e 's/^.*\.hidden //' > libkafel.localize_symbols [ 25s] objcopy -w --localize-symbols=libkafel.localize_symbols libkafel_r.o libkafel.o [ 25s] rm -f libkafel.localize_symbols [ 25s] rm -f libkafel_r.o [ 25s] ar rcs ../libkafel.a libkafel.o [ 25s] rm -f libkafel.o [ 25s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel/src' [ 25s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel' [ 25s] 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 [ 25s] 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 [ 25s] 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 [ 25s] 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 [ 26s] 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 [ 26s] 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 [ 26s] 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 [ 26s] 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 [ 26s] 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 [ 26s] g++ -o cgroup_remount cgroup_remount.o -pie -Wl,-z,noexecstack -lpthread -lprotobuf -lnl-route-3 -lnl-3 [ 26s] 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 [ 32s] 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 [ 34s] 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 -lnl-route-3 -lnl-3 [ 35s] + pushd test [ 35s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/test ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 35s] + make -j8 [ 35s] Makefile:48: warning: ignoring prerequisites on suffix rule definition [ 35s] 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 [ 35s] g++ -o jail_mem_syscall_test memory_syscall_test.o -pie -Wl,-z,noexecstack -lpthread [ 35s] + popd test [ 35s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/test [ 35s] + exit 0 [ 35s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CJu5Ab [ 35s] + umask 022 [ 35s] + cd /home/abuild/rpmbuild/BUILD [ 35s] + cd nsjail-3.0.20210707 [ 35s] + LANG=C [ 35s] + export LANG [ 35s] + unset DISPLAY [ 35s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 35s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 35s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/ [ 35s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/nsjail_test/ [ 35s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/ [ 35s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/lua-libs/ [ 35s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/lua-scripts/ [ 35s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/lib/systemd/system [ 35s] + install -m 0755 nsjail /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/ [ 35s] + install -m 0755 cgroup_remount /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/ [ 35s] + install -m 0755 nsjail.sh /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/ [ 35s] + install -m 0644 nsjail.service /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/lib/systemd/system/ [ 35s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/lib/systemd/system/multi-user.target.wants [ 35s] + 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 [ 35s] + cp -a test/jail_mem_syscall_test /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/nsjail_test/ [ 35s] + cp -a test/runner-sandbox.cfg /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/ [ 35s] + /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 [ 36s] 1+0 records in [ 36s] 1+0 records out [ 36s] 7 bytes (7 B) copied, 0.000372963 s, 18.8 kB/s [ 36s] 1+0 records in [ 36s] 1+0 records out [ 36s] 7 bytes (7 B) copied, 1.8225e-05 s, 384 kB/s [ 36s] 1+0 records in [ 36s] 1+0 records out [ 36s] 7 bytes (7 B) copied, 2.0166e-05 s, 347 kB/s [ 36s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/bin/nsjail_test/jail_mem_syscall_test [ 36s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/bin/nsjail [ 36s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/bin/cgroup_remount [ 36s] 0+0 records in [ 36s] 0+0 records out [ 36s] 0 bytes (0 B) copied, 0.0100227 s, 0.0 kB/s [ 36s] 0+0 records in [ 36s] 0+0 records out [ 36s] 0 bytes (0 B) copied, 0.0109998 s, 0.0 kB/s [ 36s] 0+0 records in [ 36s] 0+0 records out [ 36s] 0 bytes (0 B) copied, 3.1774e-05 s, 0.0 kB/s [ 36s] 1257 blocks [ 36s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/nsjail-debuginfo.manifest [ 36s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/nsjail-debugsource.manifest [ 37s] + /usr/lib/rpm/check-buildroot [ 37s] + /usr/lib/rpm//brp-compress [ 37s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 38s] + /usr/lib/rpm/brp-python-hardlink [ 38s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 38s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/isu.list [ 38s] ~/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 38s] ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 38s] Processing files: nsjail-3.0.20210707-0.x86_64 [ 38s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIi8+Cgk8L3Jl [ 38s] cXVlc3Q+CjwvbWFuaWZlc3Q+Cg== [ 38s] [ 38s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XVi53a [ 38s] + umask 022 [ 38s] + cd /home/abuild/rpmbuild/BUILD [ 38s] + cd nsjail-3.0.20210707 [ 38s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/licenses/nsjail [ 38s] + export LC_ALL=C [ 38s] + LC_ALL=C [ 38s] + export LICENSEDIR [ 38s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/licenses/nsjail [ 38s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/licenses/nsjail [ 38s] + exit 0 [ 38s] Provides: nsjail = 3.0.20210707-0 nsjail(x86-64) = 3.0.20210707-0 [ 38s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 38s] 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.31()(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) [ 38s] Processing files: nsjail-debugsource-3.0.20210707-0.x86_64 [ 38s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 38s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 38s] [ 38s] Provides: nsjail-debugsource = 3.0.20210707-0 nsjail-debugsource(x86-64) = 3.0.20210707-0 [ 38s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 38s] Processing files: nsjail-test-3.0.20210707-0.x86_64 [ 38s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIi8+Cgk8L3Jl [ 38s] cXVlc3Q+CjwvbWFuaWZlc3Q+Cg== [ 38s] [ 39s] Provides: nsjail-test = 3.0.20210707-0 nsjail-test(x86-64) = 3.0.20210707-0 [ 39s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 39s] 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) [ 39s] Processing files: nsjail-debuginfo-3.0.20210707-0.x86_64 [ 39s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 39s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 39s] [ 39s] Provides: nsjail-debuginfo = 3.0.20210707-0 nsjail-debuginfo(x86-64) = 3.0.20210707-0 [ 39s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 39s] Recommends: nsjail-debugsource(x86-64) = 3.0.20210707-0 [ 39s] Processing files: nsjail-test-debuginfo-3.0.20210707-0.x86_64 [ 39s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 39s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 39s] [ 39s] Provides: nsjail-test-debuginfo = 3.0.20210707-0 nsjail-test-debuginfo(x86-64) = 3.0.20210707-0 [ 39s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 39s] Recommends: nsjail-debugsource(x86-64) = 3.0.20210707-0 [ 39s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 39s] Wrote: /home/abuild/rpmbuild/SRPMS/nsjail-3.0.20210707-0.src.rpm [ 40s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-3.0.20210707-0.x86_64.rpm [ 40s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-debugsource-3.0.20210707-0.x86_64.rpm [ 41s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-test-3.0.20210707-0.x86_64.rpm [ 45s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-debuginfo-3.0.20210707-0.x86_64.rpm [ 45s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-test-debuginfo-3.0.20210707-0.x86_64.rpm [ 45s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9qJdja [ 45s] + umask 022 [ 45s] + cd /home/abuild/rpmbuild/BUILD [ 45s] + cd nsjail-3.0.20210707 [ 45s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 45s] + exit 0 [ 45s] ... checking for files with abuild user/group [ 45s] ... creating baselibs [ 45s] [ 45s] ip-192-168-72-226 finished "build nsjail.spec" at Thu Oct 19 22:38:18 UTC 2023. [ 45s]