Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 140352

Summary: madwifi-ng-tools don't use KERNELPATH of chroot env
Product: Gentoo Linux Reporter: Luca <luca.casagrande>
Component: New packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED WONTFIX    
Severity: normal CC: infested, jrmalaq
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Luca 2006-07-14 05:39:00 UTC
Hi to all!
I am using catalyst to build a livecd; i need to emerge madwifi-ng-tools for the callback of genkernel, but ebuild look for the KERNELPATH of the host machine and not the chroot env.
This is the error:
/bin/sh: line 0: cd: /lib/modules/2.6.15-gentoo-r1/build: No such file or directory
Makefile.inc:95: *** /lib/modules/2.6.15-gentoo-r1/build is missing, please set KERNELPATH.  Stop.

!!! ERROR: net-wireless/madwifi-ng-tools-0.0.1531.20060427 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  madwifi-ng-tools-0.0.1531.20060427.ebuild, line 39:   Called die

2.6.15-gentoo-r1 it's my machine kernel
2.6.16-reiser4-r3-nosmp it's the chroot kernel

Thanks
Comment 1 Steev Klimaszewski (RETIRED) gentoo-dev 2007-02-10 03:46:48 UTC
That version is no longer in portage.  Please reopen if the same occurs with 0.9.2's tools