-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
add gentoo package for libatomic #35193
Conversation
ref https://packages.gentoo.org/packages/dev-libs/libatomic_ops needed to compile rcutils on ros galactic
rosdep/base.yaml
Outdated
@@ -2441,6 +2441,7 @@ libatomic: | |||
arch: [gcc-libs] | |||
debian: [libatomic1] | |||
fedora: [libatomic] | |||
gentoo: [dev-libs/libatomic_ops] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not very familiar with Gentoo, but I'm not sure libatomic_ops
is the right package. The Ubuntu package is only providing libatomic.so.1
and libatomic.so.1.2.0
.
In the gentoo stage3
docker container I see those libs are provided by sys-devel/gcc
.
gentoo:root> find / -name "libatomic.so*" 2>/dev/null
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/32/libatomic.so
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/32/libatomic.so.1.2.0
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/32/libatomic.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/libatomic.so
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/libatomic.so.1.2.0
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/libatomic.so.1
gentoo:root> qfile /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/32/libatomic.so
sys-devel/gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/32/libatomic.so
gentoo:root> qfile /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/32/libatomic.so.1.2.0
sys-devel/gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/32/libatomic.so.1.2.0
gentoo:root> qfile /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/32/libatomic.so.1
sys-devel/gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/32/libatomic.so.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right it works if we use this dependency instead.
However, the tool superflore while fetching for every dependancy, would look for the name "libatomic" and then take the argument of gentoo in the yaml file.
Would that be alright if I replace libatomic_ops by sys-devel/gcc ?
changes are done according to the comment on PR ros#35193
Please add the following dependency to the rosdep database.
Package name:
libatomic
Package Upstream Source:
https://gcc.gnu.org/
Purpose of using this:
In order to compile ros-galactic for gentoo with superflore, we need to add the gentoo package for libatomic.
Distro packaging links:
Links to Distribution Packages
Most of the packages have already been added in #29030
Related to ros-infrastructure/superflore#292