[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.17 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 1s] [ 1s] ip-192-168-56-183 started "build nsjail.spec" at Fri Dec 27 03:32:56 UTC 2024. [ 1s] [ 1s] [ 1s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_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 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_standard/riscv64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/debug/ --clean --nocumulate /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/nsjail-3.0.20210707-0/nsjail.spec build ... [ 2s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.17/.srcfiles.cache ... [ 2s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.17/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_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-ASAN/reference/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-X-ASAN/reference/repos/standard/debug/ [ 4s] expanding package dependencies... [ 5s] copying qemu [ 5s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 5s] [ 5s] registering binfmt handlers for cross build [ 5s] calculating packages to download... [ 21s] cycle: nss -> libsoftokn3 [ 21s] breaking dependency nss -> libsoftokn3 [ 21s] [1/47] preinstalling libmagic-data... [ 21s] [2/47] preinstalling libncurses... [ 21s] [3/47] preinstalling setup... [ 22s] [4/47] preinstalling filesystem... [ 22s] [5/47] preinstalling glibc... [ 22s] [6/47] preinstalling libgcc... [ 22s] [7/47] preinstalling libstdc++... [ 22s] [8/47] preinstalling libasan... [ 22s] [9/47] preinstalling findutils... [ 22s] [10/47] preinstalling grep... [ 22s] [11/47] preinstalling libattr... [ 22s] [12/47] preinstalling libbz2... [ 22s] [13/47] preinstalling liblua... [ 22s] [14/47] preinstalling libpopt... [ 23s] [15/47] preinstalling libsmack... [ 23s] [16/47] preinstalling libuuid... [ 23s] [17/47] preinstalling libxcrypt... [ 23s] [18/47] preinstalling nspr... [ 23s] [19/47] preinstalling sed... [ 23s] [20/47] preinstalling zlib... [ 23s] [21/47] preinstalling bash... [ 23s] [22/47] preinstalling diffutils... [ 23s] [23/47] preinstalling libblkid... [ 23s] [24/47] preinstalling libcap... [ 23s] [25/47] preinstalling libfreebl3... [ 23s] [26/47] preinstalling liblzma... [ 23s] [27/47] preinstalling libreadline... [ 24s] [28/47] preinstalling libsqlite... [ 24s] [29/47] preinstalling libzstd1... [ 24s] [30/47] preinstalling qemu-accel-x86_64-riscv64... [ 32s] [31/47] preinstalling qemu-linux-user-x86_64-cross... [ 34s] [32/47] preinstalling asan-build-env... [ 34s] [33/47] preinstalling libacl... [ 35s] [34/47] preinstalling libelf... [ 35s] [35/47] preinstalling smack... [ 35s] [36/47] preinstalling bzip2... [ 35s] [37/47] preinstalling coreutils... [ 35s] [38/47] preinstalling libmagic... [ 35s] [39/47] preinstalling libmount... [ 35s] [40/47] preinstalling libxml2... [ 35s] [41/47] preinstalling tar... [ 35s] [42/47] preinstalling util-linux... [ 36s] [43/47] preinstalling util-linux-su... [ 36s] [44/47] preinstalling nss... [ 36s] [45/47] preinstalling libsoftokn3... [ 36s] [46/47] preinstalling rpm... [ 36s] [47/47] preinstalling asan-force-options... [ 36s] [ 37s] running qemu-linux-user-x86_64-cross postinstall script [ 39s] running qemu-accel-x86_64-riscv64 postinstall script [ 39s] mv: cannot stat `/usr/lib64/gcc/riscv64-tizen-linux-gnu/14.1.0/liblto_plugin.so': No such file or directory [ 39s] running setup postinstall script [ 39s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 39s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 39s] running asan-build-env postinstall script [ 42s] running asan-force-options postinstall script [ 77s] initializing rpm db... [ 77s] reordering...cycle: bash -> glibc -> filesystem -> setup -> asan-runtime-env [ 77s] breaking dependency bash -> glibc [ 77s] cycle: bash -> libasan -> glibc -> filesystem -> setup -> asan-runtime-env [ 77s] breaking dependency libasan -> glibc [ 77s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 77s] breaking dependency asan-runtime-env -> bash [ 77s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 77s] breaking dependency coreutils -> bash [ 77s] cycle: glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 77s] breaking dependency coreutils -> glibc [ 77s] cycle: libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 77s] breaking dependency libasan -> libgcc [ 77s] cycle: libasan -> libstdc++ -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 77s] breaking dependency libstdc++ -> glibc [ 77s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 77s] breaking dependency coreutils -> libasan [ 77s] cycle: libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 77s] breaking dependency asan-runtime-env -> coreutils [ 77s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 77s] breaking dependency setup -> asan-runtime-env [ 77s] cycle: libxcrypt-devel -> glibc-devel [ 77s] breaking dependency glibc-devel -> libxcrypt-devel [ 77s] cycle: nss -> libsoftokn3 [ 77s] breaking dependency nss -> libsoftokn3 [ 77s] reordering done [ 81s] [1/110] installing libmagic-data-5.45-1.15 [ 81s] [2/110] installing setup-0.9-1.6 [ 81s] [3/110] installing filesystem-3.1-1.2 [ 82s] [4/110] installing glibc-2.39-2.6 [ 82s] [5/110] installing libatomic-14.1.0-2.7 [ 83s] [6/110] installing libgcc-14.1.0-2.7 [ 83s] [7/110] installing libgomp-14.1.0-2.7 [ 84s] [8/110] installing libitm-14.1.0-2.7 [ 84s] [9/110] installing libgfortran-14.1.0-2.7 [ 85s] [10/110] installing libstdc++-14.1.0-2.7 [ 86s] [11/110] installing coreutils-6.9-14.6 [ 86s] [12/110] installing libstdc++-devel-14.1.0-2.7 [ 87s] [13/110] installing linux-glibc-devel-6.6-1.17 [ 87s] [14/110] installing libasan-14.1.0-2.7 [ 88s] [15/110] installing libcc1-14.1.0-2.7 [ 88s] [16/110] installing libubsan-14.1.0-2.7 [ 89s] [17/110] installing cpio-2.8-1.3 [ 89s] [18/110] installing findutils-4.3.8-1.15 [ 89s] [19/110] installing gdbm-1.8.3-1.17 [ 90s] [20/110] installing hostname-3.23-1.3 [ 90s] [21/110] installing libattr-2.5.1-1.15 [ 91s] [22/110] installing libbz2-1.0.8-1.15 [ 91s] [23/110] installing libltdl-2.4.7-1.17 [ 92s] [24/110] installing liblua-5.1.5-1.13 [ 92s] [25/110] installing libpopt-1.16-1.14 [ 93s] [26/110] installing libsmack-1.3.1-1.14 [ 93s] [27/110] installing libsmartcols-2.39.3-1.11 [ 94s] [28/110] installing libuuid-2.39.3-1.11 [ 94s] [29/110] installing libxcrypt-4.4.36-2.7 [ 95s] [30/110] installing m4-1.4.19-2.1 [ 95s] [31/110] installing net-tools-2.0_20121208git-1.13 [ 96s] [32/110] installing nspr-4.35-1.14 [ 96s] [33/110] installing patch-2.7.6-1.14 [ 96s] [34/110] installing sed-4.1c-1.14 [ 97s] [35/110] installing which-2.17-1.3 [ 97s] [36/110] installing zlib-1.3-1.17 [ 97s] [37/110] installing asan-runtime-env-14.1.0-1.11 [ 98s] [38/110] installing bash-3.2.57-2.2 [ 98s] [39/110] installing diffutils-3.10-2.1 [ 98s] [40/110] installing libblkid-2.39.3-1.11 [ 99s] [41/110] installing libcap-2.69-1.13 [ 100s] [42/110] installing libfreebl3-3.98-1.17 [ 100s] [43/110] installing liblzma-5.4.5-1.17 [ 101s] [44/110] installing libnl3-3.2.22-1.3 [ 101s] [45/110] installing libopenssl3-3.0.13-1.17 [ 102s] [46/110] installing libpcre-8.45-1.15 [ 102s] [47/110] installing libsqlite-3.48.0-1.2 [ 103s] [48/110] installing libzstd1-1.5.6-1.2 [ 104s] [49/110] installing pkg-config-0.29.2-1.15 [ 104s] [50/110] installing update-alternatives-1.22.2-1.3 [ 104s] [51/110] installing build-compare-2023.06.18-1.6 [ 105s] [52/110] installing hal-rootstrap-checker-0.1.0-3.1 [ 105s] [53/110] installing qemu-linux-user-x86_64-cross-5.2.0.2-20.6 [ 109s] [54/110] installing asan-build-env-14.1.0-1.11 [ 109s] libasan.so is already preloaded [ 109s] [55/110] installing cpp-14.1.0-2.7 [ 110s] [56/110] installing gcc-c++-14.1.0-2.7 [ 111s] [57/110] installing terminfo-base-full-6.4-1.17 [ 112s] [58/110] installing flex-2.6.4-1.15 [ 113s] [59/110] installing gawk-3.1.5-1.3 [ 113s] [60/110] installing glibc-locale-2.39-2.6 [ 114s] [61/110] installing grep-2.5.2-1.14 [ 114s] [62/110] installing libacl-2.3.2-1.14 [ 115s] [63/110] installing libelf-0.189-1.16 [ 115s] [64/110] installing libnl3-cli-3.2.22-1.3 [ 116s] [65/110] installing make-4.4-1.15 [ 116s] [66/110] installing nss-certs-3.98-1.17 [ 116s] [67/110] installing smack-1.3.1-1.14 [ 116s] [68/110] installing binutils-libs-2.43-3.6 [ 117s] [69/110] installing bzip2-1.0.8-1.15 [ 117s] [70/110] installing gzip-1.13-1.10 [ 117s] [71/110] installing libmagic-5.45-1.15 [ 118s] [72/110] installing libmount-2.39.3-1.11 [ 118s] [73/110] installing protobuf-3.20.3-1 [ 119s] [74/110] installing xz-5.4.5-1.17 [ 119s] [75/110] installing bison-3.0.5-1.15 [ 119s] [76/110] installing libfdisk-2.39.3-1.11 [ 120s] [77/110] installing libxml2-2.12.5-1.15 [ 120s] [78/110] installing tzdata-2023c-1.3 [ 121s] [79/110] installing pam-1.1.6-1.13 [ 123s] [80/110] installing perl-5.38.0-1.13 [ 125s] [81/110] installing gcc-14.1.0-2.7 [ 127s] [82/110] installing build-mkbaselibs-20120927-1.2 [ 127s] [83/110] installing qemu-accel-x86_64-riscv64-0.4-2.2 [ 140s] [84/110] installing autoconf-2.71-1.17 [ 140s] [85/110] installing file-5.45-1.15 [ 141s] [86/110] installing libnl3-devel-3.2.22-1.3 [ 141s] [87/110] installing binutils-2.43-3.6 [ 142s] [88/110] installing tar-1.17-1.3 [ 142s] [89/110] installing glibc-devel-2.39-2.6 [ 143s] [90/110] installing libncurses6-6.4-1.17 [ 143s] [91/110] installing protobuf-compiler-3.20.3-1 [ 144s] [92/110] installing libdw-0.189-1.16 [ 145s] [93/110] installing nss-3.98-1.17 [ 145s] [94/110] installing libarchive-3.7.2-1.14 [ 146s] [95/110] installing libncurses-6.4-1.17 [ 146s] [96/110] installing automake-1.16.5-1.17 [ 147s] [97/110] installing libxcrypt-devel-4.4.36-2.7 [ 147s] [98/110] installing protobuf-devel-3.20.3-1 [ 147s] [99/110] installing less-668-1.1 [ 148s] [100/110] installing libasm-0.189-1.16 [ 148s] [101/110] installing libreadline-5.2-1.15 [ 148s] [102/110] installing build-20120927-1.2 [ 149s] [103/110] installing libsoftokn3-3.98-1.17 [ 149s] [104/110] installing rpm-4.14.1.1-1.17 [ 151s] [105/110] installing asan-force-options-14.1.0-1.11 [ 184s] [106/110] installing libtool-2.4.7-1.17 [ 184s] [107/110] installing elfutils-0.189-1.16 [ 184s] [108/110] installing util-linux-2.39.3-1.11 [ 185s] [109/110] installing rpm-build-4.14.1.1-1.17 [ 185s] [110/110] installing util-linux-su-2.39.3-1.11 [ 185s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.17/etc/nsswitch.conf... [ 185s] now finalizing build dir... [ 191s] ----------------------------------------------------------------- [ 191s] ----- building nsjail.spec (user abuild) [ 191s] ----------------------------------------------------------------- [ 191s] ----------------------------------------------------------------- [ 195s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' -bb /home/abuild/rpmbuild/SOURCES/nsjail.spec [ 195s] warning: bogus date in %changelog: Mon Jul 7 2021 Baik [ 195s] Building target platforms: riscv64-tizen-linux [ 195s] Building for target riscv64-tizen-linux [ 195s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7CYXJT [ 195s] + umask 022 [ 195s] + cd /home/abuild/rpmbuild/BUILD [ 195s] + cd /home/abuild/rpmbuild/BUILD [ 195s] + rm -rf nsjail-3.0.20210707 [ 195s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/nsjail-3.0.20210707.tar.gz [ 195s] + /bin/tar -xof - [ 195s] + STATUS=0 [ 195s] + '[' 0 -ne 0 ']' [ 195s] + cd nsjail-3.0.20210707 [ 195s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 196s] + echo 'Patch #0 (0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz):' [ 196s] Patch #0 (0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz): [ 196s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file Makefile [ 196s] patching file kafel.tar.gz [ 196s] + echo 'Patch #1 (0002-Adjust-cgroup-cpu-for-Tizen.patch):' [ 196s] Patch #1 (0002-Adjust-cgroup-cpu-for-Tizen.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file cgroup.cc [ 196s] + echo 'Patch #2 (0003-Add-Simple-test-program-for-Tizen-nsjail.patch):' [ 196s] Patch #2 (0003-Add-Simple-test-program-for-Tizen-nsjail.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file test/Makefile [ 196s] patching file test/memory_syscall_test.cc [ 196s] + echo 'Patch #3 (0004-Add-runner-sandbox.cfg-for-Tizen-nsjail-test.patch):' [ 196s] Patch #3 (0004-Add-runner-sandbox.cfg-for-Tizen-nsjail-test.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file test/runner-sandbox.cfg [ 196s] + echo 'Patch #4 (0005-Add-nsjail-service-for-Tizen-distribution.patch):' [ 196s] Patch #4 (0005-Add-nsjail-service-for-Tizen-distribution.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file mnt.cc [ 196s] patching file test/runner-sandbox.cfg [ 196s] + echo 'Patch #5 (0006-Add-nsjail-test-Tizen-application.patch):' [ 196s] Patch #5 (0006-Add-nsjail-test-Tizen-application.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file test/test_runner_app/Jenkinsfile [ 196s] patching file test/test_runner_app/build_test_runner.sh [ 196s] patching file test/test_runner_app/buildspec.json [ 196s] patching file test/test_runner_app/test_runner/.exportMap [ 196s] patching file test/test_runner_app/test_runner/inc/test_runner.h [ 196s] patching file test/test_runner_app/test_runner/project_def.prop [ 196s] patching file test/test_runner_app/test_runner/shared/res/test_runner.png [ 196s] patching file test/test_runner_app/test_runner/src/test_runner.c [ 196s] patching file test/test_runner_app/test_runner/src/test_runner_util.c [ 196s] patching file test/test_runner_app/test_runner/tizen-manifest.xml [ 196s] + echo 'Patch #6 (0007-Change-cgroup-node-from-NSJAIL-to-malort.patch):' [ 196s] Patch #6 (0007-Change-cgroup-node-from-NSJAIL-to-malort.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file test/runner-sandbox.cfg [ 196s] + echo 'Patch #7 (0008-Add-dev-and-tmp-for-Testing.patch):' [ 196s] Patch #7 (0008-Add-dev-and-tmp-for-Testing.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file test/runner-sandbox.cfg [ 196s] + echo 'Patch #8 (0009-Change-test-configuration-log-path-and-cpu-conf.patch):' [ 196s] Patch #8 (0009-Change-test-configuration-log-path-and-cpu-conf.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file test/runner-sandbox.cfg [ 196s] + echo 'Patch #9 (0010-Disable-MACVLAN-feature-for-Tizen.patch):' [ 196s] Patch #9 (0010-Disable-MACVLAN-feature-for-Tizen.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file net.cc [ 196s] + echo 'Patch #10 (0011-Disable-Net-NS-feature-for-Tizen.patch):' [ 196s] Patch #10 (0011-Disable-Net-NS-feature-for-Tizen.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file net.cc [ 196s] + echo 'Patch #11 (0012-Clean-up-Kafel-source-code.patch.gz):' [ 196s] Patch #11 (0012-Clean-up-Kafel-source-code.patch.gz): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0012-Clean-up-Kafel-source-code.patch.gz [ 196s] patching file kafel.tar.gz [ 196s] + echo 'Patch #12 (0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz):' [ 196s] Patch #12 (0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz): [ 196s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file kafel.tar.gz [ 196s] + echo 'Patch #13 (0014-x86-build-fixes.patch.gz):' [ 196s] Patch #13 (0014-x86-build-fixes.patch.gz): [ 196s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0014-x86-build-fixes.patch.gz [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file kafel.tar.gz [ 196s] + echo 'Patch #14 (0015-Exit-test-program-in-case-of-malloc-fail.patch):' [ 196s] Patch #14 (0015-Exit-test-program-in-case-of-malloc-fail.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file test/memory_syscall_test.cc [ 196s] + echo 'Patch #15 (0016-Fix-Werror-shadow-Error-of-open-source-nsjail.patch):' [ 196s] Patch #15 (0016-Fix-Werror-shadow-Error-of-open-source-nsjail.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file subproc.cc [ 196s] + echo 'Patch #16 (0017-Add-cgroup_remount-program-for-target-using-old-reso.patch):' [ 196s] Patch #16 (0017-Add-cgroup_remount-program-for-target-using-old-reso.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file Makefile [ 196s] patching file cgroup_remount.cc [ 196s] + echo 'Patch #17 (0018-Add-mthumb-option-to-Linker-flag.patch):' [ 196s] Patch #17 (0018-Add-mthumb-option-to-Linker-flag.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file Makefile [ 196s] + echo 'Patch #18 (0019-Fix-to-apply-mthumb-option-to-only-arm.patch):' [ 196s] Patch #18 (0019-Fix-to-apply-mthumb-option-to-only-arm.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file Makefile [ 196s] + echo 'Patch #19 (0020-Fix-test-nsjail-configuration.patch):' [ 196s] Patch #19 (0020-Fix-test-nsjail-configuration.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file test/runner-sandbox.cfg [ 196s] + echo 'Patch #20 (0021-Adjust-test-configuration-of-nsjail-test.patch):' [ 196s] Patch #20 (0021-Adjust-test-configuration-of-nsjail-test.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file test/runner-sandbox.cfg [ 196s] + echo 'Patch #21 (0022-Remove-bin-usr-bin-mount-from-test-configuration.patch):' [ 196s] Patch #21 (0022-Remove-bin-usr-bin-mount-from-test-configuration.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file test/runner-sandbox.cfg [ 196s] + echo 'Patch #22 (0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz):' [ 196s] Patch #22 (0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz [ 196s] patching file kafel.tar.gz [ 196s] + echo 'Patch #23 (0024-Add-.gitignore.patch):' [ 196s] Patch #23 (0024-Add-.gitignore.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file .gitignore [ 196s] + echo 'Patch #24 (0025-riscv64-Update-kafel.patch.gz):' [ 196s] Patch #24 (0025-riscv64-Update-kafel.patch.gz): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0025-riscv64-Update-kafel.patch.gz [ 196s] patching file kafel.tar.gz [ 196s] + echo 'Patch #25 (0026-Fix-compile-using-FROM-ubuntu-20.04.patch):' [ 196s] Patch #25 (0026-Fix-compile-using-FROM-ubuntu-20.04.patch): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] patching file subproc.cc [ 196s] + echo 'Patch #26 (0027-Revert-riscv64-Update-kafel.patch.gz):' [ 196s] Patch #26 (0027-Revert-riscv64-Update-kafel.patch.gz): [ 196s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 196s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0027-Revert-riscv64-Update-kafel.patch.gz [ 197s] patching file kafel.tar.gz [ 197s] + echo 'Patch #27 (0028-Restore-riscv64-Update-kafel.patch.gz):' [ 197s] Patch #27 (0028-Restore-riscv64-Update-kafel.patch.gz): [ 197s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0028-Restore-riscv64-Update-kafel.patch.gz [ 197s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 197s] patching file kafel.tar.gz [ 197s] + echo 'Patch #28 (0029-Makefile-Add-security-compiling-flags-RELRO.patch):' [ 197s] Patch #28 (0029-Makefile-Add-security-compiling-flags-RELRO.patch): [ 197s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 197s] patching file Makefile [ 197s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.manifest . [ 197s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.service . [ 198s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.sh . [ 199s] + exit 0 [ 199s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gvDGHe [ 199s] + umask 022 [ 199s] + cd /home/abuild/rpmbuild/BUILD [ 199s] + cd nsjail-3.0.20210707 [ 199s] + ref=/usr/lib/rpm [ 199s] + mints=0 [ 199s] + case $(uname -m) in [ 199s] ++ uname -m [ 199s] + mints=20160911 [ 199s] + for s in guess sub [ 199s] ++ find -maxdepth 8 -name config.guess [ 199s] + for s in guess sub [ 199s] ++ find -maxdepth 8 -name config.sub [ 199s] + LANG=C [ 199s] + export LANG [ 199s] + unset DISPLAY [ 199s] + 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' [ 199s] + export CFLAGS [ 199s] + 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' [ 199s] + export CXXFLAGS [ 199s] + 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' [ 199s] + export FFLAGS [ 199s] + LDFLAGS= [ 199s] + export LDFLAGS [ 199s] + 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' [ 199s] + 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' [ 199s] + 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' [ 199s] + 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' [ 199s] + tar -xf kafel.tar.gz [ 199s] + pushd kafel [ 199s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/kafel ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 199s] + for p in /home/abuild/rpmbuild/SOURCES/0001-Add-special-rules-for-generated-headers.patch [ 199s] + patch -p1 [ 199s] patching file src/Makefile [ 199s] + popd [ 199s] ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 199s] + make -j8 [ 203s] Makefile:62: warning: ignoring prerequisites on suffix rule definition [ 203s] CFLAGS=-fPIE make -C kafel [ 211s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel' [ 211s] Makefile:27: warning: overriding recipe for target 'test' [ 211s] build/Makefile.mk:41: warning: ignoring old recipe for target 'test' [ 211s] make -C src PROJECT_ROOT=../ [ 211s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel/src' [ 211s] flex lexer.l [ 211s] bison parser.y [ 211s] 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 [ 211s] 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 [ 211s] 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 [ 211s] 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 [ 211s] 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 [ 211s] 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 [ 212s] 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 [ 212s] 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 [ 212s] 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 [ 212s] 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 [ 212s] 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 [ 212s] 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 [ 212s] 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 [ 212s] 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 [ 212s] 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 [ 212s] 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 [ 212s] 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 [ 212s] 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 [ 215s] 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 [ 218s] 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 [ 218s] 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 [ 218s] # Fix x86 PIC symbols [ 218s] objdump -t libkafel_r.o | grep '.hidden' | grep -v 'get_pc_thunk' | sed -e 's/^.*\.hidden //' > libkafel.localize_symbols [ 218s] objcopy -w --localize-symbols=libkafel.localize_symbols libkafel_r.o libkafel.o [ 218s] rm -f libkafel.localize_symbols [ 218s] rm -f libkafel_r.o [ 218s] ar rcs ../libkafel.a libkafel.o [ 219s] rm -f libkafel.o [ 219s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel/src' [ 219s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel' [ 230s] 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 [ 245s] 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 [ 261s] 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 [ 271s] protoc --cpp_out=. config.proto [ 280s] protoc --cpp_out=. config.proto [ 293s] 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 [ 305s] 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 [ 318s] 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 [ 331s] 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 [ 347s] 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 [ 362s] 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 [ 377s] 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 [ 392s] 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 [ 406s] 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 [ 422s] 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 [ 436s] 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 [ 450s] 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 [ 469s] 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 [ 478s] g++ -o cgroup_remount cgroup_remount.o -pie -Wl,-z,noexecstack -lpthread -lprotobuf -Wl,-z,relro -lnl-route-3 -lnl-3 [ 483s] 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 [ 533s] 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 [ 556s] 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 [ 570s] + pushd test [ 570s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/test ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 570s] + make -j8 [ 570s] Makefile:48: warning: ignoring prerequisites on suffix rule definition [ 570s] 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 [ 570s] g++ -o jail_mem_syscall_test memory_syscall_test.o -pie -Wl,-z,noexecstack -lpthread [ 571s] + popd test [ 571s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/test [ 571s] + exit 0 [ 571s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QebEKp [ 571s] + umask 022 [ 571s] + cd /home/abuild/rpmbuild/BUILD [ 571s] + cd nsjail-3.0.20210707 [ 571s] + LANG=C [ 571s] + export LANG [ 571s] + unset DISPLAY [ 571s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64 [ 571s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64 [ 571s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/bin/ [ 571s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/bin/nsjail_test/ [ 571s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/ [ 571s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/lua-libs/ [ 571s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/lua-scripts/ [ 571s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/lib/systemd/system [ 571s] + install -m 0755 nsjail /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/bin/ [ 572s] + install -m 0755 cgroup_remount /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/bin/ [ 573s] + install -m 0755 nsjail.sh /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/bin/ [ 574s] + install -m 0644 nsjail.service /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/lib/systemd/system/ [ 575s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/lib/systemd/system/multi-user.target.wants [ 575s] + ln -s ../nsjail.service /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/lib/systemd/system/multi-user.target.wants/nsjail.service [ 576s] + cp -a test/jail_mem_syscall_test /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/bin/nsjail_test/ [ 576s] + cp -a test/runner-sandbox.cfg /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/ [ 577s] + /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 [ 589s] 1+0 records in [ 589s] 1+0 records out [ 589s] 1+0 records in [ 589s] 1+0 records out [ 589s] 1+0 records in [ 589s] 1+0 records out [ 590s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/bin/cgroup_remount [ 591s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/bin/nsjail [ 591s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/bin/nsjail_test/jail_mem_syscall_test [ 593s] 0+0 records in [ 593s] 0+0 records out [ 594s] 0+0 records in [ 594s] 0+0 records out [ 595s] 0+0 records in [ 595s] 0+0 records out [ 596s] 1257 blocks [ 597s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/nsjail-debuginfo.manifest [ 598s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/nsjail-debugsource.manifest [ 599s] + /usr/lib/rpm/check-buildroot [ 600s] + /usr/lib/rpm//brp-compress [ 600s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 602s] + /usr/lib/rpm/brp-python-hardlink [ 602s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64 [ 603s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/isu.list [ 603s] ~/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64 ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 603s] ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 603s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 607s] warning: bogus date in %changelog: Mon Jul 7 2021 Baik [ 607s] warning: bogus date in %changelog: Mon Jul 7 2021 Baik [ 607s] Processing files: nsjail-3.0.20210707-0.riscv64 [ 607s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIi8+Cgk8L3Jl [ 607s] cXVlc3Q+CjwvbWFuaWZlc3Q+Cg== [ 607s] [ 607s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.eK7Wcq [ 607s] + umask 022 [ 607s] + cd /home/abuild/rpmbuild/BUILD [ 607s] + cd nsjail-3.0.20210707 [ 607s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/licenses/nsjail [ 607s] + export LC_ALL=C [ 607s] + LC_ALL=C [ 607s] + export LICENSEDIR [ 607s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/licenses/nsjail [ 608s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/licenses/nsjail [ 608s] + exit 0 [ 609s] Provides: nsjail = 3.0.20210707-0 nsjail(riscv-64) = 3.0.20210707-0 [ 609s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 609s] Requires: /bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libasan.so.8()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(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) [ 609s] Processing files: nsjail-debugsource-3.0.20210707-0.riscv64 [ 609s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 609s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 609s] [ 609s] Provides: nsjail-debugsource = 3.0.20210707-0 nsjail-debugsource(riscv-64) = 3.0.20210707-0 [ 609s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 609s] Processing files: nsjail-test-3.0.20210707-0.riscv64 [ 609s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIi8+Cgk8L3Jl [ 609s] cXVlc3Q+CjwvbWFuaWZlc3Q+Cg== [ 609s] [ 609s] Provides: nsjail-test = 3.0.20210707-0 nsjail-test(riscv-64) = 3.0.20210707-0 [ 609s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 609s] Requires: libasan.so.8()(64bit) 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) [ 609s] Processing files: nsjail-debuginfo-3.0.20210707-0.riscv64 [ 609s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 609s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 609s] [ 609s] Provides: nsjail-debuginfo = 3.0.20210707-0 nsjail-debuginfo(riscv-64) = 3.0.20210707-0 [ 609s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 609s] Recommends: nsjail-debugsource(riscv-64) = 3.0.20210707-0 [ 609s] Processing files: nsjail-test-debuginfo-3.0.20210707-0.riscv64 [ 609s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 609s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 609s] [ 609s] Provides: nsjail-test-debuginfo = 3.0.20210707-0 nsjail-test-debuginfo(riscv-64) = 3.0.20210707-0 [ 609s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 609s] Recommends: nsjail-debugsource(riscv-64) = 3.0.20210707-0 [ 609s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64 [ 612s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/nsjail-3.0.20210707-0.riscv64.rpm [ 612s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/nsjail-debugsource-3.0.20210707-0.riscv64.rpm [ 612s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/nsjail-test-3.0.20210707-0.riscv64.rpm [ 613s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/nsjail-debuginfo-3.0.20210707-0.riscv64.rpm [ 614s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/nsjail-test-debuginfo-3.0.20210707-0.riscv64.rpm [ 614s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.s52HQO [ 614s] + umask 022 [ 614s] + cd /home/abuild/rpmbuild/BUILD [ 614s] + cd nsjail-3.0.20210707 [ 614s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64 [ 614s] + exit 0 [ 614s] ... checking for files with abuild user/group [ 614s] ... creating baselibs [ 621s] [ 621s] ip-192-168-56-183 finished "build nsjail.spec" at Fri Dec 27 03:43:16 UTC 2024. [ 621s]