Waf 1.8 (Was: Build pytalloc for two Python versions at once, port to py3)

Petr Viktorin pviktori at redhat.com
Thu Mar 19 03:11:41 MDT 2015


Changing the subject, since this is no longer about my patchset.

On 03/19/2015 08:54 AM, Michael Adam wrote:
> I meanwhile got hold of the patchset.
> Also got an updated version on top of current master.
>
> Here it is in a branch:
>
> https://git.samba.org/?p=obnox/samba/samba-obnox.git;a=shortlog;h=refs/heads/master-waf18
>
> But I can not configure with this (on Fedora 21):
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> $ ./configure.developer --prefix=/data/samba/install/master
> ...
> Using in-tree heimdal kerberos defines
> Checking for program 'krb5-config.heimdal'                                                      : not found
> Checking for program 'krb5-config'                                                              : /usr/bin/krb5-config
> Traceback (most recent call last):
>    File "/data/obnox/devel/samba/masterX/buildtools/waflib/Scripting.py", line 150, in waf_entry_point
>      run_commands()
>    File "/data/obnox/devel/samba/masterX/buildtools/waflib/Scripting.py", line 252, in run_commands
>      ctx = run_command(cmd_name)
>    File "/data/obnox/devel/samba/masterX/buildtools/waflib/Scripting.py", line 236, in run_command
>      ctx.execute()
>    File "/data/obnox/devel/samba/masterX/buildtools/waflib/Configure.py", line 171, in execute
>      super(ConfigurationContext, self).execute()
>    File "/data/obnox/devel/samba/masterX/buildtools/waflib/Context.py", line 225, in execute
>      self.recurse([os.path.dirname(g_module.root_path)])
>    File "/data/obnox/devel/samba/masterX/buildtools/waflib/Context.py", line 303, in recurse
>      user_function(self)
>    File "/data/obnox/devel/samba/masterX/wscript", line 150, in configure
>      conf.RECURSE('source4/heimdal_build')
>    File "/data/obnox/devel/samba/masterX/buildtools/waflib/Configure.py", line 345, in fun
>      return f(*k, **kw)
>    File "./buildtools/wafsamba/samba_utils.py", line 412, in RECURSE
>      return ctx.recurse(relpath)
>    File "/data/obnox/devel/samba/masterX/buildtools/waflib/Context.py", line 287, in recurse
>      exec(compile(function_code, node.abspath(), 'exec'), self.exec_dict)
>    File "/data/obnox/devel/samba/masterX/source4/heimdal_build/wscript_configure", line 177, in <module>
>      f = open(krb5_config, 'r')
> TypeError: coercing to Unicode: need string or buffer, list found
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Cheers - Michael
>
>
> On 2015-03-17 at 07:09 +0100, Michael Adam wrote:
>> On 2015-03-13 at 00:24 +0100, Thomas Nagy wrote:
>>>
>>> I have prepared a proof of concept that builds the branch "master"
>>> using Waf 1.8; I believe that about half of the work is done. The
>>> differences are very too large to be attached as raw patches, so I
>>> have added them as one archive instead:
>>> http://ftp.waf.io/pub/developer/tnagy/samba_patches.tgz.gpg
>>> (extract with:  gpg -d -o samba_patches.tgz samba_patches.tgz.gpg)
>>
>> I just tried to download the patchset but if fails:
>>
>> Connecting to ftp.waf.io (ftp.waf.io)|140.211.9.20|:80... failed: Connection refused.
>>
>> Michael
>
>


-- 
Petr Viktorin


More information about the samba-technical mailing list