Summary: | net-misc/ntp-4.2.4_p5 fails to compile on uclibc due to missing __adjtimex() | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tom Lloyd <napalmllama> |
Component: | [OLD] Server | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
URL: | https://support.ntp.org/bugs/show_bug.cgi?id=769 | ||
See Also: | https://support.ntp.org/bugs/show_bug.cgi?id=769 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Unabridged build.log, for your viewing pleasure |
Description
Tom Lloyd
2009-01-07 01:08:50 UTC
Created attachment 177626 [details]
Unabridged build.log, for your viewing pleasure
tickadj.c:183:22: sys/var.h: No such file or directory I don't have that file on my system. Missing dependency? Heh, nor do I! I wonder what it's supposed to do? =P Hmm, Google throws up this: http://lists.ntp.isc.org/pipermail/questions/2003-October/001109.html Apparently it was a bug in 4.1, and should now be fixed. Obviously not... There's various other stuff in mailing list archives from about the same time (2003). Could this be a really, really old regression? I think sys/var.h is specific to AIX. There is an IFDEF for NLIST which is included on most systems, else it will choose alternate header files (one being var.h) NLIST might be specific to elf binary systems. You are running PPC, is it using the a.out binary format? I think it is a mistake in the code for PPC systems. I tried looking other headers to use instead of var.h but no dice.. I think I'm using ELF... I just tried throwing a couple of random binaries at readelf and it didn't complain. Is there a more definitive way of telling? no Gentoo system uses a.out ... uClibc certainly does not i fixed this for Blackfin quite a while ago ... and now ive committed that patch to the gentoo tree http://sources.gentoo.org/net-misc/ntp/ntp-4.2.4_p5.ebuild?r1=1.6&r2=1.7 http://sources.gentoo.org/net-misc/ntp/files/ntp-4.2.4_p5-adjtimex.patch?rev=1.1 |