Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500824 - 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
Summary: sys-process/audit on HPPA with sys-kernel/linux-headers-3.7 (?) - SOCK_NONBLO...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-10 00:51 UTC by Jeroen Roovers (RETIRED)
Modified: 2016-07-13 06:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
glibc-2.17-SOCK_NONBLOCK.patch (glibc-2.17-SOCK_NONBLOCK.patch,891 bytes, patch)
2014-02-10 00:51 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2014-02-10 00:51:52 UTC
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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-10 01:15:09 UTC
Apparently it did go into kernel 3.7, too.
Comment 2 SpanKY gentoo-dev 2014-02-10 05:54:23 UTC
Comment on attachment 369998 [details, diff]
glibc-2.17-SOCK_NONBLOCK.patch

glibc is behaving correctly.  we aren't going to apply this patch.