Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348554 - Invalid install_name in sys-devel/gcc-4.5.1-r1
Summary: Invalid install_name in sys-devel/gcc-4.5.1-r1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-12 19:46 UTC by Konstantin Tokarev
Modified: 2011-04-06 18:14 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 Konstantin Tokarev 2010-12-12 19:46:53 UTC
* QA Notice: invalid self-reference install_name /Volumes/Development/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.5.1/libgcc_s.1.dylib in /Users/konstantintokarev/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.5.1/libgcc_ext.10.4.dylib
 * QA Notice: invalid self-reference install_name /Volumes/Development/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.5.1/libgcc_s.1.dylib in /Users/konstantintokarev/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.5.1/libgcc_ext.10.5.dylib
 * QA Notice: invalid self-reference install_name /Volumes/Development/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.5.1/libgcc_s.1.dylib in /Users/konstantintokarev/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.5.1/libgcc_s.1.dylib
 * QA Notice: invalid self-reference install_name /Volumes/Development/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.5.1/libgfortran.3.dylib in /Users/konstantintokarev/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.5.1/libgfortran.3.dylib
 * QA Notice: invalid self-reference install_name /Volumes/Development/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.5.1/libobjc-gnu.2.dylib in /Users/konstantintokarev/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.5.1/libobjc-gnu.2.dylib
 * QA Notice: invalid self-reference install_name /Volumes/Development/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.5.1/libstdc++.6.dylib in /Users/konstantintokarev/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.5.1/libstdc++.6.dylib
 * ERROR: sys-devel/gcc-4.5.1-r1 failed:
 *   invalid install_name found, your application or library will crash at runtime
Comment 1 Fabian Groffen gentoo-dev 2010-12-12 20:24:17 UTC
your prefix is a symlink, by chance?
Comment 2 Konstantin Tokarev 2010-12-12 20:30:31 UTC
Yes, I've moved it after installation. Is it the reason for this error?
Comment 3 Fabian Groffen gentoo-dev 2010-12-13 07:27:13 UTC
Yes, because gcc can't deal with that too much.  You better set your prefix to the new location, and try an emerge -e system world.  The install_names it complains about are actually point to your new location /Volumes/Development/Gentoo.
Comment 4 Konstantin Tokarev 2010-12-13 08:30:44 UTC
Isn't it possible just to install gcc with correct $EPREFIX variable, or modify startprefix script for this case? Everything else works for me fine with symlink in EPREFIX now.
Comment 5 Fabian Groffen gentoo-dev 2011-04-06 18:14:54 UTC
you can try to hack the ebuild, but no guarantees that everything is ok afterwards.