Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running catkin_make_isolated --install -j8 errors out on mushr_pf #5

Open
ayeganov opened this issue Jun 28, 2020 · 1 comment
Open

Comments

@ayeganov
Copy link

ayeganov commented Jun 28, 2020

I have been trying to get the MUSHR car working with the cartogropher to create my first map, but it all fails on the building step. To clarify - I have followed the instructions on the MUSHR website and previously had car working remotely with a joystick. After following instructions for cartogropher I am unable to finish building the whole catkin workspace with catkin_make_isolated --install -j8:

+ cd /home/robot/catkin_ws/src/mushr_pf
+ mkdir -p /home/robot/catkin_ws/install_isolated/lib/python2.7/dist-packages
+ /usr/bin/env PYTHONPATH=/home/robot/catkin_ws/install_isolated/lib/python2.7/dist-packages:/home/robot/catkin_ws/build_isolated/mushr_pf/lib/python2.7/dist-packages:/home/robot/catkin_ws/install_isolated/lib/python2.7/dist-packages:/home/robot/catkin_ws/devel/lib/python2.7/dist-packages:/opt/ros/melodic/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages CATKIN_BINARY_DIR=/home/robot/catkin_ws/build_isolated/mushr_pf /usr/bin/python2 /home/robot/catkin_ws/src/mushr_pf/setup.py build --build-base /home/robot/catkin_ws/build_isolated/mushr_pf install --install-layout=deb --prefix=/home/robot/catkin_ws/install_isolated --install-scripts=/home/robot/catkin_ws/install_isolated/bin
Setup args: {'maintainer': u'Schmittle', 'description': u'Particle filter', 'license': 'BSD', 'author': u'Lirui Wang, Joseph Shieh, Chi-Heng Hung, Nansong Yi', 'package_dir': {'': 'src'}, 'maintainer_email': '[email protected]', 'version': '1.0.0', 'packages': ['mushr_pf'], 'name': 'mushr_pf'}
running build
running build_py
error: package directory 'src/mushr_pf' does not exist
CMake Error at catkin_generated/safe_execute_install.cmake:4 (message):
  
  execute_process(/home/robot/catkin_ws/build_isolated/mushr_pf/catkin_generated/python_distutils_install.sh)
  returned error code
Call Stack (most recent call first):
  cmake_install.cmake:132 (include)


Makefile:73: recipe for target 'install' failed
make: *** [install] Error 1
<== Failed to process package 'mushr_pf': 
  Command '['/home/robot/catkin_ws/install_isolated/env.sh', 'make', 'install']' returned non-zero exit status 2

Reproduce this error by running:
==> cd /home/robot/catkin_ws/build_isolated/mushr_pf && /home/robot/catkin_ws/install_isolated/env.sh make install

I have debugged the setup code, and it seems to be directly related to the values of packages and pacakge_dir variables in setup.py. When I remove those values the command succeeds, but no package is actually installed. What is the best course of action here?

@schmittlema
Copy link
Member

Was mushr_pf building prior to installing cartographer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants