Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931991 - dev-dotnet/dotnet-sdk: possible update of dev-util/lttng-ust to 2.13
Summary: dev-dotnet/dotnet-sdk: possible update of dev-util/lttng-ust to 2.13
Status: RESOLVED FIXED
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-05-16 12:42 UTC by Jon Daniel
Modified: 2024-05-17 00:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Daniel 2024-05-16 12:42:40 UTC
dotnet-sdk-bin forces downgrade of lttng-ust breaking dependencies

Reproducible: Always
Comment 1 Maciej Barć gentoo-dev 2024-05-16 19:45:59 UTC
Jon, have you had any success with building .NET SDK with dev-util/lttng-ust:2.13? As far as I know the 2.12 is required to build .NET (w/o aby patches for lttng-ust) and dotnet-sdk-bin links against the 2.12 version.

> /opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App/8.0.4/libcoreclrtraceptprovider.so liblttng-ust.so.0,libstdc++.so.6,libm.so.6,libgcc_s.so.1,libc.so.6

I wanted to check what Fedora has to say about this.
I pulled the rawhide image and turns out the runtime library is broken.

> ldd /usr/lib64/dotnet/shared/Microsoft.NETCore.App/8.0.4/libcoreclrtraceptprovider.so
>        linux-vdso.so.1 (0x00007fff43fab000)
>        liblttng-ust.so.1 => not found
>        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fd78ea67000)
>        libm.so.6 => /lib64/libm.so.6 (0x00007fd78e984000)
>        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fd78e957000)
>        libc.so.6 => /lib64/libc.so.6 (0x00007fd78e769000)
>        /lib64/ld-linux-x86-64.so.2 (0x00007fd78ed6e000)

But linking against liblttng-ust.so.1 suggests that it should work with the 2.13 version.

Then, I installed lttng-ust-2.13.8-1.fc41 and links are fixed:

> liblttng-ust.so.1 => /lib64/liblttng-ust.so.1 (0x00007fd922b44000)
Comment 2 Maciej Barć gentoo-dev 2024-05-16 23:15:27 UTC
By tricking portage I have managed to successfully rebuild w/o patches.

> ldd /usr/lib64/dotnet-sdk8.0/shared/Microsoft.NETCore.App/8.0.2/libcoreclrtraceptprovider.so
>         linux-vdso.so.1 (0x00007ffc5637a000)
>        liblttng-ust.so.1 => /usr/lib64/liblttng-ust.so.1 (0x00007f6920168000)
Comment 3 Larry the Git Cow gentoo-dev 2024-05-17 00:32:50 UTC
The bug has been closed via the following commit(s):

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

commit 292cef89e0028bf24bc31d96b5e7454537c0bc55
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2024-05-16 23:29:26 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2024-05-17 00:32:47 +0000

    dev-dotnet/dotnet-sdk: enable building with any lttng-ust
    
    Closes: https://bugs.gentoo.org/931991
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 .../{dotnet-sdk-8.0.102.ebuild => dotnet-sdk-8.0.102-r1.ebuild}         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 Maciej Barć gentoo-dev 2024-05-17 00:35:01 UTC
Wow, dyslexia sure hit me hard on this. Realized just now this WAS about -bin pkg -- in such case of course lttng-ust update is impossible as it causes broken libs.