Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597446 - app-emulation/virtualbox-modules-4.3.38 fails to compile with hardened-sources-4.7.6
Summary: app-emulation/virtualbox-modules-4.3.38 fails to compile with hardened-source...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
Depends on:
Reported: 2016-10-18 13:52 UTC by Alex Efros
Modified: 2017-02-22 20:08 UTC (History)
1 user (show)

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

build log (app-emulation:virtualbox-modules-4.3.38:20161018-125600.log,337.69 KB, text/plain)
2016-10-18 13:52 UTC, Alex Efros
upstream fix ready for /etc/portage/patches/ (netadp-4.7.patch,534 bytes, patch)
2016-10-26 20:49 UTC, Alex Efros
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2016-10-18 13:52:49 UTC
Created attachment 450682 [details]
build log

/var/tmp/portage/app-emulation/virtualbox-modules-4.3.38/work/vboxnetadp/linux/VBoxNetAdp-linux.c:138:12: error: ‘struct net_device’ has no member named ‘trans_start’
Comment 1 tka 2016-10-21 20:07:45 UTC
Upstream fix:
Comment 2 Alex Efros 2016-10-26 20:49:58 UTC
Created attachment 451522 [details, diff]
upstream fix ready for /etc/portage/patches/

Add epatch_user to ebuild to use that patch until it'll be added to portage.
Comment 3 Magnus Granberg gentoo-dev 2017-02-22 19:53:23 UTC
Still a problem on newer versions?
Comment 4 Alex Efros 2017-02-22 20:08:29 UTC
(In reply to Magnus Granberg from comment #3)
> Still a problem on newer versions?

Well… virtualbox-modules-5.0.32 compiles ok with hardened-sources-4.8.17-r2 both with and without that patch. So I suppose this issue can be closed.