Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616216 - app-emulation/virtualbox - failed in prepare phase with pie enabled
Summary: app-emulation/virtualbox - failed in prepare phase with pie enabled
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
: 617858 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-04-21 14:58 UTC by Jiří Moravec
Modified: 2019-04-20 21:29 UTC (History)
4 users (show)

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


Attachments
Updated nopie patch for virtualbox-5.1.20. (050_virtualbox-5.1.20-nopie.patch,13.10 KB, patch)
2017-04-28 10:57 UTC, tka
Details | Diff
Updated nopie patch for 5.1.22-r1 (050_virtualbox-5.1.22-nopie.patch,12.57 KB, patch)
2017-05-14 20:01 UTC, BJP
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jiří Moravec 2017-04-21 14:58:36 UTC
Patch 050_virtualbox-5.1.4-nopie.patch from virtualbox-5.1.18-patches-01.tar.xz archive failed with "1 out of 12 hunks FAILED -- saving rejects to file Config.kmk.rej" message. With changes in virtualbox-5.1.20, patch 7th chunk is now redundant and must be removed.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-04-21 15:02:03 UTC
Is this ebuild coming from ::gentoo repository or some overlay?
Comment 2 gentoo-bugs 2017-04-23 07:15:21 UTC
No overlay, I too get this error in ::gentoo.
Comment 3 tka 2017-04-28 10:57:03 UTC
Created attachment 471138 [details, diff]
Updated nopie patch for virtualbox-5.1.20.

This is an updated patch for 5.1.20. It builds fine on amd64. Unfortunately, VMs crash on startup. This is probably due to bug #616240 but could also be related to this patch.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-05-08 15:56:08 UTC
*** Bug 617858 has been marked as a duplicate of this bug. ***
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-05-10 07:19:05 UTC
*** Bug 617858 has been marked as a duplicate of this bug. ***
Comment 6 BJP 2017-05-14 20:01:50 UTC
Created attachment 472618 [details, diff]
Updated nopie patch for 5.1.22-r1

This patch worked for me to compile virtualbox-5.1.22-r1 on hardened kernel 4.9.24 and gcc-5.4.0-r3.
Comment 7 Jiří Moravec 2017-05-15 07:29:16 UTC
Archive in https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/ is still not updated for 5.1.22 with this new patch! :-(
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-04-20 21:29:34 UTC
virtualbox-5.1.x is no longer in the tree. If this is still an issue, please file a new bug.