Package Details: icecat 115.18.0-1

Git Clone URL: https://aur.archlinux.org/icecat.git (read-only, click to copy)
Package Base: icecat
Description: GNU version of the Firefox ESR browser
Upstream URL: https://git.savannah.gnu.org/cgit/gnuzilla.git
Keywords: browser esr gnuzilla web
Licenses: MPL-2.0
Submitter: None
Maintainer: figue (xiota)
Last Packager: xiota
Votes: 250
Popularity: 0.61
First Submitted: 2007-12-09 10:12 (UTC)
Last Updated: 2024-11-30 19:41 (UTC)

Dependencies (51)

Sources (10)

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:

  • Downloads Firefox ESR and localization using the source array. Files are saved for reuse.
  • Saves freshly patched IceCat sources in a tarball for reuse.
  • Saves the PGO profile for reuse.

Notes:

  • Currently requires clang/llvm 17, which has to be built from AUR.
  • Wayland users, consider setting _build_pgo_xvfb=false. This will use xwayland-run for profiling.
  • PGO should work now, but if it doesn't and you're willing to go without, try _build_pgo=false.
  • Running out of RAM? Try adding 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.
    • If a few people can confirm this is helpful, I will consider adding it as an additional option.
    • Main resource hog seems to be linking 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.

Latest Comments

1 2 3 4 5 6 .. 86 Next › Last »

xiota commented on 2025-01-14 07:49 (UTC) (edited on 2025-01-20 05:15 (UTC) by xiota)

Will take a while to figure out how to get this to build after recent Python update.

Update: Mach seems to ignore aur/python312, and clang/llvm 17 can't be built because 2to3 is missing.

kreijstal commented on 2025-01-13 07:27 (UTC)

    )
  File "/home/kreijstal/.cache/yay/icecat/src/icecat-115.18.0/tools/esmify/mach_commands.py", line 18, in path_sep_to_native
    return pathlib.os.sep.join(path_str.split("/"))
           ^^^^^^^^^^
AttributeError: module 'pathlib' has no attribute 'os'
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
 -> Fehler beim Erstellen: icecat-exit status 4
 -> Die folgenden Pakete konnten nicht installiert werden. Ein manueller Eingriff ist erforderlich:
icecat - exit status 4

python 3.13:

kreijstal@kreijstalnuc:~/git$ python
Python 3.13.1 (main, Dec  4 2024, 18:05:56) [GCC 14.2.1 20240910] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pathlib
>>> pathlib.os
Traceback (most recent call last):
  File "<python-input-1>", line 1, in <module>
    pathlib.os
AttributeError: module 'pathlib' has no attribute 'os'
>>>         

kreijstal commented on 2024-11-30 08:55 (UTC)

==> Beginne prepare()...
~/.cache/yay/icecat/src/gnuzilla-a0b1a124e8e063a35389e1f20653047f37ca069b ~/.cache/yay/icecat/src
Preparing Firefox ESR...
Preparing translations...
Patching sources...

ERROR: This script requires Python 3 jsonschema:
 e.g.: 'jsonschema' from the Guix 'python-jsonschema' package
       'jsonschema' from the Parabola 'python-jsonschema' package
       'jsonschema' from the Trisquel 'python3-jsonschema' package
==> FEHLER: Ein Fehler geschah in prepare().

but python-jsonschema-4.23.0-1 is already installed?

xiota commented on 2024-08-09 04:52 (UTC)

@Ningen llvm 17 is needed because rust 1.77 does not support llvm 18. Will be able to switch back to extra/llvm when icecat switches to ESR 128.x.

@rev.cressy Please put full log in pastebin, or try building in clean chroot.

rev.cressy commented on 2024-08-08 23:17 (UTC)

tail icecat-115.14.0-1-x86_64-package.log 
    self.load_settings(setting_paths_to_pass)
  File "/home/leroy/src/icecat/src/icecat-115.14.0/python/mach/mach/main.py", line 644, in load_settings
    self.settings.load_files(list(files))
  File "/home/leroy/src/icecat/src/icecat-115.14.0/python/mach/mach/config.py", line 304, in load_files
    self.load_fps(fps)
  File "/home/leroy/src/icecat/src/icecat-115.14.0/python/mach/mach/config.py", line 312, in load_fps
    self._config.readfp(fp)
    ^^^^^^^^^^^^^^^^^^^
==> ERROR: A failure occurred in package().
    Aborting...

This is a new kind of error that I have never seen before.

Ningen commented on 2024-08-08 23:04 (UTC)

@xiota Apparently the issue is that llvm needs to be compiled with the cmake argument -DLLVM_TARGETS_TO_BUILD:STRING="X86;WebAssembly" in order for it to build using the normal repo as seen here https://bugzilla.mozilla.org/show_bug.cgi?id=1892724

Hopefully aur package dependency will not be needed in the future

xiota commented on 2024-08-08 09:37 (UTC)

@archmaniac Missing packages are in AUR. Packages that need to be installed from AUR are marked in the depends list above.

archmaniac commented on 2024-08-08 08:34 (UTC) (edited on 2024-08-08 08:38 (UTC) by archmaniac)

makechrootpkg -c -n -r /mnt/chroot
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: clang17
error: target not found: lld17
error: target not found: llvm17
error: target not found: wasi-compiler-rt17
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> clang17
  -> lld17
  -> llvm17
  -> wasi-compiler-rt17
  -> cbindgen
  -> dump_syms
  -> imake
  -> inetutils
  -> mercurial
  -> nasm
  -> nodejs
  -> python-setuptools
  -> rustup
  -> unzip
  -> wasi-libc
  -> wasi-libc++
  -> wasi-libc++abi
  -> yasm
  -> zip
  -> git
  -> python-jsonschema
  -> python-psutil
  -> python-setuptools
  -> wget
  -> xorg-server-xvfb
==> ERROR: Could not resolve all dependencies.
==> ERROR: Build failed, check /mnt/chroot/dave/build

Since version 115.13 it doesn't compile anymore.