cannot build current HEAD with MIT kerberos

swen swen at linux.ibm.com
Wed Dec 5 13:00:27 UTC 2018


Hi Metze
On Wed, 2018-12-05 at 13:40 +0100, Stefan Metzmacher wrote:
> Hi Swen,
> 
> > > In wscript_configure_system_mitkrb5 we have this:
> > > 
> > > vendor = conf.cmd_and_log(conf.env.KRB5_CONFIG+['--vendor'])
> > > conf.env.KRB5_VENDOR = vendor.strip().lower()
> > > if conf.env.KRB5_VENDOR != 'heimdal':
> > > ...
> > > 
> > > I think if KRB5_VENDOR is heimdal, we should bail out.
> > > 
> > 
> > Metze, you are the man :-)
> > 
> > That was it.
> > 
> > I removed all refernces for heimdal from my system and it works
> > now.
> > 
> > Thanks alot for your support !
> 
> Great!
> 
> Can you please test if the attached fix would already detect this at
> the
> configure stage and still works if MIT is installed?
No, but if you include the famous Errors package :-)

diff --git a/wscript_configure_system_mitkrb5
b/wscript_configure_system_mitkrb5
index 392684cbc39..b05ac3f3e50 100644
--- a/wscript_configure_system_mitkrb5
+++ b/wscript_configure_system_mitkrb5
@@ -1,5 +1,5 @@
 import sys
-from waflib import Logs, Options
+from waflib import Logs, Options, Errors

it will work as expected.

Cheers Swen




More information about the samba-technical mailing list