Public bug reported:

During the test-rebuild, the package fails due to a known issue with
gmock in CMake:

CMake Error at /usr/src/googletest/googletest/cmake/internal_utils.cmake:149 
(add_library):
  add_library cannot create target "gmock" because another target with the
  same name already exists.  The existing target is a static library created
  in source directory "/usr/src/googletest/googlemock".  See documentation
  for policy CMP0002 for more details.
Call Stack (most recent call first):
  /usr/src/googletest/googletest/cmake/internal_utils.cmake:172 
(cxx_library_with_type)
  /usr/src/gmock/CMakeLists.txt:84 (cxx_library)


CMake Error at /usr/src/googletest/googletest/cmake/internal_utils.cmake:149 
(add_library):
  add_library cannot create target "gmock_main" because another target with
  the same name already exists.  The existing target is a static library
  created in source directory "/usr/src/googletest/googlemock".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  /usr/src/googletest/googletest/cmake/internal_utils.cmake:172 
(cxx_library_with_type)
  /usr/src/gmock/CMakeLists.txt:89 (cxx_library)


CMake Error at /usr/src/gmock/CMakeLists.txt:106 (install):
  install TARGETS given target "gmock" which does not exist in this
  directory.

** Affects: dbus-cpp (Ubuntu)
     Importance: High
     Assignee: Łukasz Zemczak (sil2100)
         Status: New


** Tags: ftbfs zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1680428

Title:
  dbus-cpp FTBFS due to cmake gmock issues

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus-cpp/+bug/1680428/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to