<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>209182</bug_id>
          
          <creation_ts>2008-02-06 21:40 0000</creation_ts>
          <short_desc>genkernel-3.4.9 resets PATH.</short_desc>
          <delta_ts>2008-02-14 04:32:42 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Hosted Projects</product>
          <component>genkernel</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jsbronder@gentoo.org</reporter>
          <assigned_to>genkernel@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jsbronder@gentoo.org</who>
            <bug_when>2008-02-06 21:40:10 0000</bug_when>
            <thetext>3rd line of /usr/bin/genkernel sets PATH=&quot;/bin:/usr/bin:/sbin:/usr/sbin&quot;, 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=&quot;x86_64-gentoo-linux-uclibc-&quot;  
gcc-config error: Could not run/locate &quot;x86_64-gentoo-linux-uclibc-gcc&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2008-02-14 01:41:20 0000</bug_when>
            <thetext>OK, this is now fixed in SVN...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2008-02-14 04:32:42 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>