<?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>68700</bug_id>
          
          <creation_ts>2004-10-24 06:31 0000</creation_ts>
          <short_desc>gcc-config being partial, if installed for the first time</short_desc>
          <delta_ts>2004-10-25 20:12:26 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</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>glen@delfi.ee</reporter>
          <assigned_to>toolchain@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>glen@delfi.ee</who>
            <bug_when>2004-10-24 06:31:42 0000</bug_when>
            <thetext>emerge -C gcc-config &amp;&amp; emerge gcc-config gives unexpected results.

gcc-config will contain only &apos;wrapper&apos; and &apos;gcc-config&apos; programs. so perhaps gcc-config itself shouldn&apos;t depend on system gcc-config, but rather use (or fallback) to own sources.

Reproducible: Always
Steps to Reproduce:
1. emerge -C gcc-config
2. emerge gcc-config
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) sys-devel/gcc-config-1.3.6-r3 to /
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Source unpacked.
&gt;&gt;&gt; Test phase [not enabled]: sys-devel/gcc-config-1.3.6-r3

&gt;&gt;&gt; Install gcc-config-1.3.6-r3 into /var/tmp/portage/gcc-config-1.3.6-r3/image/ category sys-devel
/usr/lib/portage/bin/ebuild.sh: line 1: //usr/bin/gcc-config: No such file or directory
 * Compiling wrapper...
 * Installing gcc-config...
man:
prepallstrip:
strip:
strip:
   usr/lib/gcc-config/wrapper
&gt;&gt;&gt; Completed installing into /var/tmp/portage/gcc-config-1.3.6-r3/image/

./
./usr/
./usr/bin/
./usr/bin/gcc-config
./usr/lib/
./usr/lib/gcc-config/
./usr/lib/gcc-config/wrapper
&gt;&gt;&gt; Done.
&gt;&gt;&gt; extracting info
&gt;&gt;&gt; extracting gcc-config-1.3.6-r3
&gt;&gt;&gt; Merging sys-devel/gcc-config-1.3.6-r3 to /
--- /usr/
--- /usr/bin/
&gt;&gt;&gt; /usr/bin/gcc-config
--- /usr/lib/
&gt;&gt;&gt; /usr/lib/gcc-config/
&gt;&gt;&gt; /usr/lib/gcc-config/wrapper
 * Switching to i686-pc-linux-gnu-3.3.4 compiler... [ ok ]
&gt;&gt;&gt; Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
&gt;&gt;&gt; sys-devel/gcc-config-1.3.6-r3 merged.
&gt;&gt;&gt; Recording sys-devel/gcc-config in &quot;world&quot; favorites file...
&gt;&gt;&gt; clean: No packages selected for removal.
&gt;&gt;&gt; Auto-cleaning packages ...
&gt;&gt;&gt; No outdated packages were found on your system.
 * GNU info directory index is up-to-date.

3. ls -l `epm -ql gcc-config `
-rwxr-xr-x  1 root root  10K Oct 24 16:22 /usr/bin/gcc-config*
-rwxr-xr-x  1 root root 7.4K Oct 24 16:22 /usr/lib/gcc-config/wrapper*

Actual Results:  
 

Expected Results:  
gcc-config package to contain all those cpp,gcc,g++ wrappers</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-25 20:12:26 0000</bug_when>
            <thetext>1.3.7-r1 now adds $S to first PATH element so it&apos;ll use the new packaged gcc-config instead of anything else</thetext>
          </long_desc>
      
    </bug>

</bugzilla>