Unlike Prefix/RAP, in Prefix/Guest we do _not_ install sys-kernel/linux-headers inside Prefix, but use host OS' glibc and kernel headers.
Hence packages should not depend on sys-kernel/linux-headers directly, but virtual/os-headers instead.
Along bug#579228, DEPEND=">=sys-kernel/linux-headers-3.17" was introduced to libbsd, but emerging dev-libs/libbsd-0.9.1 (without linux-headers-3.17) does succeed in Prefix/Guest on RHEL 7.2, which has kernel-headers-3.10.0 installed.
This makes me think that either libbsd was fixed meanwhile to deal with older linux headers, or this was another problem and introducing the dep was a workaround only.
My first idea here was this change, but that feels strange at least:
+DEPEND="|| ( >=sys-kernel/linux-headers-3.17 virtual/os-headers )"
The bug has been referenced in the following commit(s):
Author: Michael Haubenwallner <firstname.lastname@example.org>
AuthorDate: 2019-01-09 12:37:03 +0000
Commit: Michael Haubenwallner <email@example.com>
CommitDate: 2019-01-09 12:37:35 +0000
dev-libs/libbsd: add for bug#674950
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Michael Haubenwallner <firstname.lastname@example.org>
dev-libs/libbsd/Manifest | 23 +++++++++++++++++++++
dev-libs/libbsd/libbsd-0.9.1.ebuild | 40 +++++++++++++++++++++++++++++++++++++
dev-libs/libbsd/metadata.xml | 8 ++++++++
3 files changed, 71 insertions(+)