* 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
fixes coming up, need testing here (a single G5 is slow)
Sorry, but I don't see update of ebuild, so cannot test
correct, I decided to go to sleep, instead of waiting for a couple of hours more :/
fixes worked as expected, committed now.
was it difficult to fix? should I report similar problem next time, or try to fix it myself?
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.
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)
I fixed llvm and clang, works for me on 10.4 now