| Summary: | linux-info.eclass: getfilevar_noexec emerge error with gnome-extra/gnome-boxes-3.10.2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Francesco Turco <fturco> |
| Component: | Eclasses | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kernel-misc, mgorny |
| Priority: | Normal | Keywords: | InVCS |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Francesco Turco
2014-03-16 18:02:58 UTC
This error is coming from linux-info.eclass; reassigning to its maintainers. As I see it, the only thing linux-info maint can do is improve the error message. The gnome-boxes ebuild is simply using the eclass incorrectly. You are trying to perform kernel checks when no kernel sources is available.
I've fixed the issue for Funtoo with the following snippet:
pkg_pretend() {
linux-info_get_any_version
if linux_config_exists; then
if ! { linux_chkconfig_present KVM_AMD || \
linux_chkconfig_present KVM_INTEL; }; then
ewarn "You need KVM support in your kernel to use GNOME Boxes!"
fi
fi
}
+ 21 Dec 2014; Gilles Dartiguelongue <eva@gentoo.org> + -gnome-boxes-3.10.2.ebuild, gnome-boxes-3.12.3.ebuild: + Fix kernel configuration check, bug #504822. Clean up old revision. + Thanks for reporting. |