View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014869CMakeCMakepublic2014-04-08 17:122016-06-10 14:31
ReporterJean-Christophe Fillion-Robin 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0014869: ExternalProject - Configuring project failed after changing branch in SVN_REPOSITORY
DescriptionThe 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
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042531)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 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


Copyright © 2000 - 2018 MantisBT Team