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-libheif-sys.spec'], chrootPath='/var/lib/mock/f40-build-2082791-49856/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-libheif-sys.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=1703030400 Wrote: /builddir/build/SRPMS/rust-libheif-sys-1.16.2-1.fc40.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-libheif-sys.spec'], chrootPath='/var/lib/mock/f40-build-2082791-49856/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-libheif-sys.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=1703030400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.as9Wz3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libheif-sys-1.16.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libheif-sys-1.16.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd libheif-sys-1.16.2 + rm -rf /builddir/build/BUILD/libheif-sys-1.16.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libheif-sys-1.16.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libheif-sys-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-unconditionally-regenerate-bindings-with-bindgen.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.jG7iCb + umask 022 + cd /builddir/build/BUILD + cd libheif-sys-1.16.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo 'pkgconfig(libheif) >= 1.16' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-libheif-sys-1.16.2-1.fc40.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-libheif-sys.spec'], chrootPath='/var/lib/mock/f40-build-2082791-49856/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-libheif-sys.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=1703030400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lwTPIC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libheif-sys-1.16.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libheif-sys-1.16.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd libheif-sys-1.16.2 + rm -rf /builddir/build/BUILD/libheif-sys-1.16.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libheif-sys-1.16.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libheif-sys-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-unconditionally-regenerate-bindings-with-bindgen.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.se0dvt + umask 022 + cd /builddir/build/BUILD + cd libheif-sys-1.16.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo 'pkgconfig(libheif) >= 1.16' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-libheif-sys-1.16.2-1.fc40.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-libheif-sys.spec'], chrootPath='/var/lib/mock/f40-build-2082791-49856/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-libheif-sys.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=1703030400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Gjd1b5 + umask 022 + cd /builddir/build/BUILD + cd libheif-sys-1.16.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo 'pkgconfig(libheif) >= 1.16' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VfPDdx + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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 libheif-sys-1.16.2 + /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.150 Compiling glob v0.3.1 Compiling proc-macro2 v1.0.70 Compiling unicode-ident v1.0.12 Compiling rustix v0.38.25 Compiling regex-syntax v0.8.2 Compiling memchr v2.6.4 Compiling linux-raw-sys v0.4.12 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.150/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="extra_traits"' --cfg 'feature="std"' -C metadata=69df8075bf62ecb2 -C extra-filename=-69df8075bf62ecb2 --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/build/libc-69df8075bf62ecb2 -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/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 glob /usr/share/cargo/registry/glob-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=04438369089291aa -C extra-filename=-04438369089291aa --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/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 build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.70/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="proc-macro"' -C metadata=a63aaa7e78367366 -C extra-filename=-a63aaa7e78367366 --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/build/proc-macro2-a63aaa7e78367366 -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/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 unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=d30ae545f2f29cdc -C extra-filename=-d30ae545f2f29cdc --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/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 build_script_build --edition=2021 /usr/share/cargo/registry/rustix-0.38.25/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="alloc"' --cfg 'feature="fs"' --cfg 'feature="std"' -C metadata=2af9082d800154eb -C extra-filename=-2af9082d800154eb --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/build/rustix-2af9082d800154eb -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/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 regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=6d68cfb0715fba3d -C extra-filename=-6d68cfb0715fba3d --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/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 memchr --edition=2021 /usr/share/cargo/registry/memchr-2.6.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=196ef6bfba65897f -C extra-filename=-196ef6bfba65897f --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/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 linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.4.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="elf"' --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' -C metadata=09bd0cd9e79719b6 -C extra-filename=-09bd0cd9e79719b6 --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/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-c309084a720e38a9.so(+0x9de4b2)[0xffffffba3de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffbcecf800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffffb994649e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffffbce08250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffffbbd23fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffffbbd238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffbbd23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffbbd250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffbbd23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffbce0df36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb98fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb994dc78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling bitflags v2.4.1 Running `/usr/bin/rustc --crate-name bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=53cd50362fe66132 -C extra-filename=-53cd50362fe66132 --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/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-c309084a720e38a9.so(+0x9de4b2)[0xffffff9c5de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9ef63800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffff9b9e049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffff9bb40250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffff9df23fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffff9df238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9df23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9df250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9df23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9bb45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9b99569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9b9e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb15de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb407d800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffffb09e049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffffb0b40250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffffb2f23fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffffb2f238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb2f23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb2f250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb2f23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb0b45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb099569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb09e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb1dde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb4780800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffffb11e049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffffb1340250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffffb3723fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffffb37238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb3723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb37250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb3723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb1345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb119569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb11e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling cfg-if v1.0.0 Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=6397d921b6f53f8b -C extra-filename=-6397d921b6f53f8b --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/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-c309084a720e38a9.so(+0x9de4b2)[0xffffff823de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff84e67800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffff817e049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffff81940250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffff83d23fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffff83d238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff83d23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff83d250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff83d23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff81945f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8179569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff817e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Running `/builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/build/proc-macro2-a63aaa7e78367366/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.70/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="proc-macro"' -C metadata=15259b95f1d4048d -C extra-filename=-15259b95f1d4048d --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/deps --extern unicode_ident=/builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/deps/libunicode_ident-d30ae545f2f29cdc.rmeta --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 wrap_proc_macro` Running `/builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/build/rustix-2af9082d800154eb/build-script-build` Compiling syn v1.0.109 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/syn-1.0.109/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit-mut"' -C metadata=2bb6da243be971d9 -C extra-filename=-2bb6da243be971d9 --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/build/syn-2bb6da243be971d9 -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/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-c309084a720e38a9.so(+0x9de4b2)[0xffffffb2fde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb599f800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffffb23e049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffffb2540250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffffb4923fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffffb49238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb4923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb49250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb4923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb2545f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb239569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb23e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: could not compile `cfg-if` (lib) Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=6397d921b6f53f8b -C extra-filename=-6397d921b6f53f8b --out-dir /builddir/build/BUILD/libheif-sys-1.16.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libheif-sys-1.16.2/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` (signal: 11, SIGSEGV: invalid memory reference) warning: build failed, waiting for other jobs to finish... error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff9ddde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa0919800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9d34c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffffa0859514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff9f723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9f723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9f7250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9f723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa0857f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9d2fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9d34dc78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff911de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff93be4800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff905e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffff90747514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff92b23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff92b23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff92b250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff92b23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff90745f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9059569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff905e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffaadde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffad85d800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffaa1e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffaa30ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffaa34754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffac723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffac723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffac7250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffac723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffaa345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffaa19569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffaa1e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa5dde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa8917800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x20)[0xffffffa881ad92] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa885754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa7723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa7723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa77250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa7723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa8855f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa52fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa534dc78] note: we would appreciate a report at https://github.com/rust-lang/rust error: Bad exit status from /var/tmp/rpm-tmp.VfPDdx (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VfPDdx (%build) 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-libheif-sys.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-libheif-sys.spec