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/f37-build-669046-74842/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=604800uid=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 213: It's not recommended to have unversioned Obsoletes: Obsoletes: thunderbird-lightning Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1664409600 Wrote: /builddir/build/SRPMS/thunderbird-102.3.1-1.fc37.src.rpm RPM build warnings: line 213: 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/f37-build-669046-74842/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=604800uid=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 213: It's not recommended to have unversioned Obsoletes: Obsoletes: thunderbird-lightning Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1664409600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0X5WOT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf thunderbird-102.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/thunderbird-102.3.1.source.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd thunderbird-102.3.1 + /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 1060 (offset -32 lines). Hunk #2 succeeded at 1107 (offset -32 lines). Patch #419 (cbindgen-already-covers.patch): + echo 'Patch #419 (cbindgen-already-covers.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cbindgen-already-covers --fuzz=2 patching file gfx/webrender_bindings/webrender_ffi.h Patch #420 (D154024.diff): + echo 'Patch #420 (D154024.diff):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .D154024 --fuzz=2 patching file toolkit/crashreporter/client/ping.cpp Patch #421 (D153716-arc4random.diff): + echo 'Patch #421 (D153716-arc4random.diff):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .D153716-arc4random --fuzz=2 patching file ipc/chromium/src/third_party/libevent/README.mozilla patching file ipc/chromium/src/third_party/libevent/linux/event2/event-config.h Patch #425 (build-disable-elfhack.patch): + echo '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 1446 (offset 173 lines). 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 372 (offset 6 lines). Patch #406 (mozilla-1170092.patch): + echo '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 Hunk #1 succeeded at 250 (offset 6 lines). patching file modules/libpref/Preferences.cpp Hunk #1 succeeded at 4686 (offset 218 lines). patching file toolkit/xre/nsXREDirProvider.cpp Hunk #1 succeeded at 71 (offset 11 lines). Hunk #2 succeeded at 523 (offset -11 lines). Hunk #3 succeeded at 807 with fuzz 2 (offset -54 lines). patching file xpcom/io/nsAppDirectoryServiceDefs.h Hunk #1 succeeded at 59 (offset -1 lines). Patch #407 (D147721-python-ru.diff): + echo 'Patch #407 (D147721-python-ru.diff):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .D147721-python-ru.diff --fuzz=2 patching file dom/base/usecounters.py patching file python/mozbuild/mozbuild/action/process_define_files.py patching file python/mozbuild/mozbuild/backend/base.py patching file python/mozbuild/mozbuild/preprocessor.py patching file python/mozbuild/mozbuild/util.py patching file python/mozbuild/mozpack/files.py + pushd comm ~/build/BUILD/thunderbird-102.3.1/comm ~/build/BUILD/thunderbird-102.3.1 ~/build/BUILD/thunderbird-102.3.1 Patch #422 (0001-GLIBCXX-fix-for-GCC-12.patch): + popd + 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). Patch #424 (python3.11-regex-inline-flags.patch): + echo 'Patch #424 (python3.11-regex-inline-flags.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .python3.11-regex-inline-flags --fuzz=2 patching file xpcom/idl-parser/xpidl/xpidl.py Hunk #1 succeeded at 1572 (offset 9 lines). Hunk #2 succeeded at 1591 (offset 9 lines). Patch #501 (expat-CVE-2022-25235.patch): + echo '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 Patch #502 (expat-CVE-2022-25236.patch): + echo '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 1279 (offset 4 lines). Hunk #3 succeeded at 3763 (offset 98 lines). Patch #503 (expat-CVE-2022-25315.patch): + echo '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 2483 (offset 4 lines). Hunk #2 succeeded at 2495 (offset 4 lines). + /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 --without-system-icu' + echo 'ac_add_options --with-system-jpeg' + echo 'ac_add_options --without-system-libvpx' + echo 'ac_add_options --disable-crashreporter' + echo 'export NODEJS="/builddir/build/BUILDROOT/bin/node-stdout-nonblocking-wrapper"' + xargs chmod a-x + find third_party -type f -iname '*.rs' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vhLllT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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-102.3.1 + mkdir -p my_rust_vendor + cd my_rust_vendor + /usr/bin/tar xf /builddir/build/SOURCES/cbindgen-vendor.tar.xz /builddir/build/BUILD/thunderbird-102.3.1 + cd - + mkdir -p .cargo + cat ++ pwd + env CARGO_HOME=.cargo cargo install cbindgen Installing cbindgen v0.24.3 Compiling proc-macro2 v1.0.43 Compiling libc v0.2.100 Compiling syn v1.0.99 Compiling unicode-ident v1.0.3 Compiling cfg-if v1.0.0 Compiling serde_derive v1.0.128 Compiling autocfg v1.0.1 Compiling serde v1.0.128 Compiling ryu v1.0.5 Compiling ppv-lite86 v0.2.10 Compiling os_str_bytes v6.2.0 Compiling serde_json v1.0.66 Compiling hashbrown v0.11.2 Compiling log v0.4.14 Compiling strsim v0.10.0 Compiling bitflags v1.3.2 Compiling remove_dir_all v0.5.3 Compiling termcolor v1.1.3 Compiling textwrap v0.15.0 Compiling cbindgen v0.24.3 Compiling itoa v0.4.8 Compiling heck v0.4.0 Compiling clap_lex v0.2.4 Compiling indexmap v1.7.0 Compiling quote v1.0.9 Compiling getrandom v0.2.3 Compiling atty v0.2.14 Compiling rand_core v0.6.3 Compiling rand_chacha v0.3.1 Compiling clap v3.2.16 Compiling rand v0.8.4 Compiling tempfile v3.2.0 Compiling toml v0.5.8 /lib64/lp64d/librustc_driver-c1f4e431f8f3de84.so(+0x6f20da)[0x3fb2cf20da] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0x3fb5ec2800] /lib64/lp64d/libc.so.6(__libc_free+0x4)[0x3fb252bd96] /usr/lib64/llvm14/lib/libLLVM-14.so(+0xcee2a6)[0x3fad4ee2a6] /usr/lib64/llvm14/lib/libLLVM-14.so(+0x14d55cc)[0x3fadcd55cc] /usr/lib64/llvm14/lib/libLLVM-14.so(_ZN4llvm14InlineFunctionERNS_8CallBaseERNS_18InlineFunctionInfoEPNS_9AAResultsEbPNS_8FunctionE+0x8ba)[0x3fadcd7400] /usr/lib64/llvm14/lib/libLLVM-14.so(_ZN4llvm11InlinerPass3runERNS_13LazyCallGraph3SCCERNS_15AnalysisManagerIS2_JRS1_EEES5_RNS_17CGSCCUpdateResultE+0xfd2)[0x3fae15c3d4] /usr/lib64/llvm14/lib/libLLVM-14.so(+0x195d424)[0x3fae15d424] /usr/lib64/llvm14/lib/libLLVM-14.so(_ZN4llvm11PassManagerINS_13LazyCallGraph3SCCENS_15AnalysisManagerIS2_JRS1_EEEJS4_RNS_17CGSCCUpdateResultEEE3runERS2_RS5_S4_S7_+0x13a)[0x3fae32d53e] /usr/lib64/llvm14/lib/libLLVM-14.so(+0x1955338)[0x3fae155338] /usr/lib64/llvm14/lib/libLLVM-14.so(_ZN4llvm21DevirtSCCRepeatedPass3runERNS_13LazyCallGraph3SCCERNS_15AnalysisManagerIS2_JRS1_EEES5_RNS_17CGSCCUpdateResultE+0x128)[0x3fae32f1dc] /usr/lib64/llvm14/lib/libLLVM-14.so(+0x19552f6)[0x3fae1552f6] /usr/lib64/llvm14/lib/libLLVM-14.so(_ZN4llvm33ModuleToPostOrderCGSCCPassAdaptor3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0x7d2)[0x3fae32e676] /usr/lib64/llvm14/lib/libLLVM-14.so(+0x1955378)[0x3fae155378] /usr/lib64/llvm14/lib/libLLVM-14.so(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0x138)[0x3fad55f9d6] /usr/lib64/llvm14/lib/libLLVM-14.so(_ZN4llvm24ModuleInlinerWrapperPass3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0x1ae)[0x3fae15850e] /usr/lib64/llvm14/lib/libLLVM-14.so(+0x2fc57f0)[0x3faf7c57f0] /usr/lib64/llvm14/lib/libLLVM-14.so(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0x138)[0x3fad55f9d6] /lib64/lp64d/librustc_driver-c1f4e431f8f3de84.so(+0x709c60)[0x3fb2d09c60] error: could not compile `cbindgen` Caused by: process didn't exit successfully: `rustc --crate-name cbindgen --edition=2018 /builddir/build/BUILD/thunderbird-102.3.1/my_rust_vendor/cbindgen/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="clap"' --cfg 'feature="default"' -C metadata=f34daedf9c55dd73 -C extra-filename=-f34daedf9c55dd73 --out-dir /tmp/cargo-install6I6p5g/release/deps -L dependency=/tmp/cargo-install6I6p5g/release/deps --extern cbindgen=/tmp/cargo-install6I6p5g/release/deps/libcbindgen-832276bdad80101e.rlib --extern clap=/tmp/cargo-install6I6p5g/release/deps/libclap-9488d5380cf72030.rlib --extern heck=/tmp/cargo-install6I6p5g/release/deps/libheck-7918e60c96b61870.rlib --extern indexmap=/tmp/cargo-install6I6p5g/release/deps/libindexmap-197e563a5fac14d1.rlib --extern log=/tmp/cargo-install6I6p5g/release/deps/liblog-275632f1d1cf2918.rlib --extern proc_macro2=/tmp/cargo-install6I6p5g/release/deps/libproc_macro2-71d72855ed147446.rlib --extern quote=/tmp/cargo-install6I6p5g/release/deps/libquote-ac18861ec6273bba.rlib --extern serde=/tmp/cargo-install6I6p5g/release/deps/libserde-9e7540911263e6a7.rlib --extern serde_json=/tmp/cargo-install6I6p5g/release/deps/libserde_json-61d8b5a14bd97e2a.rlib --extern syn=/tmp/cargo-install6I6p5g/release/deps/libsyn-d4cb249cc37ba789.rlib --extern tempfile=/tmp/cargo-install6I6p5g/release/deps/libtempfile-16418ee88dadb2a4.rlib --extern toml=/tmp/cargo-install6I6p5g/release/deps/libtoml-192fb6154b49c496.rlib --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference) error: failed to compile `cbindgen v0.24.3`, intermediate artifacts can be found at `/tmp/cargo-install6I6p5g` error: Bad exit status from /var/tmp/rpm-tmp.vhLllT (%build) line 213: It's not recommended to have unversioned Obsoletes: Obsoletes: thunderbird-lightning Bad exit status from /var/tmp/rpm-tmp.vhLllT (%build) RPM build warnings: RPM build errors: 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