Hi all!
For the time being, ARMtix update is still delayed until i finish python 3.11 rebuild. However, i've encountered a major problem while building python-sphinx_rtd_theme package: for some weird reason it tries to use node-gyp 3.8.0 (specified in lock file) instead of system-wide node-gyp package, and fails because this version is hard dependent on python2. Full error log is here: https://paste.artixlinux.org/62ed802d
How can i fix this problem? I tried to run
npm install /usr/lib/node_modules/node-gyp
but it didn't help
I tried to build this using the arch PKGBUILD in manjaro-arm; of course it has mucked up my relatively small node modules by using the awful 'I need a different node and a huge number of the modules I need to build' etc etc.
Any how I get the same error as you; the gyp is looking for python2 and is failing when it uses python instead.
It seems that manjaro have a prebuilt pkg here
http://manjaro.mirrors.uk2.net/arm-stable/community/aarch64/python-sphinx_rtd_theme-1.2.0-2-any.pkg.tar.xz
but it's unclear to me if that would help you.
$ packer -S python-sphinx_rtd_theme
resolving dependencies...
looking for conflicting packages...
Packages (16) python-babel-2.11.0-1 python-docutils-1:0.19-3
python-imagesize-1.4.1-2 python-jinja-1:3.1.2-2
python-pytz-2022.7.1-1 python-snowballstemmer-2.2.0-3
python-sphinx-6.1.3-1 python-sphinx-alabaster-theme-0.7.13-1
python-sphinxcontrib-applehelp-1.0.4-1
python-sphinxcontrib-devhelp-1.0.2-9
python-sphinxcontrib-htmlhelp-2.0.1-1
python-sphinxcontrib-jquery-4.1-1
python-sphinxcontrib-jsmath-1.0.1-12
python-sphinxcontrib-qthelp-1.0.3-9
python-sphinxcontrib-serializinghtml-1.1.5-4
python-sphinx_rtd_theme-1.2.0-2
I wish there were a way to do a completely isolated makepkg.
There is mkchrootpkg command in artools-pkg, it runs makepkg in clean chroot, which must be prepared via mkchroot
thanks for that it makes a lot of sense. However, artools-pkg has it's own dependencies ie ruby and friends. Perhaps I should try out a virtual machine :-\
So arch/artix/armtix don't seem to have a python2 any more, but AUR has it. Perhaps that can be used during the build somehow.
Adding python2 makedep didn't actually help, another error appeared.
I think, i'll try to add package from Artix instead of rebuild this time
Well at least the pkg is supposed to be any arch.