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

Bug 322653

Summary: PR_SET_NAME not available on RHEL4
Product: Gentoo/Alt Reporter: Chetan Reddy <chetanreddy>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chetan Reddy 2010-06-03 18:21:50 UTC
While bootstrapping on a 64-bit rhel4 system (with a newer kernel), i got to the "env FEATURES="-collision-protect" emerge --oneshot portage" stage. This pulled in python, but couldn't build because Modules/python.c depends uses PR_SET_NAME on linux which isn't available on rhel4's /usr/include/linux/prctl.h
To work around this, i had to emerge the linux-headers package before i could install python.


Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2010-06-03 18:25:35 UTC
I think this is a dupe of #317937

*** This bug has been marked as a duplicate of bug 317937 ***
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-06-03 19:01:20 UTC
Well, on rhel4 you just need to install linux-headers and all is well. In bug 317937, that workaround doesn't happen so easily. eg. <sys/prctl.h> vs <linux/prctl.h> or glibc vs linux-headers. Depends on how you want to look at it. :)
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-06-03 19:06:02 UTC
One more note: It would probably solve this bug if dev-lang/python just rdepend'd on sys-kernel/linux-headers.