Opened 14 months ago
Last modified 13 months ago
#106 accepted defect
make: CMake does not set PYTHON_INTERP during libcxx configuration
Reported by: | Lukáš Zaoral | Owned by: | Vladimír Štill |
---|---|---|---|
Priority: | major | Milestone: | 4.4 |
Component: | other | Keywords: | |
Cc: | kdudka@…, lzaoral@… |
Description
Hi, as previously discussed in the comments 6-10 of issue #73, the make install
target still fails to complete without some additional downstream patching. This issue occurs on Fedora, Manjaro, Ubuntu (and probably on other Linux distros too). Thanks.
Change History (2)
comment:1 Changed 13 months ago by
Owner: | changed from mornfall to Vladimír Štill |
---|---|
Status: | new → accepted |
comment:2 Changed 13 months ago by
This particular problem seems to be fixed in 4.4.2. However, it introduced another one in the final phase of toolchain installation. The gen_link_script.py
script replaces libc++.so
with a plaintext file containing instructions for linker, but CMake expects that this file is in an ELF format.
-- Installing: /opt/divine/lib/libc++.so.2 -- Set runtime path of "/opt/divine/lib/libc++.so.2.0" to "/opt/divine/lib" -- Installing: /opt/divine/lib/libc++.so CMake Error at dios/libcxx/src/cmake_install.cmake:83 (file): file RPATH_CHANGE could not write new RPATH: /opt/divine/lib to the file: /opt/divine/lib/libc++.so No valid ELF RPATH or RUNPATH entry exists in the file; File does not have a valid ELF identification. Call Stack (most recent call first): dios/libcxx/cmake_install.cmake:51 (include) cmake_install.cmake:44 (include) FAILED: CMakeFiles/install.util cd /builds/lzaoral/divine/_build.toolchain && /usr/bin/cmake -P cmake_install.cmake ninja: build stopped: subcommand failed. make: *** [Makefile:164: install] Error 1
Note: See
TracTickets for help on using
tickets.
I was able to reproduce this on Archlinux, the problem occurs only in
make install
, apparently in thetoolchain
part of the install.