Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857702 - sys-cluster/ceph-16.2.9 is is not python3.10 compatible
Summary: sys-cluster/ceph-16.2.9 is is not python3.10 compatible
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: py310, python3.10-compat
  Show dependency tree
 
Reported: 2022-07-11 20:01 UTC by ev
Modified: 2022-07-13 00:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ev 2022-07-11 20:01:58 UTC
Running ceph-16.2.9 on systems with python3.10 causes problems with mgr plugins. 

# ceph health detail
HEALTH_ERR Module 'devicehealth' has failed: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
[ERR] MGR_MODULE_ERROR: Module 'devicehealth' has failed: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
    Module 'devicehealth' has failed: PY_SSIZE_T_CLEAN macro must be defined for '#' formats


Similar issues on ubuntu bug tracker. 
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1964322
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1964322/comments/7

https://bugs.python.org/issue40943
this python 3.10 change caused the issue.
Comment 1 Larry the Git Cow gentoo-dev 2022-07-13 00:20:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5fe2e412eed3c9648d55f1e7d16d4f127bf02c

commit 0c5fe2e412eed3c9648d55f1e7d16d4f127bf02c
Author:     Patrick McLean <chutzpah@gentoo.org>
AuthorDate: 2022-07-13 00:19:59 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2022-07-13 00:19:59 +0000

    sys-cluster/ceph: Patch to fix py310 (bug #857702)
    
    Also update libfmt dep
    
    Closes: https://bugs.gentoo.org/857702
    
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 sys-cluster/ceph/Manifest                          |   2 +
 sys-cluster/ceph/ceph-17.2.1-r1.ebuild             | 459 +++++++++++++++++++++
 sys-cluster/ceph/files/ceph-17.2.1-python310.patch |  35 ++
 3 files changed, 496 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4be3d5347668f59ece000c45cbb019f793c716f

commit a4be3d5347668f59ece000c45cbb019f793c716f
Author:     Patrick McLean <chutzpah@gentoo.org>
AuthorDate: 2022-07-12 22:47:18 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2022-07-13 00:19:48 +0000

    sys-cluster/ceph: Revbump to 16.2.9-r1 fix #857702
    
    Also change libfmt dep to be <9.0
    
    Bug: https://bugs.gentoo.org/857702
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 sys-cluster/ceph/Manifest                                    |  2 --
 .../ceph/{ceph-16.2.9.ebuild => ceph-16.2.9-r1.ebuild}       |  3 ++-
 sys-cluster/ceph/files/ceph-16.2.9-python310.patch           | 12 ++++++++++++
 3 files changed, 14 insertions(+), 3 deletions(-)