Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927392 - games-emulation/ryujinx-1.1.1221-r1 installs files with unresolved SONAME dependencies
Summary: games-emulation/ryujinx-1.1.1221-r1 installs files with unresolved SONAME dep...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-21 09:23 UTC by Agostino Sarubbo
Modified: 2024-07-21 18:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,74.04 KB, text/plain)
2024-03-21 09:23 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-21 09:23:11 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-emulation/ryujinx-1.1.1221 installs files with unresolved SONAME dependencies.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0023
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-21 09:23:12 UTC
Created attachment 888037 [details]
build.log

build log and emerge --info
Comment 2 Andrew Udvare 2024-03-24 01:57:56 UTC
Please add this to See Also: https://github.com/dotnet/runtime/issues/83779
Comment 3 Maciej Barć gentoo-dev 2024-03-24 02:24:49 UTC
Andrew, this is not the problem here, Ago was informed of this and it could be considered lucky that either he looked deeper into the current QA or skipped it here. In this case libc issue is known but we also have some venored glibc libs it seems.
Comment 4 Andrew Udvare 2024-03-24 03:32:50 UTC
I was thinking the workaround for MUSL would be to run patchelf to fix the sonames. It's ugly but it sounds like it should resolve the issue. If this is acceptable I will make a PR.
Comment 5 Maciej Barć gentoo-dev 2024-03-24 04:26:56 UTC
(In reply to Andrew Udvare from comment #4)
> I was thinking the workaround for MUSL would be to run patchelf to fix the
> sonames. It's ugly but it sounds like it should resolve the issue. If this
> is acceptable I will make a PR.

Dont do anything with "libc.musl-x86_64.so.1" warnings.
But there are also "libc.so.6" cases - those most likely point to a vendored, precompiled lib for GLIBC. Notice also that those are for vulkan and SDL. You cna probably link system libs in their places, or maybe remove them? Not sure if .NET FFI can find system ones.
Comment 6 Andrew Udvare 2024-03-24 04:42:01 UTC
(In reply to Maciej Barć from comment #5)
> (In reply to Andrew Udvare from comment #4)
> > I was thinking the workaround for MUSL would be to run patchelf to fix the
> > sonames. It's ugly but it sounds like it should resolve the issue. If this
> > is acceptable I will make a PR.
> 
> Dont do anything with "libc.musl-x86_64.so.1" warnings.
> But there are also "libc.so.6" cases - those most likely point to a
> vendored, precompiled lib for GLIBC. Notice also that those are for vulkan
> and SDL. You cna probably link system libs in their places, or maybe remove
> them? Not sure if .NET FFI can find system ones.

I think we just remove them but not sure.

I would have to test this program actually works on a MUSL system. Not readily available for me at the moment.
Comment 7 Maciej Barć gentoo-dev 2024-03-24 04:43:17 UTC
(In reply to Andrew Udvare from comment #6)
> I think we just remove them but not sure.
> 
> I would have to test this program actually works on a MUSL system. Not
> readily available for me at the moment.

I doubt you have to have a musl system in this case.
Comment 8 Agostino Sarubbo gentoo-dev 2024-07-21 18:55:22 UTC
tinderbox_musl has reproduced this issue with version 1.1.1221-r1 - Updating summary.