[Cupt-devel] Bug#758446: cupt: FTBFS with cmake 3.0

Felix Geyer fgeyer at debian.org
Sun Aug 17 17:04:55 UTC 2014


Source: cupt
Version: 2.8.1
Severity: normal
User: cmake at packages.debian.org
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



More information about the Cupt-devel mailing list