tests/option-tester is broken

James Browning jamesb192 at jamesb192.com
Tue Dec 20 08:59:46 UTC 2022

> On 12/20/2022 12:24 AM PST Hal Murray <halmurray at sonic.net> wrote:
> > Bumping waf (2.0.23 tested) resolves this, and it only happens for the
> > extension because, for some raisin, waf is outputting to the wrong file name
> > of ntpc rather than ntpc.cpython-311-x86_64-linux-gnu.so , go figure.
> > The default of the FFI library + ctypes is unaffected.
> Interesting. Thanks.
> waf 2.0.23 doesn't fix it for me. Maybe I didn't do it right.
> Do I just download it and raname it to waf? Or do I have to do some magic to install it?
> One of the options being tested by test-all is --enable-pylib=ext
> What does that do?
> test-classic does --enable-pylib=ffi
> That seems to work.

`curl -o waf https://waf.io/waf-2.0.24` The link on the page 
said 2.0.23 .

There are two methods atm to provide ntp.ntpc the first is a
Python extension that goes in the same directory as the rest
of the NTP module, and the newer is a C library that can be
used by using and Foreign Function Interface wrapper (on
Python that's ctypes). The latter is the default, and the same
pure Python module can be used for multiple Python versions.

More information about the devel mailing list