[SCM] Samba Shared Repository - branch master updated

Alexander Bokovoy ab at samba.org
Wed Sep 5 09:09:09 UTC 2018

On ke, 05 syys 2018, Amitay Isaacs wrote:
> > Thank you, Andrew, for the reviews and persistent push to complete this!
> >
> > We are using WAF 2.x now which should allow us to concentrate on
> > switching to Python 3 for the build process as well for all our
> > libraries and components.
> >
> > If you see any build issues related to the WAF, please report them.
> > Autobuild succeeded but we might still have pieces of Python code that
> > aren't excercised through the autobuild targets.
> Great job updating to the latest waf.
> Now fixing all the corner cases... ;-)

> On freebsd-11, waf does not want to use clang and complains that it
> cannot find a C compiler.
Thanks, I'll do a FreeBSD v11 VM later this week if nobody else gets it
fixed earlier. The python exception you see is due to this one:

    # at least gcc and clang support this:
        cmd = conf.env.CC + ['-print-search-dirs']
        out = Utils.cmd_output(cmd).split('\n')
    except ValueError:
        # option not supported by compiler - use a standard list of directories
        dirlist = [ '/usr/lib', '/usr/lib64' ]
        raise Errors.WafError('Unexpected error running "%s"' % (cmd))

we don't even have conf.env.CC set and get an exception while
defining 'cmd' value, thus it is not defined when the latter except:
statement runs.

I'll look at it.
/ Alexander Bokovoy

More information about the samba-cvs mailing list