@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.
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.40 |
First Submitted: | 2007-12-09 10:12 (UTC) |
Last Updated: | 2024-11-04 00:48 (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.
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.
@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
@archmaniac Missing packages are in AUR. Packages that need to be installed from AUR are marked in the depends list above.
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.
@rev.cressy You may have had an interrupted download. Deleting the file should also have fixed the issue. You could also try setting the _lang
variable to build with only one language.
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
==> ERROR: Failure while downloading https://hg.mozilla.org/l10n-central/sq/archive/tip.zip
removed sq from languages in PKGBUILD makepkg --sign --log -s Icecat is now building properly
Thanks, Icecat needed to install rustup and remove the rust package. Built flawlessly! Great job :-)
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:
Notes:
_build_pgo_xvfb=false
. This will usexwayland-run
for profiling._build_pgo=false
.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.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.