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