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: RESOLVED OBSOLETE
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
Depends on:
Blocks:
 
Reported: 2018-01-04 18:11 UTC by Gerold Schellstede
Modified: 2023-01-08 10:19 UTC (History)
2 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(-)}
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.