<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 18, 2020, 7:23 AM Udo van den Heuvel via devel <<a href="mailto:devel@ntpsec.org">devel@ntpsec.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I built another ntpsec from git using the usual spec file, without <br>
errors as far as I could see.<br>
Yet, when I run the command below, I get some 'wrong version' output.<br>
What is wrong here and how do I correct?<br>
<br>
# /usr/bin/ntpq -c kerninfo<br>
associd=0 status=c016 leap_alarm, sync_unspec, 1 event, restart,<br>
pll offset:            0<br>
pll frequency:         0<br>
maximum error:         2.04752<br>
estimated error:       1.6e-05<br>
kernel status:         pll mode=fll<br>
pll time constant:     4<br>
precision:             1e-06<br>
frequency tolerance:   500<br>
pps frequency:         0<br>
pps stability:         0<br>
pps jitter:            0.0<br>
calibration interval   4<br>
calibration cycles:    0<br>
jitter exceeded:       0<br>
stability exceeded:    0<br>
calibration errors:    0<br>
ntp.ntpc wrong version b'1.2.0 2019-08-02T00:00:00Z' !== 1.2.0 <br>
2019-08-02T00:00:00Z#<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Stop building from git head, revert 02f91d 'ntp.ntpc: Print warning if wrong libntpc version.', or apply 'ntp.ntpc: Fix libntpc version checking.'</div><div dir="auto"><br></div><div dir="auto">Get someone else with better people skills to answer.</div><div dir="auto"><br></div><div dir="auto">What's happening is that the string from libntpc is not getting passed through ntp.poly.polystr() and the types don't match.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>