Bug 209182 - genkernel-3.4.9 resets PATH.
Bug#: 209182 Product:  Gentoo Hosted Projects Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: genkernel@gentoo.org Reported By: jsbronder@gentoo.org
Component: genkernel
URL: 
Summary: genkernel-3.4.9 resets PATH.
Keywords:  
Status Whiteboard: 
Opened: 2008-02-06 21:40 0000
Description:   Opened: 2008-02-06 21:40 0000
3rd line of /usr/bin/genkernel sets PATH="/bin:/usr/bin:/sbin:/usr/sbin",
probably because of #97378.

When attempting to cross-compile the kernel using a crossdev-setup environment,
I end up x86_64-gentoo-linux-uclibc-gcc in my path, but no longer have
/usr/i386-pc-linux-gnu/x86_64-gentoo-linux-uclibc/gcc-bin/4.2.2.

The end result is the following which is easily fixed by appending to PATH
instead of resetting it.

COMMAND: make -j2  CROSS_COMPILE="x86_64-gentoo-linux-uclibc-"  
gcc-config error: Could not run/locate "x86_64-gentoo-linux-uclibc-gcc"

------- Comment #1 From Chris Gianelloni (RETIRED) 2008-02-14 01:41:20 0000 -------
OK, this is now fixed in SVN...

------- Comment #2 From Chris Gianelloni (RETIRED) 2008-02-14 04:32:42 0000 -------
I just released genkernel 3.4.10_pre1, which has this fix included.  Feel free
to REOPEN this bug or make a comment if it is not resolved.