Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 643466

Summary: app-emulation/virtualbox-5.2.4 and app-emulation/virtualbox-modules-5.2.4 fail to emerge with pax_kernel flag enabled
Product: Gentoo Linux Reporter: Gerold Schellstede <gentoo>
Component: Current packagesAssignee: Viorel Munteanu <ceamac>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, masterzorag
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/7928
https://github.com/gentoo/gentoo/pull/27670
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: virtualbox patch log
virtualbox-modules patch log
Virtualbox build log
Virtualbox-modules build log
"Special patch log" for virtualbox-modules

Description Gerold Schellstede 2018-01-04 18:11:06 UTC
Created attachment 513360 [details, diff]
virtualbox patch log

Hello,

if one tries to install virtualbox-5.2.4 and virtualbox-modules-5.2.4 with activated pax_kernel-flag the comiling-process does not even begin in both cases, because the patching fails.

Best regards
GOS

PS: For the sake of interest: I need the pax_kernel-flag because I use ago's grsecurity lts-kernel (4.9 series) until the copperhead sources become more mature. (https://gpo.zugaina.org/Overlays/ago/sys-kernel/grsecurity-sources)
Comment 1 Gerold Schellstede 2018-01-04 18:14:44 UTC
Created attachment 513362 [details, diff]
virtualbox-modules patch log
Comment 2 Gerold Schellstede 2018-01-04 18:24:23 UTC
Created attachment 513364 [details]
Virtualbox build log
Comment 3 Gerold Schellstede 2018-01-04 18:24:55 UTC
Created attachment 513366 [details]
Virtualbox-modules build log
Comment 4 Gerold Schellstede 2018-01-04 18:26:10 UTC
Created attachment 513368 [details]
"Special patch log" for virtualbox-modules
Comment 5 Larry the Git Cow gentoo-dev 2018-04-11 07:54:19 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2973c351fff931847f9da4a871d4ad44eb85b746

commit 2973c351fff931847f9da4a871d4ad44eb85b746
Author:     Sergey Alirzaev <zl29ah@gmail.com>
AuthorDate: 2018-04-10 13:37:55 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-04-11 07:54:02 +0000

    app-emulation/virtualbox-modules: fix patching for pax
    
    Bug: https://bugs.gentoo.org/643466

 .../files/virtualbox-modules-5.2.8-pax-const.patch | 44 ++++++++++++++++++++++
 .../virtualbox-modules-5.2.8.ebuild                |  2 +-
 2 files changed, 45 insertions(+), 1 deletion(-)

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

commit b3da431a04f89ae090d13b3952f9a67d19912647
Author:     Sergey Alirzaev <zl29ah@gmail.com>
AuthorDate: 2018-04-10 13:36:22 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-04-11 07:54:01 +0000

    app-emulation/virtualbox: fix patching for hardened
    
    Bug: https://bugs.gentoo.org/643466
    Closes: https://github.com/gentoo/gentoo/pull/7928

 .../files/050_virtualbox-5.2.8-nopie.patch         | 147 +++++++++++++++++++++
 .../files/virtualbox-5.2.8-paxmark-bldprogs.patch  |  59 +++++++++
 app-emulation/virtualbox/virtualbox-5.2.8.ebuild   |   4 +-
 3 files changed, 208 insertions(+), 2 deletions(-)}
Comment 6 Larry the Git Cow gentoo-dev 2022-10-07 07:32:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e0614f38efdc0051a1e64274f108ca3d231745

commit 87e0614f38efdc0051a1e64274f108ca3d231745
Author:     Viorel Munteanu <ceamac.paragon@gmail.com>
AuthorDate: 2022-10-07 05:29:31 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-10-07 07:27:13 +0000

    profiles/base: Mask pax-kernel for app-emulation/virtualbox
    
    I don't have a current official grsec kernel but I wouldn't want to
    simply remove all support either, so just mask it for now because it's
    broken.
    
    Bug: https://bugs.gentoo.org/643466
    Bug: https://bugs.gentoo.org/674872
    Bug: https://bugs.gentoo.org/832161
    Bug: https://bugs.gentoo.org/855722
    Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/27670
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/base/package.use.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 7 Viorel Munteanu gentoo-dev 2023-01-08 10:19:00 UTC
pax-kernel dropped.