Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342373 - invalid install_name in sys-devel/clang-2.8-r2
Summary: invalid install_name in sys-devel/clang-2.8-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-23 19:33 UTC by Konstantin Tokarev
Modified: 2010-10-24 19:13 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-10-23 19:33:44 UTC
* QA Notice: invalid reference to @rpath/libclang.dylib in /Users/konstantintokarev/Gentoo/usr/bin/c-index-test
 * QA Notice: invalid self-reference install_name @rpath/libclang.dylib in /Users/konstantintokarev/Gentoo/usr/lib/llvm/libclang.dylib
 * ERROR: sys-devel/clang-2.8-r2 failed:
 *   invalid install_name found, your application or library will crash at runtime
Comment 1 Fabian Groffen gentoo-dev 2010-10-23 20:00:25 UTC
fixes coming up, need testing here (a single G5 is slow)
Comment 2 Konstantin Tokarev 2010-10-24 06:58:31 UTC
Sorry, but I don't see update of ebuild, so cannot test
Comment 3 Fabian Groffen gentoo-dev 2010-10-24 08:11:59 UTC
correct, I decided to go to sleep, instead of waiting for a couple of hours more :/
Comment 4 Fabian Groffen gentoo-dev 2010-10-24 12:10:00 UTC
fixes worked as expected, committed now.
Comment 5 Konstantin Tokarev 2010-10-24 12:48:10 UTC
was it difficult to fix? should I report similar problem next time, or try to fix it myself?
Comment 6 Fabian Groffen gentoo-dev 2010-10-24 12:50:37 UTC
It was not difficult, it's just in the post install_name_tool loop down in the ebuild.  However, I just found out that in my case, it seems I have invalid install_names that portage didn't warn me about.
Comment 7 Konstantin Tokarev 2010-10-24 13:54:55 UTC
Clang installs now, but with warning

install_name_tool: can't open file: /Volumes/Development/Gentoo/var/tmp/portage/sys-devel/clang-2.8-r2/image/Users/konstantintokarev/Gentoo//usr/lib/llvm/libCIndex.dylib (No such file or directory) 
Comment 8 Fabian Groffen gentoo-dev 2010-10-24 19:13:18 UTC
I fixed llvm and clang, works for me on 10.4 now