Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290381 - sys-devel/gcc installs broken symlink in include-fixed
Summary: sys-devel/gcc installs broken symlink in include-fixed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-24 14:35 UTC by James C. Georgas
Modified: 2011-03-07 14:03 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 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