Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-shared_library.spec'], chrootPath='/var/lib/mock/f39-build-1795701-41755/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-shared_library.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1700784000 Wrote: /builddir/build/SRPMS/rust-shared_library-0.1.9-1.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-shared_library.spec'], chrootPath='/var/lib/mock/f39-build-1795701-41755/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-shared_library.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1700784000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.X9H1Eq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shared_library-0.1.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/shared_library-0.1.9.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd shared_library-0.1.9 + rm -rf /builddir/build/BUILD/shared_library-0.1.9-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/shared_library-0.1.9-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Dc8AHt + umask 022 + cd /builddir/build/BUILD + cd shared_library-0.1.9 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-shared_library-0.1.9-1.fc39.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-shared_library.spec'], chrootPath='/var/lib/mock/f39-build-1795701-41755/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-shared_library.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1700784000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CVAsXW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shared_library-0.1.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/shared_library-0.1.9.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd shared_library-0.1.9 + rm -rf /builddir/build/BUILD/shared_library-0.1.9-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/shared_library-0.1.9-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.36wLJT + umask 022 + cd /builddir/build/BUILD + cd shared_library-0.1.9 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-shared_library-0.1.9-1.fc39.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-shared_library.spec'], chrootPath='/var/lib/mock/f39-build-1795701-41755/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-shared_library.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1700784000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.lrp0z5 + umask 022 + cd /builddir/build/BUILD + cd shared_library-0.1.9 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3lOnqg + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd shared_library-0.1.9 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.149 Compiling lazy_static v1.4.0 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.149/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=de2756e0f720f8a8 -C extra-filename=-de2756e0f720f8a8 --out-dir /builddir/build/BUILD/shared_library-0.1.9/target/rpm/build/libc-de2756e0f720f8a8 -L dependency=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name lazy_static /usr/share/cargo/registry/lazy_static-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=8efb85032e2b0bb4 -C extra-filename=-8efb85032e2b0bb4 --out-dir /builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps -L dependency=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x9de370)[0xffffff8bfde370] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8eafa800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff8b551b8c] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17he6a2492e0067ec39E+0x96)[0xffffff8e9fde08] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h6a26c94b9d9bb8a7E+0x9e)[0xffffff8ea3a54e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325a7e)[0xffffff8d925a7e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325cc4)[0xffffff8d925cc4] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x23272fe)[0xffffff8d9272fe] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325d84)[0xffffff8d925d84] /lib64/lp64d/libstd-93bc808617be04ae.so(rust_metadata_std_61f6e7739d8dd73d+0xabf36)[0xffffff8ea38f36] /lib64/lp64d/libc.so.6(+0x734e4)[0xffffff8b4fb4e4] /lib64/lp64d/libc.so.6(+0xcb5cc)[0xffffff8b5535cc] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x9de370)[0xffffff889de370] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8b36f800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff87debb8c] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17he6a2492e0067ec39E+0x96)[0xffffff87f0ae08] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h6a26c94b9d9bb8a7E+0x9e)[0xffffff87f4754e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325a7e)[0xffffff8a325a7e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325cc4)[0xffffff8a325cc4] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x23272fe)[0xffffff8a3272fe] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325d84)[0xffffff8a325d84] /lib64/lp64d/libstd-93bc808617be04ae.so(rust_metadata_std_61f6e7739d8dd73d+0xabf36)[0xffffff87f45f36] /lib64/lp64d/libc.so.6(+0x734e4)[0xffffff87d954e4] /lib64/lp64d/libc.so.6(+0xcb5cc)[0xffffff87ded5cc] note: we would appreciate a report at https://github.com/rust-lang/rust Running `/builddir/build/BUILD/shared_library-0.1.9/target/rpm/build/libc-de2756e0f720f8a8/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.149/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=7d87db6d57f43f8b -C extra-filename=-7d87db6d57f43f8b --out-dir /builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps -L dependency=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling shared_library v0.1.9 (/builddir/build/BUILD/shared_library-0.1.9) Running `/usr/bin/rustc --crate-name shared_library src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=48824de1fb74f542 -C extra-filename=-48824de1fb74f542 --out-dir /builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps -L dependency=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps --extern lazy_static=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps/liblazy_static-8efb85032e2b0bb4.rmeta --extern libc=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps/liblibc-7d87db6d57f43f8b.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x9de370)[0xffffff821de370] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff84c0e800] /lib64/lp64d/libstd-93bc808617be04ae.so(rust_metadata_std_61f6e7739d8dd73d+0x6eb80)[0xffffff81708b80] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x9de370)[0xffffffa91de370] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffabbae800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa85ebb8c] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17he6a2492e0067ec39E+0x96)[0xffffffa870ae08] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h6a26c94b9d9bb8a7E+0x9e)[0xffffffa874754e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325a7e)[0xffffffaab25a7e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325cc4)[0xffffffaab25cc4] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x23272fe)[0xffffffaab272fe] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325d84)[0xffffffaab25d84] /lib64/lp64d/libstd-93bc808617be04ae.so(rust_metadata_std_61f6e7739d8dd73d+0xabf36)[0xffffffa8745f36] /lib64/lp64d/libc.so.6(+0x734e4)[0xffffffa85954e4] /lib64/lp64d/libc.so.6(+0xcb5cc)[0xffffffa85ed5cc] note: we would appreciate a report at https://github.com/rust-lang/rust Finished rpm [optimized + debuginfo] target(s) in 44.24s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.p3sDqY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-shared_library-0.1.9-1.fc39.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-shared_library-0.1.9-1.fc39.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-shared_library-0.1.9-1.fc39.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-shared_library-0.1.9-1.fc39.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd shared_library-0.1.9 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=shared_library ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.9 + REG_DIR=/builddir/build/BUILDROOT/rust-shared_library-0.1.9-1.fc39.riscv64/usr/share/cargo/registry/shared_library-0.1.9 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-shared_library-0.1.9-1.fc39.riscv64/usr/share/cargo/registry/shared_library-0.1.9 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-shared_library-0.1.9-1.fc39.riscv64/usr/share/cargo/registry/shared_library-0.1.9 warning: No (git) VCS found for `/builddir/build/BUILD/shared_library-0.1.9` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-shared_library-0.1.9-1.fc39.riscv64/usr/share/cargo/registry/shared_library-0.1.9/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-shared_library-0.1.9-1.fc39.riscv64/usr/share/cargo/registry/shared_library-0.1.9/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qj2WMB + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd shared_library-0.1.9 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x9de370)[0xffffff889de370] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8b36f800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff87debb8c] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17he6a2492e0067ec39E+0x96)[0xffffff87f0ae08] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h6a26c94b9d9bb8a7E+0x9e)[0xffffff87f4754e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325a7e)[0xffffff8a325a7e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325cc4)[0xffffff8a325cc4] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x23272fe)[0xffffff8a3272fe] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325d84)[0xffffff8a325d84] /lib64/lp64d/libstd-93bc808617be04ae.so(rust_metadata_std_61f6e7739d8dd73d+0xabf36)[0xffffff87f45f36] /lib64/lp64d/libc.so.6(+0x734e4)[0xffffff87d954e4] /lib64/lp64d/libc.so.6(+0xcb5cc)[0xffffff87ded5cc] note: we would appreciate a report at https://github.com/rust-lang/rust Fresh lazy_static v1.4.0 error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x9de370)[0xffffff8bfde370] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8eafa800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff8b551b8c] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17he6a2492e0067ec39E+0x96)[0xffffff8e9fde08] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h6a26c94b9d9bb8a7E+0x9e)[0xffffff8ea3a54e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325a7e)[0xffffff8d925a7e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325cc4)[0xffffff8d925cc4] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x23272fe)[0xffffff8d9272fe] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325d84)[0xffffff8d925d84] /lib64/lp64d/libstd-93bc808617be04ae.so(rust_metadata_std_61f6e7739d8dd73d+0xabf36)[0xffffff8ea38f36] /lib64/lp64d/libc.so.6(+0x734e4)[0xffffff8b4fb4e4] /lib64/lp64d/libc.so.6(+0xcb5cc)[0xffffff8b5535cc] note: we would appreciate a report at https://github.com/rust-lang/rust Fresh libc v0.2.149 error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x9de370)[0xffffff821de370] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff84c0e800] /lib64/lp64d/libstd-93bc808617be04ae.so(rust_metadata_std_61f6e7739d8dd73d+0x6eb80)[0xffffff81708b80] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x9de370)[0xffffffa91de370] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffabbae800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa85ebb8c] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17he6a2492e0067ec39E+0x96)[0xffffffa870ae08] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h6a26c94b9d9bb8a7E+0x9e)[0xffffffa874754e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325a7e)[0xffffffaab25a7e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325cc4)[0xffffffaab25cc4] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x23272fe)[0xffffffaab272fe] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325d84)[0xffffffaab25d84] /lib64/lp64d/libstd-93bc808617be04ae.so(rust_metadata_std_61f6e7739d8dd73d+0xabf36)[0xffffffa8745f36] /lib64/lp64d/libc.so.6(+0x734e4)[0xffffffa85954e4] /lib64/lp64d/libc.so.6(+0xcb5cc)[0xffffffa85ed5cc] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling shared_library v0.1.9 (/builddir/build/BUILD/shared_library-0.1.9) Running `/usr/bin/rustc --crate-name shared_library src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=28738e6c982737f4 -C extra-filename=-28738e6c982737f4 --out-dir /builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps -L dependency=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps --extern lazy_static=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps/liblazy_static-8efb85032e2b0bb4.rlib --extern libc=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps/liblibc-7d87db6d57f43f8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x9de370)[0xffffffab1de370] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffadd0d800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffaa751b8c] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17he6a2492e0067ec39E+0x96)[0xffffffadc10e08] /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h6a26c94b9d9bb8a7E+0x9e)[0xffffffadc4d54e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325a7e)[0xffffffacb25a7e] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325cc4)[0xffffffacb25cc4] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x23272fe)[0xffffffacb272fe] /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325d84)[0xffffffacb25d84] /lib64/lp64d/libstd-93bc808617be04ae.so(rust_metadata_std_61f6e7739d8dd73d+0xabf36)[0xffffffadc4bf36] /lib64/lp64d/libc.so.6(+0x734e4)[0xffffffaa6fb4e4] /lib64/lp64d/libc.so.6(+0xcb5cc)[0xffffffaa7535cc] note: we would appreciate a report at https://github.com/rust-lang/rust Finished rpm [optimized + debuginfo] target(s) in 13.18s Running `/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps/shared_library-28738e6c982737f4` running 2 tests test dynamic_library::test::test_errors_do_not_crash ... ok test dynamic_library::test::test_loading_cosine ... FAILED failures: ---- dynamic_library::test::test_loading_cosine stdout ---- thread 'dynamic_library::test::test_loading_cosine' panicked at src/dynamic_library.rs:178:31: Could not load function cos: /builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps/shared_library-28738e6c982737f4: undefined symbol: cos note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: dynamic_library::test::test_loading_cosine test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s error: test failed, to rerun pass `--lib` Doc-tests shared_library Running `/usr/bin/rustdoc --crate-type lib --crate-name shared_library --test src/lib.rs --test-run-directory /builddir/build/BUILD/shared_library-0.1.9 -L dependency=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps -L dependency=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps --extern lazy_static=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps/liblazy_static-8efb85032e2b0bb4.rlib --extern libc=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps/liblibc-7d87db6d57f43f8b.rlib --extern shared_library=/builddir/build/BUILD/shared_library-0.1.9/target/rpm/deps/libshared_library-48824de1fb74f542.rlib -C embed-bitcode=no --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s error: 1 target failed: `--lib` error: Bad exit status from /var/tmp/rpm-tmp.qj2WMB (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qj2WMB (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-shared_library.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 -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-shared_library.spec