Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-lang/rust failure soft blocking dev-lang{slvd}
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3530

PostPosted: Tue Nov 12, 2024 1:58 pm    Post subject: Reply with quote

r7l wrote:
Had the same issues on multiple machines. Every Rust based packages was throwing errors after installing the slotted Rust. Packages like "cbindgen" where just the first ones to throw up. Manually removing the old "dev-lang/rust" and "virtual/rust" fixed the issue and everything went on smoothly.


I found that it was sufficient to remove "virtual/rust" and then "emerge -1 dev-lang/rust" by itself. That got the upgrade through and cleared up the slotting mess. After that everything else went just fine with regard to rust, most notably cbindgen, which is where this all started.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1414
Location: Tri-Cities, WA USA

PostPosted: Wed Nov 13, 2024 3:09 pm    Post subject: Reply with quote

updated Chromium . This system no longer needs virtual/rust
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2831

PostPosted: Wed Nov 13, 2024 3:17 pm    Post subject: Reply with quote

cwc wrote:
updated Chromium . This system no longer needs virtual/rust


Chromium needs rust?!

Best Regards,
Georgi
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1934
Location: Germany

PostPosted: Wed Nov 13, 2024 4:28 pm    Post subject: Reply with quote

logrusx wrote:
cwc wrote:
updated Chromium . This system no longer needs virtual/rust


Chromium needs rust?!

Best Regards,
Georgi

To build, yes.
https://packages.gentoo.org/packages/www-client/chromium/dependencies
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Atha
Apprentice
Apprentice


Joined: 22 Sep 2004
Posts: 243

PostPosted: Fri Nov 15, 2024 5:44 pm    Post subject: Reply with quote

I'm reporting that I had the issue that I got a circular dependency. Normally, I just give portage time to fix itself, so I waited two days or more. Often, an "emerge --sync" then solved the situation for me in the past...

This time it was actually my own fault, because I had blocked dev-lang/rust-bin in my /etc/portage/package.mask. This was the reason I got circular dependencies during the upgrade from virtual/rust to slotted rust.

Why I'm really chiming in here is to report that I did NOT have to manually remove/recompile anything: neither did I have to unmerge virtual/rust nor did I have to manually update dev-lang/rust. Yes, virtual/rust stayed on my system, but it didn't interfere with anything, and emerge -a --depclean did catch it as no longer required i.e. selected for removal. The only thing that may be an issue is that dev-lang/rust-bin may be selected as the dependency instead of dev-lang/rust, in which case it is sufficient to simply remove rust-bin first, and then run depclean. (See https://forums.gentoo.org/viewtopic-t-1171685.html#8846230 for that...)

All that was needed (in my case) was a regular emerge -aDuvN --with-bdeps=y --keep-going @world, but it may just stop at one point there, even with "--keep-going". In my case however I simply had to start it again and it installed all the rest... One solution may be to use "--with-bdeps=n" instead (see: https://forums.gentoo.org/viewtopic-t-1171685.html#8846211 the 3rd paragraph from the bottom.)

Anyway, see https://forums.gentoo.org/viewtopic-p-8846251.html#8846169 for the full story.
_________________
Think for yourself and let others enjoy the privilege of doing so too. Voltaire
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
Goto page Previous  1, 2
Page 2 of 2

 
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