Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915581 - dev-dotnet/dotnet-sdk-bin: libraries not available for dotnet tools
Summary: dev-dotnet/dotnet-sdk-bin: libraries not available for dotnet tools
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:
 
Reported: 2023-10-11 08:03 UTC by CyberGuerro
Modified: 2023-10-12 08:58 UTC (History)
0 users

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 CyberGuerro 2023-10-11 08:03:50 UTC
With recently release (dev-dotnet/dotnet-sdk-bin-7.0.400-1) dotnet tools like libman installed with command
dotnet tool install -g Microsoft.Web.LibraryManager.Cli

and run command "libman --help" it returns message where it tells that ".NET Location: not found"

I verified that on other platform, the tool works and found .NET Location

Reproducible: Always

Steps to Reproduce:
1. install package dev-dotnet/dotnet-sdk-bin-7.0.400-1
2. install tool with command "dotnet tool install -g Microsoft.Web.LibraryManager.Cli"
3. run command "libman --help"
Actual Results:  
return error

Expected Results:  
it works

Verified that tool work on other platform
Comment 1 Maciej Barć gentoo-dev 2023-10-11 22:24:54 UTC
definitely works on from-source build

> dotnet tool install -g Microsoft.Web.LibraryManager.Cli  

> Możesz wywołać narzędzie za pomocą następującego polecenia: libman
> Pomyślnie zainstalowano narzędzie „microsoft.web.librarymanager.cli” (wersja: 2.1.175”).

> libman --help 
> 2.1.175+29a28921bd.RR
> Usage: libman [options] [command]
> Options:

After switching to dotnet-bin-7.0 also works.

Do "eselect dotnet update" and verify you have dotnet*7.0 selected.

You probably forgot to open a new shell... but that seems weird unless you used sudo. Either way libman works perfectly well for me.
Comment 2 Maciej Barć gentoo-dev 2023-10-12 07:40:43 UTC
CyberGuerro, does the issue still persist?

Please add "emerge --info" output and also "gentoo-dotnet-info" output.
If you have not installed dev-dotnet/csharp-gentoodotnetinfo please do so beforehand.
Comment 3 CyberGuerro 2023-10-12 08:47:01 UTC
made command "eselect dotnet update"
and now it seems to work to me.....

I consider to close this issue
Comment 4 Maciej Barć gentoo-dev 2023-10-12 08:58:00 UTC
(In reply to CyberGuerro from comment #3)
> made command "eselect dotnet update"
> and now it seems to work to me.....
> 
> I consider to close this issue

Thanks a lot! This was probably due to newest eselect dotnet update that introduced setting DOTNET_ROOT.