Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 264109

Summary: net-misc/ntp-4.2.4_p6 ipv6 is broken with sys-libs/glibc-2.9_p20081201-r2
Product: Gentoo Linux Reporter: Mikhail Krivtsov <mikhail.krivtsov>
Component: [OLD] ServerAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://support.ntp.org/bugs/show_bug.cgi?id=1143
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: defines _GNU_SOURCE necessary for ipv6 with sys-libs/glibc-2.9_p20081201-r2

Description Mikhail Krivtsov 2009-03-28 21:58:09 UTC
On startup ntpd complains:
> ntpd[29010]: getaddrinfo: "::1" invalid host address, ignored

Looking for solution I found explanation (see "https://bugzilla.redhat.com/show_bug.cgi?id=436713" for details):
> glibc-headers now require _GNU_SOURCE for in6_pktinfo struct

Reproducible: Always
Comment 1 Mikhail Krivtsov 2009-03-28 22:05:49 UTC
Created attachment 186586 [details, diff]
defines _GNU_SOURCE necessary for ipv6 with sys-libs/glibc-2.9_p20081201-r2
Comment 2 Wormo (RETIRED) gentoo-dev 2009-03-29 06:37:51 UTC
Thanks for the patch! Assigning to maintainers.
Comment 3 SpanKY gentoo-dev 2009-03-29 19:51:18 UTC
thanks, fixed in cvs

http://sources.gentoo.org/net-misc/ntp/ntp-4.2.4_p6.ebuild?r1=1.6&r2=1.7