Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure on Debian testing #177

Closed
nxdefiant opened this issue Jan 6, 2017 · 2 comments
Closed

Build failure on Debian testing #177

nxdefiant opened this issue Jan 6, 2017 · 2 comments
Assignees

Comments

@nxdefiant
Copy link

Building cartographer fails on Debian testing. Googletest version is 1.8.0-6 (Debian)

Build output is as follows:

==> make cmake_check_build_system in '/opt/ros/ros_catkin_ws/build_isolated/cartographer/install'
-- Build type: Release
-- Found PythonInterp: /usr/bin/python (found version "2.7.13") 
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.


-- Found GMock: gmock_main;-lpthread  
-- Boost version: 1.62.0
-- Found the following Boost libraries:
--   iostreams
--   regex
-- Found required Ceres dependency: Eigen version 3.3.0 in /usr/include/eigen3
-- Found required Ceres dependency: glog
-- Found Ceres version: 1.12.0 installed in: /usr/local with components: [LAPACK, SchurSpecializations, OpenMP]
-- Configuring incomplete, errors occurred!
See also "/opt/ros/ros_catkin_ws/build_isolated/cartographer/install/CMakeFiles/CMakeOutput.log".
See also "/opt/ros/ros_catkin_ws/build_isolated/cartographer/install/CMakeFiles/CMakeError.log".
Makefile:3786: die Regel f?r Ziel ?cmake_check_build_system? scheiterte
make: *** [cmake_check_build_system] Fehler 1
<== Failed to process package 'cartographer': 
  Command '['/usr/local/env.sh', 'make', 'cmake_check_build_system']' returned non-zero exit status 2

Reproduce this error by running:
==> cd /opt/ros/ros_catkin_ws/build_isolated/cartographer && /usr/local/env.sh make cmake_check_build_system

Command failed, exiting.
@SirVer
Copy link
Contributor

SirVer commented Jan 9, 2017

Could you provide the exact debian version? I am unfamiliar with debians version naming scheme and I need to know which docker container I need to use to reproduce this issue.

@nxdefiant
Copy link
Author

This is Debian testing, named Stretch which means that it is not released yet. So not sure if there is a container yet. Stretch will be released as the new stable release somewhere soon.

@SirVer SirVer self-assigned this Apr 24, 2017
@SirVer SirVer closed this as completed May 4, 2017
damienrg pushed a commit to damienrg/cartographer that referenced this issue Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants