Samba build error: module 'time' has no attribute 'clock'

Steve French smfrench at gmail.com
Wed Jan 26 17:47:35 UTC 2022


./configure --without-pam --without-ldap --without-winbind
--without-ads --without-ad-dc

It also fails with "--disable-python"


On Wed, Jan 26, 2022 at 11:40 AM Steve French <smfrench at gmail.com> wrote:
>
> Not having much luck building Jeremy's master-smb2 branch (https://git.samba.org/?p=jra/samba/.git;a=shortlog;h=refs/heads/master-smb2) on Ubuntu
>
> Anyone recognize this Samba build error and how to fix it?
>
> Waf: Entering directory `/home/smfrench/jra-samba-posix/bin/default'
> Selected embedded Heimdal build
> Traceback (most recent call last):
>   File "/home/smfrench/jra-samba-posix/third_party/waf/waflib/Scripting.py", line 158, in waf_entry_point
>     run_commands()
>   File "/home/smfrench/jra-samba-posix/third_party/waf/waflib/Scripting.py", line 251, in run_commands
>     ctx = run_command(cmd_name)
>   File "/home/smfrench/jra-samba-posix/third_party/waf/waflib/Scripting.py", line 235, in run_command
>     ctx.execute()
>   File "/home/smfrench/jra-samba-posix/third_party/waf/waflib/Scripting.py", line 573, in execute
>     return execute_method(self)
>   File "/home/smfrench/jra-samba-posix/third_party/waf/waflib/Build.py", line 231, in execute
>     self.execute_build()
>   File "/home/smfrench/jra-samba-posix/third_party/waf/waflib/Build.py", line 245, in execute_build
>     self.pre_build()
>   File "/home/smfrench/jra-samba-posix/third_party/waf/waflib/Build.py", line 542, in pre_build
>     m(self)
>   File "/home/smfrench/jra-samba-posix/./buildtools/wafsamba/samba_deps.py", line 1106, in check_project_rules
>     tstart = time.clock()
> AttributeError: module 'time' has no attribute 'clock'
> make: *** [Makefile:7: all] Error 2
>
> --
> Thanks,
>
> Steve



-- 
Thanks,

Steve



More information about the samba-technical mailing list