[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.9 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-230 started "build nsjail.spec" at Fri Dec 6 13:26:27 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/nsjail-3.0.20210707-0/nsjail.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --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.9/.srcfiles.cache ... [ 2s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.9/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_standard/riscv64/RPMS [ 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/packages/ [ 5s] /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/ [ 7s] expanding package dependencies... [ 8s] copying qemu [ 9s] /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 [ 9s] [ 9s] registering binfmt handlers for cross build [ 9s] calculating packages to download... [ 32s] [1/3] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libnl3-3.2.22-1.2.riscv64.rpm ... [ 32s] [2/3] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libnl3-cli-3.2.22-1.2.riscv64.rpm ... [ 33s] [3/3] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libnl3-devel-3.2.22-1.2.riscv64.rpm ... [ 34s] [ 35s] cycle: nss -> libsoftokn3 [ 35s] breaking dependency nss -> libsoftokn3 [ 35s] [1/47] preinstalling libmagic-data... [ 35s] [2/47] preinstalling libncurses... [ 35s] [3/47] preinstalling setup... [ 36s] [4/47] preinstalling filesystem... [ 36s] [5/47] preinstalling glibc... [ 36s] [6/47] preinstalling libgcc... [ 36s] [7/47] preinstalling libstdc++... [ 36s] [8/47] preinstalling libasan... [ 36s] [9/47] preinstalling findutils... [ 36s] [10/47] preinstalling grep... [ 37s] [11/47] preinstalling libattr... [ 37s] [12/47] preinstalling libbz2... [ 37s] [13/47] preinstalling liblua... [ 37s] [14/47] preinstalling libpopt... [ 37s] [15/47] preinstalling libsmack... [ 37s] [16/47] preinstalling libuuid... [ 37s] [17/47] preinstalling libxcrypt... [ 37s] [18/47] preinstalling nspr... [ 38s] [19/47] preinstalling sed... [ 38s] [20/47] preinstalling zlib... [ 38s] [21/47] preinstalling bash... [ 38s] [22/47] preinstalling diffutils... [ 38s] [23/47] preinstalling libblkid... [ 38s] [24/47] preinstalling libcap... [ 38s] [25/47] preinstalling libfreebl3... [ 39s] [26/47] preinstalling liblzma... [ 39s] [27/47] preinstalling libreadline... [ 39s] [28/47] preinstalling libsqlite... [ 39s] [29/47] preinstalling libzstd1... [ 39s] [30/47] preinstalling qemu-accel-x86_64-riscv64... [ 51s] [31/47] preinstalling qemu-linux-user-x86_64-cross... [ 55s] [32/47] preinstalling asan-build-env... [ 55s] [33/47] preinstalling libacl... [ 55s] [34/47] preinstalling libelf... [ 55s] [35/47] preinstalling smack... [ 55s] [36/47] preinstalling bzip2... [ 56s] [37/47] preinstalling coreutils... [ 56s] [38/47] preinstalling libmagic... [ 56s] [39/47] preinstalling libmount... [ 56s] [40/47] preinstalling libxml2... [ 56s] [41/47] preinstalling tar... [ 56s] [42/47] preinstalling util-linux... [ 57s] [43/47] preinstalling util-linux-su... [ 57s] [44/47] preinstalling nss... [ 57s] [45/47] preinstalling libsoftokn3... [ 57s] [46/47] preinstalling rpm... [ 59s] [47/47] preinstalling asan-force-options... [ 59s] [ 60s] running qemu-linux-user-x86_64-cross postinstall script [ 64s] running qemu-accel-x86_64-riscv64 postinstall script [ 65s] mv: cannot stat `/usr/lib64/gcc/riscv64-tizen-linux-gnu/14.1.0/liblto_plugin.so': No such file or directory [ 65s] running setup postinstall script [ 65s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 65s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 65s] running asan-build-env postinstall script [ 72s] running asan-force-options postinstall script [ 128s] initializing rpm db... [ 129s] reordering...cycle: bash -> glibc -> filesystem -> setup -> asan-runtime-env [ 129s] breaking dependency bash -> glibc [ 129s] cycle: bash -> libasan -> glibc -> filesystem -> setup -> asan-runtime-env [ 129s] breaking dependency libasan -> glibc [ 129s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 129s] breaking dependency asan-runtime-env -> bash [ 129s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 129s] breaking dependency coreutils -> bash [ 129s] cycle: glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 129s] breaking dependency coreutils -> glibc [ 129s] cycle: libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 129s] breaking dependency libasan -> libgcc [ 129s] cycle: libasan -> libstdc++ -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 129s] breaking dependency libstdc++ -> glibc [ 129s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 129s] breaking dependency coreutils -> libasan [ 129s] cycle: libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 129s] breaking dependency asan-runtime-env -> coreutils [ 129s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 129s] breaking dependency setup -> asan-runtime-env [ 129s] cycle: libxcrypt-devel -> glibc-devel [ 129s] breaking dependency glibc-devel -> libxcrypt-devel [ 129s] cycle: nss -> libsoftokn3 [ 129s] breaking dependency nss -> libsoftokn3 [ 129s] reordering done [ 132s] [1/110] installing libmagic-data-5.45-1.9 [ 132s] [2/110] installing setup-0.9-1.4 [ 132s] [3/110] installing filesystem-3.1-1.2 [ 133s] [4/110] installing glibc-2.39-1.5 [ 133s] [5/110] installing libatomic-14.1.0-1.10 [ 133s] [6/110] installing libgcc-14.1.0-1.10 [ 134s] [7/110] installing libgomp-14.1.0-1.10 [ 135s] [8/110] installing libitm-14.1.0-1.10 [ 135s] [9/110] installing libgfortran-14.1.0-1.10 [ 136s] [10/110] installing libstdc++-14.1.0-1.10 [ 136s] [11/110] installing coreutils-6.9-14.4 [ 136s] [12/110] installing libstdc++-devel-14.1.0-1.10 [ 137s] [13/110] installing linux-glibc-devel-6.6-1.11 [ 138s] [14/110] installing libasan-14.1.0-1.10 [ 138s] [15/110] installing libcc1-14.1.0-1.10 [ 139s] [16/110] installing libubsan-14.1.0-1.10 [ 139s] [17/110] installing cpio-2.8-1.2 [ 140s] [18/110] installing findutils-4.3.8-1.9 [ 140s] [19/110] installing gdbm-1.8.3-1.11 [ 140s] [20/110] installing hostname-3.23-1.2 [ 141s] [21/110] installing libattr-2.5.1-1.9 [ 141s] [22/110] installing libbz2-1.0.8-1.9 [ 142s] [23/110] installing libltdl-2.4.7-1.11 [ 142s] [24/110] installing liblua-5.1.5-1.9 [ 142s] [25/110] installing libpopt-1.16-1.9 [ 143s] [26/110] installing libsmack-1.3.1-1.9 [ 143s] [27/110] installing libsmartcols-2.39.3-1.7 [ 144s] [28/110] installing libuuid-2.39.3-1.7 [ 144s] [29/110] installing libxcrypt-4.4.36-1.11 [ 144s] [30/110] installing m4-1.4.19-1.2 [ 145s] [31/110] installing net-tools-2.0_20121208git-1.9 [ 145s] [32/110] installing nspr-4.35-1.9 [ 145s] [33/110] installing patch-2.7.6-1.9 [ 146s] [34/110] installing sed-4.1c-1.9 [ 146s] [35/110] installing which-2.17-1.2 [ 146s] [36/110] installing zlib-1.3-1.11 [ 146s] [37/110] installing asan-runtime-env-14.1.0-1.5 [ 147s] [38/110] installing bash-3.2.57-2.1 [ 147s] [39/110] installing diffutils-3.10-1.2 [ 147s] [40/110] installing libblkid-2.39.3-1.7 [ 147s] [41/110] installing libcap-2.69-1.9 [ 148s] [42/110] installing libfreebl3-3.98-1.11 [ 148s] [43/110] installing liblzma-5.4.5-1.11 [ 149s] [44/110] installing libnl3-3.2.22-1.2 [ 149s] [45/110] installing libopenssl3-3.0.13-1.11 [ 150s] [46/110] installing libpcre-8.45-1.9 [ 150s] [47/110] installing libsqlite-3.44.0-1.9 [ 151s] [48/110] installing libzstd1-1.5.5-1.9 [ 151s] [49/110] installing pkg-config-0.29.2-1.9 [ 152s] [50/110] installing update-alternatives-1.22.2-1.2 [ 152s] [51/110] installing build-compare-2023.06.18-1.4 [ 152s] [52/110] installing hal-rootstrap-checker-0.1.0-1.2 [ 152s] [53/110] installing qemu-linux-user-x86_64-cross-5.2.0.2-20.4 [ 156s] [54/110] installing asan-build-env-14.1.0-1.5 [ 156s] libasan.so is already preloaded [ 156s] [55/110] installing cpp-14.1.0-1.10 [ 157s] [56/110] installing gcc-c++-14.1.0-1.10 [ 158s] [57/110] installing terminfo-base-full-6.4-1.11 [ 160s] [58/110] installing flex-2.6.4-1.9 [ 160s] [59/110] installing gawk-3.1.5-1.2 [ 160s] [60/110] installing glibc-locale-2.39-1.5 [ 162s] [61/110] installing grep-2.5.2-1.9 [ 162s] [62/110] installing libacl-2.3.2-1.9 [ 162s] [63/110] installing libelf-0.189-1.11 [ 163s] [64/110] installing libnl3-cli-3.2.22-1.2 [ 163s] [65/110] installing make-4.4-1.9 [ 164s] [66/110] installing nss-certs-3.98-1.11 [ 164s] [67/110] installing smack-1.3.1-1.9 [ 164s] [68/110] installing binutils-libs-2.43-2.1 [ 165s] [69/110] installing bzip2-1.0.8-1.9 [ 165s] [70/110] installing gzip-1.13-1.5 [ 165s] [71/110] installing libmagic-5.45-1.9 [ 166s] [72/110] installing libmount-2.39.3-1.7 [ 166s] [73/110] installing protobuf-3.20.3-1 [ 167s] [74/110] installing xz-5.4.5-1.11 [ 168s] [75/110] installing bison-3.0.5-1.9 [ 168s] [76/110] installing libfdisk-2.39.3-1.7 [ 168s] [77/110] installing libxml2-2.12.5-1.10 [ 169s] [78/110] installing tzdata-2023c-1.2 [ 170s] [79/110] installing pam-1.1.6-1.9 [ 172s] [80/110] installing perl-5.38.0-1.8 [ 176s] [81/110] installing gcc-14.1.0-1.10 [ 177s] [82/110] installing build-mkbaselibs-20120927-1.2 [ 177s] [83/110] installing qemu-accel-x86_64-riscv64-0.4-1.3 [ 193s] [84/110] installing autoconf-2.71-1.12 [ 193s] [85/110] installing file-5.45-1.9 [ 194s] [86/110] installing libnl3-devel-3.2.22-1.2 [ 194s] [87/110] installing binutils-2.43-2.1 [ 195s] [88/110] installing tar-1.17-1.2 [ 195s] [89/110] installing glibc-devel-2.39-1.5 [ 196s] [90/110] installing libncurses6-6.4-1.11 [ 196s] [91/110] installing protobuf-compiler-3.20.3-1 [ 197s] [92/110] installing libdw-0.189-1.11 [ 198s] [93/110] installing nss-3.98-1.11 [ 199s] [94/110] installing libarchive-3.7.2-1.10 [ 200s] [95/110] installing libncurses-6.4-1.11 [ 200s] [96/110] installing automake-1.16.5-1.12 [ 201s] [97/110] installing less-643-1.2 [ 201s] [98/110] installing libxcrypt-devel-4.4.36-1.11 [ 201s] [99/110] installing protobuf-devel-3.20.3-1 [ 202s] [100/110] installing libasm-0.189-1.11 [ 202s] [101/110] installing libreadline-5.2-1.9 [ 203s] [102/110] installing build-20120927-1.2 [ 203s] [103/110] installing libsoftokn3-3.98-1.11 [ 204s] [104/110] installing rpm-4.14.1.1-1.11 [ 207s] [105/110] installing asan-force-options-14.1.0-1.5 [ 256s] [106/110] installing libtool-2.4.7-1.11 [ 256s] [107/110] installing elfutils-0.189-1.11 [ 257s] [108/110] installing util-linux-2.39.3-1.7 [ 258s] [109/110] installing rpm-build-4.14.1.1-1.11 [ 258s] [110/110] installing util-linux-su-2.39.3-1.7 [ 259s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.9/etc/nsswitch.conf... [ 259s] now finalizing build dir... [ 268s] ----------------------------------------------------------------- [ 268s] ----- building nsjail.spec (user abuild) [ 268s] ----------------------------------------------------------------- [ 268s] ----------------------------------------------------------------- [ 274s] + 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 [ 274s] warning: bogus date in %changelog: Mon Jul 7 2021 Baik [ 274s] Building target platforms: riscv64-tizen-linux [ 274s] Building for target riscv64-tizen-linux [ 274s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cQMrdh [ 274s] + umask 022 [ 274s] + cd /home/abuild/rpmbuild/BUILD [ 274s] + cd /home/abuild/rpmbuild/BUILD [ 274s] + rm -rf nsjail-3.0.20210707 [ 274s] + /bin/tar -xof - [ 274s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/nsjail-3.0.20210707.tar.gz [ 274s] + STATUS=0 [ 274s] + '[' 0 -ne 0 ']' [ 274s] + cd nsjail-3.0.20210707 [ 274s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 275s] + echo 'Patch #0 (0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz):' [ 275s] Patch #0 (0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz): [ 275s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0001-Creating-nsjail-RPM-specification-and-build-patch-ba.patch.gz [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] patching file Makefile [ 275s] patching file kafel.tar.gz [ 275s] + echo 'Patch #1 (0002-Adjust-cgroup-cpu-for-Tizen.patch):' [ 275s] Patch #1 (0002-Adjust-cgroup-cpu-for-Tizen.patch): [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] patching file cgroup.cc [ 275s] + echo 'Patch #2 (0003-Add-Simple-test-program-for-Tizen-nsjail.patch):' [ 275s] Patch #2 (0003-Add-Simple-test-program-for-Tizen-nsjail.patch): [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] patching file test/Makefile [ 275s] patching file test/memory_syscall_test.cc [ 275s] + echo 'Patch #3 (0004-Add-runner-sandbox.cfg-for-Tizen-nsjail-test.patch):' [ 275s] Patch #3 (0004-Add-runner-sandbox.cfg-for-Tizen-nsjail-test.patch): [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] patching file test/runner-sandbox.cfg [ 275s] + echo 'Patch #4 (0005-Add-nsjail-service-for-Tizen-distribution.patch):' [ 275s] Patch #4 (0005-Add-nsjail-service-for-Tizen-distribution.patch): [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] patching file mnt.cc [ 275s] patching file test/runner-sandbox.cfg [ 275s] + echo 'Patch #5 (0006-Add-nsjail-test-Tizen-application.patch):' [ 275s] Patch #5 (0006-Add-nsjail-test-Tizen-application.patch): [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] patching file test/test_runner_app/Jenkinsfile [ 275s] patching file test/test_runner_app/build_test_runner.sh [ 275s] patching file test/test_runner_app/buildspec.json [ 275s] patching file test/test_runner_app/test_runner/.exportMap [ 275s] patching file test/test_runner_app/test_runner/inc/test_runner.h [ 275s] patching file test/test_runner_app/test_runner/project_def.prop [ 275s] patching file test/test_runner_app/test_runner/shared/res/test_runner.png [ 275s] patching file test/test_runner_app/test_runner/src/test_runner.c [ 275s] patching file test/test_runner_app/test_runner/src/test_runner_util.c [ 275s] patching file test/test_runner_app/test_runner/tizen-manifest.xml [ 275s] + echo 'Patch #6 (0007-Change-cgroup-node-from-NSJAIL-to-malort.patch):' [ 275s] Patch #6 (0007-Change-cgroup-node-from-NSJAIL-to-malort.patch): [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] patching file test/runner-sandbox.cfg [ 275s] + echo 'Patch #7 (0008-Add-dev-and-tmp-for-Testing.patch):' [ 275s] Patch #7 (0008-Add-dev-and-tmp-for-Testing.patch): [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] patching file test/runner-sandbox.cfg [ 275s] + echo 'Patch #8 (0009-Change-test-configuration-log-path-and-cpu-conf.patch):' [ 275s] Patch #8 (0009-Change-test-configuration-log-path-and-cpu-conf.patch): [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] patching file test/runner-sandbox.cfg [ 275s] + echo 'Patch #9 (0010-Disable-MACVLAN-feature-for-Tizen.patch):' [ 275s] Patch #9 (0010-Disable-MACVLAN-feature-for-Tizen.patch): [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] patching file net.cc [ 275s] + echo 'Patch #10 (0011-Disable-Net-NS-feature-for-Tizen.patch):' [ 275s] Patch #10 (0011-Disable-Net-NS-feature-for-Tizen.patch): [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] patching file net.cc [ 275s] + echo 'Patch #11 (0012-Clean-up-Kafel-source-code.patch.gz):' [ 275s] Patch #11 (0012-Clean-up-Kafel-source-code.patch.gz): [ 275s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0012-Clean-up-Kafel-source-code.patch.gz [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] patching file kafel.tar.gz [ 275s] + echo 'Patch #12 (0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz):' [ 275s] Patch #12 (0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz): [ 275s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 275s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0013-Add-definition-for-building-Kafel-in-ARM-and-AARCH64.patch.gz [ 276s] patching file kafel.tar.gz [ 276s] + echo 'Patch #13 (0014-x86-build-fixes.patch.gz):' [ 276s] Patch #13 (0014-x86-build-fixes.patch.gz): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0014-x86-build-fixes.patch.gz [ 276s] patching file kafel.tar.gz [ 276s] + echo 'Patch #14 (0015-Exit-test-program-in-case-of-malloc-fail.patch):' [ 276s] Patch #14 (0015-Exit-test-program-in-case-of-malloc-fail.patch): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file test/memory_syscall_test.cc [ 276s] + echo 'Patch #15 (0016-Fix-Werror-shadow-Error-of-open-source-nsjail.patch):' [ 276s] Patch #15 (0016-Fix-Werror-shadow-Error-of-open-source-nsjail.patch): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file subproc.cc [ 276s] + echo 'Patch #16 (0017-Add-cgroup_remount-program-for-target-using-old-reso.patch):' [ 276s] Patch #16 (0017-Add-cgroup_remount-program-for-target-using-old-reso.patch): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file Makefile [ 276s] patching file cgroup_remount.cc [ 276s] + echo 'Patch #17 (0018-Add-mthumb-option-to-Linker-flag.patch):' [ 276s] Patch #17 (0018-Add-mthumb-option-to-Linker-flag.patch): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file Makefile [ 276s] + echo 'Patch #18 (0019-Fix-to-apply-mthumb-option-to-only-arm.patch):' [ 276s] Patch #18 (0019-Fix-to-apply-mthumb-option-to-only-arm.patch): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file Makefile [ 276s] + echo 'Patch #19 (0020-Fix-test-nsjail-configuration.patch):' [ 276s] Patch #19 (0020-Fix-test-nsjail-configuration.patch): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file test/runner-sandbox.cfg [ 276s] + echo 'Patch #20 (0021-Adjust-test-configuration-of-nsjail-test.patch):' [ 276s] Patch #20 (0021-Adjust-test-configuration-of-nsjail-test.patch): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file test/runner-sandbox.cfg [ 276s] + echo 'Patch #21 (0022-Remove-bin-usr-bin-mount-from-test-configuration.patch):' [ 276s] Patch #21 (0022-Remove-bin-usr-bin-mount-from-test-configuration.patch): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file test/runner-sandbox.cfg [ 276s] + echo 'Patch #22 (0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz):' [ 276s] Patch #22 (0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0023-Fix-Multiple-Targets-and-Parallel-builds-issue.patch.gz [ 276s] patching file kafel.tar.gz [ 276s] + echo 'Patch #23 (0024-Add-.gitignore.patch):' [ 276s] Patch #23 (0024-Add-.gitignore.patch): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file .gitignore [ 276s] + echo 'Patch #24 (0025-riscv64-Update-kafel.patch.gz):' [ 276s] Patch #24 (0025-riscv64-Update-kafel.patch.gz): [ 276s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0025-riscv64-Update-kafel.patch.gz [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file kafel.tar.gz [ 276s] + echo 'Patch #25 (0026-Fix-compile-using-FROM-ubuntu-20.04.patch):' [ 276s] Patch #25 (0026-Fix-compile-using-FROM-ubuntu-20.04.patch): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file subproc.cc [ 276s] + echo 'Patch #26 (0027-Revert-riscv64-Update-kafel.patch.gz):' [ 276s] Patch #26 (0027-Revert-riscv64-Update-kafel.patch.gz): [ 276s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0027-Revert-riscv64-Update-kafel.patch.gz [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file kafel.tar.gz [ 276s] + echo 'Patch #27 (0028-Restore-riscv64-Update-kafel.patch.gz):' [ 276s] Patch #27 (0028-Restore-riscv64-Update-kafel.patch.gz): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/0028-Restore-riscv64-Update-kafel.patch.gz [ 276s] patching file kafel.tar.gz [ 276s] + echo 'Patch #28 (0029-Makefile-Add-security-compiling-flags-RELRO.patch):' [ 276s] Patch #28 (0029-Makefile-Add-security-compiling-flags-RELRO.patch): [ 276s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 276s] patching file Makefile [ 276s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.manifest . [ 277s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.service . [ 278s] + cp /home/abuild/rpmbuild/SOURCES/nsjail.sh . [ 279s] + exit 0 [ 279s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WybBvr [ 279s] + umask 022 [ 279s] + cd /home/abuild/rpmbuild/BUILD [ 279s] + cd nsjail-3.0.20210707 [ 279s] + ref=/usr/lib/rpm [ 279s] + mints=0 [ 279s] + case $(uname -m) in [ 279s] ++ uname -m [ 280s] + mints=20160911 [ 280s] + for s in guess sub [ 280s] ++ find -maxdepth 8 -name config.guess [ 280s] + for s in guess sub [ 280s] ++ find -maxdepth 8 -name config.sub [ 280s] + LANG=C [ 281s] + export LANG [ 281s] + unset DISPLAY [ 281s] + 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' [ 281s] + export CFLAGS [ 281s] + 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' [ 281s] + export CXXFLAGS [ 281s] + 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' [ 281s] + export FFLAGS [ 281s] + LDFLAGS= [ 281s] + export LDFLAGS [ 281s] + 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' [ 281s] + 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' [ 281s] + 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' [ 281s] + 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' [ 281s] + tar -xf kafel.tar.gz [ 281s] + pushd kafel [ 281s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/kafel ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 281s] + for p in /home/abuild/rpmbuild/SOURCES/0001-Add-special-rules-for-generated-headers.patch [ 281s] + patch -p1 [ 281s] patching file src/Makefile [ 281s] + popd [ 281s] ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 281s] + make -j8 [ 285s] Makefile:62: warning: ignoring prerequisites on suffix rule definition [ 285s] CFLAGS=-fPIE make -C kafel [ 296s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel' [ 296s] Makefile:27: warning: overriding recipe for target 'test' [ 296s] build/Makefile.mk:41: warning: ignoring old recipe for target 'test' [ 296s] make -C src PROJECT_ROOT=../ [ 296s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel/src' [ 296s] flex lexer.l [ 296s] bison parser.y [ 296s] 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 [ 296s] 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 [ 296s] 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 [ 297s] 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 [ 297s] 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 [ 297s] 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 [ 297s] 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 [ 297s] 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 [ 297s] 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 [ 297s] 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 [ 297s] 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 [ 298s] 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 [ 298s] 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 [ 298s] 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 [ 298s] 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 [ 299s] 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 [ 299s] 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 [ 299s] 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 [ 303s] 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 [ 308s] 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 [ 308s] 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 [ 308s] # Fix x86 PIC symbols [ 308s] objdump -t libkafel_r.o | grep '.hidden' | grep -v 'get_pc_thunk' | sed -e 's/^.*\.hidden //' > libkafel.localize_symbols [ 308s] objcopy -w --localize-symbols=libkafel.localize_symbols libkafel_r.o libkafel.o [ 308s] rm -f libkafel.localize_symbols [ 308s] rm -f libkafel_r.o [ 308s] ar rcs ../libkafel.a libkafel.o [ 308s] rm -f libkafel.o [ 308s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel/src' [ 308s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/kafel' [ 321s] 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 [ 340s] 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 [ 358s] 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 [ 370s] protoc --cpp_out=. config.proto [ 383s] protoc --cpp_out=. config.proto [ 400s] 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 [ 415s] 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 [ 432s] 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 [ 449s] 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 [ 465s] 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 [ 482s] 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 [ 499s] 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 [ 518s] 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 [ 536s] 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 [ 555s] 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 [ 571s] 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 [ 587s] 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 [ 608s] 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 [ 621s] g++ -o cgroup_remount cgroup_remount.o -pie -Wl,-z,noexecstack -lpthread -lprotobuf -Wl,-z,relro -lnl-route-3 -lnl-3 [ 628s] 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 [ 674s] 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 [ 697s] 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 [ 713s] + pushd test [ 713s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/test ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 713s] + make -j8 [ 713s] Makefile:48: warning: ignoring prerequisites on suffix rule definition [ 713s] 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 [ 713s] g++ -o jail_mem_syscall_test memory_syscall_test.o -pie -Wl,-z,noexecstack -lpthread [ 714s] + popd test [ 714s] ~/rpmbuild/BUILD/nsjail-3.0.20210707/test [ 714s] + exit 0 [ 714s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.saodHL [ 714s] + umask 022 [ 714s] + cd /home/abuild/rpmbuild/BUILD [ 714s] + cd nsjail-3.0.20210707 [ 714s] + LANG=C [ 714s] + export LANG [ 714s] + unset DISPLAY [ 714s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64 [ 714s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64 [ 714s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/bin/ [ 714s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/bin/nsjail_test/ [ 714s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/ [ 714s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/lua-libs/ [ 714s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/lua-scripts/ [ 714s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/lib/systemd/system [ 714s] + install -m 0755 nsjail /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/bin/ [ 715s] + install -m 0755 cgroup_remount /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/bin/ [ 716s] + install -m 0755 nsjail.sh /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/bin/ [ 717s] + install -m 0644 nsjail.service /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/lib/systemd/system/ [ 717s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/lib/systemd/system/multi-user.target.wants [ 717s] + ln -s ../nsjail.service /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/lib/systemd/system/multi-user.target.wants/nsjail.service [ 718s] + cp -a test/jail_mem_syscall_test /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64//usr/bin/nsjail_test/ [ 719s] + cp -a test/runner-sandbox.cfg /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/ [ 720s] + /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 [ 734s] 1+0 records in [ 734s] 1+0 records out [ 734s] 1+0 records in [ 734s] 1+0 records out [ 734s] 1+0 records in [ 734s] 1+0 records out [ 736s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/bin/cgroup_remount [ 737s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/bin/nsjail_test/jail_mem_syscall_test [ 738s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/bin/nsjail [ 743s] 0+0 records in [ 743s] 0+0 records out [ 743s] 0+0 records in [ 743s] 0+0 records out [ 748s] 0+0 records in [ 748s] 0+0 records out [ 750s] 1257 blocks [ 754s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/nsjail-debuginfo.manifest [ 756s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/nsjail-debugsource.manifest [ 758s] + /usr/lib/rpm/check-buildroot [ 759s] + /usr/lib/rpm//brp-compress [ 759s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 762s] + /usr/lib/rpm/brp-python-hardlink [ 762s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64 [ 763s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/nsjail-3.0.20210707/isu.list [ 763s] ~/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64 ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 763s] ~/rpmbuild/BUILD/nsjail-3.0.20210707 [ 763s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 769s] warning: bogus date in %changelog: Mon Jul 7 2021 Baik [ 770s] warning: bogus date in %changelog: Mon Jul 7 2021 Baik [ 770s] Processing files: nsjail-3.0.20210707-0.riscv64 [ 770s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIi8+Cgk8L3Jl [ 770s] cXVlc3Q+CjwvbWFuaWZlc3Q+Cg== [ 770s] [ 770s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.s0UcuM [ 770s] + umask 022 [ 770s] + cd /home/abuild/rpmbuild/BUILD [ 770s] + cd nsjail-3.0.20210707 [ 770s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/licenses/nsjail [ 770s] + export LC_ALL=C [ 770s] + LC_ALL=C [ 770s] + export LICENSEDIR [ 770s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/licenses/nsjail [ 770s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64/usr/share/licenses/nsjail [ 771s] + exit 0 [ 771s] Provides: nsjail = 3.0.20210707-0 nsjail(riscv-64) = 3.0.20210707-0 [ 771s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 771s] 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) [ 771s] Processing files: nsjail-debugsource-3.0.20210707-0.riscv64 [ 771s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 771s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 771s] [ 772s] Provides: nsjail-debugsource = 3.0.20210707-0 nsjail-debugsource(riscv-64) = 3.0.20210707-0 [ 772s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 772s] Processing files: nsjail-test-3.0.20210707-0.riscv64 [ 772s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIi8+Cgk8L3Jl [ 772s] cXVlc3Q+CjwvbWFuaWZlc3Q+Cg== [ 772s] [ 772s] Provides: nsjail-test = 3.0.20210707-0 nsjail-test(riscv-64) = 3.0.20210707-0 [ 772s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 772s] 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) [ 772s] Processing files: nsjail-debuginfo-3.0.20210707-0.riscv64 [ 772s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 772s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 772s] [ 772s] Provides: nsjail-debuginfo = 3.0.20210707-0 nsjail-debuginfo(riscv-64) = 3.0.20210707-0 [ 772s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 772s] Recommends: nsjail-debugsource(riscv-64) = 3.0.20210707-0 [ 772s] Processing files: nsjail-test-debuginfo-3.0.20210707-0.riscv64 [ 772s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 772s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 772s] [ 772s] Provides: nsjail-test-debuginfo = 3.0.20210707-0 nsjail-test-debuginfo(riscv-64) = 3.0.20210707-0 [ 772s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 772s] Recommends: nsjail-debugsource(riscv-64) = 3.0.20210707-0 [ 772s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64 [ 777s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/nsjail-3.0.20210707-0.riscv64.rpm [ 777s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/nsjail-debugsource-3.0.20210707-0.riscv64.rpm [ 778s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/nsjail-test-3.0.20210707-0.riscv64.rpm [ 779s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/nsjail-debuginfo-3.0.20210707-0.riscv64.rpm [ 780s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/nsjail-test-debuginfo-3.0.20210707-0.riscv64.rpm [ 780s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hSYMmX [ 780s] + umask 022 [ 780s] + cd /home/abuild/rpmbuild/BUILD [ 780s] + cd nsjail-3.0.20210707 [ 780s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/nsjail-3.0.20210707-0.riscv64 [ 780s] + exit 0 [ 780s] ... checking for files with abuild user/group [ 780s] ... creating baselibs [ 790s] [ 790s] ip-192-168-56-230 finished "build nsjail.spec" at Fri Dec 6 13:39:37 UTC 2024. [ 790s]