Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 290381

Summary: sys-devel/gcc installs broken symlink in include-fixed
Product: Gentoo Linux Reporter: James C. Georgas <james.georgas>
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James C. Georgas 2009-10-24 14:35:13 UTC
Tachyon ~ # ll /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/schily/scg
lrwxrwxrwx 1 root root 6 2009-10-23 20:49 /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/schily/scg -> ../scg

Tachyon ~ # ll /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/scg
ls: cannot access /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/scg: No such file or directory

Tachyon ~ # equery b /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/schily/scg
[ Searching for file(s) /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/schily/scg in *... ]
sys-devel/gcc-4.3.4 (/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/schily/scg -> ../scg)

Tachyon ~ # 

I tried remerging gcc to see if the missing file would be installed, but it did not happen.

Reproducible: Always
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2009-10-26 00:49:40 UTC
confirmed all versions
Comment 2 SpanKY gentoo-dev 2009-10-26 05:03:48 UTC
the ebuild already attempts to prune symlinks and fixed header files.  gcc's fixed-include function has always operated this way (scanning /usr/include/).  guess current logic doesnt trim the symlink yet (top of gcc-compiler_src_install).
Comment 3 SpanKY gentoo-dev 2011-03-07 14:03:58 UTC
this should be fixed already.  seems to be on all my systems.  re-open if a re-emerge of gcc still includes the symlink.

http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.387&r2=1.388