Summary: | ntp-4.1.2 emerge fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ramiro Salas <ramiro> |
Component: | Current packages | Assignee: | Sparc Porters <sparc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | David.Huff |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | Sparc | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 29106 | ||
Attachments: | kernel headers patch |
Description
Ramiro Salas
2003-08-06 10:26:30 UTC
Seems that 4.1.2 got removed from the portage tree... Conflict between glibc and the kernel headers. See http://sources.redhat.com/ml/crossgcc/2002-05/msg00073.html The trivial test case is: #include <asm/byteorder.h> #include <netinet/in.h> int main () { } which won't compile on any bigendian system. Created attachment 15872 [details, diff]
kernel headers patch
Patch to linux-headers that allows ntp to build.
Adding ppc and hppa folks to the cc list as their headers are broken also. The patch needs to go upstream, but I'm unsure what we must do for now. Applying the above patch didn't seem to help me. I'm assuming that goes in /usr/src/linux, right? Nevermind. I managed to cram it into /usr/include and things work fine. Thanks. hmm applied the patch, still get the same error upon compilation of ntpd .. or do I have to recompile the kernel for that to work? darn .. don't wanna reboot .. ppc and hppa wanna give the patch in Comment #3 a run if you guys run into this issue? sparc has a patch in a re-written linux-2.4.21 ebuild, so that will fix us up. This still affects other big-endian archs, which includes mips, hppa, and ppc. I've got it fixed for mips, but if this doesn't affect ppc or hppa, or you've already applied the patch, post here so this can get resolved. A version of this patch went upstream to Marcelo in 2.4.23-pre4, so the stable 2.4.23 kernel will have this fixed. Oops, now >=virtual/linux-sources-2.2 have been masked dependency required by sys-libs/libcap-1.10 (dependency of ntp-4.1.2) Using ~sparc and 2.4.22 this doesn't work in sparc: * Applying broadcastclient.patch... [ ok ] * Applying 4.1.2-droproot.patch... [ ok ] * Applying linux-config-phone.patch... [ ok ] configure.in:2496: /usr/bin/m4: Warning: Excess arguments to built-in `m4_pushdef' ignored autom4te-2.57a: /usr/bin/m4 failed with exit status: 1 configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal). automake-1.7: no `Makefile.am' found or specified !!! ERROR: net-misc/ntp-4.1.2 failed. !!! Function src_unpack, Line 52, Exitcode 1 !!! automake joe, you should know better than to add unrelated bug reports :p see Bug 29961 ... My mistake ;) In my haste to close, I didn't search. seems to be working for me now on ~sparc. Are others seeing this as well? ntp-4.1.2 works for me, ~sparc. Gonna remove ppc from the CC list, since I believe they have a working ntp. Blademan, you using the linux-2.4.21 headers? `Kumba: Nope, I'm using the stock 2.4.19 headers w/o any patch. ~hppa is all set now (or should be ...) any updates here ? Update, looks good by me. Recompiled on ever puffin on the farm (4 architectures) and they all worked. Still having header problems on stable sparc. Need to stablize newer linux-header s and it should be fixed. Looking into it now. Marked linux-headers-2.4.21-r1 stable on sparc, which fixes this problem. |