| Summary: | =net-fs/samba-4.9.3[addc, system-mitkrb5] - src_configure(): The MIT Kerberos build of Samba as an AD DC is experimental. Therefore --with-system-mitkrb5 requires either --with-experimental-mit-ad-dc or --without-ad-dcThe MIT Kerberos build of Samba as... | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Oleh <moonlapse81> |
| Component: | Current packages | Assignee: | Gentoo's SAMBA Team <samba> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Oleh
2018-12-01 06:30:16 UTC
I have the same problem... still no solution? I found solution..
Note, EXTRA_ECONF doesn't work in this case
So you have to edit ebuild file
# vi /usr/portage/net-fs/samba/samba-4.9.4-r1.ebuild
then add string "--with-experimental-mit-ad-dc" in local_myconf section
It looks like:
...
local myconf=(
--enable-fhs
--sysconfdir="${EPREFIX}/etc"
--localstatedir="${EPREFIX}/var"
--with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba"
--with-piddir="${EPREFIX}/run/${PN}"
--bundled-libraries="${bundled_libs}"
--builtin-libraries=NONE
--disable-rpath
--disable-rpath-install
--nopyc
--nopyo
--with-experimental-mit-ad-dc
...
Then we have to make manifest:
# cd /usr/portage/net-fs/samba/
# ebuild samba-4.9.4-r1.ebuild manifest
Then we can compile and install samba witout any error :)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16489c03f3f13228dddda3e442a3b5b6d6da892e commit 16489c03f3f13228dddda3e442a3b5b6d6da892e Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-01-28 10:10:21 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-01-28 10:10:21 +0000 net-fs/samba: Fixed build with USE="addc system-mitkrb5" Closes: https://bugs.gentoo.org/672314 Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> net-fs/samba/samba-4.9.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |