Package Details: icecat 115.11.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: 251
Popularity: 0.63
First Submitted: 2007-12-09 10:12 (UTC)
Last Updated: 2024-05-16 04:30 (UTC)

Dependencies (51)

Sources (6)

Pinned Comments

xiota commented on 2024-02-26 07:32 (UTC) (edited on 2024-05-15 05:23 (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:

  • 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

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

TeaSynonymous commented on 2024-02-27 08:50 (UTC)

May I ask what "software.classictetris.net" is?

It seems to be used in the PKGBUILD along with another site "icecatbrowser.org," but neither of these are listed under Sources. A quick search of the GNU foundation's page for Icecat/GNUzilla does not show any connection to either of these sites either: https://www.gnu.org/software/gnuzilla/

xiota commented on 2024-02-26 07:32 (UTC) (edited on 2024-05-15 05:23 (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:

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

Ningen commented on 2024-02-23 18:41 (UTC)

@figue The current 115.8.0esr candidate is the same as the 115.8.0esr release version, but in future why should it matter? if the future candidate builds go through successive versions it's just like updating for any other minor commit fix on the upstream

figue commented on 2024-02-23 12:45 (UTC)

@agapito indeed, thanks. Perhaps we can add a new variable to disable LTO only... But in my case I'm not sure why I'm not capable to build IceCat with LTO (cross) and without PGO, perhaps 16 GB is not enough.

@xiota it seems IceCat code was added to enable candidate builds. I'm not sure if we have to update AUR to a candidate release.

What do you think?

xiota commented on 2024-02-20 02:36 (UTC)

Memory needed to build IceCat depends on number of cores and baseline memory usage. An absolute value, like 16GB or even 64GB, may be sufficient on some systems, but not others. zswap, zram, and tmpfs may reduce the amount of memory available for use during compilation.

@figue Firefox ESR 115.8.0 download link seems to be active now, but I don't see any official release announcement. Download links on the website still redirect to 115.7.0.

Several sed commands in prepare() are no longer needed or relevant.

  • _SPEED/_LOCALE settings fail.
  • brand.dtd is no longer referenced in makeicecat.
  • $(libdir)/$(MOZ_APP_NAME) is the default install path.

agapito commented on 2024-02-20 00:24 (UTC) (edited on 2024-02-20 00:26 (UTC) by agapito)

PGO is not the problem, LTO is.

Building FF/Icecat with "ac_add_options --enable-lto=cross,full" needs 64G of RAM or 32G + a really big swap partition.

"ac_add_options --enable-lto=cross" needs less memory.

I guess, avoiding LTO is the solution here for people with 16G of memory or less.

figue commented on 2024-02-19 14:02 (UTC)

For those who have resource issues (code dumps, OOM kill, etc) try this PKGUILD and build IceCat this way:

https://gist.github.com/figue/1bb711434e92fc3d146e49679e77453a

env _build_pgo=false _build_pgo_reuse=false makepkg -sicC

figue commented on 2024-02-18 22:10 (UTC) (edited on 2024-02-18 22:10 (UTC) by figue)

@Rnek0 "Started Process Core Dump" means your computer can't build IceCat with PGO enabled (probably because insufficient memory). I'm testing a new approach with this package.

Rnek0 commented on 2024-02-17 22:33 (UTC)

Test with 115.7.0-2

Crash on compilation:

https://paste.sr.ht/~rnek0/155182515eb7b0be4e7286419c881c985595b1b2

Thanks for your work, it's great.