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

ros:noetic-ros-core: "No matching distribution found for catkin" when building image #689

Open
astringfield opened this issue Oct 17, 2024 · 0 comments

Comments

@astringfield
Copy link

Jetson system

  • AGX Orin
  • JetPack 5.1.1

jetson-containers package

ros:noetic-ros-core

Issue Description

I'm trying to build an image with ros:noetic-ros-core.

I'm getting an error during the build saying there's no pip distribution available for catkin:

Step 12/17 : RUN pip3 list | grep catkin && pip3 install --no-cache-dir --verbose importlib.metadata catkin &&     pip3 list | grep catkin &&     python3 -c 'import catkin'
 ---> Running in b0195e9dabdc
catkin-pkg-modules    1.0.0
Using pip 24.2 from /usr/local/lib/python3.8/dist-packages/pip (python 3.8)
Looking in indexes: http://jetson.webredirect.org/jp5/cu114
Requirement already satisfied: importlib.metadata in /usr/local/lib/python3.8/dist-packages (8.5.0)
ERROR: Could not find a version that satisfies the requirement catkin (from versions: none)
ERROR: No matching distribution found for catkin
The command '/bin/sh -c pip3 list | grep catkin && pip3 install --no-cache-dir --verbose importlib.metadata catkin &&     pip3 list | grep catkin &&     python3 -c 'import catkin'' returned a non-zero code: 1
Traceback (most recent call last):
  File "/home/perception/anaconda3/envs/venv_zed/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/perception/anaconda3/envs/venv_zed/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/perception/repositories/jetson-containers/jetson_containers/build.py", line 112, in <module>
    build_container(args.name, args.packages, args.base, args.build_flags, args.build_args, args.simulate, args.skip_tests, args.test_only, args.push, args.no_github_api, args.skip_packages)
  File "/home/perception/repositories/jetson-containers/jetson_containers/container.py", line 147, in build_container
    status = subprocess.run(cmd.replace(_NEWLINE_, ' '), executable='/bin/bash', shell=True, check=True)  
  File "/home/perception/anaconda3/envs/venv_zed/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'DOCKER_BUILDKIT=0 docker build --network=host --tag swarmfarm-cv:l4t-r35.3.1-ros_noetic-ros-core --file /home/perception/repositories/jetson-containers/packages/ros/Dockerfile.ros.noetic --build-arg BASE_IMAGE=swarmfarm-cv:l4t-r35.3.1-cmake --build-arg ROS_VERSION="noetic" --build-arg ROS_PACKAGE="ros_core" /home/perception/repositories/jetson-containers/packages/ros 2>&1 | tee /home/perception/repositories/jetson-containers/logs/20241017_115423/build/swarmfarm-cv_l4t-r35.3.1-ros_noetic-ros-core.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 1.

When I look for catkin in the http://jetson.webredirect.org/jp5/cu114, I can see there are no active links for catkin, nor in the root/pypi repository:

Is there an updated location from where the catkin package needs to be sourced, or another way to resolve this?

Thanks!

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

1 participant