Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rust error compiling just [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mani001
Guru
Guru


Joined: 04 Dec 2004
Posts: 485
Location: Oleiros

PostPosted: Sun Nov 05, 2023 9:19 pm    Post subject: Rust error compiling just [solved] Reply with quote

Hi,

I'm trying to compile just (https://github.com/casey/just), from the guru overlay, but get this error

Code:
rustc: /var/tmp/portage/dev-lang/rust-1.71.1/work/rustc-1.71.1-src/src/llvm-project/llvm/lib/Analysis/I
nstructionPrecedenceTracking.cpp:97: void llvm::InstructionPrecedenceTracking::validate(const llvm::Bas
icBlock*) const: Assertion `It->second == nullptr && "Block is marked as having special instructions but in fact it  has " "none!"' failed.                                                                   
error: could not compile `just` (bin "just")


The thing is "just" used to emerge fine not long ago :-/ Any clue?


Last edited by mani001 on Fri Nov 10, 2023 10:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
picarica
Apprentice
Apprentice


Joined: 11 Aug 2018
Posts: 285

PostPosted: Fri Nov 10, 2023 4:50 pm    Post subject: Re: Rust error compiling just Reply with quote

mani001 wrote:
Hi,

I'm trying to compile just (https://github.com/casey/just), from the guru overlay, but get this error

Code:
rustc: /var/tmp/portage/dev-lang/rust-1.71.1/work/rustc-1.71.1-src/src/llvm-project/llvm/lib/Analysis/I
nstructionPrecedenceTracking.cpp:97: void llvm::InstructionPrecedenceTracking::validate(const llvm::Bas
icBlock*) const: Assertion `It->second == nullptr && "Block is marked as having special instructions but in fact it  has " "none!"' failed.                                                                   
error: could not compile `just` (bin "just")


The thing is "just" used to emerge fine not long ago :-/ Any clue?

i think you should contact guru on his git page, maybe its issue with his ebuild
Back to top
View user's profile Send private message
mani001
Guru
Guru


Joined: 04 Dec 2004
Posts: 485
Location: Oleiros

PostPosted: Fri Nov 10, 2023 10:25 pm    Post subject: Reply with quote

I did :D or kind of: I opened an issue in github

https://github.com/casey/just/issues/1718#issuecomment-1802725966

and the main developer replied that it's probably related to LLVM. He's probably right. In any case, you can work around the problem by using rust-bin

Anyway, thanks for the suggestion.Marking as "Solved".

Cheers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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