Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864430 - sys-cluster/crmsh-4.2.1-r2 python_targets_python3_9 ignored
Summary: sys-cluster/crmsh-4.2.1-r2 python_targets_python3_9 ignored
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 803152
  Show dependency tree
 
Reported: 2022-08-08 16:12 UTC by Christian R
Modified: 2022-08-10 03:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
crmsh 4.4.0 ebuild (crmsh-4.4.0.ebuild,1.03 KB, text/plain)
2022-08-09 11:02 UTC, Christian R
Details
parallax 1.0.6 ebuild with python 3.10 target (parallax-1.0.6.ebuild,433 bytes, text/plain)
2022-08-09 11:02 UTC, Christian R
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian R 2022-08-08 16:12:23 UTC
=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
Comment 1 Christian R 2022-08-09 11:01:38 UTC
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
Comment 2 Christian R 2022-08-09 11:02:19 UTC
Created attachment 798983 [details]
crmsh 4.4.0 ebuild
Comment 3 Christian R 2022-08-09 11:02:59 UTC
Created attachment 798985 [details]
parallax 1.0.6 ebuild with python 3.10 target
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-10 03:21:05 UTC
Oh dear.
Comment 5 Larry the Git Cow gentoo-dev 2022-08-10 03:31:14 UTC
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(+)