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/icecat.spec'], chrootPath='/var/lib/mock/f38-build-705126-90195/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/icecat.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 Package nspr was not found in the pkg-config search path. Perhaps you should add the directory containing `nspr.pc' to the PKG_CONFIG_PATH environment variable Package 'nspr', required by 'virtual:world', not found Package 'pixman-1', required by 'virtual:world', not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1678752000 Wrote: /builddir/build/SRPMS/icecat-102.9.0-1.rh1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/icecat.spec'], chrootPath='/var/lib/mock/f38-build-705126-90195/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/icecat.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=1678752000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DpLmMn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf icecat-102.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/icecat-102.9.0-rh1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd icecat-102.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar -xf /builddir/build/SOURCES/icecat-COPYING-licensefiles.tar.gz Patch #1 (icecat-fix_addon_installation.patch): + echo 'Patch #1 (icecat-fix_addon_installation.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix_addon_installation --fuzz=0 patching file toolkit/mozapps/extensions/internal/XPIInstall.jsm Hunk #1 succeeded at 708 (offset 81 lines). Patch #3 (mozilla-build-arm.patch): + echo 'Patch #3 (mozilla-build-arm.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .build-arm-libaom --fuzz=0 patching file gfx/skia/skia/include/core/SkPreConfig.h Hunk #1 succeeded at 175 (offset -28 lines). Patch #4 (icecat-build-arm-libaom.patch): + echo 'Patch #4 (icecat-build-arm-libaom.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .arm --fuzz=0 patching file media/libaom/moz.build Patch #6 (mozilla-1773336.patch): + echo 'Patch #6 (mozilla-1773336.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .1773336 --fuzz=0 patching file gfx/webrender_bindings/webrender_ffi.h + echo 'Patch #41 (build-disable-elfhack.patch):' Patch #41 (build-disable-elfhack.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .disable-elfhack --fuzz=0 patching file toolkit/moz.configure Hunk #1 succeeded at 1446 (offset 173 lines). Patch #219 (rhbz-1173156.patch): + echo 'Patch #219 (rhbz-1173156.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rhbz-1173156 --fuzz=0 patching file extensions/auth/nsAuthSambaNTLM.cpp + echo 'Patch #221 (firefox-nss-addon-hack.patch):' Patch #221 (firefox-nss-addon-hack.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .firefox-nss-addon-hack --fuzz=0 (Stripping trailing CRs from patch; use --binary to disable.) patching file security/certverifier/NSSCertDBTrustDomain.cpp Hunk #1 succeeded at 1602 (offset -17 lines). + echo 'Patch #224 (icecat-GLIBCXX-fix-for-GCC-12.patch):' Patch #224 (icecat-GLIBCXX-fix-for-GCC-12.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .glibcxx --fuzz=0 patching file build/unix/stdc++compat/stdc++compat.cpp Patch #225 (icecat-102.7.0-fix_gcc13_build.patch): + echo 'Patch #225 (icecat-102.7.0-fix_gcc13_build.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc13 --fuzz=0 patching file gfx/2d/Rect.h patching file toolkit/components/telemetry/pingsender/pingsender.cpp Patch #402 (mozilla-1196777.patch): + echo 'Patch #402 (mozilla-1196777.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .1196777 --fuzz=0 patching file widget/gtk/nsWindow.cpp Hunk #1 succeeded at 169 (offset 6 lines). Patch #54 (mozilla-1669639.patch): + echo 'Patch #54 (mozilla-1669639.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .1669639 --fuzz=0 patching file build/mach_initialize.py Hunk #1 succeeded at 645 (offset 138 lines). + rm -f .mozconfig + cp -p /builddir/build/SOURCES/icecat-mozconfig-common .mozconfig + echo 'ac_add_options --with-unsigned-addon-scopes=app,system' + echo 'ac_add_options --allow-addon-sideload' + echo 'ac_add_options --enable-default-toolkit=cairo-gtk3-wayland' + echo 'ac_add_options --enable-official-branding' + echo 'ac_add_options --disable-webrtc' + echo 'ac_add_options --enable-pulseaudio' + echo 'ac_add_options --with-system-nspr' + echo 'ac_add_options --with-system-nss' + echo 'ac_add_options BINDGEN_CFLAGS="-I/usr/include/nspr4 -I/usr/include/pixman-1 "' + echo 'ac_add_options --allow-addon-sideload' + echo 'ac_add_options --enable-system-pixman' + echo 'ac_add_options --with-system-libevent' + echo 'ac_add_options --with-system-libvpx' + echo 'ac_add_options --with-system-jpeg' + echo 'ac_add_options --enable-ffmpeg' + echo 'ac_add_options --enable-av1' + echo 'ac_add_options --enable-optimize' + echo 'ac_add_options --disable-debug' + echo 'ac_add_options --disable-strip' + echo 'ac_add_options --disable-install-strip' + echo 'ac_add_options --disable-tests' + echo 'ac_add_options --disable-crashreporter' + echo 'ac_add_options --with-l10n-base=/builddir/build/BUILD/icecat-102.9.0/l10n' + echo 'ac_add_options --disable-lto' + echo 'export NODEJS="/builddir/build/BUILDROOT/bin/node-stdout-nonblocking-wrapper"' + chmod -x third_party/rust/itertools/src/lib.rs + chmod a-x third_party/rust/ash/src/extensions/ext/buffer_device_address.rs third_party/rust/ash/src/extensions/ext/calibrated_timestamps.rs third_party/rust/ash/src/extensions/ext/debug_marker.rs third_party/rust/ash/src/extensions/ext/debug_report.rs third_party/rust/ash/src/extensions/ext/debug_utils.rs third_party/rust/ash/src/extensions/ext/extended_dynamic_state.rs third_party/rust/ash/src/extensions/ext/extended_dynamic_state2.rs third_party/rust/ash/src/extensions/ext/full_screen_exclusive.rs third_party/rust/ash/src/extensions/ext/headless_surface.rs third_party/rust/ash/src/extensions/ext/metal_surface.rs third_party/rust/ash/src/extensions/ext/mod.rs third_party/rust/ash/src/extensions/ext/physical_device_drm.rs third_party/rust/ash/src/extensions/ext/private_data.rs third_party/rust/ash/src/extensions/ext/tooling_info.rs + chmod a-x third_party/rust/ash/src/extensions/khr/acceleration_structure.rs third_party/rust/ash/src/extensions/khr/android_surface.rs third_party/rust/ash/src/extensions/khr/buffer_device_address.rs third_party/rust/ash/src/extensions/khr/copy_commands2.rs third_party/rust/ash/src/extensions/khr/create_render_pass2.rs third_party/rust/ash/src/extensions/khr/deferred_host_operations.rs third_party/rust/ash/src/extensions/khr/display.rs third_party/rust/ash/src/extensions/khr/display_swapchain.rs third_party/rust/ash/src/extensions/khr/draw_indirect_count.rs third_party/rust/ash/src/extensions/khr/dynamic_rendering.rs third_party/rust/ash/src/extensions/khr/external_fence_fd.rs third_party/rust/ash/src/extensions/khr/external_fence_win32.rs third_party/rust/ash/src/extensions/khr/external_memory_fd.rs third_party/rust/ash/src/extensions/khr/external_memory_win32.rs third_party/rust/ash/src/extensions/khr/external_semaphore_fd.rs third_party/rust/ash/src/extensions/khr/external_semaphore_win32.rs third_party/rust/ash/src/extensions/khr/get_memory_requirements2.rs third_party/rust/ash/src/extensions/khr/get_physical_device_properties2.rs third_party/rust/ash/src/extensions/khr/get_surface_capabilities2.rs third_party/rust/ash/src/extensions/khr/maintenance1.rs third_party/rust/ash/src/extensions/khr/maintenance3.rs third_party/rust/ash/src/extensions/khr/maintenance4.rs third_party/rust/ash/src/extensions/khr/mod.rs third_party/rust/ash/src/extensions/khr/pipeline_executable_properties.rs third_party/rust/ash/src/extensions/khr/present_wait.rs third_party/rust/ash/src/extensions/khr/push_descriptor.rs third_party/rust/ash/src/extensions/khr/ray_tracing_pipeline.rs third_party/rust/ash/src/extensions/khr/surface.rs third_party/rust/ash/src/extensions/khr/swapchain.rs third_party/rust/ash/src/extensions/khr/synchronization2.rs third_party/rust/ash/src/extensions/khr/timeline_semaphore.rs third_party/rust/ash/src/extensions/khr/wayland_surface.rs third_party/rust/ash/src/extensions/khr/win32_surface.rs third_party/rust/ash/src/extensions/khr/xcb_surface.rs third_party/rust/ash/src/extensions/khr/xlib_surface.rs + chmod a-x third_party/rust/ash/src/extensions/nv/device_diagnostic_checkpoints.rs third_party/rust/ash/src/extensions/nv/mesh_shader.rs third_party/rust/ash/src/extensions/nv/mod.rs third_party/rust/ash/src/extensions/nv/ray_tracing.rs + find extensions/gnu -name cose.manifest -delete + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1Mb4O5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 -fstack-clash-protection -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 icecat-102.9.0 + mkdir -p my_rust_vendor + cd my_rust_vendor + /usr/bin/tar xf /builddir/build/SOURCES/cbindgen-vendor.tar.xz /builddir/build/BUILD/icecat-102.9.0 + cd - + mkdir -p .cargo + cat ++ pwd + env CARGO_HOME=.cargo cargo install cbindgen Installing cbindgen v0.24.3 Compiling proc-macro2 v1.0.40 Compiling libc v0.2.86 Compiling syn v1.0.98 Compiling unicode-ident v1.0.1 Compiling getrandom v0.2.2 Compiling cfg-if v1.0.0 Compiling serde_derive v1.0.123 Compiling autocfg v1.0.1 Compiling serde v1.0.123 Compiling indexmap v1.6.1 Compiling quote v1.0.9 Compiling bitflags v1.2.1 Compiling ppv-lite86 v0.2.10 Compiling rand_core v0.6.2 Compiling ryu v1.0.5 Compiling rand_chacha v0.3.0 Compiling hashbrown v0.9.1 Compiling log v0.4.14 Compiling serde_json v1.0.62 Compiling os_str_bytes v6.1.0 Compiling clap_lex v0.2.4 Compiling rand v0.8.3 Compiling atty v0.2.14 Compiling itoa v0.4.7 Compiling textwrap v0.15.0 Compiling termcolor v1.1.3 Compiling cbindgen v0.24.3 Compiling remove_dir_all v0.5.3 Compiling strsim v0.10.0 Compiling clap v3.2.7 Compiling tempfile v3.2.0 Compiling heck v0.4.0 Compiling toml v0.5.8 /lib64/lp64d/librustc_driver-7b926831134eb2a2.so(+0x796cde)[0x3fa5596cde] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0x3fa8c3e800] /lib64/lp64d/libc.so.6(__libc_free+0x16)[0x3fa4baa19e] /lib64/lp64d/libLLVM-15.so(_ZN4llvm15ScalarEvolutionD1Ev+0x2ee)[0x3fa0b1453a] /lib64/lp64d/libLLVM-15.so(+0x13ef256)[0x3fa03ef256] /lib64/lp64d/libLLVM-15.so(_ZN4llvm15AnalysisManagerINS_8FunctionEJEE10invalidateERS1_RKNS_17PreservedAnalysesE+0x320)[0x3f9fdb0dae] /lib64/lp64d/libLLVM-15.so(_ZN4llvm11PassManagerINS_8FunctionENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0x1ec)[0x3f9fdb083c] /lib64/lp64d/libLLVM-15.so(+0x2257f2c)[0x3fa1257f2c] /lib64/lp64d/libLLVM-15.so(_ZN4llvm26CGSCCToFunctionPassAdaptor3runERNS_13LazyCallGraph3SCCERNS_15AnalysisManagerIS2_JRS1_EEES5_RNS_17CGSCCUpdateResultE+0x282)[0x3fa09d2c00] /lib64/lp64d/libLLVM-15.so(+0x2258ff6)[0x3fa1258ff6] /lib64/lp64d/libLLVM-15.so(_ZN4llvm11PassManagerINS_13LazyCallGraph3SCCENS_15AnalysisManagerIS2_JRS1_EEEJS4_RNS_17CGSCCUpdateResultEEE3runERS2_RS5_S4_S7_+0x12e)[0x3fa09d06e6] /lib64/lp64d/libLLVM-15.so(+0x182ae10)[0x3fa082ae10] /lib64/lp64d/libLLVM-15.so(_ZN4llvm21DevirtSCCRepeatedPass3runERNS_13LazyCallGraph3SCCERNS_15AnalysisManagerIS2_JRS1_EEES5_RNS_17CGSCCUpdateResultE+0xd0)[0x3fa09d1d62] /lib64/lp64d/libLLVM-15.so(+0x182b220)[0x3fa082b220] /lib64/lp64d/libLLVM-15.so(_ZN4llvm33ModuleToPostOrderCGSCCPassAdaptor3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0x518)[0x3fa09d1584] /lib64/lp64d/libLLVM-15.so(+0x182b03a)[0x3fa082b03a] /lib64/lp64d/libLLVM-15.so(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0x12a)[0x3f9fdaf88e] /lib64/lp64d/libLLVM-15.so(_ZN4llvm24ModuleInlinerWrapperPass3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0x228)[0x3fa0828722] /lib64/lp64d/libLLVM-15.so(+0x2c87afa)[0x3fa1c87afa] /lib64/lp64d/libLLVM-15.so(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0x12a)[0x3f9fdaf88e] /lib64/lp64d/librustc_driver-7b926831134eb2a2.so(+0x7ab1d0)[0x3fa55ab1d0] error: could not compile `cbindgen` Caused by: process didn't exit successfully: `rustc --crate-name cbindgen --edition=2018 /builddir/build/BUILD/icecat-102.9.0/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=deed17ce4a82358d -C extra-filename=-deed17ce4a82358d --out-dir /tmp/cargo-installb63sJP/release/deps -L dependency=/tmp/cargo-installb63sJP/release/deps --extern cbindgen=/tmp/cargo-installb63sJP/release/deps/libcbindgen-462923c51e3a6504.rlib --extern clap=/tmp/cargo-installb63sJP/release/deps/libclap-216ac137827183c2.rlib --extern heck=/tmp/cargo-installb63sJP/release/deps/libheck-e6f0ff9f7d9567f2.rlib --extern indexmap=/tmp/cargo-installb63sJP/release/deps/libindexmap-b0713f9fac03cb17.rlib --extern log=/tmp/cargo-installb63sJP/release/deps/liblog-11e7ef5ff7f92dad.rlib --extern proc_macro2=/tmp/cargo-installb63sJP/release/deps/libproc_macro2-f16d63855117a1ca.rlib --extern quote=/tmp/cargo-installb63sJP/release/deps/libquote-643afd79588dbdf4.rlib --extern serde=/tmp/cargo-installb63sJP/release/deps/libserde-a5add194b29ae3be.rlib --extern serde_json=/tmp/cargo-installb63sJP/release/deps/libserde_json-44243288698f7138.rlib --extern syn=/tmp/cargo-installb63sJP/release/deps/libsyn-63fc2bd6720829b1.rlib --extern tempfile=/tmp/cargo-installb63sJP/release/deps/libtempfile-580a7ebcb54e67d9.rlib --extern toml=/tmp/cargo-installb63sJP/release/deps/libtoml-e1024ec775afa021.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-installb63sJP` error: Bad exit status from /var/tmp/rpm-tmp.1Mb4O5 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1Mb4O5 (%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/icecat.spec