| Summary: | sys-process/audit on HPPA with sys-kernel/linux-headers-3.7 (?) - SOCK_NONBLOCK in /usr/include/bits/socket_type.h clashes with /usr/include/asm/socket.h | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
| Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | hppa |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | glibc-2.17-SOCK_NONBLOCK.patch | ||
Apparently it did go into kernel 3.7, too. Comment on attachment 369998 [details, diff]
glibc-2.17-SOCK_NONBLOCK.patch
glibc is behaving correctly. we aren't going to apply this patch.
|
Created attachment 369998 [details, diff] glibc-2.17-SOCK_NONBLOCK.patch As far as I can tell, SOCK_NONBLOCK support was added to glibc in May 2008, but only in November/December 2013 was support added to the HPPA kernel, which now makes linux-headers and glibc clash. Attached are two (conflicting) patches, both of which make sys-process/audit compile as it should, although I can't tell which is the proper way of doing this. Looking through the glibc patch archives, the #undef road was previously taken to get alpha up to speed. Now why sys-process/audit wants to talk to linux-headers or other kernel sources directly is beyond me, but that is the way the ebuilds and build system work for now.