Source: cupt
Version: 2.8.1
Severity: normal
User: [email protected]
Usertags: cmake-3.0

Hi,

I have prepared cmake 3.0 in experimental and would like to upload it to
unstable soon.

cupt fails to build from source with cmake 3.0 because it tries to create
a symlink from <SRCDIR>/test/t to <BUILDDIR>/test/t.
This fails when SRCDIR == BUILDDIR, which is how the package is built:

> make[4]: Entering directory '/tmp/buildd/cupt-2.8.1'
> failed to create symbolic link 't' because existing path cannot be removed: 
> Is a directory
> test/CMakeFiles/test.dir/build.make:49: recipe for target 
> 'test/CMakeFiles/test' failed
> make[4]: *** [test/CMakeFiles/test] Error 1

The offending line is in test/CMakeLists.txt
        COMMAND cmake -E create_symlink ${SDIR}/t t

Cheers,
Felix


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to