Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643466 - app-emulation/virtualbox-5.2.4 and app-emulation/virtualbox-modules-5.2.4 fail to emerge with pax_kernel flag enabled
Summary: app-emulation/virtualbox-5.2.4 and app-emulation/virtualbox-modules-5.2.4 fai...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 18:11 UTC by Gerold Schellstede
Modified: 2018-04-11 07:54 UTC (History)
3 users (show)

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


Attachments
virtualbox patch log (virtualbox-5.1.4-paxmark-bldprogs.patch,2.58 KB, patch)
2018-01-04 18:11 UTC, Gerold Schellstede
Details | Diff
virtualbox-modules patch log (virtualbox-modules-4.1.4-pax-const.patch,2.28 KB, patch)
2018-01-04 18:14 UTC, Gerold Schellstede
Details | Diff
Virtualbox build log (build-virtualbox.log,3.08 KB, text/x-log)
2018-01-04 18:24 UTC, Gerold Schellstede
Details
Virtualbox-modules build log (build-virtualbox-modules.log,2.73 KB, text/x-log)
2018-01-04 18:24 UTC, Gerold Schellstede
Details
"Special patch log" for virtualbox-modules (virtualbox-modules-4.1.4-pax-const.patch.out,9.55 KB, text/plain)
2018-01-04 18:26 UTC, Gerold Schellstede
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)}