Created attachment 308761 [details, diff] Patch to vmblock-only Building app-emulation/vmware-modules-264.2-r1 on sys-kernel/git-sources (v3.4-rc2) fails with `error: implicit declaration of function 'd_alloc_root'`. From `linux-3.4-rc2/Documentation/filesystems/porting` file: [quote] [mandatory] d_alloc_root() is gone, along with a lot of bugs caused by code misusing it. Replacement: d_make_root(inode). The difference is, d_make_root() drops the reference to inode if dentry allocation fails. [/quote] Ebuild diff to attached patch: --- vmware-modules-264.2-r1.ebuild~ 2012-04-13 14:45:27.599844552 +0200 +++ vmware-modules-264.2-r1.ebuild 2012-04-13 14:16:44.621887757 +0200 @@ -64,6 +64,9 @@ epatch "${FILESDIR}/${PV_MAJOR}-jobserver.patch" epatch "${FILESDIR}/${PV_MAJOR}-netdevice.patch" epatch "${FILESDIR}/${PV}-3.2.0.patch" + if kernel_is ge 3 4; then + epatch "${FILESDIR}/${PV_MAJOR}-error-fix-implicit-declaration-of-function-d_alloc_r.patch" + fi use hardened && epatch "${FILESDIR}/hardened.patch" }
Please apply, linux 3.4.0 is now ~amd64 so this breakage will affect many people.
(In reply to comment #1) > Please apply, linux 3.4.0 is now ~amd64 so this breakage will affect many > people. Vote on importance, might attract dev attention.
Thanks for a patch. Works for me.
*** Bug 417059 has been marked as a duplicate of this bug. ***
the patch is in the tree, please sync and test. thanks.
Created attachment 312905 [details, diff] 238 Patch for 3.4.0 d_make_root Patch for 238, derived from 264 patch.
Created attachment 312907 [details] 238 ebuild to apply 3.4.0 patch. Ebuild to apply 238-3.4.0.patch.
Just added patch and ebuild for those of use stuck on x86/vmware-workstation-7.1.5/vmware-modules-238.
(In reply to comment #8) > Just added patch and ebuild for those of use stuck on > x86/vmware-workstation-7.1.5/vmware-modules-238. Your patch is in the tree. Thanks.