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. Thoughts? My first idea here was this change, but that feels strange at least: -DEPEND=">=sys-kernel/linux-headers-3.17" +DEPEND="|| ( >=sys-kernel/linux-headers-3.17 virtual/os-headers )" Thanks!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=e521ba12d5fa49f7aaf111325f1170821d1ab6c1 commit e521ba12d5fa49f7aaf111325f1170821d1ab6c1 Author: Michael Haubenwallner <haubi@gentoo.org> AuthorDate: 2019-01-09 12:37:03 +0000 Commit: Michael Haubenwallner <haubi@gentoo.org> CommitDate: 2019-01-09 12:37:35 +0000 dev-libs/libbsd: add for bug#674950 Bug: https://bugs.gentoo.org/674950 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Manifest-Sign-Key: 0x29FB0E9EC719EE20 Signed-off-by: Michael Haubenwallner <haubi@gentoo.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(+)