>>> /usr/lib64/python2.7/site-packages/lib -> ../../../lib Quite wrong and pointless, I guess.
Generated by: cd /var/tmp/portage/sys-devel/llvm-3.7.0-r2/work/llvm-3.7.0.src-abi_x86_64.amd64/tools/lldb && /usr/bin/python /var/tmp/portage/sys-devel/llvm-3.7.0-r2/work/llvm-3.7.0.src/tools/lldb/scripts/finishSwigWrapperClasses.py --srcRoot=/var/tmp/portage/sys-devel/llvm-3.7.0-r2/work/llvm-3.7.0.src/tools/lldb --targetDir=/var/tmp/portage/sys-devel/llvm-3.7.0-r2/work/llvm-3.7.0.src-abi_x86_64.amd64/tools/lldb/scripts --cfgBldDir=/var/tmp/portage/sys-devel/llvm-3.7.0-r2/work/llvm-3.7.0.src-abi_x86_64.amd64/tools/lldb/scripts --prefix=/var/tmp/portage/sys-devel/llvm-3.7.0-r2/work/llvm-3.7.0.src-abi_x86_64.amd64 --cmakeBuildConfiguration=. -m
Too bad these are not handled by the build system, the problematic function is make_symlink_liblldb() in tools/lldb/scripts/Python/finishSwigPythonLLDB.py
Not very happy about the patch+sed fix, but at least this fixes the bug. Included in 3.7.0-r2 (masked until it gets the ocaml fixes too)