Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920516

Summary: net-fs/samba-4.19.3 add python 3.12 target
Product: Gentoo Linux Reporter: Anton Bolshakov <anton.bugs>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED FIXED    
Severity: normal CC: bkohler, solor
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Anton Bolshakov 2023-12-22 03:18:17 UTC
According to wiki:

https://wiki.samba.org/index.php/Samba_4.19_Features_added/changed
Changes since 4.19.2
fixed: BUG 15513: Samba doesn't build with Python 3.12.
https://bugzilla.samba.org/show_bug.cgi?id=15513

Thank you.
Comment 1 Alfred Wingate 2023-12-22 08:52:36 UTC
Reverse dependencies missing python3_12 targets such as:
sys-libs/ldb
sys-libs/talloc
sys-libs/tdb
sys-libs/tevent

All are a part of Samba.
Comment 2 Klemen Mihevc 2024-05-04 08:24:50 UTC
This should be fixed upstream, so only thing needed is to be enabled across samba and dependencies... Considering Python 3.12 will soon, this should be fixed
Comment 3 Ben Kohler gentoo-dev 2024-05-05 00:18:57 UTC
I will get to this next week, please stay tuned.  Don't worry, we won't allow gentoo to move to 3.12 default without samba having support!
Comment 4 Larry the Git Cow gentoo-dev 2024-05-06 21:15:22 UTC
The bug has been referenced in the following commit(s):

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

commit 46c257b50252054846b8b10f469da3c81db8731a
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2024-05-06 17:30:16 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2024-05-06 21:15:15 +0000

    net-fs/samba: enable py3.12
    
    Bug: https://bugs.gentoo.org/920516
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 net-fs/samba/samba-4.18.11.ebuild | 2 +-
 net-fs/samba/samba-4.19.6.ebuild  | 2 +-
 net-fs/samba/samba-4.20.0.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

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

commit 2f20970e8a7c1e77dfcf664aedce1d2d906a16d0
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2024-05-06 17:28:54 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2024-05-06 21:15:14 +0000

    sys-libs/ldb: enable py3.12
    
    Bug: https://bugs.gentoo.org/920516
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 sys-libs/ldb/ldb-2.7.2.ebuild | 2 +-
 sys-libs/ldb/ldb-2.8.0.ebuild | 2 +-
 sys-libs/ldb/ldb-2.9.0.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

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

commit fe0766cc2f6a30809d71f932ec27c2d3f6c52e84
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2024-05-06 17:27:43 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2024-05-06 21:15:14 +0000

    sys-libs/tevent: enable py3.12
    
    Bug: https://bugs.gentoo.org/920516
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 sys-libs/tevent/tevent-0.14.1.ebuild | 4 ++--
 sys-libs/tevent/tevent-0.15.0.ebuild | 4 ++--
 sys-libs/tevent/tevent-0.16.1.ebuild | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
Comment 5 Ben Kohler gentoo-dev 2024-05-06 21:17:33 UTC
Testing these samba versions for python is not trivial so I've just done the latest (currently unstable) in every series.  We can request stabilization for some of them very soon.
Comment 6 Klemen Mihevc 2024-05-07 17:02:45 UTC
Seems to work with 4.20.0
Comment 7 Ben Kohler gentoo-dev 2024-05-07 17:50:25 UTC
I went ahead and tested on current stable so we wouldn't have to wait for stable (or rush stable) for global python3_12 to be ready