Bug#802081: kmetronome: FTBFS: add_custom_target cannot create target "uninstall"

Chris West (Faux) solo-debianbugs at goeswhere.com
Sat Oct 17 13:23:51 UTC 2015

Source: kmetronome
Version: 0.10.1-1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

-- kmetronome 0.10.1 install prefix: /usr
CMake Warning (dev) at /usr/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /usr/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:1026 (_automoc4_kde4_pre_target_handling)
  src/CMakeLists.txt:71 (KDE4_ADD_EXECUTABLE)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:129 (ADD_CUSTOM_TARGET):
  add_custom_target cannot create target "uninstall" because another target
  with the same name already exists.  The existing target is a custom target
  created in source directory "/kmetronome-0.10.1".  See documentation for
  policy CMP0002 for more details.

-- Configuring incomplete, errors occurred!
See also "/kmetronome-0.10.1/obj-x86_64-linux-gnu/CMakeFiles/CMakeOutput.log".
See also "/kmetronome-0.10.1/obj-x86_64-linux-gnu/CMakeFiles/CMakeError.log".
	"tail -v -n +0 CMakeCache.txt"

Full build log:

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

More information about the pkg-multimedia-maintainers mailing list