First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 142855
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo VMWare Bug Squashers <vmware@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Georgi Georgiev <chutz@gg3.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
vmware-mod.eclass.patch vmware-mod.eclass.kbuild-output.patch patch Georgi Georgiev 2006-08-04 22:42 0000 920 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 142855 depends on: Show dependency tree
Bug 142855 blocks: 137422
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-04 22:39 0000
steps to reproduce:

1. set KBUILD_OUTPUT
=/var/tmp/linux-build/$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)-$(MYEXT)
in /usr/src/linux/Makefile

2. emerge vmware-modules

* Actual results:

>>> Compiling source in /var/tmp/portage/vmware-modules-1.0.0.13/work ...
 * Preparing vmmon module
*** Your sources installation is broken:
*** /usr/src/linux/include/.. does not contain .config file
*** vmmon/vmnet build may fail, or built vmmon/vmnet may crash.

*** Hit ENTER to continue, or ^C to stop build.

* expected results... the ebuild proceeding

As background, I'd like to mention that I had the modules and the application
(vmware-workstation) split in my personal overlay. I have always had
KBUILD_OUTPUT set and I have never had this problem. So, the solution I am
offering below has been tested for at least vmware-workstaiton since
5.0.0.13124.

Ah, I'll just attach the patch after posting the bug.

------- Comment #1 From Georgi Georgiev 2006-08-04 22:42:45 0000 -------
Created an attachment (id=93479) [edit]
vmware-mod.eclass.kbuild-output.patch

This fixes the problem for the vmware-mod eclass. Tested for
vmware-modules-1.0.0.13 only and there is a good chance that it doesn't work
for the other module version. Please consider applying the patch even if only
conditionally for vmmon and vmnet.

------- Comment #2 From Mike Auty 2006-08-05 05:56:34 0000 -------
Hi Georgi,

Thanks for highlighting the problem.  A simpler solution would be to add
KBUILD_OUTPUT=${KV_OUT_DIR}, into the BUILD_TARGETS line which should have the
same effect.

I've added this to the vmware testing overlay, so if you'd like to test it for
me please use the ebuilds (and more specifically eclass) in there.  If it all
works, please let me know and I'll make the appropriate updates to the main
tree...  5:)

------- Comment #3 From Georgi Georgiev 2006-08-05 06:11:52 0000 -------
You guys surely know what you're doing. Your solution is simpler and it surely
works (just checked it). Feel free to bump $PORTAGE whenever you feel like it.

------- Comment #4 From Mike Auty 2006-08-05 06:49:18 0000 -------
Georgi,

I'm not intending to bump the package, since it will fail to install for those
who have KBUILD_OUTPUT set, and won't affect those who don't.  However, I'll
mention it on this bug when I add the changes into portage...  5:)

------- Comment #5 From Mike Auty 2006-08-08 12:36:02 0000 -------
This is now in the CVS, and should be with the mirrors in about an hour. 
Please re-open this bug if you still experience the problem...  5:)

First Last Prev Next    No search results available      Search page      Enter new bug