4.23.3 seems to not work in chroot
A known working commit is 4148c3dc. The package 4.23.3-2 seems to be broken somehow and errors out, indicating no internet connection with a weird message:
(24/27) Configuring pacman-mirrors ...
Traceback (most recent call last):
File "/usr/bin/pacman-mirrors", line 5, in <module>
from pacman_mirrors.pacman_mirrors import start
File "/usr/lib/python3.11/site-packages/pacman_mirrors/pacman_mirrors.py", line 29, in <module>
import pacman_mirrors.functions.util
File "/usr/lib/python3.11/site-packages/pacman_mirrors/functions/util.py", line 27, in <module>
from pacman_mirrors.api import apifn
File "/usr/lib/python3.11/site-packages/pacman_mirrors/api/apifn.py", line 28, in <module>
from pacman_mirrors.constants import txt
File "/usr/lib/python3.11/site-packages/pacman_mirrors/constants/txt.py", line 22, in <module>
from pacman_mirrors.translation import i18n
File "/usr/lib/python3.11/site-packages/pacman_mirrors/translation/i18n.py", line 51, in <module>
language = gettext.translation(APP_NAME, LOCALE_DIR, LANGUAGES, fallback=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/gettext.py", line 515, in translation
mofiles = find(domain, localedir, languages, all=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/gettext.py", line 487, in find
for nelang in _expand_lang(lang):
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/gettext.py", line 218, in _expand_lang
loc = locale.normalize(loc)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/locale.py", line 413, in normalize
code = localename.lower()
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'lower'
hint: use `pacman-mirrors` to generate and update your pacman mirrorlist.
Before shipping 4.23.3, which feels more like a 4.24.0 to me we should check the following tools if it works:
-
makepkg Vitor -
chrootbuild -
buildiso -
buildpkg -
aui-mkiso