emerge -C gcc-config && emerge gcc-config gives unexpected results.
gcc-config will contain only 'wrapper' and 'gcc-config' programs. so perhaps gcc-config itself shouldn'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!
>>> emerge (1 of 1) sys-devel/gcc-config-1.3.6-r3 to /
>>> Unpacking source...
>>> Source unpacked.
>>> Test phase [not enabled]: sys-devel/gcc-config-1.3.6-r3
>>> 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
>>> 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
>>> Done.
>>> extracting info
>>> extracting gcc-config-1.3.6-r3
>>> Merging sys-devel/gcc-config-1.3.6-r3 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/gcc-config
--- /usr/lib/
>>> /usr/lib/gcc-config/
>>> /usr/lib/gcc-config/wrapper
* Switching to i686-pc-linux-gnu-3.3.4 compiler... [ ok ]
>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies...
>>> sys-devel/gcc-config-1.3.6-r3 merged.
>>> Recording sys-devel/gcc-config in "world" favorites file...
>>> clean: No packages selected for removal.
>>> Auto-cleaning packages ...
>>> 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