Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209182 - genkernel-3.4.9 resets PATH.
Summary: genkernel-3.4.9 resets PATH.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-06 21:40 UTC by Justin Bronder (RETIRED)
Modified: 2008-02-14 04:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Bronder (RETIRED) gentoo-dev 2008-02-06 21:40:10 UTC
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 Chris Gianelloni (RETIRED) gentoo-dev 2008-02-14 01:41:20 UTC
OK, this is now fixed in SVN...
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2008-02-14 04:32:42 UTC
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.