[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2017-02-01 Thread Daniel van Vugt
** Changed in: mir
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Released
Status in Mir 0.25 series:
  Fix Released
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  Fix Released
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Fix Released
Status in unity package in Ubuntu:
  Fix Released

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2017-01-25 Thread Launchpad Bug Tracker
** Branch linked: lp:~ci-train-bot/mir/mir-ubuntu-zesty-2369

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Released
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  Fix Released
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Fix Released
Status in unity package in Ubuntu:
  Fix Released

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-12-18 Thread Daniel van Vugt
** Changed in: mir/0.25
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Released
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  Fix Released
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Fix Released
Status in unity package in Ubuntu:
  Fix Released

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-12-15 Thread Launchpad Bug Tracker
This bug was fixed in the package mir - 0.25.0+17.04.20161203-0ubuntu1

---
mir (0.25.0+17.04.20161203-0ubuntu1) zesty; urgency=medium

  * New upstream release 0.25.0 (https://launchpad.net/mir/+milestone/0.25.0)
- ABI summary:
  . mirclient ABI unchanged at 9
  . mirserver ABI bumped to 42
  . mircommon ABI bumped to 7
  . mirplatform ABI bumped to 14
  . mirprotobuf ABI unchanged at 3
  . mirplatformgraphics ABI bumped to 11
  . mirclientplatform ABI unchanged at 5
  . mirinputplatform ABI bumped to 6
  . mircore ABI added, at version 1
- Enhancements:
  . Added pointer confinement support
  . Identify Raspberry Pi output types correctly
  . Added dead key and compose key support
  . Added gamma support for KMS hardware
  . Added yakkety and zesty gcc-6 support
  . Added surface passthrough support for fullscreen clients of nested
servers
  . Introduced a new library `libmircore'
  . Began migrating from Protobuf to Cap'n Proto starting with events
  . Began support for VirtualBox (servers now start instead of crashing
but full support for GL clients is still missing)
  . Began support for high precision frame timing, implemented for the
KMS, Android and X11 backends so far
  . Added --display-report support for the X11 backend
  . Improved reliability of `mirvanity' latency test tool
  . Moved to using the CSS cursor naming scheme internally, although
the old symbolic indentifiers remain unchanged and still work
  . Added refresh rate to MirSurfaceOutputEvent
  . Many improvements to automated test quality and coverage
  . Smoother desktop zoom using mir_proving_server (Super + two fingers)
- Bugs fixed:
  . FTBFS On Zesty: invalid use of
'struct native_handle' (LP: #1638774)
  . libmirclient-debug-extension-dev install debug/surface.h
twice (LP: #1639153)
  . Mir crashes on virtual box drmModeCrtcSetGamma
Function not implemented (LP: #1638220)
  . Flickering in mir_demo_client_multistream (LP: #1635273)
  . Camera apps (camera & vanity) never exit (LP: #1635010)
  . Clients cannot connect when MIR_SOCKET="" (LP: #1634508)
  . mirtest-dev packaging fails to sepcify boost depends (LP: #1633537)
  . cursor.h is unclear about mir_diagonal_resize_* (LP: #1626924)
  . Inconsistent underscores in cursor names (LP: #1632617)
  . [regression] Accidental libmircommon.so.6 break (LP: #1617865)
  . [regression] mir demo server fails to start with mx4 (LP: #1615703)
  . [regression] Trust prompt now shown when starting camera (LP: #1612256)
  . [regression] make abi-check fails to build (LP: #1626866)
  . Nested servers prevent overlays or fullscreen bypass (LP: #1262116)
  . Failed to get PRIME fd from gbm bo (LP: #1607812)
  . Mir-on-X is difficult to use on 1366x768 laptop (LP: #1590959)
  . Remove useless message 'Surface 0 DPI' in demos (LP: #1559831)
  . Mir fails to cross-build with newer sbuild (LP: #1628507)
  . Infinite loop in AbstractShell::focus_next_session (LP: #1625401)
  . Destroying a presentation chain doesn't trigger ownership
notification to client (LP: #1626503)
  . Keyboard layout not applied on the shell (LP: #1626435)
  . Warning, No syntax specified for the proto file (LP: #1624971)
  . display-report=log reports vsync on non-existent output number
(LP: #1621352)
  . libmirserver-dev missing uuid-dev depends (LP: #1617435)
  . debian/control missing epoxy (LP: #1617256)
  . Downstreams need to disable clang diagnostic "-Wreturn-type-clinkage"
to build against public headers (LP: #1615587)
  . mirtest-dev: mock_display_configuration.h uses mg namespace without
using it (LP: #1614983)
  . FTBFS using clang (LP: #1609612)
  . mesa-kms doesn't fall back to using software cursor if hardware
cursor is unavailable (LP: #1610054)
  . StubGraphicsPlatform::create_display() leaves a dubious state
(LP: #1611337)
  . Mir build/tests fail with gcc-6 and LTO (LP: #1610215)
  . Cross compiling on xenial fails (LP: #1609329)
  . Building with -DMIR_PLATFORM=anroid fails (LP: #1609916)
  . unity-system-compositor crashes on start-up with "Mir fatal error:
Failed to schedule page flip" (LP: #1584894)
  . mir_connection_create_spec_for_tooltip doesn't meet requirements
(LP: #1603922)
  . Updating surface size/location needs to update the pointer confinement
(LP: #1604673)
  . ServerConfigurationOption is not ptest safe (LP: #1607351)
  . HWC's vsync_signal_on is never called when using HWC 1.0 (LP: #1613373)
  . mir_connection_create_spec_for_tooltip does not set aux_rect
(LP: #1632335)
  . VMware virtual connector recognized by Mir as "unknown" (LP: #1248072)
  . Fix code to match the 

[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-12-01 Thread Daniel van Vugt
** Changed in: mir (Ubuntu)
 Assignee: (unassigned) => Chris Halse Rogers (raof)

** Changed in: mir (Ubuntu)
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Committed
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  Fix Released
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  In Progress
Status in unity package in Ubuntu:
  Fix Released

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-12-01 Thread Launchpad Bug Tracker
This bug was fixed in the package unity - 7.5.0+17.04.20161130-0ubuntu1

---
unity (7.5.0+17.04.20161130-0ubuntu1) zesty; urgency=medium

  [ Kai-Heng Feng ]
  * UnitySettings: If scale-factor is not set, find and set right scale
for HiDPI displays.

  [ Marco Trevisan (Treviño) ]
  * CMakeLists.txt: add support to compile with GTest 1.8 (LP: #1644062)
  * UnityScreen: toggle gestures recognition on lock (LP: #1645507)

 -- Marco Trevisan (Treviño)   Wed, 30 Nov 2016 11:06:58
+

** Changed in: unity (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Committed
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  Fix Released
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Triaged
Status in unity package in Ubuntu:
  Fix Released

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-11-30 Thread Launchpad Bug Tracker
This bug was fixed in the package content-hub -
0.2+17.04.20161128-0ubuntu1

---
content-hub (0.2+17.04.20161128-0ubuntu1) zesty; urgency=medium

  * Fix build failure on zesty due to googletest 1.8. Also refactored
tests/acceptance-tests/CMakeLists.txt to make adding tests less
cumbersome. (LP: #1644062)

 -- Ken VanDine   Mon, 28 Nov 2016 17:39:58
+

** Changed in: content-hub (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Committed
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  Fix Released
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Triaged
Status in unity package in Ubuntu:
  In Progress

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-11-30 Thread Launchpad Bug Tracker
** Branch linked: lp:~ci-train-bot/mir/mir-ubuntu-zesty-2180

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Committed
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  In Progress
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Triaged
Status in unity package in Ubuntu:
  In Progress

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-11-29 Thread Treviño
** Changed in: unity (Ubuntu)
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Committed
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  In Progress
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Triaged
Status in unity package in Ubuntu:
  In Progress

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-11-29 Thread Daniel van Vugt
** Changed in: unity (Ubuntu)
 Assignee: (unassigned) => Marco Trevisan (Treviño) (3v1n0)

** Changed in: unity (Ubuntu)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Committed
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  In Progress
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Triaged
Status in unity package in Ubuntu:
  In Progress

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-11-29 Thread Launchpad Bug Tracker
** Branch linked: lp:~3v1n0/unity/gtest-1.8-fixes

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Committed
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  In Progress
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Triaged
Status in unity package in Ubuntu:
  New

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-11-29 Thread Treviño
** Also affects: unity (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Committed
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  In Progress
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Triaged
Status in unity package in Ubuntu:
  New

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-11-28 Thread Daniel van Vugt
** Branch unlinked: lp:mir/0.25

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Committed
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  In Progress
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Triaged

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-11-28 Thread Daniel van Vugt
Fix committed to lp:mir/0.25 at revision 3819, scheduled for release in
Mir 0.25.1 (or 0.25.0 ... not sure which one yet).

** Also affects: mir/0.25
   Importance: Undecided
   Status: New

** Changed in: mir/0.25
   Importance: Undecided => Critical

** Changed in: mir/0.25
 Assignee: (unassigned) => Chris Halse Rogers (raof)

** Changed in: mir/0.25
   Status: New => Fix Committed

** Changed in: mir/0.25
Milestone: None => 0.25.1

** Also affects: mir (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: mir (Ubuntu)
   Importance: Undecided => Critical

** Changed in: mir (Ubuntu)
   Status: New => Triaged

** Changed in: mir/0.25
Milestone: 0.25.1 => 0.25.0

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Committed
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  In Progress
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Triaged

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-11-28 Thread Launchpad Bug Tracker
** Branch linked: lp:mir/0.25

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in Mir 0.25 series:
  Fix Committed
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  In Progress
Status in googletest package in Ubuntu:
  Won't Fix
Status in mir package in Ubuntu:
  Triaged

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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


[Touch-packages] [Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-11-28 Thread Daniel van Vugt
Probably "Won't Fix" the googletest package itself, since this is its
original form from Debian and we can work around it.

** Also affects: content-hub (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: content-hub (Ubuntu)
 Assignee: (unassigned) => Ken VanDine (ken-vandine)

** Changed in: content-hub (Ubuntu)
   Importance: Undecided => Critical

** Changed in: content-hub (Ubuntu)
   Status: New => In Progress

** Changed in: googletest (Ubuntu)
   Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1644062

Title:
  googletest 1.8.0-2 (on zesty) breaks existing builds [add_library
  cannot create target "gmock" ...]

Status in Mir:
  Fix Committed
Status in cmake-extras package in Ubuntu:
  Fix Released
Status in content-hub package in Ubuntu:
  In Progress
Status in googletest package in Ubuntu:
  Won't Fix

Bug description:
  After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working
  builds break:

  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.

  The CMakeLists.txt in our project that triggers this error does this:

  set(old_cxx_flags ${CMAKE_CXX_FLAGS})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast 
-Wno-missing-field-initializers")
  find_package(GMock)
  set(CMAKE_CXX_FLAGS ${old_cxx_flags})

  This used to work fine, but no breaks on zesty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1644062/+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