net-fs/samba-4.15.7 [system-mitkrb5] fails to compile with app-crypt/mit-krb5-1.20 Reproducible: Always Steps to Reproduce: 1.emerge =net-fs/samba-4.15.7 2. 3. Actual Results: build fails.
Created attachment 799383 [details] build log
Created attachment 799385 [details] emerge --info
ABI_X86="64 32" , I wonder if you are building samba for x86 too? If so, perhaps that is a bug in there somewhere? Maybe in mit-krb-1.20?
(In reply to Joakim Tjernlund from comment #3) > ABI_X86="64 32" , I wonder if you are building samba for x86 too? > If so, perhaps that is a bug in there somewhere? Maybe in mit-krb-1.20? I don't know. did you need some more info?
Created attachment 799987 [details] emerge --info app-crypt/mit-krb
Created attachment 799989 [details] build log for app-crypt/mit-krb
one more remark. this bug seems to disagree with comment 8 on closed bug 850082.
I too build mit-krb5 with ABI_X86="64 32" so I guess it is OK. Try building samba with ABI_X86="64" only?
Created attachment 802660 [details] build log for emerge net-fs/samba with ABI_X86="64" same error as before.
(In reply to Marco Clocchiatti from comment #9) > Created attachment 802660 [details] > build log for emerge net-fs/samba with ABI_X86="64" > > same error as before. Works for me, I use samba 4.15.10 though
I have also net-fs/samba-4.15.9-r1 with no problems. You can close this bug. thank you.
still an issue with net-fs/samba-4.16.5-r1
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16d822f449de1edd1a797b4b9f6af789811518d5 commit 16d822f449de1edd1a797b4b9f6af789811518d5 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-27 05:02:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-27 05:07:24 +0000 net-fs/samba: add 4.16.6 Bug: https://bugs.gentoo.org/864983 Bug: https://bugs.gentoo.org/878273 Signed-off-by: Sam James <sam@gentoo.org> net-fs/samba/Manifest | 1 + net-fs/samba/samba-4.16.6.ebuild | 368 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 369 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a2eb5a5f9eff7a82f1865b7d1b42db3a3be3623 commit 6a2eb5a5f9eff7a82f1865b7d1b42db3a3be3623 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-27 04:55:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-27 05:07:24 +0000 net-fs/samba: add 4.15.11 Bug: https://bugs.gentoo.org/864983 Bug: https://bugs.gentoo.org/878273 Signed-off-by: Sam James <sam@gentoo.org> net-fs/samba/Manifest | 1 + net-fs/samba/samba-4.15.11.ebuild | 333 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 334 insertions(+)
*** Bug 878455 has been marked as a duplicate of this bug. ***
app-crypt/mit-krb5-1.20 is now stabilized on multiple platforms including amd64. I can confirm the error with both net-fs/samba-4.15.9-r1 and net-fs/samba-4.16.6. It only happens with USE=addc (and its dependencies). Removing USE=addc or reverting to app-crypt/mit-krb5-1.19.2-r4 fixes the build. So should upgrading to samba 4.17, although I haven't tested it myself. DEPEND="addc? ( system-mitkrb5? ( !>=app-crypt/mit-krb5-1.20 ) )" or equivalent seems to be warranted for <net-fs/samba-4.17.0. In addition, upgrading to app-crypt/mit-krb5-1.20 doesn't force a rebuild of samba despite the incompatible ABI change in the database abstraction layer. This leads to a successful emerge followed by samba crashing immediately after start if /etc/conf.d/samba contains daemon_list="samba4" with: [2022/11/04 13:24:17.833703, 0] ../../source4/samba/server.c:626(binary_smbd_main) samba version 4.15.9 started. Copyright Andrew Tridgell and the Samba Team 1992-2021 [2022/11/04 13:24:17.918647, 0] ../../source4/samba/server.c:907(binary_smbd_main) binary_smbd_main: samba: using 'prefork' process model [2022/11/04 13:24:17.959212, 0] ../../source4/samba/service_task.c:36(task_server_terminate) task_server_terminate: task_server_terminate: [KDC: Initialize kadm5] [2022/11/04 13:24:17.979706, 0] ../../source4/samba/server.c:392(samba_terminate) samba_terminate: samba_terminate of samba 2437: KDC: Initialize kadm5 This will also need to be addressed once an ebuild of samba 4.17+ hits the repository.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dbd7cff1334ebb85af0a5caea1bd58fee01ae89 commit 0dbd7cff1334ebb85af0a5caea1bd58fee01ae89 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2022-11-16 01:40:37 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2022-11-16 02:39:01 +0000 net-fs/samba: add 4.16.7 Add addc? ( !system-mitkrb5 ) to REQUIRED_USE. Bug: https://bugs.gentoo.org/880437 Closes: https://bugs.gentoo.org/864983 Signed-off-by: John Helmert III <ajak@gentoo.org> net-fs/samba/Manifest | 1 + net-fs/samba/samba-4.16.7.ebuild | 368 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 369 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d65168e4aaf4142844c19d1e4808e6c762456dbf commit d65168e4aaf4142844c19d1e4808e6c762456dbf Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2022-11-16 01:10:04 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2022-11-16 02:39:00 +0000 net-fs/samba: add 4.15.12 Add addc? ( !system-mitkrb5 ) to REQUIRED_USE. Bug: https://bugs.gentoo.org/864983 Bug: https://bugs.gentoo.org/880437 Signed-off-by: John Helmert III <ajak@gentoo.org> net-fs/samba/Manifest | 1 + net-fs/samba/samba-4.15.12.ebuild | 333 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 334 insertions(+)