strands-project / mongodb_store

MongoDB tools for storing and analysing runs of ROS systems.
BSD 3-Clause "New" or "Revised" License
49 stars 72 forks source link

Cannot apt install on melodic #251

Closed Affonso-Gui closed 4 years ago

Affonso-Gui commented 5 years ago

Hello,

I was not able to apt install ros-melodic-mongodb-store, apparently because the build is failing http://repositories.ros.org/status_page/ros_melodic_default.html?q=mongodb

It seemed to be fine when installing from source, so maybe some dependency problems?

Affonso-Gui commented 5 years ago

@knorth55

knorth55 commented 5 years ago
08:31:41 CMake Error at cmake/FindMongoClient.cmake:72 (message):
08:31:41   MongoClient not found.
08:31:41 Call Stack (most recent call first):
08:31:41   CMakeLists.txt:27 (find_package)
08:31:41 
08:31:41 
08:31:41 -- Configuring incomplete, errors occurred!
08:31:41 See also "/tmp/binarydeb/ros-melodic-mongodb-store-0.5.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeOutput.log".
08:31:41 See also "/tmp/binarydeb/ros-melodic-mongodb-store-0.5.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeError.log".
08:31:41    cd obj-x86_64-linux-gnu && tail -v -n \+0 CMakeCache.txt

This error is solved in #250 .

08:31:41 /usr/bin/cc -g -O2 -fdebug-prefix-map=/tmp/binarydeb/ros-melodic-mongodb-store-0.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic CMakeFiles/cmTC_b1faa.dir/CheckFunctionExists.c.o  -o cmTC_b1faa -lpthreads 
08:31:41 /usr/bin/ld: cannot find -lpthreads
08:31:41 collect2: error: ld returned 1 exit status
08:31:41 CMakeFiles/cmTC_b1faa.dir/build.make:97: recipe for target 'cmTC_b1faa' failed
08:31:41 make[3]: *** [cmTC_b1faa] Error 1
08:31:41 make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-mongodb-store-0.5.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
08:31:41 Makefile:126: recipe for target 'cmTC_b1faa/fast' failed
08:31:41 make[2]: *** [cmTC_b1faa/fast] Error 2
08:31:41 make[2]: Leaving directory '/tmp/binarydeb/ros-melodic-mongodb-store-0.5.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'

I have no idea about this error.

hawesie commented 5 years ago

Looks like I need to rerelease the melodic version with #250

knorth55 commented 5 years ago

any update for this issue? I'm wondering if these two error caused by the dependency problem.

hawesie commented 5 years ago

I should be able to do the re-release on MOnday (don't have access to the correct bits at the moment...).

knorth55 commented 5 years ago

Ok, thank you for your quick response. :+1:

hawesie commented 5 years ago

Slightly later than planned: https://github.com/ros/rosdistro/pull/21641

knorth55 commented 5 years ago

GOOD!! Thank you for your quick release! http://build.ros.org/view/Mbin_uB64/job/Mbin_uB64__mongodb_store__ubuntu_bionic_amd64__binary/

knorth55 commented 4 years ago

@Affonso-Gui we can close this issue.

hawesie commented 4 years ago

👍

Affonso-Gui commented 4 years ago

@hawesie @knorth55 Thanks for your help!!