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

add gentoo package for libatomic #35193

Merged
merged 2 commits into from
Nov 8, 2022
Merged

Conversation

tomkimsour
Copy link
Contributor

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

@tomkimsour tomkimsour requested a review from a team as a code owner November 4, 2022 07:42
@github-actions github-actions bot added the rosdep Issue/PR is for a rosdep key label Nov 4, 2022
@tfoote tfoote requested review from sloretz and a team November 7, 2022 08:21
rosdep/base.yaml Outdated
@@ -2441,6 +2441,7 @@ libatomic:
arch: [gcc-libs]
debian: [libatomic1]
fedora: [libatomic]
gentoo: [dev-libs/libatomic_ops]
Copy link
Contributor

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

Copy link
Contributor Author

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
@sloretz sloretz requested a review from tfoote November 7, 2022 22:50
@tfoote tfoote merged commit b92727c into ros:master Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rosdep Issue/PR is for a rosdep key
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants