MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014869 | CMake | CMake | public | 2014-04-08 17:12 | 2016-06-10 14:31 |
Reporter | Jean-Christophe Fillion-Robin | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0014869: ExternalProject - Configuring project failed after changing branch in SVN_REPOSITORY | ||||
Description | The following error is reported: [ 12%] Performing download step (SVN checkout) for 'EMSegment' svn: E155000: '/home/jchris/Projects/svn-swtich-cmake-bug/build/EMSegment' is already a working copy for a different URL | ||||
Steps To Reproduce | Configure and build the example posted below, then re-configure with -DSWITCH)URL:BOOL=1 # -------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8< cmake_minimum_required(VERSION 2.8.12) project(Foo) include(ExternalProject) if(NOT SWITCH_URL) ExternalProject_Add(EMSegment SVN_REPOSITORY "http://svn.slicer.org/Slicer3/trunk/Modules/EMSegment" [^] SVN_REVISION -r "17040" SOURCE_DIR EMSegment BUILD_IN_SOURCE 1 CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND "" ) else() ExternalProject_Add(EMSegment SVN_REPOSITORY "http://svn.slicer.org/Slicer3/branches/Slicer4-EMSegment" [^] SVN_REVISION -r "17043" SOURCE_DIR EMSegment BUILD_IN_SOURCE 1 CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND "" ) endif() # -------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8< | ||||
Additional Information | Log step by step ... $ ~/Support/cmake-2.8.12.2/bin/cmake ../ -- The C compiler identification is GNU 4.8.1 [...] -- Configuring done -- Generating done -- Build files have been written to: /home/jchris/Projects/svn-swtich-cmake-bug/build jchris@karakoram:build $ make Scanning dependencies of target EMSegment [ 12%] Creating directories for 'EMSegment' [ 25%] Performing download step (SVN checkout) for 'EMSegment' A EMSegment/CMake A EMSegment/CMake/EM_Slicer3_GenerateConfigureFile.cmake [...] Checked out revision 17040. [ 37%] No patch step for 'EMSegment' [ 50%] Performing update step (SVN update) for 'EMSegment' Updating '.': At revision 17040. [ 62%] No configure step for 'EMSegment' [ 75%] No build step for 'EMSegment' [ 87%] No install step for 'EMSegment' [100%] Completed 'EMSegment' [100%] Built target EMSegment jchris@karakoram:build $ ~/Support/cmake-2.8.12.2/bin/cmake -DSWITCH_URL:BOOL=1 . -- Configuring done -- Generating done -- Build files have been written to: /home/jchris/Projects/svn-swtich-cmake-bug/build jchris@karakoram:build $ make [ 12%] Performing download step (SVN checkout) for 'EMSegment' svn: E155000: '/home/jchris/Projects/svn-swtich-cmake-bug/build/EMSegment' is already a working copy for a different URL make[2]: *** [EMSegment-prefix/src/EMSegment-stamp/EMSegment-download] Error 1 make[1]: *** [CMakeFiles/EMSegment.dir/all] Error 2 make: *** [all] Error 2 | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-04-08 17:12 | Jean-Christophe Fillion-Robin | New Issue | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042531 | |||
2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|