dotnet-sdk-bin forces downgrade of lttng-ust breaking dependencies Reproducible: Always
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)
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)
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(-)
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.