=sys-cluster/crmsh-4.2.1-r2 python_targets_python3_9 ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules --docdir=/usr/share/doc/crmsh-4.2.1-r2 --htmldir=/usr/share/doc/crmsh-4.2.1-r2/html --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether make supports nested variables... (cached) yes checking for a Python interpreter with version >= 3... python checking for python... /usr/bin/python checking for python version... 3.10 checking for python platform... linux checking for GNU default python prefix... ${prefix} checking for GNU default python exec_prefix... ${exec_prefix} checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.10/site-packages checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.10/site-packages it only installs for python 3.10 when running "crm": Fatal error: No module named 'parallax' Reproducible: Always
got it working with EPYTHON=python3.9 emerge -av crmsh another approach is using crmsh 4.4.0 and parallax with python 3.10 support
Created attachment 798983 [details] crmsh 4.4.0 ebuild
Created attachment 798985 [details] parallax 1.0.6 ebuild with python 3.10 target
Oh dear.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef3d28b9ec4691891312c63b9e411d024b1c00ac commit ef3d28b9ec4691891312c63b9e411d024b1c00ac Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-10 03:29:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-10 03:30:54 +0000 sys-cluster/crmsh: switch to python-single-r1 It doesn't support multiple Python implementations right now but it wasn't using python-r1 correctly anyway (missing python_setup) and was ignoring the selected target, just going off /usr/bin/python3. Closes: https://bugs.gentoo.org/864430 Closes: https://bugs.gentoo.org/863749 Closes: https://bugs.gentoo.org/728152 Signed-off-by: Sam James <sam@gentoo.org> sys-cluster/crmsh/crmsh-4.2.1-r3.ebuild | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+)