Trouble running test with blacklisted packages
Hi there, I've been having trouble with catkinmake runtests with a blacklisting flag, which is unfortunately one of build steps of CI that I need to pass. I am running ubuntu 16.04, ros kinetic. In order to reproduce the issue:
I clone following repo to my workspace: https://github.com/shadow-robot/sr-ros-interface-ethercat.git
Check out my branch: F#SRC-2546newthumbcalibrationkinetic_devel
Then, I recursively install all the dependencies from the repository.rosinstall file.
After then, when trying to run through the building process:
- catkin_make -> finishes with no errors
- catkinmake runtests ->finishes with no errors
- The build step from the CI that I am failing to pass:
catkinmake runtests -DCATKINBLACKLISTPACKAGES="srmsgscommon;srruntrajectories;srloggingcommon;srutilitiescommon;srworldgenerator;srwatchdog;srdescriptioncommon;srdescription;srcommon;srrobotmsgs;srinterpolation;srdynamictimewarping;rosethercateml;srurarmconfig;srconfig;srethercathandconfig;rosethercatloop;rosethercatmodel;rosethercathardware;rosethercat;srmechanismcontrollers;srhardwareinterface;srhand;srgazebosim;srutilities;srmechanismmodel;srcore;srtactilesensors" -DCMAKECXXFLAGS=" --coverage -fprofile-arcs -ftest-coverage"
and it fails with
/usr/bin/ld: cannot find -lsrinterpolation collect2: error: ld returned 1 exit status sr-ros-interface-ethercat/srrobotlib/CMakeFiles/srhandlib.dir/build.make:504: recipe for target '/home/user/workspace/devel/lib/libsrhand_lib.so' failed
I'm really struggling to figure out the issue at this point, especially since the srinterpolation package compiles correctly and catkinmake and catkinmake runtests both execute without any issues. Any suggestions on how I could fix that problem? Thank you in advance for any answers.
Best, Mike
Asked by mike_k on 2019-10-08 04:07:20 UTC
Comments