Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847097 - app-emulation/virtualbox-guest-additions-6.1.34 fails to build with 5.18.0 'struct address_space_operations' has no member named 'set_page_dirty'
Summary: app-emulation/virtualbox-guest-additions-6.1.34 fails to build with 5.18.0 '...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords: PullRequest
: 865003 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-23 12:31 UTC by Helmut Jarausch
Modified: 2022-08-13 16:48 UTC (History)
6 users (show)

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


Attachments
backported virtualbox patch for vbox 6.1.34 and linux 5.18 (virtualbox-6.1.34-linux-5.18.patch,71.53 KB, patch)
2022-05-25 14:36 UTC, Mike Pagano
Details | Diff
backported virtualbox patch for vbox modules 6.1.34 and linux 5.18 (virtualbox-modules-6.1.34-linux-5.18.patch,54.03 KB, patch)
2022-05-25 14:37 UTC, Mike Pagano
Details | Diff
Cleaned Virtualbox patch for 5.18 kernel (virtualbox-6.1.34-linux-5.18.patch,982 bytes, patch)
2022-05-25 17:53 UTC, Benjamin Réveillé
Details | Diff
Cleaned Virtualbox-modules patch for 5.18 kernel (virtualbox-modules-6.1.34-linux-5.18.patch,5.32 KB, patch)
2022-05-25 17:53 UTC, Benjamin Réveillé
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2022-05-23 12:31:25 UTC
kernel 5.18.0  breaks virtualbox-guest-additions-6.1.34 , as well

I get
out/linux.amd64/release/bin/additions/src/vboxsf/regops.c:3827:6: error: 'struct address_space_operations' has no member named 'set_page_dirty'
 3827 |     .set_page_dirty = __set_page_dirty_buffers,
Comment 1 Mike Pagano gentoo-dev 2022-05-25 14:36:23 UTC
Created attachment 780752 [details, diff]
backported virtualbox patch for vbox 6.1.34 and linux 5.18

I spent a little time backporting fixes for virtualbox and virtualbox modules.

Running on 5.18 with these patches applied now.
Comment 2 Mike Pagano gentoo-dev 2022-05-25 14:37:32 UTC
Created attachment 780755 [details, diff]
backported virtualbox patch for vbox modules 6.1.34 and linux 5.18

Backported patch for virtualbox-modules 6.1.34 and linux 5.18
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2022-05-25 14:40:32 UTC
(In reply to Mike Pagano from comment #1)
> Created attachment 780752 [details, diff] [details, diff]
> backported virtualbox patch for vbox 6.1.34 and linux 5.18
> 
> I spent a little time backporting fixes for virtualbox and virtualbox
> modules.
> 
> Running on 5.18 with these patches applied now.


Feel free to add your patches to the packages that requires them.

I usually refrain from adding patches for new kernels but prefer to wait for a new virtualbox release instead because I don't use any other kernels than LTS releases.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2022-05-25 14:42:11 UTC
(In reply to Mike Pagano from comment #2)
> Created attachment 780755 [details, diff] [details, diff]
> backported virtualbox patch for vbox modules 6.1.34 and linux 5.18
> 
> Backported patch for virtualbox-modules 6.1.34 and linux 5.18

Why does this patch contain so many whitespace-changes?
Comment 5 Mike Pagano gentoo-dev 2022-05-25 14:47:48 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #4)
> (In reply to Mike Pagano from comment #2)
> > Created attachment 780755 [details, diff] [details, diff] [details, diff]
> > backported virtualbox patch for vbox modules 6.1.34 and linux 5.18
> > 
> > Backported patch for virtualbox-modules 6.1.34 and linux 5.18
> 
> Why does this patch contain so many whitespace-changes?

Probably the way I grabbed the changes.   I just put these out to help people who want to run this on 5.18.  Feel free to fix anything you think is inadequate.
Comment 6 Benjamin Réveillé 2022-05-25 17:53:27 UTC
Created attachment 780785 [details, diff]
Cleaned Virtualbox patch for 5.18 kernel
Comment 7 Benjamin Réveillé 2022-05-25 17:53:56 UTC
Created attachment 780788 [details, diff]
Cleaned Virtualbox-modules patch for 5.18 kernel
Comment 8 Larry the Git Cow gentoo-dev 2022-07-27 21:05:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76fbdf92e93e5c7ab63d75c8f36d9d319bf55e87

commit 76fbdf92e93e5c7ab63d75c8f36d9d319bf55e87
Author:     Viorel Munteanu <ceamac.paragon@gmail.com>
AuthorDate: 2022-07-26 19:31:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-27 21:05:31 +0000

    app-emulation/virtualbox-guest-additions: add 6.1.36
    
    Closes: https://bugs.gentoo.org/847097
    Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-emulation/virtualbox-guest-additions/Manifest  |   2 +
 .../files/vboxguest-6.1.36-log-use-c99.patch       |  13 +
 .../virtualbox-guest-additions-6.1.36.ebuild       | 280 +++++++++++++++++++++
 3 files changed, 295 insertions(+)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-13 15:46:30 UTC
*** Bug 865003 has been marked as a duplicate of this bug. ***
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-13 16:48:56 UTC
*** Bug 865003 has been marked as a duplicate of this bug. ***