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