BerkeleyAutomation / autolab_core

Core utilities for Berkeley AutoLab.
https://berkeleyautomation.github.io/autolab_core
Apache License 2.0
80 stars 39 forks source link

Package fails to build due to version error #12

Closed thomasweng15 closed 5 years ago

thomasweng15 commented 5 years ago

Hi, I tried to install from source using the instructions here: https://berkeleyautomation.github.io/autolab_core/install/install.html

But I got this error when I tried to run catkin build:

[build] Found '1' packages in 0.0 seconds.
[build] Package table is up to date.
Starting  >>> autolab_core
_________________________________________________________________________________________________
Errors     << autolab_core:cmake /usr0/home/tweng/catkin_ws/logs/autolab_core/build.cmake.002.log
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_python_setup.cmake:79 (message):
  catkin_python_setup() version in setup.py (0.0.7) differs from version in
  package.xml (0.0.6)
Call Stack (most recent call first):
  CMakeLists.txt:20 (catkin_python_setup)

cd /usr0/home/tweng/catkin_ws/build/autolab_core; catkin build --get-env autolab_core | catkin env -si  /usr/bin/cmake /usr0/home/tweng/catkin_ws/src/autolab_core --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/usr0/home/tweng/catkin_ws/devel/.private/autolab_core -DCMAKE_INSTALL_PREFIX=/usr0/home/tweng/catkin_ws/install; cd -
.................................................................................................
Failed     << autolab_core:cmake          [ Exited with code 1 ]
Failed    <<< autolab_core                [ 0.9 seconds ]
[build] Summary: 0 of 1 packages succeeded.
[build]   Ignored:   None.
[build]   Warnings:  None.
[build]   Abandoned: None.
[build]   Failed:    1 packages failed.
[build] Runtime: 0.9 seconds total.

I updated the version in package.xml from 0.0.6 to 0.0.7 and the build was successful.

Is updating the version the correct fix? Thank you very much.

jeffmahler commented 5 years ago

Sorry about this! Should be fixed in #d1b9f7e

thomasweng15 commented 5 years ago

Fixed, thanks!