Summary: | app-emulation/virtualbox-guest-additions-5.2.6 with kernel 4.15.0 - ? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | email200202 |
Component: | Current packages | Assignee: | Viorel Munteanu <ceamac> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | eras, fedeliallalinea, masterzorag |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=680296 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
vbox-guest-additions-kernel-4.15.patch
virtualbox-guest-additions-5.2.6.ebuild ebuild diff |
Description
email200202
2018-02-03 07:55:03 UTC
Working solution at https://forums.gentoo.org/viewtopic-p-8177550.html#8177550 The patch posted in the forum link by @fedeliallalinea works but you have to apply it manually because eapply_user is called with current directory is set to S. The patch needs one level below S. What is Gentoo convention for the current directory before calling eapply_user? There was discussion about this subject here: https://forums.gentoo.org/viewtopic-t-1056914-start-0.html On possibility is to change the ebuild near the end of src_prepare() function to cd directory to WORKDIR before applying the patch. pushd "${WORKDIR}" &>/dev/null || die eapply "${FILESDIR}"/vbox-guest-additions-kernel-4.15.patch popd &>/dev/null || die eapply_user } (In reply to email200202 from comment #0) > Failed to emerge app-emulation/virtualbox-guest-additions-5.2.6 > > Some of the errors: Please *attach* all relevant files to this bug report. Jeroen Roovers, please see the first post. All the files are included there as links. Please also check the forum discussion. https://forums.gentoo.org/viewtopic-p-8177550.html#8177550 I attached the patch file and modified ebuild. Created attachment 518058 [details, diff]
vbox-guest-additions-kernel-4.15.patch
Created attachment 518060 [details]
virtualbox-guest-additions-5.2.6.ebuild
Created attachment 518062 [details, diff]
ebuild diff
Upstream commits https://www.virtualbox.org/changeset/70624/vbox https://www.virtualbox.org/changeset/70625/vbox What are we waiting for? After kernel update, the ebuild change and the patch are not enough to get virtualbox-guest-additions to emerge. You need to define KERN_VER variable. KERN_VER="4.15.4" emerge -av1 app-emulation/virtualbox-guest-additions Otherwise, it will fail with error KERN_DIR not defined. (In reply to email200202 from comment #11) > After kernel update, the ebuild change and the patch are not enough to get > virtualbox-guest-additions to emerge. You need to define KERN_VER variable. > > KERN_VER="4.15.4" emerge -av1 app-emulation/virtualbox-guest-additions > > Otherwise, it will fail with error KERN_DIR not defined. This still seems to be the case with virtualbox-guest-additions-5.2.14. Not sure how this is building for anyone without that env variable. The bug is still there and you have to set KERN_VER to get it to build. And it is "UNCONFIRMED"! I cannot reproduce this issue, works fine here. (In reply to email200202 from comment #13) > The bug is still there and you have to set KERN_VER to get it to build. And > it is "UNCONFIRMED"! For KERN_VER see also https://bugs.gentoo.org/680296 |