Bug 505566

Summary: timex.h: #define MOD_NANO ADJ_NANO missing
Product: [Fedora] Fedora Reporter: udo <udovdh>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 11CC: drepper, dwmw2, jakub, mlichvar, schwab
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-23 02:46:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description udo 2009-06-12 13:25:55 UTC
Description of problem:
timex.h as distributed with F11 is missing the definition for MOD_NANO, necessary to build ntpd with nano support.

Version-Release number of selected component (if applicable):
glibc-headers-2.10.1-2.i586

How reproducible:
Upgrade F10 to F11.
Compile ntpd

Steps to Reproduce:
1. Upgrade F10 to F11.
2. Compile ntpd
3. See error about missing MOD_NANO
  
Actual results:
error about missing MOD_NANO

Expected results:
Clean compile

Additional info:
#define MOD_NANO        ADJ_NANO

--- timex.h.normaal.ok	2009-06-12 12:48:48.000000000 +0200
+++ timex.h	2009-06-12 12:57:44.000000000 +0200
@@ -85,6 +85,7 @@
 #define MOD_TIMECONST	ADJ_TIMECONST
 #define MOD_CLKB	ADJ_TICK
 #define MOD_CLKA	ADJ_OFFSET_SINGLESHOT /* 0x8000 in original */
+#define MOD_NANO        ADJ_NANO
 
 
 /* Status codes (timex.status) */

Comment 1 udo 2009-06-12 13:26:51 UTC
sys/timex.h

Comment 2 Miroslav Lichvar 2009-06-12 16:10:40 UTC
Please add also:

#define MOD_TAI ADJ_TAI

Comment 3 udo 2009-06-13 09:17:14 UTC
Also see https://bugzilla.redhat.com/show_bug.cgi?id=479558

Comment 4 Ulrich Drepper 2009-11-23 02:46:36 UTC
Upstream has the definitions.  Should be in the next rawhide build.