Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why dotnet downloading sdks that are not my architecture?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jwnhy
n00b
n00b


Joined: 10 Aug 2022
Posts: 15

PostPosted: Fri Nov 22, 2024 9:12 am    Post subject: Why dotnet downloading sdks that are not my architecture? Reply with quote

Hi, I am trying to install dafny today.

I found that the dotnet-sdk/runtime package is downloading things for architectures like musl-arm, ..., but my computer is x86...

Is this a bug? Or some special requirements for using dotnet.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2453

PostPosted: Fri Nov 22, 2024 10:25 am    Post subject: Reply with quote

Without seeing logs we can only guess what's going on. And I doubt there are that many people here who can guess right.

Best Regards,
Georgi
Back to top
View user's profile Send private message
jwnhy
n00b
n00b


Joined: 10 Aug 2022
Posts: 15

PostPosted: Sat Nov 23, 2024 5:31 am    Post subject: Reply with quote

Sorry...

I was running
Code:
sudo emerge -av dafny


which pulls in a bunch of dotnet dependencies like
Code:
dev-dotnet/dotnet-runtime-nugets-7.0.20:7.0.20::gentoo

Here is my log:
Code:
>>> Downloading 'https://mirrors.tuna.tsinghua.edu.cn/gentoo/distfiles/78/microsoft.aspnetcore.app.runtime.linux-arm.7.0.20.nupkg'
--2024-11-23 13:26:26--  https://mirrors.tuna.tsinghua.edu.cn/gentoo/distfiles/78/microsoft.aspnetcore.app.runtime.linux-arm.7.0.20.nupkg
Connecting to 127.0.0.1:7890... connected.
Proxy request sent, awaiting response... 200 OK
Length: 10830958 (10M) [application/octet-stream]
Saving to: ‘/var/cache/distfiles/microsoft.aspnetcore.app.runtime.linux-arm.7.0.20.nupkg.__download__’

I was curious that why dotnet have to download things like
Code:
xxx-arm.nupkg
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2453

PostPosted: Sat Nov 23, 2024 5:48 am    Post subject: Reply with quote

I actuality tried that and saw it. I dug up a little bit in the ebuild and found out it was hardcoded, but i didn't have the time to see what the eclass was doing.

I guess the dev didn't have enough time to customize it for the different architectures, but it's also possible Microsoft is to be blamed. Anyway, i belive those are just downloaded but not used.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum