Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894760 - dev-dotnet/dotnet-sdk-bin-8.0.101 installs files with unresolved SONAME dependencies (MUSL-CLANG-SYSTEM)
Summary: dev-dotnet/dotnet-sdk-bin-8.0.101 installs files with unresolved SONAME depen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 922503 922505 922528 922529
  Show dependency tree
 
Reported: 2023-02-16 12:43 UTC by Agostino Sarubbo
Modified: 2024-01-31 18:55 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,50.21 KB, text/plain)
2023-02-16 12:43 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 2023-02-16 12:43:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-dotnet/dotnet-sdk-bin-3.1.423-r4 installs files with unresolved SONAME dependencies (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-16 12:43:09 UTC
Created attachment 851778 [details]
build.log

build log and emerge --info
Comment 2 Maciej Barć gentoo-dev 2023-03-22 09:54:42 UTC
Ago, does this issue persist with the .NET SDKs 5.0, 6.0 and 7.0?
Comment 3 Maciej Barć gentoo-dev 2023-03-22 10:03:38 UTC
(In reply to Maciej Barć from comment #2)
> Ago, does this issue persist with the .NET SDKs 5.0, 6.0 and 7.0?

Looks like this issue persists with 7.0.201:

> ldd dotnet-sdk-7.0.201-linux-musl-x64/dotnet
>        linux-vdso.so.1 (0x00007fff911b5000)
>        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/12/libstdc++.so.6 (0x00007f16a5000000)
>        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/12/libgcc_s.so.1 (0x00007f16a5229000)
>        libc.musl-x86_64.so.1 => not found
>        libm.so.6 => /lib64/libm.so.6 (0x00007f16a4f24000)
>        libc.so.6 => /lib64/libc.so.6 (0x00007f16a4d49000)
>        /lib/ld-musl-x86_64.so.1 => /lib64/ld-linux-x86-64.so.2 (0x00007f16a5287000)
Comment 4 Agostino Sarubbo gentoo-dev 2023-05-14 20:23:40 UTC
tinderbox_musl has reproduced this issue with version 7.0.200 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2024-01-19 15:58:59 UTC
tinderbox_musl has reproduced this issue with version 8.0.101 - Updating summary.
Comment 6 Maciej Barć gentoo-dev 2024-01-20 20:55:35 UTC
ago, please post the newest logs, the ones attached are from 3.1
Comment 7 Agostino Sarubbo gentoo-dev 2024-01-22 08:11:15 UTC
(In reply to Maciej Barć from comment #6)
> ago, please post the newest logs, the ones attached are from 3.1


 * QA Notice: Unresolved soname dependencies:
 * 
 *      /opt/dotnet-sdk-bin-8.0/dotnet: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/host/fxr/8.0.1/libhostfxr.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/packs/Microsoft.NETCore.App.Host.linux-musl-x64/8.0.1/runtimes/linux-musl-x64/native/apphost: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/packs/Microsoft.NETCore.App.Host.linux-musl-x64/8.0.1/runtimes/linux-musl-x64/native/libnethost.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/packs/Microsoft.NETCore.App.Host.linux-musl-x64/8.0.1/runtimes/linux-musl-x64/native/singlefilehost: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/sdk/8.0.101/AppHostTemplate/apphost: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/createdump: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/libSystem.Globalization.Native.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/libSystem.IO.Compression.Native.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/libSystem.Native.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/libSystem.Net.Security.Native.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/libSystem.Security.Cryptography.Native.OpenSsl.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/libclrgc.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/libclrjit.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/libcoreclr.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/libcoreclrtraceptprovider.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/libhostpolicy.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/libmscordaccore.so: libc.musl-x86_64.so.1
 *      /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.1/libmscordbi.so: libc.musl-x86_64.so.1
Comment 8 Larry the Git Cow gentoo-dev 2024-01-23 22:07:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc187cda398158fe0c83ede26729d44c5837f17c

commit fc187cda398158fe0c83ede26729d44c5837f17c
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2024-01-23 20:52:20 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2024-01-23 22:06:51 +0000

    dev-dotnet/dotnet-sdk-bin: fix bad musl libc link; remove static-libs
    
    Bug: https://github.com/dotnet/runtime/issues/83779
    Closes: https://bugs.gentoo.org/894760
    Closes: https://bugs.gentoo.org/825774
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 .../dotnet-sdk-bin-6.0.417-r1.ebuild               |  69 ----------
 .../dotnet-sdk-bin-6.0.417-r2.ebuild               | 142 +++++++++++++++++++++
 ...-r1.ebuild => dotnet-sdk-bin-7.0.404-r2.ebuild} |  76 ++++++++++-
 ...-r1.ebuild => dotnet-sdk-bin-8.0.100-r2.ebuild} |  76 ++++++++++-
 ...101.ebuild => dotnet-sdk-bin-8.0.101-r1.ebuild} |  74 ++++++++++-
 5 files changed, 363 insertions(+), 74 deletions(-)