Summary: | net-fs/samba-3.5.3 fails to install. Missing .so file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Volker Hemmann <volkerarmin> |
Component: | Current packages | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ed, Hloupy.Honza, hzdbyte, m.debruijne, Martin.vGagern, v_2e |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch for the net-fs/samba-3.5.3.ebuild |
Description
Volker Hemmann
2010-05-21 21:38:42 UTC
Problem is with the install krbplugin part. The KRBPLUGIN variable is empty, but using it to install the plugin is attempted. The only place in the ebuild where KRBPLUGIN can be set to a non-empty string is use ads && use winbind && KRBPLUGIN="${KRBPLUGIN} bin/winbind_krb5_locator" inside an if use server ; then block, and the plugin is build only if [ -n "${KRBPLUGIN}" ] ; then but the install krbplugin part is if has_version app-crypt/mit-krb5 ; then elif has_version app-crypt/heimdal ; then Thus there is a plugin defined and build only if all of the server, ads, and winbind flags are set, but its installation is attepted whenever there exists a kerberos library in the system. Without further study I guess that the installation attempt is OK, and the KRBPLUGIN variable should be set properly, so I'm going to look if I can find its right value and fix the ebuild this way. Otherwise the simplest solution would be to enclose the krbplugin installation in an if [ -n "${KRBPLUGIN}" ] ; then block, just like its build. (In reply to comment #1) > Without further study I guess that the installation attempt is OK, and the > KRBPLUGIN variable should be set properly, so I'm going to look if I can find > its right value and fix the ebuild this way. Otherwise the simplest solution > would be to enclose the krbplugin installation in an > > if [ -n "${KRBPLUGIN}" ] ; then > > block, just like its build. Correction after a few searching in the makefile and on the Internet: The simplest solution is right. Created attachment 232437 [details, diff]
patch for the net-fs/samba-3.5.3.ebuild
This patch corrects the kerberos plugin installation problem, plus the installation of the examples where the ebuild forgot to change its working directory correctly. I've moreover left in place some of my einfo lines added to locate the problems.
that patch worked well, thank you! *** Bug 321281 has been marked as a duplicate of this bug. *** + 24 May 2010; Víctor Ostorga <vostorga@gentoo.org> samba-3.5.3.ebuild: + Fixing krbplugin install, and server examples location, bug #320953 , + patch thanks to Honza Macháček <Hloupy.Honza@centrum.cz> + Thanks for the patch and for the server's examples fix. *** Bug 321429 has been marked as a duplicate of this bug. *** |