Build fails on
librewolf/src/librewolf-116.0-1/python/mozbuild/mozbuild/mozconfig_loader: 74: export: LDFLAGS+: bad variable name
Git Clone URL: | https://aur.archlinux.org/librewolf.git (read-only, click to copy) |
---|---|
Package Base: | librewolf |
Description: | Community-maintained fork of Firefox, focused on privacy, security and freedom. |
Upstream URL: | https://librewolf.net/ |
Keywords: | browser web |
Licenses: | MPL-2.0 |
Submitter: | lsf |
Maintainer: | lsf |
Last Packager: | lsf |
Votes: | 175 |
Popularity: | 8.59 |
First Submitted: | 2019-06-14 18:41 (UTC) |
Last Updated: | 2025-05-30 11:41 (UTC) |
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 34 Next › Last »
Build fails on
librewolf/src/librewolf-116.0-1/python/mozbuild/mozbuild/mozconfig_loader: 74: export: LDFLAGS+: bad variable name
[Parent 173059, IPC I/O Parent] WARNING: process 173355 exited on signal 11: file /home/admin/hdd/librewolf/src/librewolf-114.0.1-2/ipc/chromium/src/base/process_util_posix.cc:264
[Parent 173059, IPC I/O Parent] WARNING: process 173357 exited on signal 11: file /home/admin/hdd/librewolf/src/librewolf-114.0.1-2/ipc/chromium/src/base/process_util_posix.cc:264
[Parent 173059, IPC I/O Parent] WARNING: process 173371 exited on signal 11: file /home/admin/hdd/librewolf/src/librewolf-114.0.1-2/ipc/chromium/src/base/process_util_posix.cc:264
[Parent 173059, IPC I/O Parent] WARNING: process 173373 exited on signal 11: file /home/admin/hdd/librewolf/src/librewolf-114.0.1-2/ipc/chromium/src/base/process_util_posix.cc:264
jarlog: /home/admin/hdd/librewolf/src/librewolf-114.0.1-2/jarlog
Firefox exited with code -11 during profiling
Hi @NeWolf, I also tried to compile and it crashes on "--crate-name shift" which gets killed by -9 (segfault). On my machine it seems to be the docker container that I run try to compile it in. Doing the same thing on a different (more potent, less virtualized) machine also in a docker container goes through.
Same thing happens for trying to compile icecat. So, might be a hint: more RAM, more CPU, more SWAP, more HDD, less virtualization. Tell me, if you found your reason.
failed to compile in manjaro:
118:24.10 error: could not compile gkrust
118:24.21 Caused by:
118:24.21 process didn't exit successfully: /usr/bin/rustc --crate-name gkrust toolkit/library/rust/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type staticlib --emit=dep-info,link -C opt-level=2 -C panic=abort -C embed-bitcode=no -Clto -C metadata=ef29ca507ac134fb -C extra-filename=-ef29ca507ac134fb --out-dir /home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/home/newolf/librewolf/src/librewolf-112.0.2-1/build/cargo-linker -C incremental=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/incremental -L dependency=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/release/deps --extern gkrust_shared=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libgkrust_shared-50c9a3773cebc350.rlib --extern lmdb_sys=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/liblmdb_sys-88d99d273f1c7ff8.rlib --extern mozglue_static=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libmozglue_static-6c9cac936539868e.rlib --extern mozilla_central_workspace_hack=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libmozilla_central_workspace_hack-6f04989e2829652e.rlib --extern swgl=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libswgl-c998e2fd64a1f830.rlib -C debuginfo=2 --cap-lints warn -Cembed-bitcode=yes -C panic=abort -C profile-generate=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu -C codegen-units=1 -L native=/usr/lib -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/build/audioipc-03e8a659e586c88c/out -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/build/audioipc2-14179026b021198a/out -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/dist/bin -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/security/nss/lib/nss/nss_nss3 -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/security/nss/lib/ssl/ssl_ssl3 -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/config/external/nspr/pr -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/build/lmdb-rkv-sys-2851f562edf62284/out -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/build/mozglue-static-2b27c53de01e9dea/out -L native=/usr/lib -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/dist/bin -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/security/nss/lib/nss/nss_nss3 -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/security/nss/lib/ssl/ssl_ssl3 -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/config/external/nspr/pr -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/dist/bin -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/security/nss/lib/nss/nss_nss3 -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/security/nss/lib/ssl/ssl_ssl3 -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/config/external/nspr/pr -L native=/home/newolf/librewolf/src/librewolf-112.0.2-1/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/build/swgl-64561dc5017493b5/out
(signal: 9, SIGKILL: kill)
118:26.17 make[4]: *** [/home/newolf/librewolf/src/librewolf-112.0.2-1/config/makefiles/rust.mk:438: force-cargo-library-build] Error 101
118:26.18 make[3]: *** [/home/newolf/librewolf/src/librewolf-112.0.2-1/config/recurse.mk:72: toolkit/library/rust/target] Error 2
118:26.21 make[2]: *** [/home/newolf/librewolf/src/librewolf-112.0.2-1/config/recurse.mk:34: compile] Error 2
118:26.22 make[1]: *** [/home/newolf/librewolf/src/librewolf-112.0.2-1/config/rules.mk:361: default] Error 2
118:26.23 make: *** [client.mk:60: build] Error 2
118:26.26 157 compiler warnings present.
==> ERROR: A failure occurred in build().
Aborting...
@lsf, may I please inquire what CI you use to build the binaries? I need to set up my own patched compilation of librewolf.
@Luziferus: a somewhat late thanks for your info – that was indeed an issue and your solution would've fixed it, but before I got around to changing that, manjaro seemed to have updated to ffmpeg 6, too, so it solved itself :D
@lsf you're right. I had no base-devel
installed. Strange.
The _ffmpeg_ver issue is that it's 2:5.1.2-1
with two dots.
_ffmpeg_ver="${_ffmpeg_ver#*:}"
removes the 2:
and we result in 5.1.2-1
_ffmpeg_ver="${_ffmpeg_ver%.*}"
removes the last .2-1
and we end up having 5.1
which is still not a number :) I guess the version shall not go beyond two dots meaning calling _ffmpeg_ver="${_ffmpeg_ver%.*}"
two times shall fix that long versions issue.
Both are odd errors:
_ffmpeg_ver="${_ffmpeg_ver#*:}"
_ffmpeg_ver="${_ffmpeg_ver%.*}"
should cut the string down to the major ffmpeg version number, and with that, -gt 5
should work. At least it did in my tests?
patch
should come with https://archlinux.org/packages/core/any/base-devel/, which is more or less a requirement for building things from the AUR anyway, which is why it wouldn't be added as a dependency, as it's assumed installed at this point.
Still probably helpful should anyone else come upon those issues, so thanks for pointing out solutions :)
The current latest version (111.0.1-1) build fails with these two issues in Manjaro Linux (kernel 6.2.7-2):
#if [ "${_ffmpeg_ver}" -gt 5 ]; then
<- number expected pacman -Qi ffmpeg | gawk '/Version/{print $3}'
is not a number. it's a string. For current Manjaro version it's 2:5.1.2-1
patch command not found
08:27:54 0001-libwebrtc-screen-cast-sync.patch ... FAILED
08:27:54 ==> ERROR: One or more files did not pass the validity check!
Manually redownloaded it again, indeed an incorrect checksum.
Pinned Comments
lsf commented on 2025-01-01 21:28 (UTC)
Please refrain from abusing the flagging of a package as out of date for build issues. This is not what it is supposed to be used for.
I automatically get notified of comments to this package. I do not need to be notified of whatever build problems occur (whether they are an individual's problems or the actual package's problems) twice, and not via flagging it out of date.
Issues with this package can also be reported at https://codeberg.org/librewolf/issues/issues (as it is also maintained there, at https://codeberg.org/librewolf/arch, too).