Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301320 - app-emulation/vmware-modules fails to compile with kernel 2.6.33-rc4 (autoconf.h missing)
Summary: app-emulation/vmware-modules fails to compile with kernel 2.6.33-rc4 (autocon...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Vadim Kuznetsov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-17 22:32 UTC by Markus Wernig
Modified: 2010-03-04 14:34 UTC (History)
5 users (show)

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


Attachments
1.0.0.24-autoconf-generated.patch (1.0.0.24-autoconf-generated.patch,17.72 KB, patch)
2010-02-05 23:20 UTC, Fabio Rossi
Details | Diff
1.0.0.25-autoconf-generated.patch (1.0.0.25-autoconf-generated.patch,17.26 KB, patch)
2010-02-05 23:21 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Wernig 2010-01-17 22:32:27 UTC
Hi all

After upgrading to kernel 2.6.33-rc4, vmware-modules (1.0.0.25) fail to compile. 
The emerge aborts with the following messages (and more follow-up errors):

  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work/vmblock-only/linux/block.o                                                     
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work/vmblock-only/linux/os.h:30,                                        
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work/vmblock-only/linux/block.c:26:                                     
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work/vmblock-only/./include/driver-config.h:35:28: error: linux/autoconf.h: No such file or directory                                                                                                                 

In fact, /usr/src/linux/include/linux/autoconf.h has moved to /usr/src/linux/include/generated/autoconf.h.
After doing the following, emerge succeeded:
# cd /usr/src/linux/include
# ln -s /usr/src/linux/include/generated/* linux/

But this is just a temporary workaround until the next kernel upgrade.

Kind regards
Markus
Comment 1 Fabio Rossi 2010-02-05 23:20:55 UTC
Created attachment 218599 [details, diff]
1.0.0.24-autoconf-generated.patch

Here is the patch for vmware-modules-1.0.0.24
Comment 2 Fabio Rossi 2010-02-05 23:21:47 UTC
Created attachment 218601 [details, diff]
1.0.0.25-autoconf-generated.patch

Here is the patch for vmware-modules-1.0.0.25
Comment 3 Willard Dawson 2010-02-26 02:59:07 UTC
(In reply to comment #1)
> Created an attachment (id=218599) [details]
> 1.0.0.24-autoconf-generated.patch
> 
> Here is the patch for vmware-modules-1.0.0.24
> 

Works for me with =app-emulation/vmware-modules-1.0.0.24-r1 and =app-emulation/vmware-server-2.0.2.203138 on 2.6.33.  Maybe time to bump it to the main Portage tree?
Comment 4 Vadim Kuznetsov (RETIRED) gentoo-dev 2010-03-04 14:34:40 UTC
I believe it's fixed. Thanks for the patches.