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: Lars Wendler (Polynomial-C) <polynomial-c>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein, masterzorag, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/7928
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(-)}