Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-185866-12811/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rust-1.76.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-185866-12811/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BOIGZa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf /builddir/build/BUILD/wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4/dlmalloc/ + cd /builddir/build/BUILD + rm -rf rustc-1.76.0-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-1.76.0-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.76.0-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2024-24575.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2024-24577.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-lld-provided-by-system.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rustc-1.70.0-rust-gdb-substitute-path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Let-environment-variables-override-some-default-CPUs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rustc-1.76.0-unbundle-sqlite.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i '/^try python3 /i try /usr/bin/python3 "$@"' ./configure + sed -i 's|@BUILDDIR@|/builddir/build/BUILD/rustc-1.76.0-src|' ./src/etc/rust-gdb + sed -i /LZMA_API_STATIC/d src/bootstrap/src/core/build_steps/tool.rs + rm -rf src/llvm-project/ + mkdir -p src/llvm-project/libunwind/ + rm -rf vendor/curl-sys-0.4.63+curl-8.1.2/curl/ vendor/curl-sys/curl/ + rm -rf vendor/jemalloc-sys/jemalloc/ vendor/tikv-jemalloc-sys/jemalloc/ + rm -rf vendor/libffi-sys/libffi/ + rm -rf vendor/libmimalloc-sys/c_src/mimalloc/ + rm -rf vendor/libsqlite3-sys/sqlite3/ vendor/libsqlite3-sys/sqlcipher/ + rm -rf vendor/libssh2-sys/libssh2/ + rm -rf vendor/libz-sys-1.1.9/src/zlib/ vendor/libz-sys/src/zlib/ vendor/libz-sys-1.1.9/src/zlib-ng/ vendor/libz-sys/src/zlib-ng/ + rm -rf vendor/lzma-sys-0.1.17/xz-5.2/ vendor/lzma-sys/xz-5.2/ + rm -rf vendor/openssl-src/openssl/ + find vendor -name .cargo-checksum.json -exec sed -i 's/"files":{[^}]*}/"files":{ }/' '{}' + + find -name '*.rs' -type f -perm /111 -exec chmod -v -x '{}' + mode of './src/tools/rust-analyzer/crates/ide/src/folding_ranges.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/grid.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/errorbar.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/data.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/traits.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/key.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/map.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/display.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/candlestick.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/curve.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/axis.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/proxy.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/filledcurve.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/type-map/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/bumpalo-3.13.0/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/unicode-normalization/src/no_std_prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gix-pack/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/bumpalo/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/derivative/tests/derive-hash.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/derivative/tests/derive-default-bounds.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/derivative/tests/derive-clone.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/syntax.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/instruction.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/template.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/error.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/compiler.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/benches/benchmarks.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/equivalent-1.0.0/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './compiler/rustc_codegen_cranelift/scripts/filter_profile.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './compiler/rustc_codegen_cranelift/y.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.k9Q0go + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rustc-1.76.0-src + export RUSTC_TARGET_CPU_X86_64=x86-64-v2 RUSTC_TARGET_CPU_PPC64LE=pwr9 LIBSQLITE3_SYS_USE_PKG_CONFIG=1 LIBSSH2_SYS_USE_PKG_CONFIG=1 + RUSTC_TARGET_CPU_X86_64=x86-64-v2 + RUSTC_TARGET_CPU_PPC64LE=pwr9 + LIBSQLITE3_SYS_USE_PKG_CONFIG=1 + LIBSSH2_SYS_USE_PKG_CONFIG=1 + /usr/bin/make -O -j32 V=1 VERBOSE=1 --quiet -C /builddir/build/BUILD/wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4 MALLOC_IMPL=emmalloc CC=clang AR=llvm-ar NM=llvm-nm find: 'build/wasm32-wasi': No such file or directory diff -wur expected/wasm32-wasi/undefined-symbols.txt /builddir/build/BUILD/wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4/sysroot/share/wasm32-wasi/undefined-symbols.txt --- expected/wasm32-wasi/undefined-symbols.txt 2024-01-11 05:31:37.000000000 +0800 +++ /builddir/build/BUILD/wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4/sysroot/share/wasm32-wasi/undefined-symbols.txt 2024-06-25 16:58:01.437058183 +0800 @@ -66,3 +66,5 @@ __trunctfsf2 __unordtf2 __wasm_call_ctors +llvm.s390.vfeef.i32 +llvm.s390.vfeefs.i32 make: *** [Makefile:766: check-symbols] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.k9Q0go (%build) Bad exit status from /var/tmp/rpm-tmp.k9Q0go (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec