Problem with the SSL CA cert (path? access rights?)
I got this error after the releasing the third party library into ROS ecosystem.
[ 25%] Performing download step (git clone) for 'ypspur'
cd /tmp/buildd/ros-indigo-ypspur-0.0.1-4saucy-20151019-0519/obj-i686-linux-gnu/ypspur/src && /usr/bin/cmake -P /tmp/buildd/ros-indigo-ypspur-0.0.1-4saucy-20151019-0519/obj-i686-linux-gnu/ypspur/tmp/ypspur-gitclone.cmake
Cloning into 'ypspur'...
fatal: unable to access 'https://github.com/DaikiMaekawa/ypspur/': Problem with the SSL CA cert (path? access rights?)
Cloning into 'ypspur'...
fatal: unable to access 'https://github.com/DaikiMaekawa/ypspur/': Problem with the SSL CA cert (path? access rights?)
Cloning into 'ypspur'...
fatal: unable to access 'https://github.com/DaikiMaekawa/ypspur/': Problem with the SSL CA cert (path? access rights?)
-- Had to git clone more than once:
3 times.
CMake Error at /tmp/buildd/ros-indigo-ypspur-0.0.1-4saucy-20151019-0519/obj-i686-linux-gnu/ypspur/tmp/ypspur-gitclone.cmake:40 (message):
Failed to clone repository: 'https://github.com/DaikiMaekawa/ypspur'
For more info. http://jenkins.ros.org/job/ros-indigo...
It's seem like the same error below, but I don't know how to resolve that.
http://lists.ros.org/pipermail/ros-re...
I guess something is wrong with the my code on CMakeLists.txt
cmake_minimum_required(VERSION 2.8.3)
project(ypspur)
include(ExternalProject)
message("CMAKE_DEVEL_PREFIX: ${CMAKE_DEVEL_PREFIX}")
message("CMAKE_INSTALL_PREFIX: ${CMAKE_INSTALL_PREFIX}")
message("CMAKE_PREFIX_PATH: ${CMAKE_PREFIX_PATH}")
ExternalProject_Add(${PROJECT_NAME}
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/ypspur
GIT_REPOSITORY https://github.com/DaikiMaekawa/ypspur
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${CMAKE_INSTALL_PREFIX}
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND echo "Install ypspur libs"
)
ExternalProject_Get_Property(${PROJECT_NAME} binary_dir)
add_custom_target(${PROJECT_NAME}-ins
DEPENDS ${PROJECT_NAME}
COMMAND echo DESTDIR IS $(DESTDIR) && $(MAKE) -C ${binary_dir} install
COMMENT Performing ins step for '${PROJECT_NAME}'
)
install(CODE "execute_process(COMMAND \"${CMAKE_COMMAND}\" --build \"${CMAKE_BINARY_DIR}\" --target ${PROJECT_NAME}-ins)")
install(FILES package.xml DESTINATION share/${PROJECT_NAME}/)
install(FILES cmake/YPSpurConfig.cmake DESTINATION share/${PROJECT_NAME}/cmake/)
You can find my repository here.
Any ideas?
I'm not sure, but I don't think
ExternalProject_Add(..)
is supported on the buildfarm. Releasing a 3rd party library is documented here. Perhaps @Dirk Thomas can weigh in?