Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 825774

Summary: dev-dotnet/dotnet-sdk-bin-8.0.101 misses USE=static-libs and installs '.a' files
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: dotnet project <dotnet>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 695878    

Description Agostino Sarubbo gentoo-dev 2021-11-22 03:03:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-dotnet/dotnet-sdk-bin misses USE=static-libs and installs '.a' files.
Discovered on: amd64 (internal ref: ci)

The best solution is avoid to build the '.a' files by touching the configure. In case the buildsystem makes your life hard, a good compromise would be just remove the files.
See also:https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0302

NOTE: If you want to change the summary, to avoid auto-filed duplicates, please at least keep the word 'static-libs'
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-22 16:33:59 UTC
libarchive_tinderbox has reproduced this issue with version 7.0.102 - Updating summary.
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-14 20:23:38 UTC
tinderbox_musl has reproduced this issue with version 7.0.200 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2024-01-19 16:00:17 UTC
tinderbox_musl has reproduced this issue with version 8.0.101 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2024-01-22 08:11:55 UTC
FTR updated notice for 8.0.101 is:

 * Tinderbox QA Notice: This package seems to install static libraries without static-libs USE
 * 
 *   /opt/dotnet-sdk-bin-8.0/packs/Microsoft.NETCore.App.Host.linux-musl-x64/8.0.1/runtimes/linux-musl-x64/native/libnethost.a
Comment 5 Larry the Git Cow gentoo-dev 2024-01-23 22:07:05 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(-)