Re: [Inkscape-devel] inkscape not building on zesty (17.04)
![](https://secure.gravatar.com/avatar/f44a7493d086d0c367cc0e10240a9dea.jpg?s=120&d=mm&r=g)
The relevant part of the log seems to be in the detection of gmock/gtest:
_______________________________________________________________________ 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. _______________________________________________________________________
Anyone has an idea how to fix this?
![](https://secure.gravatar.com/avatar/ca2f70e2d8f170737606b4b740d91a92.jpg?s=120&d=mm&r=g)
Hi Marc,
I'm doing some PPA maintenance now... :)
AV
On 7 January 2017 at 17:14, Marc Jeanmougin <marc@...3062...> wrote:
The relevant part of the log seems to be in the detection of gmock/gtest:
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. _______________________________________________________________________
Anyone has an idea how to fix this?
-- Mc
On 01/05/2017 11:11 PM, Launchpad Buildd System wrote:
- Source Package: inkscape-trunk
- Version: 1:0.91.0+devel+15392+77~ubuntu17.04.1
- Architecture: i386
- Archive: ~inkscape.dev/ubuntu/trunk
- Component: main
- State: Failed to build
- Duration: 4 minutes
- Build Log: https://launchpad.net/~inkscape.dev/+archive/ubuntu/trunk/+build/11820680/+f...
- Builder: https://launchpad.net/builders/lcy01-10
- Source: not available
If you want further information about this situation, feel free to contact a member of the Launchpad Buildd Administrators team.
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
![](https://secure.gravatar.com/avatar/ca2f70e2d8f170737606b4b740d91a92.jpg?s=120&d=mm&r=g)
OK, I've reproduced this locally. See https://github.com/google/googletest/issues/958
On 9 January 2017 at 18:29, Alex Valavanis <valavanisalex@...400...> wrote:
Hi Marc,
I'm doing some PPA maintenance now... :)
AV
On 7 January 2017 at 17:14, Marc Jeanmougin <marc@...3062...> wrote:
The relevant part of the log seems to be in the detection of gmock/gtest:
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. _______________________________________________________________________
Anyone has an idea how to fix this?
-- Mc
On 01/05/2017 11:11 PM, Launchpad Buildd System wrote:
- Source Package: inkscape-trunk
- Version: 1:0.91.0+devel+15392+77~ubuntu17.04.1
- Architecture: i386
- Archive: ~inkscape.dev/ubuntu/trunk
- Component: main
- State: Failed to build
- Duration: 4 minutes
- Build Log: https://launchpad.net/~inkscape.dev/+archive/ubuntu/trunk/+build/11820680/+f...
- Builder: https://launchpad.net/builders/lcy01-10
- Source: not available
If you want further information about this situation, feel free to contact a member of the Launchpad Buildd Administrators team.
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
![](https://secure.gravatar.com/avatar/ca2f70e2d8f170737606b4b740d91a92.jpg?s=120&d=mm&r=g)
See also, a fix for a similar issue in Mir http://bazaar.launchpad.net/~mir-team/mir/0.25/revision/3819
AV
On 9 January 2017 at 22:27, Alex Valavanis <valavanisalex@...400...> wrote:
OK, I've reproduced this locally. See https://github.com/google/googletest/issues/958
On 9 January 2017 at 18:29, Alex Valavanis <valavanisalex@...400...> wrote:
Hi Marc,
I'm doing some PPA maintenance now... :)
AV
On 7 January 2017 at 17:14, Marc Jeanmougin <marc@...3062...> wrote:
The relevant part of the log seems to be in the detection of gmock/gtest:
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. _______________________________________________________________________
Anyone has an idea how to fix this?
-- Mc
On 01/05/2017 11:11 PM, Launchpad Buildd System wrote:
- Source Package: inkscape-trunk
- Version: 1:0.91.0+devel+15392+77~ubuntu17.04.1
- Architecture: i386
- Archive: ~inkscape.dev/ubuntu/trunk
- Component: main
- State: Failed to build
- Duration: 4 minutes
- Build Log: https://launchpad.net/~inkscape.dev/+archive/ubuntu/trunk/+build/11820680/+f...
- Builder: https://launchpad.net/builders/lcy01-10
- Source: not available
If you want further information about this situation, feel free to contact a member of the Launchpad Buildd Administrators team.
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
![](https://secure.gravatar.com/avatar/ca2f70e2d8f170737606b4b740d91a92.jpg?s=120&d=mm&r=g)
Aaaaand we're fixed :)
AV
On 9 January 2017 at 22:35, Alex Valavanis <valavanisalex@...400...> wrote:
See also, a fix for a similar issue in Mir http://bazaar.launchpad.net/~mir-team/mir/0.25/revision/3819
AV
On 9 January 2017 at 22:27, Alex Valavanis <valavanisalex@...400...> wrote:
OK, I've reproduced this locally. See https://github.com/google/googletest/issues/958
On 9 January 2017 at 18:29, Alex Valavanis <valavanisalex@...400...> wrote:
Hi Marc,
I'm doing some PPA maintenance now... :)
AV
On 7 January 2017 at 17:14, Marc Jeanmougin <marc@...3062...> wrote:
The relevant part of the log seems to be in the detection of gmock/gtest:
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. _______________________________________________________________________
Anyone has an idea how to fix this?
-- Mc
On 01/05/2017 11:11 PM, Launchpad Buildd System wrote:
- Source Package: inkscape-trunk
- Version: 1:0.91.0+devel+15392+77~ubuntu17.04.1
- Architecture: i386
- Archive: ~inkscape.dev/ubuntu/trunk
- Component: main
- State: Failed to build
- Duration: 4 minutes
- Build Log: https://launchpad.net/~inkscape.dev/+archive/ubuntu/trunk/+build/11820680/+f...
- Builder: https://launchpad.net/builders/lcy01-10
- Source: not available
If you want further information about this situation, feel free to contact a member of the Launchpad Buildd Administrators team.
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (2)
-
Alex Valavanis
-
Marc Jeanmougin