Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689846 - =app-emulation/virtualbox-guest-additions-6.0.8 fails to build against kernel >=5.2.0
Summary: =app-emulation/virtualbox-guest-additions-6.0.8 fails to build against kernel...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-07-14 17:11 UTC by Greg Turner
Modified: 2019-07-18 08:12 UTC (History)
1 user (show)

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


Attachments
virtualbox-guest-additions-6.0.8-kernel520-fbdev_helper.patch (virtualbox-guest-additions-6.0.8-kernel520-fbdev_helper.patch,2.41 KB, patch)
2019-07-14 17:11 UTC, Greg Turner
Details | Diff
virtualbox-guest-additions-6.0.8-kernel520-ttm_bo_device_init_args.patch (virtualbox-guest-additions-6.0.8-kernel520-ttm_bo_device_init_args.patch,1.57 KB, patch)
2019-07-14 17:13 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Turner 2019-07-14 17:11:59 UTC
Created attachment 582858 [details, diff]
virtualbox-guest-additions-6.0.8-kernel520-fbdev_helper.patch

This is the first of two patches needed to build virtualbox-guest-additions against 5.2.0-and-up kernels.

These are what I'm putting in /etc/portage/patches; they might not be in quite the right format for use in the actual gentoo patchset (didn't check but, presumably, even so, maintainers will know what to do with them).

These are "original" patches, sort-of.  Probably equivalent real patches are upstream somewhere or will be eventually, as I see similar artifacts trickling to downsteams.

But upstream has svn:// and afaics don't have a web interface for it (even though it sure looks like their site is trac-based), and the git mirror robots screw up all the metadata, and google didn't seem to know much about it.

So the path of least resistance was just squinting at some kernel code and repeating the work.  Pretty sure these are right: they build, and I've been able to run the generated modules for 10 minutes without opening a hole in the fabric of space-time :)
Comment 1 Greg Turner 2019-07-14 17:13:30 UTC
Created attachment 582860 [details, diff]
virtualbox-guest-additions-6.0.8-kernel520-ttm_bo_device_init_args.patch

patch 2/2
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-07-17 08:17:35 UTC
Please test and report back if this is still an issue with =app-emulation/virtualbox-guest-additions-6.0.10
Comment 3 Greg Turner 2019-07-17 10:04:13 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #2)
> Please test and report back if this is still an issue with
> =app-emulation/virtualbox-guest-additions-6.0.10

Nope.

Err.... "no" seem confusing, so, to be clear:

I tested, patch-free, on the same box* that needed patches previously, and the ebuild was successful.

So I think we're good.  Left open just in case closing might mess up your workflow, somehow, but I'll close after a few days in response to radio silence.

--
* It's a maximally uninteresting ~amd64 vm I use for rice-free gentoo ~amd64 QA
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-07-18 08:12:52 UTC
Thanks for testing and giving feedback.