[lldb-dev] [Bug 43852] New: FTBFS: file INSTALL cannot find "/builddir/build/BUILD/lldb-9.0.0.src/clr-build/./lib64/python3.7".
via lldb-dev
lldb-dev at lists.llvm.org
Wed Oct 30 11:14:13 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43852
Bug ID: 43852
Summary: FTBFS: file INSTALL cannot find
"/builddir/build/BUILD/lldb-9.0.0.src/clr-build/./lib6
4/python3.7".
Product: lldb
Version: 9.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: thiago at kde.org
CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org
(Failure to build from source)
When building lldb 9.0.0 on Clear Linux, with Python 3.7, lldb fails to build.
Configured as:
cmake -G 'Unix Makefiles' -DBUILD_SHARED_LIBS:BOOL=ON
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SBINDIR=/usr/bin
-DCMAKE_INSTALL_LIBDIR=/usr/lib64 -DLIB_INSTALL_DIR=/usr/lib64 -DLIB_SUFFIX=64
-DCMAKE_AR=/usr/bin/gcc-ar -DCMAKE_BUILD_TYPE=RelWithDebInfo
-DCMAKE_RANLIB=/usr/bin/gcc-ranlib .. -DLLVM_HOST_TRIPLE=x86_64-generic-linux
-DLLVM_LIBDIR_SUFFIX=64 -DLLVM_LINK_LLVM_DYLIB:BOOL=ON
-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3
Build succeeds, but fails to install:
-- Installing:
/builddir/build/BUILDROOT/lldb-9.0.0-2.x86_64/usr/include/lldb/Host/ProcessLauncher.h
-- Up-to-date: /builddir/build/BUILDROOT/lldb-9.0.0-2.x86_64/usr/include
-- Up-to-date: /builddir/build/BUILDROOT/lldb-9.0.0-2.x86_64/usr/include/lldb
-- Up-to-date:
/builddir/build/BUILDROOT/lldb-9.0.0-2.x86_64/usr/include/lldb/Host
-- Installing:
/builddir/build/BUILDROOT/lldb-9.0.0-2.x86_64/usr/include/lldb/Host/Config.h
CMake Error at scripts/cmake_install.cmake:41 (file):
file INSTALL cannot find
"/builddir/build/BUILD/lldb-9.0.0.src/clr-build/./lib64/python3.7".
Call Stack (most recent call first):
cmake_install.cmake:50 (include)
make: *** [Makefile:74: install] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.GgR7lj (%install)
Python info:
$ python -c 'import sys; print(sys.implementation); print(sys.path)'
namespace(_multiarch='x86_64-linux-gnu', cache_tag='cpython-37',
hexversion=50791920, name='cpython', version=sys.version_info(major=3, minor=7,
micro=5, releaselevel='final', serial=0))
['', '/usr/lib/python37.zip', '/usr/lib/python3.7',
'/usr/lib/python3.7/lib-dynload', '/usr/lib/python3.7/site-packages']
Full build log attached.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20191030/6d01fefa/attachment.html>
More information about the lldb-dev
mailing list