wafsamba needs to use native waf timers to work with python 3.8. Traceback (most recent call last): File "/builddir/build/BUILD/talloc-2.1.16/third_party/waf/waflib/Scripting.py", line 158, in waf_entry_point run_commands() File "/builddir/build/BUILD/talloc-2.1.16/third_party/waf/waflib/Scripting.py", line 251, in run_commands ctx = run_command(cmd_name) File "/builddir/build/BUILD/talloc-2.1.16/third_party/waf/waflib/Scripting.py", line 235, in run_command ctx.execute() File "/builddir/build/BUILD/talloc-2.1.16/third_party/waf/waflib/Scripting.py", line 573, in execute return execute_method(self) File "/builddir/build/BUILD/talloc-2.1.16/third_party/waf/waflib/Build.py", line 231, in execute self.execute_build() File "/builddir/build/BUILD/talloc-2.1.16/third_party/waf/waflib/Build.py", line 245, in execute_build self.pre_build() File "/builddir/build/BUILD/talloc-2.1.16/third_party/waf/waflib/Build.py", line 542, in pre_build m(self) File "./buildtools/wafsamba/samba_deps.py", line 1106, in check_project_rules tstart = time.clock() AttributeError: module 'time' has no attribute 'clock' make: *** [Makefile:8: all] Error 2
Created attachment 15258 [details] patch for 4.10
Karolin, please add this to 4.10. Thanks.
(In reply to Andreas Schneider from comment #2) Pushed to autobuild-v4-10-test.
(In reply to Karolin Seeger from comment #3) Pushed to v4-10-test. Closing out bug report. Thanks!
Fixed in Samba 4.11 and above with dc27ff44de578b0b429a24b0e42e243d8bf481a8 Samba 4.10 commit is 48c47f5dbbb2722a718103267d4a0a40b4eaa6a0 See https://bugs.python.org/issue36895 and https://docs.python.org/3.7/library/time.html#time.clock