--- source4/heimdal_build/wscript_configure.orig 2019-01-15 10:07:00 UTC +++ source4/heimdal_build/wscript_configure @@ -171,7 +171,7 @@ if not krb5_config: krb5_config = conf.find_program("krb5-config", var="HEIMDAL_KRB5_CONFIG") if krb5_config: # Not ideal, but seems like the best way to get at these paths: - f = open(krb5_config[0], 'r') + f = open(krb5_config[0], 'r', errors='ignore') try: for l in f: if l.startswith("libdir="): @@ -181,6 +181,8 @@ if krb5_config: heimdal_includedirs.append(include_path) conf.define('HEIMDAL_KRB5_TYPES_PATH', include_path + "/krb5-types.h") + except: + pass finally: f.close()