./waf bin_test results in a Python error
Hello, I am new to ntpsec. I just downloaded the code and followed the build instructions.
./waf configure
and ./waf build
run fine.
./waf --alltests
also works fine.
./waf bin_test
results in the following error:
[ntpsec 10:00]$ ./waf bin_test
Traceback (most recent call last):
File "/home/stan/open_source/ntpsec/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Scripting.py", line 119, in waf_entry_point
run_commands()
File "/home/stan/open_source/ntpsec/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Scripting.py", line 182, in run_commands
ctx=run_command(cmd_name)
^^^^^^^^^^^^^^^^^^^^^
File "/home/stan/open_source/ntpsec/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Scripting.py", line 173, in run_command
ctx.execute()
File "/home/stan/open_source/ntpsec/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Context.py", line 92, in execute
self.recurse([os.path.dirname(g_module.root_path)])
File "/home/stan/open_source/ntpsec/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Context.py", line 133, in recurse
user_function(self)
File "/home/stan/open_source/ntpsec/wscript", line 946, in bin_test
cmd_bin_test(ctx)
File "/home/stan/open_source/ntpsec/wafhelpers/bin_test.py", line 88, in cmd_bin_test
cmd = ctx.env['PYTHON'] + ['-c',
^^^^^^^
AttributeError: 'Context' object has no attribute 'env'
I got the code from github and I'm synched to:
commit f93137759ee5fc9925cf0ec51fba4b0773a69e34 (HEAD -> master, origin/master, origin/HEAD)
Author: Vagrant <vagrant@localhost>
Date: Tue Jul 4 08:02:56 2023 -0700
ntpq: Address #792 by adding empty line between command outputs.
Edited by Stan Manilov