Package Details: waterfox 6.6.7-1

Git Clone URL: https://aur.archlinux.org/waterfox.git (read-only, click to copy)
Package Base: waterfox
Description: Fork of Mozilla Firefox featuring some privacy, usability, and speed enhancements.
Upstream URL: https://www.waterfox.net/
Keywords: browser firefox waterfox web
Licenses: MPL-2.0
Submitter: random-nick
Maintainer: expresso
Last Packager: expresso
Votes: 19
Popularity: 2.53
First Submitted: 2020-02-21 16:04 (UTC)
Last Updated: 2026-01-12 08:16 (UTC)

Dependencies (37)

Required by (1)

Sources (3)

Latest Comments

1 2 3 4 5 Next › Last »

zperk13 commented on 2026-01-12 10:28 (UTC)

@expresso your latest commit fixed everything! Thanks! Though I think you need to do a little version bump (to 6.7.7-2?) because I had to go delete my cached version for yay to actually download the new PKGBUILD

vapormoon commented on 2026-01-10 22:59 (UTC)

I received the same mach error as zperk13 but instead of downloading the whole waterfox git I added the contents of the locale submodule https://github.com/BrowserWorks/l10n to /src/waterfox-$pkgver/waterfox/browser/locales and updated the checksum.

zperk13 commented on 2026-01-08 10:15 (UTC) (edited on 2026-01-08 10:20 (UTC) by zperk13)

I fixed the error I just mentioned by adding

CFLAGS+=" -w -fno-exceptions"
CXXFLAGS+=" -w -fno-exceptions"

into the build function. Is that a good idea? idk. But after compiling for... a while... it finished the instrumented browser, started working on the optimized browser, which failed quickly

It looks like you tried to run a mach command from an invalid context. The install
command failed to meet the following conditions: 

  has_build_or_shell - Must have a build or a shell build.

Run |mach help| to show a list of all commands available to the current context.

==> ERROR: A failure occurred in package().
    Aborting...

zperk13 commented on 2026-01-08 09:34 (UTC)

Maintainer seems to have left and I've never messed with making PKGBUILDs before... so that's fun...

I think I found the issue, but then I found another issue. The issue we've been having is that the PKGBUILD gets the source from "$pkgname-$pkgver.tar.gz::https://github.com/WaterfoxCo/Waterfox/archive/refs/tags/$pkgver.tar.gz" but according to https://github.com/BrowserWorks/waterfox/issues/3704#issuecomment-2702688967 the locales folder (which like nightwatchman said, is empty, which is a problem since the build failure is due to looking for a file in it) "is a submodule, but the source tarballs don't include submodules".

So, here's what I did

Step 1: Change line 62 of the PKGBUILD from "$pkgname-$pkgver.tar.gz::https://github.com/WaterfoxCo/Waterfox/archive/refs/tags/$pkgver.tar.gz" to "$pkgname::git+https://github.com/WaterfoxCo/Waterfox.git". This switches to downloading the whole git repo instead of the tar.gz file. This does take a bit of time, it's over 6 GB.

Step 2: On line 227, change the first checksum to 'SKIP'. sha256sum does not work on a directory, and it seems to be what the other git repo aur packages do. Also it was just downloaded from the official GitHub repo over HTTPS so I'm not too worried.

Step 3: Change line 108 from cd waterfox-$pkgver to cd waterfox

Step 4: Change the first line of the package function (line 165) from

cd waterfox-$pkgver

to

cd waterfox
git submodule update --init

Note though, the submodule is set up via SSH, not HTTPS. I tried to have the PKGBUILD edit it so it used HTTPS instead, but that didn't go well. However, git will prompt them if they want to trust GitHub's key fingerprint, which they can verify at https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints

After this, the error goes away. BUT, I get a while new error, and it's not giving me that much info to debug with

make[4]: *** [/home/z/.cache/yay/waterfox/src/waterfox/config/makefiles/rust.mk:528: force-cargo-library-build] Error 101
make[3]: *** [/home/z/.cache/yay/waterfox/src/waterfox/config/recurse.mk:72: toolkit/library/rust/target-objects] Error 2
make[2]: *** [/home/z/.cache/yay/waterfox/src/waterfox/config/recurse.mk:34: compile] Error 2
make[1]: *** [/home/z/.cache/yay/waterfox/src/waterfox/config/rules.mk:359: default] Error 2
make: *** [client.mk:60: build] Error 2
W 0 compiler warnings present.
==> ERROR: A failure occurred in build().
    Aborting...

zperk13 commented on 2025-12-26 20:53 (UTC)

voxan24 here's my traceback paste https://pastebin.com/zUmNrRFe

Grzzlwmpf commented on 2025-12-26 19:50 (UTC)

I'm getting a sha256 error on 6.6.7-1 as well: The PKGBUILD specifies 146e3d8e5b5f9d4967737e5152b5baa3e96e3d2065c1124e71dbb415730eb93f, but the waterfox-6.6.7.tar.gz hashes to 9c141c32d8fef0863fce37e4c8bfb9c10ed9e4067c495bbd87f416454e941255 (both the one fetched via yay and the one manually downloaded from GitHub)

voxan24 commented on 2025-12-26 17:56 (UTC)

Can you post the traceback in the paste website of your choice ?

nightwatchman commented on 2025-12-22 04:42 (UTC)

I'm getting the same error in 6.6.7-1 as well. Many files appear to have been checked out properly, but ~/.cache/yay/waterfox/src/waterfox-6.6.7/waterfox/browser/locales/ is entirely empty on my system.

zperk13 commented on 2025-12-22 02:29 (UTC)

I'm getting the same issue as pimento for 6.6.7-1