Package Details: librewolf 134.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.net/
Keywords: browser web
Licenses: GPL, MPL, LGPL
Submitter: lsf
Maintainer: lsf
Last Packager: lsf
Votes: 147
Popularity: 3.73
First Submitted: 2019-06-14 18:41 (UTC)
Last Updated: 2025-01-26 21:06 (UTC)

Dependencies (58)

Sources (3)

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).

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 29 Next › Last »

nightly commented on 2022-07-13 11:07 (UTC)

Can someone help me? Whenever I try to build the package I get this error. http://dpaste.com/G3BZYFJUY I have tried @nobyte's patch but it yields no change.

nobyte commented on 2022-07-06 09:07 (UTC) (edited on 2022-07-06 09:22 (UTC) by nobyte)

@franz

You could probably somehow solve this (in a clean way) by using a python virtual environment with the right package version of psutil, but I don't know how to do that.

But here's a (somewhat dirty) work around. Downgrade the python-psutil package to the required version:

sudo pacman -U https://archive.archlinux.org/packages/p/python-psutil/python-psutil-5.8.0-4-x86_64.pkg.tar.zst
  • Downgrade to the required version:
sudo downgrade python-psutil
  • Choose right version

  • Set whether to ingore updates for this package (both options have pros/cons so choose what suits you better)

  • I installed some other packages to satisfy 'pip check', but this is dependant upon your installed packages and might not even be relevant to the Librewolf build

pacman -S python-brotli
pacman -S python-pybcj
pacman -S python-cmd2
  • As far as I understood there are many cases in which 'pip check' will complain about python packages that are irrelevant for the build of Firefox/Librewolf, so if the check fails, it's totally unnecessary for the build to stop then. See here : https://bugs.gentoo.org/828604#c5 ... so there was some patch and apparently some code was removed to resolve this ... the code isn't there anymore in the current BUT STILL the pip check runs and complains about some packages ... so I grep'ed through the source for "pip check" and found src/firefox-102.0/python/mach/mach/site.py ... I made a patch to comment the code that raises the failed pip check to an exception ... you can insert the text below in a file called librewolf_mach_site.py_disable_pip-check.patch in your build dir (on my system it is /var/tmp/pamac-build-user/librewolf). The content of the file:
--- a/python/mach/mach/site.py
+++ a/python/mach/mach/site.py
@@ -1118,10 +1118,10 @@
         if check_result.returncode:
             subprocess.check_call(pip + ["list", "-v"], stdout=sys.stderr)
             print(check_result.stdout, file=sys.stderr)
-            raise Exception(
-                'According to "pip check", the current Python '
-                "environment has package-compatibility issues."
-            )
+            #raise Exception(
+            #    'According to "pip check", the current Python '
+            #    "environment has package-compatibility issues."
+            #)

         os.environ[
             f"MACH_SYSTEM_ASSERTED_COMPATIBLE_WITH_{virtualenv_name.upper()}_SITE"
  • Then you need to edit the PKGBUILD (in my case in /var/tmp/pamac-build-user/librewolf) so that it finds and applies the patch before build ...
  • Add the name of the patch file from the previous step at the end of the sources list
source=(""
        ...
        "librewolf_mach_site.py_disable_pip-check.patch")
  # apply patch to disable pip check
  patch -Np1 -i ../librewolf_mach_site.py_disable_pip-check.patch
  • Start new build ... there may still be a warning about pip check, but instead of stopping the build should then continue

<deleted-account> commented on 2022-06-26 21:05 (UTC)

Hi. I have the same error as https://aur.archlinux.org/packages/librewolf#comment-864414:

Running "pip check" to verify compatibility between the system Python and the "mach" site.
...
psutil<=5.8.0,>=5.4.2: Installed with unexpected version "5.9.0"
...
Exception: The "mach" site is not compatible with the installed system Python packages.

How can i solve this? Thx

I'm on Manjaro x64, Linux 5.14, installing using yay -S librewolf

dr460nf1r3 commented on 2022-05-25 09:16 (UTC)

Hey :) I'm having issues building Librewolf on Chaotic-AUR, currently the build fails after profiling. Any idea what might causing this? (full logs)

HC6505 commented on 2022-05-16 15:41 (UTC)

Setting to pip, make it build here to: export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=pip

Kimble commented on 2022-05-14 05:33 (UTC) (edited on 2022-05-14 05:34 (UTC) by Kimble)

Have this error, could anybody explain what's wrong and what should I do?

Building instrumented browser...
Traceback (most recent call last):
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/./mach", line 96, in <module>
    main(sys.argv[1:])
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/./mach", line 88, in main
    mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/./mach", line 35, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/./mach", line 21, in load_mach
    return mach_initialize.initialize(dir_path)
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/build/mach_initialize.py", line 153, in initialize
    _activate_python_environment(
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/build/mach_initialize.py", line 93, in _activate_python_environment
    from mach.site import MachSiteManager
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/python/mach/mach/site.py", line 27, in <module>
    from mach.requirements import (
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/python/mach/mach/requirements.py", line 7, in <module>
    from packaging.requirements import Requirement
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/third_party/python/packaging/packaging/requirements.py", line 24, in <module>
    from .markers import MARKER_EXPR, Marker
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/third_party/python/packaging/packaging/markers.py", line 25, in <module>
    from .specifiers import InvalidSpecifier, Specifier
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/third_party/python/packaging/packaging/specifiers.py", line 14, in <module>
    from .utils import canonicalize_version
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/third_party/python/packaging/packaging/utils.py", line 9, in <module>
    from .tags import Tag, parse_tag
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/third_party/python/packaging/packaging/tags.py", line 7, in <module>
    import distutils.util
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 674, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 571, in module_from_spec
  File "/usr/lib/python3.10/site-packages/_distutils_hack/__init__.py", line 92, in create_module
    return importlib.import_module('setuptools._distutils')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 16, in <module>
    import setuptools.version
  File "/usr/lib/python3.10/site-packages/setuptools/version.py", line 1, in <module>
    import pkg_resources
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3102, in <module>
    class RequirementParseError(packaging.requirements.InvalidRequirement):
AttributeError: module 'packaging' has no attribute 'requirements'
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'librewolf-100.0-2': 
error: packages failed to build: librewolf-100.0-2

Morninwood commented on 2022-05-10 12:20 (UTC)

Changing MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE from system to pip fixed "The "mach" site is not compatible with the installed system Python packages." error for me.

lsf commented on 2022-05-10 09:44 (UTC) (edited on 2022-05-10 09:55 (UTC) by lsf)

Hm. Seems like my assumption that the pip/py environment issues were finally addressed upstream were wrong Oo

I need to look into that.

A workaround might be to build in a clean chroot until I've found a solution.

/edit

gentoo adds an additional PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach env var to their ebuild – that might be worth a try until I've looked into this further and/or dug up some patches.