[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.10 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386:noarch [ 0s] [ 1s] [ 1s] ip-192-168-56-64 started "build nsjail.spec" at Thu Dec 12 07:23:23 UTC 2024. [ 1s] [ 1s] [ 1s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_toolchain_standard/nsjail-3.0.20210707-0/nsjail.spec ... [ 1s] 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_unified_toolchain_standard/x86_64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_toolchain_standard/nsjail-3.0.20210707-0/nsjail.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.10/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.10/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_toolchain_standard/x86_64/RPMS [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/packages/ [ 4s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/debug/ [ 6s] expanding package dependencies... [ 7s] copying qemu [ 7s] [ 7s] calculating packages to download... [ 25s] [1/3] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/packages/x86_64/libnl3-3.2.22-1.3.x86_64.rpm ... [ 25s] [2/3] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/packages/x86_64/libnl3-cli-3.2.22-1.3.x86_64.rpm ... [ 26s] [3/3] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/packages/x86_64/libnl3-devel-3.2.22-1.3.x86_64.rpm ... [ 26s] [ 27s] reordering...cycle: libxcrypt-devel -> glibc-devel [ 27s] breaking dependency libxcrypt-devel -> glibc-devel [ 27s] cycle: libsoftokn3 -> nss [ 27s] breaking dependency nss -> libsoftokn3 [ 27s] reordering done [ 31s] deleting abseil-cpp [ 31s] deleting abseil-cpp-devel [ 31s] deleting boost-atomic [ 31s] deleting boost-chrono [ 32s] deleting boost-container [ 32s] deleting boost-context [ 32s] deleting boost-contract [ 32s] deleting boost-coroutine [ 32s] deleting boost-date-time [ 33s] deleting boost-devel [ 34s] deleting boost-fiber [ 34s] deleting boost-filesystem [ 34s] deleting boost-graph [ 34s] deleting boost-iostreams [ 35s] deleting boost-json [ 35s] deleting boost-license [ 35s] deleting boost-locale [ 35s] deleting boost-log [ 35s] deleting boost-math [ 35s] deleting boost-nowide [ 35s] deleting boost-program-options [ 35s] deleting boost-python3 [ 36s] deleting boost-random [ 36s] deleting boost-regex [ 36s] deleting boost-serialization [ 36s] deleting boost-system [ 37s] deleting boost-test [ 37s] deleting boost-thread [ 37s] deleting boost-timer [ 37s] deleting boost-url [ 37s] deleting boost-wave [ 38s] deleting boost_stacktrace [ 38s] deleting boost_type_erasure [ 38s] deleting cmake [ 38s] deleting gtest [ 38s] /sbin/ldconfig: relative path `0' used to build cache [ 38s] warning: %postun(gtest-1.14.0-0.x86_64) scriptlet failed, exit status 1 [ 38s] deleting gtest-devel [ 38s] deleting libexpat [ 39s] deleting libicu [ 39s] deleting libicu-devel [ 39s] deleting libopenssl11 [ 39s] deleting libre2 [ 39s] deleting protobuf-lite [ 40s] deleting protobuf-lite-devel [ 40s] deleting re2-devel [ 40s] [1/106] keeping libmagic-data-5.45-1.29 [ 40s] [2/106] keeping setup-0.9-1.10 [ 40s] [3/106] keeping filesystem-3.1-1.1 [ 40s] [4/106] keeping glibc-2.39-3.3 [ 40s] [5/106] keeping bash-3.2.57-1.2 [ 40s] [6/106] keeping cpio-2.8-1.3 [ 40s] [7/106] keeping diffutils-3.10-1.2 [ 40s] [8/106] keeping findutils-4.3.8-1.29 [ 40s] [9/106] keeping gdbm-1.8.3-1.35 [ 40s] [10/106] keeping hostname-3.23-1.3 [ 40s] [11/106] keeping libatomic-14.2.0-1.1 [ 40s] [12/106] keeping libattr-2.5.1-1.31 [ 40s] [13/106] keeping libblkid-2.39.3-1.27 [ 40s] [14/106] keeping libbz2-1.0.8-1.34 [ 40s] [15/106] keeping libfreebl3-3.98-1.34 [ 40s] [16/106] keeping libgcc-14.2.0-1.1 [ 40s] [17/106] keeping libgomp-14.2.0-1.1 [ 40s] [18/106] keeping libitm-14.2.0-1.1 [ 40s] [19/106] keeping libltdl-2.4.7-1.35 [ 40s] [20/106] keeping liblua-5.1.5-1.29 [ 40s] [21/106] keeping liblzma-5.4.5-1.35 [ 40s] [22/106] cumulate libnl3-3.2.22-1.3 [ 40s] [23/106] keeping libopenssl3-3.0.13-1.35 [ 40s] [24/106] keeping libpcre-8.45-1.31 [ 40s] [25/106] keeping libpopt-1.16-1.29 [ 40s] [26/106] keeping libquadmath-14.2.0-1.1 [ 40s] [27/106] keeping libsmack-1.3.1-1.29 [ 40s] [28/106] keeping libsmartcols-2.39.3-1.27 [ 40s] [29/106] keeping libsqlite-3.44.0-1.32 [ 40s] [30/106] keeping libuuid-2.39.3-1.27 [ 40s] [31/106] keeping libxcrypt-4.4.36-1.34 [ 40s] [32/106] keeping libzstd1-1.5.5-1.28 [ 40s] [33/106] keeping m4-1.4.19-1.2 [ 40s] [34/106] keeping net-tools-2.0_20121208git-1.30 [ 40s] [35/106] keeping nspr-4.35-1.29 [ 40s] [36/106] keeping patch-2.7.6-1.29 [ 40s] [37/106] keeping pkg-config-0.29.2-1.34 [ 40s] [38/106] keeping sed-4.1c-1.29 [ 40s] [39/106] keeping update-alternatives-1.22.2-1.2 [ 40s] [40/106] keeping which-2.17-1.3 [ 40s] [41/106] keeping zlib-1.3-1.34 [ 40s] [42/106] keeping build-compare-2023.06.18-1.11 [ 40s] [43/106] keeping hal-rootstrap-checker-0.1.0-1.1 [ 40s] [44/106] keeping binutils-libs-2.43-1.15 [ 40s] [45/106] keeping coreutils-6.9-14.10 [ 40s] [46/106] keeping cpp-14.2.0-1.1 [ 40s] [47/106] cumulate flex-2.6.4-1.34 [ 40s] [48/106] keeping gawk-3.1.5-1.2 [ 40s] [49/106] keeping gcc-c++-14.2.0-1.1 [ 40s] [50/106] keeping grep-2.5.2-1.28 [ 40s] [51/106] keeping libacl-2.3.2-1.29 [ 40s] [52/106] keeping libcap-2.69-1.29 [ 40s] [53/106] keeping libelf-0.189-1.35 [ 40s] [54/106] keeping libgfortran-14.2.0-1.1 [ 40s] [55/106] keeping libmount-2.39.3-1.27 [ 40s] [56/106] cumulate libnl3-cli-3.2.22-1.3 [ 40s] [57/106] keeping libstdc++-14.2.0-1.1 [ 40s] [58/106] keeping make-4.4-1.29 [ 40s] [59/106] keeping nss-certs-3.98-1.34 [ 40s] [60/106] keeping smack-1.3.1-1.29 [ 40s] [61/106] cumulate bison-3.0.5-1.34 [ 40s] [62/106] keeping bzip2-1.0.8-1.34 [ 40s] [63/106] keeping libfdisk-2.39.3-1.27 [ 40s] [64/106] keeping libmagic-5.45-1.29 [ 40s] [65/106] keeping libxml2-2.12.5-1.34 [ 40s] [66/106] keeping xz-5.4.5-1.35 [ 40s] [67/106] keeping perl-5.38.0-1.33 [ 40s] [68/106] keeping build-mkbaselibs-20120927-1.1 [ 40s] [69/106] keeping libstdc++-devel-14.2.0-1.1 [ 40s] [70/106] keeping linux-glibc-devel-6.6-1.35 [ 40s] [71/106] keeping file-5.45-1.29 [ 40s] [72/106] keeping tar-1.17-1.2 [ 40s] [73/106] keeping terminfo-base-full-6.4-1.35 [ 40s] [74/106] keeping autoconf-2.71-1.35 [ 40s] [75/106] keeping glibc-locale-2.39-3.3 [ 40s] [76/106] keeping gzip-1.3.12-1.29 [ 40s] [77/106] keeping libcc1-14.2.0-1.1 [ 40s] [78/106] keeping libhwasan-14.2.0-1.1 [ 40s] [79/106] cumulate libnl3-devel-3.2.22-1.3 [ 40s] [80/106] keeping libubsan-14.2.0-1.1 [ 40s] [81/106] keeping binutils-2.43-1.15 [ 40s] [82/106] keeping pam-1.1.6-1.29 [ 40s] [83/106] keeping protobuf-3.20.3-1 [ 40s] [84/106] keeping tzdata-2023c-1.2 [ 40s] [85/106] keeping libdw-0.189-1.35 [ 40s] [86/106] keeping libarchive-3.7.2-1.32 [ 40s] [87/106] keeping automake-1.16.5-1.34 [ 40s] [88/106] keeping libasm-0.189-1.35 [ 40s] [89/106] keeping libncurses6-6.4-1.35 [ 40s] [90/106] keeping build-20120927-1.1 [ 40s] [91/106] keeping protobuf-compiler-3.20.3-1 [ 40s] [92/106] keeping gcc-14.2.0-1.1 [ 40s] [93/106] keeping libncurses-6.4-1.35 [ 40s] [94/106] keeping less-643-1.2 [ 40s] [95/106] keeping libreadline-5.2-1.34 [ 40s] [96/106] keeping protobuf-devel-3.20.3-1 [ 40s] [97/106] keeping libtool-2.4.7-1.35 [ 40s] [98/106] keeping elfutils-0.189-1.35 [ 40s] [99/106] keeping util-linux-2.39.3-1.27 [ 40s] [100/106] keeping util-linux-su-2.39.3-1.27 [ 40s] [101/106] keeping libxcrypt-devel-4.4.36-1.34 [ 40s] [102/106] keeping nss-3.98-1.34 [ 40s] [103/106] keeping glibc-devel-2.39-3.3 [ 40s] [104/106] keeping libsoftokn3-3.98-1.34 [ 40s] [105/106] keeping rpm-4.14.1.1-3.21 [ 40s] [106/106] keeping rpm-build-4.14.1.1-3.21 [ 40s] now installing cumulated packages [ 40s] Preparing... ######################################## [ 40s] Updating / installing... [ 40s] libnl3-3.2.22-1.3 ######################################## [ 41s] libnl3-cli-3.2.22-1.3 ######################################## [ 41s] libnl3-devel-3.2.22-1.3 ######################################## [ 41s] bison-3.0.5-1.34 ######################################## [ 41s] flex-2.6.4-1.34 ######################################## [ 41s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.10/etc/nsswitch.conf... [ 41s] now finalizing build dir... [ 42s] ----------------------------------------------------------------- [ 42s] ----- building nsjail.spec (user abuild) [ 42s] ----------------------------------------------------------------- [ 42s] ----------------------------------------------------------------- [ 42s] + 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 [ 42s] warning: bogus date in %changelog: Mon Jul 7 2021 Baik [ 42s] Building target platforms: x86_64 [ 42s] Building for target x86_64 [ 42s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BNvd4u [ 42s] + umask 022 [ 42s] + cd /home/abuild/rpmbuild/BUILD [ 42s] + cd /home/abuild/rpmbuild/BUILD [ 42s] + rm -rf nsjail-3.0.20210707 [ 42s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/nsjail-3.0.20210707.tar.gz [ 42s] + /bin/tar -xof - [ 42s] + STATUS=0 [ 42s] + '[' 0 -ne 0 ']' [ 42s] + cd nsjail-3.0.20210707 [ 42s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 42s] + echo 'Patch #0 (0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz):' [ 42s] Patch #0 (0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz): [ 42s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file Makefile [ 42s] patching file kafel.tar.gz [ 42s] + echo 'Patch #1 (0002-Adjust-cgroup-cpu-for-Tizen.patch):' [ 42s] Patch #1 (0002-Adjust-cgroup-cpu-for-Tizen.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file cgroup.cc [ 42s] + echo 'Patch #2 (0003-Add-Simple-test-program-for-Tizen-nsjail.patch):' [ 42s] Patch #2 (0003-Add-Simple-test-program-for-Tizen-nsjail.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file test/Makefile [ 42s] patching file test/memory_syscall_test.cc [ 42s] + echo 'Patch #3 (0004-Add-runner-sandbox.cfg-for-Tizen-nsjail-test.patch):' [ 42s] Patch #3 (0004-Add-runner-sandbox.cfg-for-Tizen-nsjail-test.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file test/runner-sandbox.cfg [ 42s] + echo 'Patch #4 (0005-Add-nsjail-service-for-Tizen-distribution.patch):' [ 42s] Patch #4 (0005-Add-nsjail-service-for-Tizen-distribution.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file mnt.cc [ 42s] patching file test/runner-sandbox.cfg [ 42s] + echo 'Patch #5 (0006-Add-nsjail-test-Tizen-application.patch):' [ 42s] Patch #5 (0006-Add-nsjail-test-Tizen-application.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file test/test_runner_app/Jenkinsfile [ 42s] patching file test/test_runner_app/build_test_runner.sh [ 42s] patching file test/test_runner_app/buildspec.json [ 42s] patching file test/test_runner_app/test_runner/.exportMap [ 42s] patching file test/test_runner_app/test_runner/inc/test_runner.h [ 42s] patching file test/test_runner_app/test_runner/project_def.prop [ 42s] patching file test/test_runner_app/test_runner/shared/res/test_runner.png [ 42s] patching file test/test_runner_app/test_runner/src/test_runner.c [ 42s] patching file test/test_runner_app/test_runner/src/test_runner_util.c [ 42s] patching file test/test_runner_app/test_runner/tizen-manifest.xml [ 42s] + echo 'Patch #6 (0007-Change-cgroup-node-from-NSJAIL-to-malort.patch):' [ 42s] Patch #6 (0007-Change-cgroup-node-from-NSJAIL-to-malort.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file test/runner-sandbox.cfg [ 42s] + echo 'Patch #7 (0008-Add-dev-and-tmp-for-Testing.patch):' [ 42s] Patch #7 (0008-Add-dev-and-tmp-for-Testing.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file test/runner-sandbox.cfg [ 42s] + echo 'Patch #8 (0009-Change-test-configuration-log-path-and-cpu-conf.patch):' [ 42s] Patch #8 (0009-Change-test-configuration-log-path-and-cpu-conf.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file test/runner-sandbox.cfg [ 42s] + echo 'Patch #9 (0010-Disable-MACVLAN-feature-for-Tizen.patch):' [ 42s] Patch #9 (0010-Disable-MACVLAN-feature-for-Tizen.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file net.cc [ 42s] + echo 'Patch #10 (0011-Disable-Net-NS-feature-for-Tizen.patch):' [ 42s] Patch #10 (0011-Disable-Net-NS-feature-for-Tizen.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file net.cc [ 42s] + echo 'Patch #11 (0012-Clean-up-Kafel-source-code.patch.gz):' [ 42s] Patch #11 (0012-Clean-up-Kafel-source-code.patch.gz): [ 42s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0012-Clean-up-Kafel-source-code.patch.gz [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file kafel.tar.gz [ 42s] + echo 'Patch #12 (0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz):' [ 42s] Patch #12 (0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz): [ 42s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file kafel.tar.gz [ 42s] + echo 'Patch #13 (0014-x86-build-fixes.patch.gz):' [ 42s] Patch #13 (0014-x86-build-fixes.patch.gz): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0014-x86-build-fixes.patch.gz [ 42s] patching file kafel.tar.gz [ 42s] + echo 'Patch #14 (0015-Exit-test-program-in-case-of-malloc-fail.patch):' [ 42s] Patch #14 (0015-Exit-test-program-in-case-of-malloc-fail.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file test/memory_syscall_test.cc [ 42s] + echo 'Patch #15 (0016-Fix-Werror-shadow-Error-of-open-source-nsjail.patch):' [ 42s] Patch #15 (0016-Fix-Werror-shadow-Error-of-open-source-nsjail.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file subproc.cc [ 42s] + echo 'Patch #16 (0017-Add-cgroup_remount-program-for-target-using-old-reso.patch):' [ 42s] Patch #16 (0017-Add-cgroup_remount-program-for-target-using-old-reso.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file Makefile [ 42s] patching file cgroup_remount.cc [ 42s] + echo 'Patch #17 (0018-Add-mthumb-option-to-Linker-flag.patch):' [ 42s] Patch #17 (0018-Add-mthumb-option-to-Linker-flag.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file Makefile [ 42s] + echo 'Patch #18 (0019-Fix-to-apply-mthumb-option-to-only-arm.patch):' [ 42s] Patch #18 (0019-Fix-to-apply-mthumb-option-to-only-arm.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file Makefile [ 42s] + echo 'Patch #19 (0020-Fix-test-nsjail-configuration.patch):' [ 42s] Patch #19 (0020-Fix-test-nsjail-configuration.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file test/runner-sandbox.cfg [ 42s] + echo 'Patch #20 (0021-Adjust-test-configuration-of-nsjail-test.patch):' [ 42s] Patch #20 (0021-Adjust-test-configuration-of-nsjail-test.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file test/runner-sandbox.cfg [ 42s] + echo 'Patch #21 (0022-Remove-bin-usr-bin-mount-from-test-configuration.patch):' [ 42s] Patch #21 (0022-Remove-bin-usr-bin-mount-from-test-configuration.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file test/runner-sandbox.cfg [ 42s] + echo 'Patch #22 (0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz):' [ 42s] Patch #22 (0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz): [ 42s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file kafel.tar.gz [ 42s] + echo 'Patch #23 (0024-Add-.gitignore.patch):' [ 42s] Patch #23 (0024-Add-.gitignore.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file .gitignore [ 42s] + echo 'Patch #24 (0025-riscv64-Update-kafel.patch.gz):' [ 42s] Patch #24 (0025-riscv64-Update-kafel.patch.gz): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0025-riscv64-Update-kafel.patch.gz [ 42s] patching file kafel.tar.gz [ 42s] + echo 'Patch #25 (0026-Fix-compile-using-FROM-ubuntu-20.04.patch):' [ 42s] Patch #25 (0026-Fix-compile-using-FROM-ubuntu-20.04.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file subproc.cc [ 42s] + echo 'Patch #26 (0027-Revert-riscv64-Update-kafel.patch.gz):' [ 42s] Patch #26 (0027-Revert-riscv64-Update-kafel.patch.gz): [ 42s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0027-Revert-riscv64-Update-kafel.patch.gz [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file kafel.tar.gz [ 42s] + echo 'Patch #27 (0028-Restore-riscv64-Update-kafel.patch.gz):' [ 42s] Patch #27 (0028-Restore-riscv64-Update-kafel.patch.gz): [ 42s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0028-Restore-riscv64-Update-kafel.patch.gz [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file kafel.tar.gz [ 42s] + echo 'Patch #28 (0029-Makefile-Add-security-compiling-flags-RELRO.patch):' [ 42s] Patch #28 (0029-Makefile-Add-security-compiling-flags-RELRO.patch): [ 42s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 42s] patching file Makefile [ 42s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.manifest . [ 42s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.service . [ 42s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.sh . [ 42s] + exit 0 [ 42s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Uv8MOi [ 42s] + umask 022 [ 42s] + cd /home/abuild/rpmbuild/BUILD [ 42s] + cd nsjail-3.0.20210707 [ 42s] + ref=/usr/lib/rpm [ 42s] + mints=0 [ 42s] + case $(uname -m) in [ 42s] ++ uname -m [ 42s] + for s in guess sub [ 42s] ++ find -maxdepth 8 -name config.guess [ 42s] + for s in guess sub [ 42s] ++ find -maxdepth 8 -name config.sub [ 42s] + LANG=C [ 42s] + export LANG [ 42s] + unset DISPLAY [ 42s] + CFLAGS='-O2 -g2 -gdwarf-4 -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' [ 42s] + export CFLAGS [ 42s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -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' [ 42s] + export CXXFLAGS [ 42s] + FFLAGS='-O2 -g2 -gdwarf-4 -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' [ 42s] + export FFLAGS [ 42s] + LDFLAGS= [ 42s] + export LDFLAGS [ 42s] + export 'CFLAGS=-O2 -g2 -gdwarf-4 -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' [ 42s] + CFLAGS='-O2 -g2 -gdwarf-4 -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' [ 42s] + export 'CXXFLAGS=-O2 -g2 -gdwarf-4 -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' [ 42s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -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' [ 42s] + tar -xf kafel.tar.gz [ 42s] + pushd kafel [ 42s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/kafel ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 42s] + for p in /home/abuild/rpmbuild/SOURCES/0001-Add-special-rules-for-generated-headers.patch [ 42s] + patch -p1 [ 42s] patching file src/Makefile [ 42s] + popd [ 42s] ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 42s] + make -j8 [ 42s] Makefile:62: warning: ignoring prerequisites on suffix rule definition [ 42s] CFLAGS=-fPIE make -C kafel [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel' [ 42s] Makefile:27: warning: overriding recipe for target 'test' [ 42s] build/Makefile.mk:41: warning: ignoring old recipe for target 'test' [ 42s] make -C src PROJECT_ROOT=../ [ 42s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel/src' [ 42s] flex lexer.l [ 42s] bison parser.y [ 42s] 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 [ 42s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 caps.cc -o caps.o [ 42s] 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 [ 42s] 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 [ 42s] 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 [ 42s] 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 [ 43s] 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 [ 43s] 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 [ 43s] 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 [ 43s] 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 [ 43s] 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 [ 43s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cgroup.cc -o cgroup.o [ 43s] 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 [ 43s] 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 [ 43s] 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 [ 43s] 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 [ 43s] 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 [ 43s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cgroup2.cc -o cgroup2.o [ 43s] 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 [ 43s] 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 [ 43s] 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 [ 43s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cmdline.cc -o cmdline.o [ 43s] protoc --cpp_out=. config.proto [ 43s] protoc --cpp_out=. config.proto [ 43s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 contain.cc -o contain.o [ 43s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cpu.cc -o cpu.o [ 43s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 logs.cc -o logs.o [ 43s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 mnt.cc -o mnt.o [ 43s] 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 [ 43s] 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 [ 43s] # Fix x86 PIC symbols [ 43s] objdump -t libkafel_r.o | grep '.hidden' | grep -v 'get_pc_thunk' | sed -e 's/^.*\.hidden //' > libkafel.localize_symbols [ 44s] objcopy -w --localize-symbols=libkafel.localize_symbols libkafel_r.o libkafel.o [ 44s] rm -f libkafel.localize_symbols [ 44s] rm -f libkafel_r.o [ 44s] ar rcs ../libkafel.a libkafel.o [ 44s] rm -f libkafel.o [ 44s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel/src' [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel' [ 44s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 net.cc -o net.o [ 44s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 nsjail.cc -o nsjail.o [ 44s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 pid.cc -o pid.o [ 45s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 sandbox.cc -o sandbox.o [ 45s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 subproc.cc -o subproc.o [ 45s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 uts.cc -o uts.o [ 46s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 user.cc -o user.o [ 46s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 util.cc -o util.o [ 47s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 cgroup_remount.cc -o cgroup_remount.o [ 47s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 config.pb.cc -o config.pb.o [ 47s] g++ -o cgroup_remount cgroup_remount.o -pie -Wl,-z,noexecstack -lpthread -lprotobuf -Wl,-z,relro -lnl-route-3 -lnl-3 [ 55s] g++ -O2 -g2 -gdwarf-4 -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 -Wl,-z,relro -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -I/usr/include/libnl3 config.cc -o config.o [ 58s] 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 -Wl,-z,relro -lnl-route-3 -lnl-3 [ 58s] + pushd test [ 58s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/test ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 58s] + make -j8 [ 58s] Makefile:48: warning: ignoring prerequisites on suffix rule definition [ 58s] g++ -O2 -g2 -gdwarf-4 -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 [ 59s] g++ -o jail_mem_syscall_test memory_syscall_test.o -pie -Wl,-z,noexecstack -lpthread [ 59s] + popd test [ 59s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/test [ 59s] + exit 0 [ 59s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ny5mLc [ 59s] + umask 022 [ 59s] + cd /home/abuild/rpmbuild/BUILD [ 59s] + cd nsjail-3.0.20210707 [ 59s] + LANG=C [ 59s] + export LANG [ 59s] + unset DISPLAY [ 59s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 59s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 59s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/ [ 59s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/nsjail_test/ [ 59s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/ [ 59s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/lua-libs/ [ 59s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/lua-scripts/ [ 59s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/lib/systemd/system [ 59s] + install -m 0755 nsjail /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/ [ 59s] + install -m 0755 cgroup_remount /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/ [ 59s] + install -m 0755 nsjail.sh /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/ [ 59s] + install -m 0644 nsjail.service /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/lib/systemd/system/ [ 59s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/lib/systemd/system/multi-user.target.wants [ 59s] + 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 [ 59s] + cp -a test/jail_mem_syscall_test /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64//usr/bin/nsjail_test/ [ 59s] + cp -a test/runner-sandbox.cfg /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/ [ 59s] + /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 [ 59s] 1+0 records in [ 59s] 1+0 records out [ 59s] 1+0 records in [ 59s] 1+0 records out [ 59s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/bin/cgroup_remount [ 59s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/bin/nsjail [ 59s] 1+0 records in [ 59s] 1+0 records out [ 59s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/bin/nsjail_test/jail_mem_syscall_test [ 59s] 0+0 records in [ 59s] 0+0 records out [ 59s] 0+0 records in [ 59s] 0+0 records out [ 59s] 0+0 records in [ 59s] 0+0 records out [ 59s] 1257 blocks [ 59s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/nsjail-debuginfo.manifest [ 59s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/nsjail-debugsource.manifest [ 59s] + /usr/lib/rpm/check-buildroot [ 59s] + /usr/lib/rpm//brp-compress [ 59s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 59s] + /usr/lib/rpm/brp-python-hardlink [ 59s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 59s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/isu.list [ 59s] ~/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 59s] ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 59s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 60s] warning: bogus date in %changelog: Mon Jul 7 2021 Baik [ 60s] warning: bogus date in %changelog: Mon Jul 7 2021 Baik [ 60s] Processing files: nsjail-3.0.20210707-0.x86_64 [ 60s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIi8+Cgk8L3Jl [ 60s] cXVlc3Q+CjwvbWFuaWZlc3Q+Cg== [ 60s] [ 60s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fe2UvZ [ 60s] + umask 022 [ 60s] + cd /home/abuild/rpmbuild/BUILD [ 60s] + cd nsjail-3.0.20210707 [ 60s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/licenses/nsjail [ 60s] + export LC_ALL=C [ 60s] + LC_ALL=C [ 60s] + export LICENSEDIR [ 60s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/licenses/nsjail [ 60s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64/usr/share/licenses/nsjail [ 60s] + exit 0 [ 60s] Provides: nsjail = 3.0.20210707-0 nsjail(x86-64) = 3.0.20210707-0 [ 60s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 60s] 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.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(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) 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.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) [ 60s] Processing files: nsjail-debugsource-3.0.20210707-0.x86_64 [ 60s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 60s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 60s] [ 60s] Provides: nsjail-debugsource = 3.0.20210707-0 nsjail-debugsource(x86-64) = 3.0.20210707-0 [ 60s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 60s] Processing files: nsjail-test-3.0.20210707-0.x86_64 [ 60s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIi8+Cgk8L3Jl [ 60s] cXVlc3Q+CjwvbWFuaWZlc3Q+Cg== [ 60s] [ 60s] Provides: nsjail-test = 3.0.20210707-0 nsjail-test(x86-64) = 3.0.20210707-0 [ 60s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 60s] Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libstdc++.so.6()(64bit) [ 60s] Processing files: nsjail-debuginfo-3.0.20210707-0.x86_64 [ 60s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 60s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 60s] [ 60s] Provides: nsjail-debuginfo = 3.0.20210707-0 nsjail-debuginfo(x86-64) = 3.0.20210707-0 [ 60s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 60s] Recommends: nsjail-debugsource(x86-64) = 3.0.20210707-0 [ 60s] Processing files: nsjail-test-debuginfo-3.0.20210707-0.x86_64 [ 60s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 60s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 60s] [ 60s] Provides: nsjail-test-debuginfo = 3.0.20210707-0 nsjail-test-debuginfo(x86-64) = 3.0.20210707-0 [ 60s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 60s] Recommends: nsjail-debugsource(x86-64) = 3.0.20210707-0 [ 60s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 60s] Wrote: /home/abuild/rpmbuild/SRPMS/nsjail-3.0.20210707-0.src.rpm [ 61s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-3.0.20210707-0.x86_64.rpm [ 61s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-debugsource-3.0.20210707-0.x86_64.rpm [ 61s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-test-3.0.20210707-0.x86_64.rpm [ 64s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-debuginfo-3.0.20210707-0.x86_64.rpm [ 64s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/nsjail-test-debuginfo-3.0.20210707-0.x86_64.rpm [ 64s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ybQLI6 [ 64s] + umask 022 [ 64s] + cd /home/abuild/rpmbuild/BUILD [ 64s] + cd nsjail-3.0.20210707 [ 64s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.x86_64 [ 64s] + exit 0 [ 64s] ... checking for files with abuild user/group [ 64s] ... creating baselibs [ 64s] [ 64s] ip-192-168-56-64 finished "build nsjail.spec" at Thu Dec 12 07:24:26 UTC 2024. [ 64s]