How to update diagnostics on Groovy built from source (into Odroid)?
I am trying to add the diagnostics package (from the git repo) that contains the python API. I have successfully added it to ROS fuerte but I cannot get it to work on the odroid that runs groovy built from source.
I added the diagnostics groovy-devel branch to my packages folder. I tried to catkin_make the whole workspace with the new package added, but since I have some fuerte packages (or maybe packages that were built from source), I get an error from catkin_make.
Is there a way to just compile or build one package in Groovy? What do ROS+odroid users do for diagnostics?
EDIT 1
I tried to run sudo apt-get install ros-groovy-diagnostics
to get the released version of diagnsotics, which has the python API but I got the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libfontconfig1 : Depends: fontconfig-config (= 2.9.0-7.1) but 2.8.0-3ubuntu9.1 is to be installed
libfontconfig1-dev : Depends: libfontconfig1 (= 2.8.0-3ubuntu9.1) but 2.9.0-7.1 is to be installed
ros-groovy-diagnostics : Depends: ros-groovy-self-test but it is not going to be installed
Depends: ros-groovy-diagnostic-updater but it is not going to be installed
Depends: ros-groovy-diagnostic-common-diagnostics but it is not going to be installed
Depends: ros-groovy-diagnostic-analysis but it is not going to be installed
Depends: ros-groovy-diagnostic-aggregator but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I then ran apt-get -f install
and got :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libfontconfig1 : Depends: fontconfig-config (= 2.9.0-7.1) but 2.8.0-3ubuntu9.1 is installed
libfontconfig1-dev : Depends: libfontconfig1 (= 2.8.0-3ubuntu9.1) but 2.9.0-7.1 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
Is there a way for me to add the diagnostics package that I download from the git repo to my groovy without dealing with these other issues?
EDIT 2
Before cloning the new diagnostics package I ran catkin_make_isolated and was succesful in making the current packages over again. I then cloned the repo to my src file in my workspace (There was an old version of diagnostics packages there so I made a backup of them and deleted them before cloning the new package).
After this operation though I got the following error when I ran catkin_make_isolated:
==> Processing catkin package: 'diagnostics'
==> Building with env: '/media/home/ros/devel_isolated/cpp_common/env.sh'
==> cmake /media/home/ros/src/diagnostics/diagnostics -DCATKIN_DEVEL_PREFIX=/media/home/ros/devel_isolated/diagnostics -DCMAKE_INSTALL_PREFIX=/media/home/ros/install_isolated in '/media/home/ros/build_isolated/diagnostics'
CMake Error: The source "/media/home/ros/src/diagnostics/diagnostics/CMakeLists.txt" does not match the source "/media/home/ros/build_isolated/diagnostics/CMakeLists.txt" used to generate cache. Re-run cmake with a different ...