makepkg -e log
135:33.24 Compiling gkrust v0.1.0 (/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/toolkit/library/rust)
217:41.43 error: could not compile gkrust
.
217:42.78 Caused by:
217:42.78 process didn't exit successfully: /usr/bin/rustc --crate-name gkrust toolkit/library/rust/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type staticlib --emit=dep-info,link -C opt-level=2 -C panic=abort -Cembed-bitcode=no -Clto --cfg 'feature="cubeb-remoting"' --cfg 'feature="cubeb_pulse_rust"' --cfg 'feature="gecko_profiler"' --cfg 'feature="gecko_profiler_parse_elf"' --cfg 'feature="moz_memory"' --cfg 'feature="moz_places"' --cfg 'feature="new_cert_storage"' --cfg 'feature="quantum_render"' --cfg 'feature="simd-accel"' --cfg 'feature="webgpu"' --cfg 'feature="webrtc"' -C metadata=c077d09e82cc710f -C extra-filename=-c077d09e82cc710f --out-dir /home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/build/cargo-linker -L dependency=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/release/deps --extern gkrust_shared=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libgkrust_shared-640bbcee16e45770.rlib --extern mozglue_static=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libmozglue_static-0718399f770c57fd.rlib --extern mozilla_central_workspace_hack=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libmozilla_central_workspace_hack-85d5f075f15cd128.rlib -C opt-level=2 -C debuginfo=2 --cap-lints warn -Cembed-bitcode=yes -C codegen-units=1 -L native=/usr/lib -L native=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/build/lmdb-rkv-sys-873195c49dc0f637/out -L native=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/build/mozglue-static-d23e7627d0938704/out -L native=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/dist/bin -L native=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/security/nss/lib/nss/nss_nss3 -L native=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/security/nss/lib/ssl/ssl_ssl3 -L native=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/config/external/nspr/pr -L native=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/build/swgl-3a0f80a42ba0c709/out -L native=/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/build/libloading-34c08db01b7792e4/out -L native=/usr/lib
(signal: 9, SIGKILL: kill)
217:42.78 make[4]: [/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/config/makefiles/rust.mk:299: force-cargo-library-build] Error 101
217:42.79 make[3]: [/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/config/recurse.mk:74: toolkit/library/rust/target] Error 2
217:42.79 make[2]: [/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/config/recurse.mk:34: compile] Error 2
217:42.79 make[1]: [/home/alen/.cache/yay/icecat/src/gnuzilla-df6b2146f13fc90ad3c11136115ada077383ee2a/output/icecat-78.3.0/config/rules.mk:390: default] Error 2
217:42.79 make: *** [client.mk:125: build] Error 2
217:42.79 199 compiler warnings present.
218:04.36 /usr/bin/notify-send --app-name=Mozilla Build System Mozilla Build System Build failed
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
xiota commented on 2024-02-26 07:32 (UTC) (edited on 2024-08-08 03:44 (UTC) by xiota)
PKGBUILD has been updated. Major changes:
Notes:
_build_pgo_xvfb=false
. This will usexwayland-run
for profiling._build_pgo=false
.mk_add_options MOZ_PARALLEL_BUILD=___
around line 300. Pick a value less than number of cores and free RAM in GB. For example, on a system with 8 cores, 64GB total RAM, but only 6 GB free, the value should be set to 4 or 5.libxul.so
. Leave a comment if you have a potential solution.Having problems? Please provide details: processor make and model, number of cores,
free -m
, full log in pastebin, whether using AUR helper/makepkg/clean chroot, etc.