Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 562436

Summary: sys-devel/llvm-3.7.0-r1: weird 'lib' symlink in python-sitedir
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-10-06 20:27:25 UTC
>>> /usr/lib64/python2.7/site-packages/lib -> ../../../lib

Quite wrong and pointless, I guess.
Comment 1 Bernard Cafarelli gentoo-dev 2015-10-11 12:52:55 UTC
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
Comment 2 Bernard Cafarelli gentoo-dev 2015-10-11 15:34:01 UTC
Too bad these are not handled by the build system, the problematic function is make_symlink_liblldb() in tools/lldb/scripts/Python/finishSwigPythonLLDB.py
Comment 3 Bernard Cafarelli gentoo-dev 2015-10-11 18:42:39 UTC
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)