catkin needs pyparsing but it's not in the ebuild
Closed this issue · 2 comments
awesomebytes commented
Currently trying to build both ROS kinetic and melodic is stuck cause of:
2020-03-20T03:28:39.3290921Z ImportError: "from catkin_pkg.package import parse_package" failed: No module named pyparsing
2020-03-20T03:28:39.3292576Z Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.
2020-03-20T03:28:39.3319519Z CMake Error at cmake/safe_execute_process.cmake:11 (message):
2020-03-20T03:28:39.3322416Z execute_process(/tmp/gentoo/usr/bin/python
2020-03-20T03:28:39.3323477Z "/tmp/gentoo/var/tmp/portage/ros-kinetic/catkin-0.7.20-r1/work/catkin-0.7.20/cmake/parse_package_xml.py"
2020-03-20T03:28:39.3324396Z "/tmp/gentoo/var/tmp/portage/ros-kinetic/catkin-0.7.20-r1/work/catkin-0.7.20/cmake/../package.xml"
2020-03-20T03:28:39.3325357Z "/tmp/gentoo/var/tmp/portage/ros-kinetic/catkin-0.7.20-r1/work/catkin-0.7.20_build/catkin/catkin_generated/version/package.cmake")
2020-03-20T03:28:39.3326107Z returned error code 1
2020-03-20T03:28:39.3326451Z Call Stack (most recent call first):
2020-03-20T03:28:39.3326874Z cmake/catkin_package_xml.cmake:74 (safe_execute_process)
2020-03-20T03:28:39.3327302Z cmake/all.cmake:168 (_catkin_package_xml)
2020-03-20T03:28:39.3327683Z CMakeLists.txt:8 (include)
pyparsing
is not installed. Which is weird cause version 0.4.6 (as found in ros-overlay) setup.py does specify it as a dependency.
I guess this was done by hand and it needs to be updated.
awesomebytes commented
I just found out that the real issue is that catkin_pkg was being installed not from the overlay and it was only being installed on Python3.6.
Working on it.
awesomebytes commented
Yep I didn't see this error before:
2020-03-20T03:22:59.7973069Z dev-python/catkin_pkg:0
2020-03-20T03:22:59.7973437Z
2020-03-20T03:22:59.7974550Z (dev-python/catkin_pkg-0.4.15:0/0::gentoo, ebuild scheduled for merge) USE="(prefix) -test" PYTHON_TARGETS="python3_6 -pypy3 -python3_7" conflicts with
2020-03-20T03:22:59.7976588Z dev-python/catkin_pkg[python_targets_python2_7(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-)] required by (dev-python/rosdep-0.13.0:0/0::ros-overlay, ebuild scheduled for merge) USE="(prefix)" PYTHON_TARGETS="python2_7 -python3_6 -python3_7"
2020-03-20T03:22:59.7978631Z
2020-03-20T03:22:59.7980228Z dev-python/catkin_pkg[python_targets_python2_7(-),-python_single_target_python2_7(-)] required by (dev-python/rosdistro-0.6.8:0/0::ros-overlay, ebuild scheduled for merge) USE="(prefix)" PYTHON_TARGETS="python2_7"