Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616120 - x11-drivers/xf86-video-virtualbox-5.1.30 lacks linux-info inherit and setup
Summary: x11-drivers/xf86-video-virtualbox-5.1.30 lacks linux-info inherit and setup
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-20 13:23 UTC by Joakim Tjernlund
Modified: 2018-10-20 16:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2017-04-20 13:23:29 UTC
The ebuild uses --with-linux="${KV_OUT_DIR}" and KV_OUT_DIR is
undefined unless one has some linux class inherited and called
linux-info_pkg_setup:

# Before using any of the config-handling functions in this eclass, you must
# ensure that one of the following functions has been called (in order of
# preference), otherwise you will get bugs like #364041):
# linux-info_pkg_setup
# linux-info_get_any_version
# get_version
# get_running_version

This is an example solution:
--- xf86-video-virtualbox-5.1.18.ebuild.org	2017-04-20 15:15:38.555359864 +0200
+++ xf86-video-virtualbox-5.1.18.ebuild	2017-04-20 15:17:03.957848147 +0200
@@ -4,7 +4,7 @@
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
-inherit eutils multilib python-single-r1 versionator toolchain-funcs
+inherit eutils linux-info multilib python-single-r1 versionator toolchain-funcs
 
 MY_PV="${PV/beta/BETA}"
 MY_PV="${MY_PV/rc/RC}"
@@ -68,6 +68,7 @@
 	fi
 
 	python-single-r1_pkg_setup
+	linux-info_pkg_setup
 }
 
 src_prepare() {
Comment 1 Joakim Tjernlund 2017-05-02 07:06:24 UTC
hmm, I had hoped this would be acted upon before next bump.
Comment 2 Joakim Tjernlund 2017-06-05 18:27:24 UTC
ping?
Comment 3 Joakim Tjernlund 2017-07-19 14:01:20 UTC
Ping ?
Comment 4 Joakim Tjernlund 2018-07-20 00:15:09 UTC
Ping?
Comment 5 Joakim Tjernlund 2018-10-20 16:17:13 UTC
Package does not exist anymore.