MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013934 | CMake | CMake | public | 2013-02-19 12:07 | 2016-06-10 14:31 |
Reporter | Dimitri Merejkowsky | ||||
Assigned To | Peter Kuemmel | ||||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0013934: cannot find relink libraries at installation when cross-compiling with Ninja | ||||
Description | Trying to install libraries when cross-compilig failes because "relink" target is not found This in unfortunate because it makes it impossible to deploy cross-compiled code when using Ninja | ||||
Steps To Reproduce | > sh build.sh cross.cmake + rm -fr build + mkdir build + cd build + cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=cross.cmake .. -- Configuring done -- Generating done -- Build files have been written to: /home/dmerejkowsky/src/master/ninjabug/build + cd build + ninja [4/4] Linking C shared library libbar.so + rm -fr /tmp/inst + cd build + DESTDIR=/tmp/inst + ninja install [1/1] Install the project... FAILED: cd /home/dmerejkowsky/src/master/ninjabug/build && /home/dmerejkowsky/src/3rdpart/cmake/build/bin/cmake -P cmake_install.cmake -- Install configuration: "" CMake Error at cmake_install.cmake:36 (FILE): file INSTALL cannot find "/home/dmerejkowsky/src/master/ninjabug/build/CMakeFiles/CMakeRelink.dir/libbar.so". ninja: build stopped: subcommand failed. Note that when not specifying a toolchain file, this works just fine: + rm -fr build + mkdir build + cd build + cmake -G Ninja .. -- The C compiler identification is GNU 4.7.2 -- Check for working C compiler using: Ninja -- Check for working C compiler using: Ninja -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Configuring done -- Generating done -- Build files have been written to: /home/dmerejkowsky/src/master/ninjabug/build + cd build + ninja [4/4] Linking C shared library libbar.so + rm -fr /tmp/inst + cd build + DESTDIR=/tmp/inst + ninja install [1/1] Install the project... -- Install configuration: "" -- Installing: /tmp/inst/usr/local/lib/libbar.so -- Removed runtime path from "/tmp/inst/usr/local/lib/libbar.so" | ||||
Additional Information | Configuration: * linux64 bits * ninja from git: 27f7528 * cmake from git: 2.8.10.20130214-g6323 | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ninjabug.tar.gz (650) 2013-02-19 12:07 https://public.kitware.com/Bug/file/4647/ninjabug.tar.gz ninja-solution.tar (10,240) 2013-12-06 07:49 https://public.kitware.com/Bug/file/5005/ninja-solution.tar | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-02-19 12:07 | Dimitri Merejkowsky | New Issue | |||
2013-02-19 12:07 | Dimitri Merejkowsky | File Added: ninjabug.tar.gz | |||
2013-02-19 12:11 | Dimitri Merejkowsky | Note Added: 0032339 | |||
2013-02-19 12:58 | Brad King | Note Added: 0032340 | |||
2013-02-19 12:58 | Brad King | Assigned To | => Peter Kuemmel | ||
2013-02-19 12:58 | Brad King | Status | new => assigned | ||
2013-02-19 13:06 | Dimitri Merejkowsky | Note Added: 0032341 | |||
2013-02-19 13:15 | Dimitri Merejkowsky | Note Edited: 0032341 | bug_revision_view_page.php?bugnote_id=32341#r1040 | ||
2013-02-19 14:58 | Alex Neundorf | Note Added: 0032342 | |||
2013-02-19 15:14 | Brad King | Note Added: 0032343 | |||
2013-02-20 03:47 | Dimitri Merejkowsky | Note Added: 0032350 | |||
2013-02-20 03:47 | Dimitri Merejkowsky | Note Edited: 0032350 | bug_revision_view_page.php?bugnote_id=32350#r1042 | ||
2013-11-27 04:13 | ctaf | Note Added: 0034583 | |||
2013-12-06 03:55 | LCID Fire | Note Added: 0034730 | |||
2013-12-06 07:48 | Peter Kuemmel | Assigned To | Peter Kuemmel => | ||
2013-12-06 07:49 | Peter Kuemmel | File Added: ninja-solution.tar | |||
2013-12-06 07:52 | Peter Kuemmel | Note Added: 0034731 | |||
2013-12-06 07:57 | Peter Kuemmel | Note Added: 0034732 | |||
2013-12-06 10:02 | Brad King | Note Added: 0034734 | |||
2013-12-06 10:02 | Brad King | Assigned To | => Peter Kuemmel | ||
2013-12-06 10:05 | Peter Kuemmel | Note Added: 0034735 | |||
2013-12-06 10:05 | Peter Kuemmel | Status | assigned => backlog | ||
2013-12-06 10:07 | Brad King | Note Added: 0034736 | |||
2013-12-06 10:09 | Brad King | Note Added: 0034737 | |||
2013-12-06 10:23 | LCID Fire | Note Added: 0034738 | |||
2013-12-06 11:16 | Brad King | Note Added: 0034740 | |||
2013-12-06 13:54 | Peter Kuemmel | Note Added: 0034741 | |||
2013-12-07 05:23 | Dimitri Merejkowsky | Note Added: 0034742 | |||
2013-12-09 09:11 | Brad King | Note Added: 0034756 | |||
2013-12-09 14:32 | Dimitri Merejkowsky | Note Added: 0034765 | |||
2014-11-06 10:11 | Cristian Adam | Note Added: 0037157 | |||
2014-11-06 10:20 | Brad King | Note Added: 0037158 | |||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042228 | |||
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|