[ntp:questions] NTP & PPS, part 2 ;)

Martin Burnicki martin.burnicki at meinberg.de
Fri Dec 12 09:04:48 UTC 2014

Rob wrote:
> Paul <tik-tok at bodosom.net> wrote:
>> On Thu, Dec 11, 2014 at 11:14 AM, Sander Smeenk <ssmeenk at freshdot.net>
>> wrote:
>>> But i'm quite sure driver 22 is compiled in the binary i'm running.
>> Almost certainly not.  Debian derived distos using upstream ntp don't have
>> PPS support.  However it's fairly trivial to compile and if you use the
>> reference package you'll get the latest release and it will install with
>> the distro version.  The only glitch is timepps.h since they choose not to
>> include it in the reference source release.  It's in the pps-tools
>> repository at GitHub.
> It is even sufficient to install pps-tools (which includes the timepps.h)
> and then fetch and recompile ntpd from the source package.
> There is only ONE mistake in the package: they forgot to include pps-tools
> als a build dependency.
> But apparently it can take years to fix a bug like that.

The package maintainers are to blame here, and the question is whether 
they *want* to fix it if they think the timepps.h should be included in 
the NTP source code.

This brings up the question what could happen if *both* the NTP package 
and the pps-tools (is this a package under Debian?) come with an 
instance of timepps.h, which may eventually be different versions.


More information about the questions mailing list