ros-infrastructure / superflore

An extended platform release manager for Robot Operating System
Apache License 2.0
52 stars 33 forks source link

unresolved: "libatomic" #292

Open tomkimsour opened 2 years ago

tomkimsour commented 2 years ago

I want to generate the rcutils package but a dependency doesn't seem to be found.

superflore-gen-ebuilds --ros-distro galactic --only rcutils --dry-run
>>>> "galactic" distro detected...
>>>> Working in temporary directory /tmp/tmp1u38v0ax
>>>> Creating new branch gentoo-bot-PhXZfISDWL...
>>>> 
>>>> Regenerating package 'rcutils'...
!!!! Failed to resolve required dependencies for package rcutils!
!!!!  unresolved: "libatomic"
!!!! No packages generated successfully, exiting.
>>>> Cleaning up temporary directory /tmp/tmp1u38v0ax
tomkimsour commented 2 years ago

It looks like rosdep is not updated.

libatomic: https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml:
alpine:
- libatomic
arch:
- gcc-libs
debian:
- libatomic1
fedora:
- libatomic
nixos: []
openembedded:
- gcc-runtime@openembedded-core
rhel:
- libatomic
ubuntu:
- libatomic1

there is a package missing for gentoo.

I got this print with the function get_view() line 95 of rosdep_support.py

tomkimsour commented 2 years ago

I create a gist with the updated gentoo package. You can add it to your rosdep file under /etc/ros/rosdep/sources.list.d/20.default.list

yaml https://gist.githubusercontent.com/tomkimsour/9b4738a2524e07d8347db525667f04ab/raw/48717bb5543bd923ccc36e8d5f392986bc5a601e/ros_gentoo_libatomic.yaml