Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941894 - www-apps/*arr-bin: ARR stack misuses the LTTNG-UST SLOT
Summary: www-apps/*arr-bin: ARR stack misuses the LTTNG-UST SLOT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-10-20 16:36 UTC by Maciej Barć
Modified: 2025-01-22 01:21 UTC (History)
6 users (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 Maciej Barć gentoo-dev 2024-10-20 16:36:22 UTC
Using `grep -R -i lttng-ust | grep -v 0/2.12` finds:

> www-apps/lidarr-bin/lidarr-bin-2.6.4.4402.ebuild:       dev-util/lttng-ust:0
> www-apps/prowlarr-bin/prowlarr-bin-1.25.2.4794.ebuild:  dev-util/lttng-ust:0
> www-apps/readarr-bin/readarr-bin-0.4.0.2634.ebuild:     dev-util/lttng-ust:0
> www-apps/sonarr-bin/sonarr-bin-4.0.9.2513.ebuild:       dev-util/lttng-ust:0
> www-apps/radarr-bin/radarr-bin-5.12.2.9335.ebuild:      dev-util/lttng-ust:0
> www-apps/jackett-bin/jackett-bin-0.21.2146.ebuild:      dev-util/lttng-ust:0

But for example www-apps/prowlarr-bin doe snot use lttng at all.
See this snippet from the ebuild:

> src_prepare() {
> 	default
> 
> 	# https://github.com/dotnet/runtime/issues/57784
> 	rm libcoreclrtraceptprovider.so Prowlarr.Update/libcoreclrtraceptprovider.so || die
> }

The ARR stack should **all** either:
a) remove libcoreclrtraceptprovider.so libs,
b) use proper LTTNG slot...... whcih is probably 0/2.12 since that is what the dotnet-sdk-bin upstream compiles with.
Comment 1 Maciej Barć gentoo-dev 2024-10-20 16:44:21 UTC
When SLOTS are correctly used it should solve this annoyance:

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:                              
                                                      
dev-util/lttng-ust:0                                                                                               
                                                                                                                   
  (dev-util/lttng-ust-2.13.6:0/2.13::gentoo, ebuild scheduled for merge) USE="-examples -numa -test" conflicts with
    dev-util/lttng-ust:0/2.12 required by (dev-dotnet/dotnet-sdk-bin-8.0.107-1:8.0/8.0.7::gentoo, installed) USE=""
                      ^^^^^^^
Comment 2 Maciej Barć gentoo-dev 2024-10-22 07:55:53 UTC
www-apps/jellyfin-bin currently sets it correctly (it removed the libcoreclrtraceptprovider.so file)
Comment 3 Maciej Barć gentoo-dev 2024-10-22 07:56:57 UTC
Reassigned to Craig.
Comment 4 Maciej Barć gentoo-dev 2025-01-21 23:29:29 UTC
While preparing https://github.com/gentoo/gentoo/pull/40250 I notice that all the mentioned pkgs have removed libcoreclrtraceptprovider.so file(s) but none of them removed the lttng-ust:0 unlike www-apps/jellyfin-bin (which did it all properly long time ago).
Comment 5 Larry the Git Cow gentoo-dev 2025-01-22 01:19:54 UTC
The bug has been referenced in the following commit(s):

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

commit 1b7c6cc8df1a136e18a55f117323ad4d7c9d4998
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2025-01-21 23:23:20 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2025-01-22 01:19:50 +0000

    www-apps/sonarr-bin: remove lttng-ust dependency
    
    Bug: https://bugs.gentoo.org/941894
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/40250
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 ...{sonarr-bin-4.0.12.2866.ebuild => sonarr-bin-4.0.12.2866-r1.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

commit db564c0e4b84994e58e0436de72c88d122f21d61
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2025-01-21 23:22:38 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2025-01-22 01:19:50 +0000

    www-apps/radarr-bin: remove lttng-ust dependency
    
    Bug: https://bugs.gentoo.org/941894
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 ...{radarr-bin-5.18.1.9612.ebuild => radarr-bin-5.18.1.9612-r1.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

commit 9c3336e01e73bc0b88f79d2be965cf8047894e10
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2025-01-21 23:20:57 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2025-01-22 01:19:50 +0000

    www-apps/readarr-bin: remove lttng-ust dependency
    
    Bug: https://bugs.gentoo.org/941894
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 www-apps/readarr-bin/readarr-bin-0.4.9.2730.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

commit ff936e838a003e778f2b08b427a1aa3be76164d9
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2025-01-21 23:19:39 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2025-01-22 01:19:50 +0000

    www-apps/prowlarr-bin: remove lttng-ust dependency
    
    Bug: https://bugs.gentoo.org/941894
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 ...wlarr-bin-1.30.1.4928.ebuild => prowlarr-bin-1.30.1.4928-r1.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

commit 09bb74edba5ce406911dd4ffdc2b6dc8ec4101f5
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2025-01-21 23:17:45 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2025-01-22 01:19:50 +0000

    www-apps/lidarr-bin: remove lttng-ust dependency
    
    Bug: https://bugs.gentoo.org/941894
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 .../{lidarr-bin-2.9.4.4539.ebuild => lidarr-bin-2.9.4.4539-r1.ebuild}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

commit 5272df85f6d6f2061eed02b3d384e3bfed4e8009
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2025-01-21 23:15:53 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2025-01-22 01:19:50 +0000

    www-apps/jackett-bin: remove lttng-ust dependency
    
    Bug: https://bugs.gentoo.org/941894
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 ...{jackett-bin-0.21.2146.ebuild => jackett-bin-0.21.2146-r1.ebuild} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Comment 6 Craig Andrews gentoo-dev 2025-01-22 01:21:06 UTC
Resolved by merging https://github.com/gentoo/gentoo/pull/40250

Thank you!