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.
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) |
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.
)
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'
>>>
==> 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?
@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.
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.