Package Details: librewolf 90.0.2-1

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-community.gitlab.io/
Licenses: GPL, MPL, LGPL
Submitter: lsf
Maintainer: lsf
Last Packager: lsf
Votes: 31
Popularity: 4.20
First Submitted: 2019-06-14 18:41
Last Updated: 2021-07-25 10:56

Dependencies (37)

Sources (5)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

Hyolobrika commented on 2021-05-24 13:31

Tried that separately and together. Neither worked.

diff --git a/PKGBUILD b/PKGBUILD
index 1b45a91..dc970c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,8 +54,14 @@ sha256sums_aarch64=('6ca87d2ac7dc48e6f595ca49ac8151936afced30d268a831c6a064b5203
 prepare() {
   mkdir -p mozbuild
   cd firefox-$pkgver
-
+  
+  # (Added by user) Try to limit resource usage to avoid errors per suggestion of lsf 
+  export LDFLAGS+=" -Wl,--no-keep-memory"
+  
   cat >../mozconfig <<END
+# (Added by user) Try to limit resource usage to avoid errors per suggestion of lsf
+mk_add_options MOZ_MAKE_FLAGS="-j1"
+
 ac_add_options --enable-application=browser
 mk_add_options MOZ_OBJDIR=${PWD@Q}/obj

lsf commented on 2021-05-20 11:58

That's quite possibly one of those "running out of resources / memory" errors.

You could try limiting the cores used (mk_add_options MOZ_MAKE_FLAGS="-j4" or even less) or trying to limit memory usage even more with export LDFLAGS+=" -Wl,--no-keep-memory".

Might be something else entirely – but in most cases of "somewhat vague build errors", it seems like it's been a resource issue.

Hyolobrika commented on 2021-05-18 15:34

Fails to build on Manjaro. rustc not working. Please help. 5e2c940f6dac

60:18.89 error: could not compile `gkrust`
60:18.90 Caused by:
60:18.90   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 -C embed-bitcode=no -Clto --cfg 'feature="cubeb-remoting"' --cfg 'feature="cubeb_pulse_rust"' --cfg 'feature="gecko_profiler"' --cfg 'feature="gecko_profiler_parse_elf"' --cfg 'feature="glean_disable_upload"' --cfg 'feature="glean_with_gecko"' --cfg 'feature="moz_memory"' --cfg 'feature="moz_places"' --cfg 'feature="oxidized_breakpad"' --cfg 'feature="quantum_render"' --cfg 'feature="remote_agent"' --cfg 'feature="simd-accel"' --cfg 'feature="webgpu"' --cfg 'feature="webrtc"' --cfg 'feature="with_dbus"' -C metadata=dce8fbbfa749f65b -C extra-filename=-dce8fbbfa749f65b --out-dir /home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/build/cargo-linker -L dependency=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/release/deps --extern gkrust_shared=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/x86_64-unknown-linux-gnu/release/deps/libgkrust_shared-31902ab2f7c1522e.rlib --extern mozglue_static=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/x86_64-unknown-linux-gnu/release/deps/libmozglue_static-194fa8b790a693b1.rlib --extern mozilla_central_workspace_hack=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/x86_64-unknown-linux-gnu/release/deps/libmozilla_central_workspace_hack-35efc3fd5574a1fe.rlib --extern swgl=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/x86_64-unknown-linux-gnu/release/deps/libswgl-0f4d1c7c77605595.rlib -C opt-level=2 -C debuginfo=2 --cap-lints warn -Cembed-bitcode=yes -C panic=abort -C profile-generate=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj -C codegen-units=1 -L native=/usr/lib -L native=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/x86_64-unknown-linux-gnu/release/build/audioipc-edd84eab446e6bfc/out -L native=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/x86_64-unknown-linux-gnu/release/build/lmdb-rkv-sys-083790a362029eed/out -L native=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/x86_64-unknown-linux-gnu/release/build/mozglue-static-d207304dbc98aca1/out -L native=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/dist/bin -L native=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/security/nss/lib/nss/nss_nss3 -L native=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/security/nss/lib/ssl/ssl_ssl3 -L native=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/config/external/nspr/pr -L native=/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/obj/x86_64-unknown-linux-gnu/release/build/swgl-fe846f4208cce657/out` (signal: 9, SIGKILL: kill)
60:18.92 make[4]: *** [/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/config/makefiles/rust.mk:356: force-cargo-library-build] Error 101
60:18.93 make[3]: *** [/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/config/recurse.mk:72: toolkit/library/rust/target] Error 2
60:18.94 make[2]: *** [/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/config/recurse.mk:34: compile] Error 2
60:18.94 make[1]: *** [/home/jacob/.cache/yay/librewolf/src/firefox-88.0.1/config/rules.mk:355: default] Error 2
60:18.95 make: *** [client.mk:65: build] Error 2
60:18.97 274 compiler warnings present.
==> ERROR: A failure occurred in build().
    Aborting...
error making: librewolf

je-vv commented on 2021-05-14 01:03

Thanks !

lsf commented on 2021-05-14 00:55

Understood – I'll keep 'em ;)

(I honestly just didn't assume they were needed anymore in the future, but you make a good case – and as long as people are aware of the need to look out for .pacnew files, I see no harm in it :)

je-vv commented on 2021-05-14 00:25

Hi @lsf, pelase do not remove:

backup=('usr/lib/librewolf/librewolf.cfg'
        'usr/lib/librewolf/distribution/policies.json')

See, it's not the same when you just want overwrite some values, which is what including ~/.librewolf/librewolf.overrides.cfg at the end of /usr/lib/librewolf/librewolf.cfg is meant for, than for commenting out some configs from /usr/lib/librewolf/librewolf.cfg, to get the FF default behavior instead.

For example to get safe browsing back, as it works on FF, the best is just comment out the librewolf configs, instead of specifying URLs, and several string values and the like.

I hope you don't remove those backup lines ever, :)

Thanks a lot !

lsf commented on 2021-04-28 13:48

Hm.. good point.

Never had this problem (with this package, at least), so I'd just naively assumed AUR helpers (like paru, in my case) checked for changes to checksums in the .SRCINFO and re-downloaded files accordingly.

To make all this less error prone, it would make sense to follow your hint, I guess, and do it the

"${pkgver}-${pkgrel}_patch_filename.patch::https://gitlab.com/whatever/patch_filename.patch"
# …
  patch -p1 -i ../${pkgver}-${pkgrel}_patch_filename.patch

way in the next release – thanks!

lahwaacz commented on 2021-04-28 13:38

@lsf Caching sources is a makepkg feature. The names of the patches in this PKGBUILD are not unique and do not even depend on $pkgver, which causes these failures. See the warning in https://wiki.archlinux.org/index.php/PKGBUILD#source

lsf commented on 2021-04-28 13:29

It looks like Manjaro caches some of the downloaded source files somewhere – I don't know where it does that (or if you've used another AUR helper which does it / maybe even just used makepkg directly somewhere?). Basically you have to make sure that no leftover files from a previous build (like the .patch files for example) are left so the updated files will be downloaded and used instead of the cached ones – which leads to them not passing the checksum validation here (and which would subsequently lead to a failing build later on, probably).

robert1234 commented on 2021-04-28 13:01

Librewolf fails to build on Manjaro Xfce. If anyone can help or fix this, that would be greatly appreciated.


Building librewolf...
==> Making package: librewolf 88.0-1 (Wed 28 Apr 2021 08:57:01 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found firefox-88.0.source.tar.xz
  -> Found librewolf.desktop
  -> Updating common git repo...
Fetching origin
  -> Updating settings git repo...
Fetching origin
From https://gitlab.com/librewolf-community/settings
   1b9cc88..e89e5cc  master                      -> master
 * [new branch]      override_cfg                -> override_cfg
 + 29042da...f0d0697 refs/merge-requests/11/merge -> refs/merge-requests/11/merge  (forced update)
 * [new ref]         refs/merge-requests/12/head -> refs/merge-requests/12/head
 * [new ref]         refs/merge-requests/12/merge -> refs/merge-requests/12/merge
 * [new ref]         refs/merge-requests/13/head -> refs/merge-requests/13/head
 * [new ref]         refs/merge-requests/13/merge -> refs/merge-requests/13/merge
   1b9cc88..e89e5cc  refs/merge-requests/2/merge -> refs/merge-requests/2/merge
   1b9cc88..e89e5cc  refs/merge-requests/7/merge -> refs/merge-requests/7/merge
  -> Found megabar.patch
  -> Found remove_addons.patch
  -> Found context-menu.patch
  -> Found unity-menubar.patch
  -> Found mozilla-vpn-ad.patch
==> Validating source files with sha256sums...
    firefox-88.0.source.tar.xz ... Passed
    librewolf.desktop ... Passed
    common ... Skipped
    settings ... Skipped
    megabar.patch ... FAILED
    remove_addons.patch ... FAILED
    context-menu.patch ... Passed
    unity-menubar.patch ... FAILED
    mozilla-vpn-ad.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
Failed to build librewolf