Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68700 - gcc-config being partial, if installed for the first time
Summary: gcc-config being partial, if installed for the first time
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-24 06:31 UTC by Elan Ruusamäe
Modified: 2004-10-25 20:12 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 Elan Ruusamäe 2004-10-24 06:31:42 UTC
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
Comment 1 SpanKY gentoo-dev 2004-10-25 20:12:26 UTC
1.3.7-r1 now adds $S to first PATH element so it'll use the new packaged gcc-config instead of anything else