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
Touch seeded packages, which is subscribed to dbus-cpp in Ubuntu.
https://bugs.launchpad.net/bugs/1680428

Title:
  dbus-cpp FTBFS due to cmake gmock issues

Status in dbus-cpp package in Ubuntu:
  New

Bug description:
  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.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to