waf failure on Python 3.x
localhost ntpsec # ./waf clean
Waf: The wscript in '/usr/local/src/NTP/ntpsec' is unreadable
Traceback (most recent call last):
File "/usr/local/src/NTP/ntpsec/.waf3-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Scripting.py", line 104, in waf_entry_point
set_main_module(os.path.normpath(os.path.join(Context.run_dir,Context.WSCRIPT_FILE)))
File "/usr/local/src/NTP/ntpsec/.waf3-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Scripting.py", line 129, in set_main_module
Context.g_module=Context.load_module(file_path)
File "/usr/local/src/NTP/ntpsec/.waf3-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Context.py", line 354, in load_module
try:exec(compile(code,path,'exec'),module.__dict__)
File "/usr/local/src/NTP/ntpsec/wscript", line 11, in <module>
from pylib.configure import cmd_configure
File "/usr/local/src/NTP/ntpsec/pylib/configure.py", line 154
print "ID Description"
^
SyntaxError: Missing parentheses in call to 'print'
./waf configure --refclock=all && ./waf build &&./waf install
Waf: The wscript in '/usr/local/src/NTP/ntpsec' is unreadable
Traceback (most recent call last):
File "/usr/local/src/NTP/ntpsec/.waf3-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Scripting.py", line 104, in waf_entry_point
set_main_module(os.path.normpath(os.path.join(Context.run_dir,Context.WSCRIPT_FILE)))
File "/usr/local/src/NTP/ntpsec/.waf3-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Scripting.py", line 129, in set_main_module
Context.g_module=Context.load_module(file_path)
File "/usr/local/src/NTP/ntpsec/.waf3-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Context.py", line 354, in load_module
try:exec(compile(code,path,'exec'),module.__dict__)
File "/usr/local/src/NTP/ntpsec/wscript", line 11, in <module>
from pylib.configure import cmd_configure
File "/usr/local/src/NTP/ntpsec/pylib/configure.py", line 154
print "ID Description"
^
SyntaxError: Missing parentheses in call to 'print'
Current Python is 3.4 and works well otherwise. Gentoo uses a lot of Python so I know the Python is good.