| Summary: | app-emulation/vmware-modules-279.1 with kernel 3.14.0 - kernel: vmblock: Unknown symbol getname (err 0) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Fabio Rossi <rossi.f> |
| Component: | [OLD] Library | Assignee: | Gentoo VMWare Bug Squashers [disabled] <vmware+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | andrew.bugs, jrmalaq, m.debruijne, proteuss, realnc, sven.koehler |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
279-getname.patch
Modified patch as per comment #1 |
||
|
Description
Fabio Rossi
2014-03-15 19:06:12 UTC
Patch is not compatible with sources patched for 3.12. That patch is also required for modules to build correctly. Mainly because getname line looks like that: --- name = (char*)getname(buf)->name; ---- After fixing patch applies correctly and vmware-modules-279.1-r1 are working as expected. (In reply to Kamil Kamiński from comment #1) > Patch is not compatible with sources patched for 3.12. That patch is also > required for modules to build correctly. > > Mainly because getname line looks like that: > > --- > name = (char*)getname(buf)->name; > ---- > > After fixing patch applies correctly and vmware-modules-279.1-r1 are working > as expected. there is no need to patch kernel 3.12 so in the ebuild you should put kernel_is gt 3 13 99 && epatch "${FILESDIR}/279-getname.patch" Created attachment 376568 [details, diff] Modified patch as per comment #1 For folks googling: I now have 3.14.x support in my overlay: gmt-vmware-overlay on github (username: gmt) which solves several problems with gentoo's ebuilds. nb: github was down as I wrote this. I'll update as soon as they sort out their issues, but there may be a brief window where the 3.14.x patches are not yet available once github is online. http://pastie.org/pastes/9090538/ contains diff to build it. Shamelessly obtained from https://wiki.archlinux.org/index.php/VMware I have commited a new ebuild and set of patches to the official vmware overlay. Please give it a try. Please be sure to remove any user patches you have in /etc/portage/patches/ as the code should now compile *cleanly* for all kernel versions 3.10 - 3.17. I am working with the maintainer to get the ebuild and patches merged with the mainline once it has been tested enough. |