Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599014 - net-misc/chrony[pps] should DEPEND on net-misc/pps-tools: refclock driver PPS is not compiled in
Summary: net-misc/chrony[pps] should DEPEND on net-misc/pps-tools: refclock driver PPS...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-05 18:58 UTC by Matthias Maier
Modified: 2016-11-06 09:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Maier gentoo-dev 2016-11-05 18:58:19 UTC
chrony needs timepps.h (shipped with net-misc/pps-tools) to build pps support.
If the header is not available pps is automatically disabled (irrespective of USE flag). Otherwise starting chrony with a pps refclock results in:

  Nov 05 13:56:52 kestrel chronyd[6650]: chronyd version 2.4 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP -SCFILTER -SECHASH +ASYNCDNS +IPV6 -DEBUG)
  Nov 05 13:56:52 kestrel chronyd[6648]: refclock driver PPS is not compiled in

Please add a DEPEND on net-misc/pps-tools



The build log doesn't tell you this little secret at all...:

 * Package:    net-misc/chrony-2.4
 * Repository: gentoo
 * Maintainer: jer@gentoo.org
 * USE:        abi_x86_64 adns amd64 caps cmdmon elibc_glibc ipv6 kernel_linux ntp phc pps readline refclock rtc userland_GNU
 * FEATURES:   fakeroot preserve-libs sandbox splitdebug userpriv usersandbox
 * Package:    net-misc/chrony-2.4
 * Repository: gentoo
 * Maintainer: jer@gentoo.org
 * USE:        abi_x86_64 adns amd64 caps cmdmon elibc_glibc ipv6 kernel_linux ntp phc pps readline refclock rtc userland_GNU
 * FEATURES:   fakeroot preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking chrony-2.4.tar.gz to /var/tmp/portage/net-misc/chrony-2.4/work
>>> Source unpacked in /var/tmp/portage/net-misc/chrony-2.4/work
>>> Preparing source in /var/tmp/portage/net-misc/chrony-2.4/work/chrony-2.4 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/chrony-2.4/work/chrony-2.4 ...
 * ./configure --without-editline --docdir=/usr/share/doc/chrony-2.4 --chronysockdir=/run/chrony --mandir=/usr/share/man --prefix=/usr --sysconfdir=/etc/chrony --disable-sechash --without-nss --without-tomcrypt
Configuring for  Linux-x86_64
Checking for x86_64-pc-linux-gnu-gcc : Yes
Checking for 64-bit time_t : Yes
NTP time mapped to 1966-11-18T18:42:35Z/2102-12-26T01:10:51Z
Checking for math : No
Checking for math in -lm : Yes
Checking for <stdint.h> : Yes
Checking for <inttypes.h> : Yes
Checking for struct in_pktinfo : Yes
Checking for IPv6 support : Yes
Checking for struct in6_pktinfo : No
Checking for struct in6_pktinfo with _GNU_SOURCE : Yes
Checking for getaddrinfo() : Yes
Checking for pthread : Yes
Checking for arc4random_buf() : No
Checking for <sys/timepps.h> : No
Checking for <timepps.h> : No
Checking for libcap : Yes
Checking for <linux/rtc.h> : Yes
Checking for <linux/ptp_clock.h> : Yes
Checking for clock_gettime() : Yes
Checking for sched_setscheduler() : Yes
Checking for mlockall() : Yes
Checking for readline : Yes
Features : +CMDMON +NTP +REFCLOCK +RTC +PRIVDROP -SCFILTER -SECHASH +ASYNCDNS +READLINE +IPV6 -DEBUG
Creating Makefile
Creating doc/Makefile
Creating test/unit/Makefile
>>> Source configured.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2016-11-06 09:32:25 UTC
Fixed in 2.4-r1. Thanks for the report!