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

Bug 618868

Summary: Package request: sys-kernel/xnu-headers
Product: Gentoo/Alt Reporter: Yana Luna-Terra <yana>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yana Luna-Terra 2017-05-18 19:21:21 UTC
We need this to get sys-process/lsof under Darwin.

Here are the latest xnu sources (tarball and commit, respectively):

https://opensource.apple.com/tarballs/xnu/xnu-3789.51.2.tar.gz
https://github.com/opensource-apple/xnu/commit/dc0628e187c3148723505cf1f1d35bb948d3195b

Headers can be found under bsd/sys.
Comment 1 Fabian Groffen gentoo-dev 2017-06-20 13:14:44 UTC
This is slightly odd, because the kernel headers should match the running kernel, or do I misunderstand this?
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2017-06-20 13:57:33 UTC
Not sure about Darwin, but for the Linux kernel I've learned that the kernel-headers don't need to match the running kernel version. Found this one now: https://wiki.gentoo.org/wiki/Linux-headers
Comment 3 Yana Luna-Terra 2017-06-20 16:29:02 UTC
As long as kernel is reverse-compatible (which is true for most kernels, including Darwin), one can use newer headers with an older kernel.
Comment 4 Fabian Groffen gentoo-dev 2020-12-13 11:58:03 UTC
I've added this package at some point, and decided to drop it again, the need to come from Xcode.