Summary: | net/samba419: conflicts with talloc-2.3.4_1 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Denis Shaposhnikov <dsh> | ||||||
Component: | Individual Port(s) | Assignee: | Mikael Urankar <mikael> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | 0mp, andrej, dsh, dweimer, kib, nikita, peter, shellingfield, zirias | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(mikael) |
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Bug Depends on: | 280557 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Denis Shaposhnikov
2024-02-11 17:12:10 UTC
Created attachment 248369 [details]
fix conflict with talloc
This patch moves talloc.3 into samba-talloc.3 and fixes conflict with ports talloc.
I get that this is a known conflict and even documented. Is this patch to fix it being worked on? I saw the announcement and was looking forward to getting my Samba AD Domain upgraded to 2016 function level supported on 4.19. But I also use FreeRadius3 to provide radius authentication, which of course requires talloc. Can't imagine I am only one using Samba for AD with FreeRadius. (In reply to Dean E. Weimer from comment #2) It conflicts with one file only, talloc.3. This patch renames samba's talloc.3 to samba-talloc.3 and resolves that conflict. (In reply to Denis Shaposhnikov from comment #3) Yes, I just was checking to see if this patch was planning to be applied to the port and not if the change was to just flag the port as conflicting. (In reply to Denis Shaposhnikov from comment #1) Hi! I was applied you patch, but now, when I try to install devel/talloc, I have: pkg-static: talloc-2.3.4_1 conflicts with samba419-4.19.4_1 (installs files into the same place). Problematic file: /usr/local/lib/python3.9/site-packages/talloc.cpython-39.so (In reply to Nikita Druba from comment #5) I'm building net/samba419 with OPTIONS_UNSET= PYTHON3 so I don't have this conflict. (In reply to Denis Shaposhnikov from comment #6) But AD_DC implies PYTHON3... I'm working to separate radius and DC to different jails, but right now its a problem. (In reply to Nikita Druba from comment #7) FWIW you can build devel/talloc without PYTHON (In reply to Mikael Urankar from comment #8) Seems like a solution. Thanx, I didn't pay attention this talloc build option. (In reply to Nikita Druba from comment #9) I tried unsettling python option on talloc, poudriere still fails install of talloc reporting conflict. (In reply to Dean E. Weimer from comment #10) Patch applied? For me with manually patching, build and reinstall all installed fine. Created attachment 248648 [details]
fix conflict with talloc (updated for samba 4.19.5)
Any chance this can be commited? Also, with this patch talloc can be removed from Samba4 conflicts... A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=06b59a3047f5d79b229135a0c9a64fe359ae13b0 commit 06b59a3047f5d79b229135a0c9a64fe359ae13b0 Author: Denis Shaposhnikov <dsh@bamus.cz> AuthorDate: 2024-02-28 14:28:06 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2024-02-28 14:30:15 +0000 net/samba419: fix conflict with talloc PR: 276988 net/samba419/Makefile | 10 ++++++++-- net/samba419/pkg-plist | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) Sorry for the delay. Thanks! There's still a conflict with python enabled (which is required for AD_DC): --- ===> Installing existing package /packages/All/talloc-2.3.4_1.pkg [builder.home.palmen-it.de] Installing talloc-2.3.4_1... pkg-static: talloc-2.3.4_1 conflicts with samba419-4.19.6 (installs files into the same place). Problematic file: /usr/local/lib/python3.9/site-packages/talloc.cpython-39.so --- Disabling PYTHON on devel/talloc works around this. Would it break things to never install python bindings for the bundled talloc? This might get resoled once we transition to building unbundled Samba by default. |