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