Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/thunderbird.spec'], chrootPath='/var/lib/mock/f40-build-747593-112826/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/thunderbird.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 warning: line 186: It's not recommended to have unversioned Obsoletes: Obsoletes: thunderbird-lightning Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1700006400 Wrote: /builddir/build/SRPMS/thunderbird-115.4.3-1.fc40.src.rpm RPM build warnings: line 186: It's not recommended to have unversioned Obsoletes: Obsoletes: thunderbird-lightning Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/thunderbird.spec'], chrootPath='/var/lib/mock/f40-build-747593-112826/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/thunderbird.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 warning: line 186: It's not recommended to have unversioned Obsoletes: Obsoletes: thunderbird-lightning Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1700006400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jJXvPr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf thunderbird-115.4.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/thunderbird-115.4.3.source.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd thunderbird-115.4.3 + rm -rf /builddir/build/BUILD/thunderbird-115.4.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/thunderbird-115.4.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #9 (mozilla-build-arm.patch):' Patch #9 (mozilla-build-arm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p2 -b --suffix .arm --fuzz=2 patching file gfx/ycbcr/moz.build Hunk #1 succeeded at 53 (offset -8 lines). Patch #304 (mozilla-1245783.patch): + echo 'Patch #304 (mozilla-1245783.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .1245783 --fuzz=2 patching file js/src/Makefile.in Hunk #1 succeeded at 76 (offset -68 lines). Patch #418 (mozilla-1512162.patch): + echo 'Patch #418 (mozilla-1512162.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mozbz-1512162 --fuzz=2 patching file js/xpconnect/src/XPCWrappedNative.cpp Hunk #1 succeeded at 1061 (offset -31 lines). Hunk #2 succeeded at 1108 (offset -31 lines). + echo 'Patch #425 (build-disable-elfhack.patch):' Patch #425 (build-disable-elfhack.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .build-disable-elfhack --fuzz=2 patching file toolkit/moz.configure Hunk #1 succeeded at 1511 (offset -9 lines). Patch #426 (build-rnp.patch): + echo 'Patch #426 (build-rnp.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .build-rnp --fuzz=2 patching file comm/third_party/rnp/src/libsexp/include/sexp/sexp-error.h Hunk #1 succeeded at 33 (offset 1 line). Patch #402 (mozilla-526293.patch): + echo 'Patch #402 (mozilla-526293.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .526293 --fuzz=2 patching file widget/gtk/nsFilePicker.cpp Hunk #1 succeeded at 373 (offset 7 lines). + echo 'Patch #406 (mozilla-1170092.patch):' Patch #406 (mozilla-1170092.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .1170092-etc-conf --fuzz=2 patching file extensions/pref/autoconfig/src/nsReadConfig.cpp patching file modules/libpref/Preferences.cpp patching file toolkit/xre/nsXREDirProvider.cpp patching file xpcom/io/nsAppDirectoryServiceDefs.h Patch #422 (0001-GLIBCXX-fix-for-GCC-12.patch): + echo 'Patch #422 (0001-GLIBCXX-fix-for-GCC-12.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .0001-GLIBCXX-fix-for-GCC-12 --fuzz=2 patching file build/unix/stdc++compat/stdc++compat.cpp Hunk #2 succeeded at 69 with fuzz 2 (offset -5 lines). + echo 'Patch #501 (expat-CVE-2022-25235.patch):' Patch #501 (expat-CVE-2022-25235.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .expat-CVE-2022-25235 --fuzz=2 patching file parser/expat/lib/xmltok.c patching file parser/expat/lib/xmltok_impl.c + echo 'Patch #502 (expat-CVE-2022-25236.patch):' Patch #502 (expat-CVE-2022-25236.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .expat-CVE-2022-25236 --fuzz=2 patching file parser/expat/lib/xmlparse.c Hunk #1 succeeded at 704 (offset 4 lines). Hunk #2 succeeded at 1287 (offset 12 lines). Hunk #3 succeeded at 3771 (offset 106 lines). + echo 'Patch #503 (expat-CVE-2022-25315.patch):' Patch #503 (expat-CVE-2022-25315.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .expat-CVE-2022-25315 --fuzz=2 patching file parser/expat/lib/xmlparse.c Hunk #1 succeeded at 2491 (offset 12 lines). Hunk #2 succeeded at 2503 (offset 12 lines). + echo 'Patch #1200 (rustflags-commasplit.patch):' Patch #1200 (rustflags-commasplit.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rustflags-commasplit --fuzz=2 patching file build/moz.configure/rust.configure Hunk #1 succeeded at 599 (offset 6 lines). patching file python/mozbuild/mozbuild/configure/options.py + /usr/bin/rm -f .mozconfig + /usr/bin/cp /builddir/build/SOURCES/thunderbird-mozconfig .mozconfig + /usr/bin/cat /builddir/build/SOURCES/thunderbird-mozconfig-branded + echo 'ac_add_options --prefix="/usr"' + echo 'ac_add_options --libdir="/usr/lib64"' + echo 'ac_add_options --with-system-nspr' + echo 'ac_add_options --with-system-nss' + echo 'ac_add_options --disable-jemalloc' + echo 'ac_add_options --enable-system-ffi' + echo 'ac_add_options --enable-optimize' + echo 'ac_add_options --disable-debug' + echo 'ac_add_options --disable-webrtc' + echo 'ac_add_options --with-system-jpeg' + echo 'ac_add_options --disable-crashreporter' ++ llvm-config --libdir + echo 'ac_add_options --with-libclang-path=/usr/lib64' + echo 'export NODEJS="/builddir/build/BUILDROOT/bin/node-stdout-nonblocking-wrapper"' + find third_party -type f -iname '*.rs' + xargs chmod a-x + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.s6WaOy + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -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 -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 -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 thunderbird-115.4.3 + mkdir -p my_rust_vendor + cd my_rust_vendor + /usr/bin/tar xf /builddir/build/SOURCES/cbindgen-vendor.tar.xz + cd - /builddir/build/BUILD/thunderbird-115.4.3 + mkdir -p .cargo + cat ++ pwd + env CARGO_HOME=.cargo cargo install cbindgen Installing cbindgen v0.24.3 Compiling proc-macro2 v1.0.58 Compiling quote v1.0.27 Compiling unicode-ident v1.0.8 Compiling libc v0.2.144 Compiling autocfg v1.1.0 Compiling serde v1.0.163 Compiling io-lifetimes v1.0.10 Compiling indexmap v1.9.3 Compiling syn v2.0.16 Compiling bitflags v1.3.2 Compiling rustix v0.37.19 Compiling hashbrown v0.12.3 Compiling serde_json v1.0.96 Compiling syn v1.0.109 Compiling os_str_bytes v6.5.0 Compiling linux-raw-sys v0.3.7 Compiling cfg-if v1.0.0 Compiling log v0.4.17 Compiling clap_lex v0.2.4 Compiling atty v0.2.14 Compiling termcolor v1.2.0 Compiling cbindgen v0.24.3 Compiling ryu v1.0.13 Compiling itoa v1.0.6 Compiling strsim v0.10.0 Compiling textwrap v0.16.0 Compiling fastrand v1.9.0 Compiling tempfile v3.5.0 Compiling clap v3.2.25 Compiling heck v0.4.1 Compiling serde_derive v1.0.163 /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(+0x9dca02)[0x3fa19dca02] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0x3fa43fc800] /lib64/lp64d/libLLVM-17.so(_ZN4llvm15ValueHandleBase17RemoveFromUseListEv+0x54)[0x3f9b6fb760] /lib64/lp64d/libLLVM-17.so(+0x17d985c)[0x3f9c3d985c] /lib64/lp64d/libLLVM-17.so(_ZN4llvm18BlockFrequencyInfoD1Ev+0x12)[0x3f9c3d7e18] /lib64/lp64d/libLLVM-17.so(+0x2cfbe34)[0x3f9d8fbe34] /lib64/lp64d/libLLVM-17.so(_ZN4llvm15AnalysisManagerINS_8FunctionEJEE10invalidateERS1_RKNS_17PreservedAnalysesE+0x312)[0x3f9b6dfb5a] /lib64/lp64d/libLLVM-17.so(_ZN4llvm11InlinerPass3runERNS_13LazyCallGraph3SCCERNS_15AnalysisManagerIS2_JRS1_EEES5_RNS_17CGSCCUpdateResultE+0x116a)[0x3f9c21b9d6] /lib64/lp64d/libLLVM-17.so(+0x161e566)[0x3f9c21e566] /lib64/lp64d/libLLVM-17.so(_ZN4llvm11PassManagerINS_13LazyCallGraph3SCCENS_15AnalysisManagerIS2_JRS1_EEEJS4_RNS_17CGSCCUpdateResultEEE3runERS2_RS5_S4_S7_+0xfe)[0x3f9c3f3e8a] /lib64/lp64d/libLLVM-17.so(+0x161e94a)[0x3f9c21e94a] /lib64/lp64d/libLLVM-17.so(_ZN4llvm21DevirtSCCRepeatedPass3runERNS_13LazyCallGraph3SCCERNS_15AnalysisManagerIS2_JRS1_EEES5_RNS_17CGSCCUpdateResultE+0xc6)[0x3f9c3f51fc] /lib64/lp64d/libLLVM-17.so(+0x161edfe)[0x3f9c21edfe] /lib64/lp64d/libLLVM-17.so(_ZN4llvm33ModuleToPostOrderCGSCCPassAdaptor3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0x3f8)[0x3f9c3f4b10] /lib64/lp64d/libLLVM-17.so(+0x161ec26)[0x3f9c21ec26] /lib64/lp64d/libLLVM-17.so(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0xc0)[0x3f9b6de72e] /lib64/lp64d/libLLVM-17.so(_ZN4llvm24ModuleInlinerWrapperPass3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0x290)[0x3f9c21c450] /lib64/lp64d/libLLVM-17.so(+0x2d079da)[0x3f9d9079da] /lib64/lp64d/libLLVM-17.so(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0xc0)[0x3f9b6de72e] /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(+0x26b2374)[0x3fa36b2374] /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(+0x2377e7e)[0x3fa3377e7e] /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(_RNvXs1_Cs20tQuC9slFF_18rustc_codegen_llvmNtB5_18LlvmCodegenBackendNtNtNtCs4Du69Vto7DQ_17rustc_codegen_ssa6traits5write19WriteBackendMethods8optimize+0xa6)[0x3fa338ee42] /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(+0x2361efe)[0x3fa3361efe] /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(+0x236382e)[0x3fa336382e] /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(+0x2392948)[0x3fa3392948] /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(+0x236af94)[0x3fa336af94] /lib64/lp64d/libstd-77f10468c0c48dc7.so(rust_metadata_std_4706166f41de8e8a+0xad1e8)[0x3fa43351e8] /lib64/lp64d/libc.so.6(+0x74638)[0x3fa0efb638] /lib64/lp64d/libc.so.6(+0xc6bd4)[0x3fa0f4dbd4] error: could not compile `clap` (lib) Caused by: process didn't exit successfully: `rustc --crate-name clap --edition=2021 /builddir/build/BUILD/thunderbird-115.4.3/my_rust_vendor/clap/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 --cfg 'feature="atty"' --cfg 'feature="color"' --cfg 'feature="default"' --cfg 'feature="std"' --cfg 'feature="strsim"' --cfg 'feature="suggestions"' --cfg 'feature="termcolor"' -C metadata=e456b308d622d5b9 -C extra-filename=-e456b308d622d5b9 --out-dir /tmp/cargo-installPxOcrT/release/deps -L dependency=/tmp/cargo-installPxOcrT/release/deps --extern atty=/tmp/cargo-installPxOcrT/release/deps/libatty-94e03857dee515cb.rmeta --extern bitflags=/tmp/cargo-installPxOcrT/release/deps/libbitflags-a0e734adf5b5d314.rmeta --extern clap_lex=/tmp/cargo-installPxOcrT/release/deps/libclap_lex-d56b3926f4845e07.rmeta --extern indexmap=/tmp/cargo-installPxOcrT/release/deps/libindexmap-013378fcb78d5013.rmeta --extern strsim=/tmp/cargo-installPxOcrT/release/deps/libstrsim-14186f51eaddc311.rmeta --extern termcolor=/tmp/cargo-installPxOcrT/release/deps/libtermcolor-bf2ab9bc20d4c961.rmeta --extern textwrap=/tmp/cargo-installPxOcrT/release/deps/libtextwrap-03e9100d5a2a9edd.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` (signal: 11, SIGSEGV: invalid memory reference) warning: build failed, waiting for other jobs to finish... error: failed to compile `cbindgen v0.24.3`, intermediate artifacts can be found at `/tmp/cargo-installPxOcrT`. To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path. error: Bad exit status from /var/tmp/rpm-tmp.s6WaOy (%build) RPM build warnings: line 186: It's not recommended to have unversioned Obsoletes: Obsoletes: thunderbird-lightning RPM build errors: Bad exit status from /var/tmp/rpm-tmp.s6WaOy (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/thunderbird.spec