Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to Emerge Clang 13
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
supremmotu
n00b
n00b


Joined: 19 Feb 2021
Posts: 9

PostPosted: Fri Feb 19, 2021 8:50 am    Post subject: Failed to Emerge Clang 13 Reply with quote

Clang 13 fails to emerge for me.

Code:
emerge --info '=sys-devel/clang-13.0.0.9999::gentoo'

https://del.dog/prickapemo.txt
Code:
emerge -pqv '=sys-devel/clang-13.0.0.9999::gentoo'

https://del.dog/inexubicyp.txt
Code:
/var/tmp/portage/sys-devel/clang-13.0.0.9999/temp/build.log

https://del.dog/femyllegun.txt
Code:
/var/tmp/portage/sys-devel/clang-13.0.0.9999/temp/die.env

https://del.dog/loqothurol.sh
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Fri Feb 19, 2021 9:26 am    Post subject: Reply with quote

Welcome to gentoo forum.
There is a reason why you try to install a package not even released upstream?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Fri Feb 19, 2021 12:29 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.

Welcome to Gentoo.

ebuilds with version numbers ending in 9999 pull from the like upstream repo.
If the ebuild does something wrong, that's a bug. If the package does not build, that's a feature of live ebuilds.

sys-devel/clang-13.* is not supported in Gentoo, yet.

Code:
get_llvm_prefix: invalid max_slot=13
it looks like the ebuild is protecting you from yourself.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
supremmotu
n00b
n00b


Joined: 19 Feb 2021
Posts: 9

PostPosted: Fri Feb 19, 2021 8:16 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Welcome to gentoo forum.
There is a reason why you try to install a package not even released upstream?

I just wanted to try the latest for no particular reason other than maybe placebo.

NeddySeagoon wrote:
Moved from Portage & Programming to Unsupported Software.

Welcome to Gentoo.

ebuilds with version numbers ending in 9999 pull from the like upstream repo.
If the ebuild does something wrong, that's a bug. If the package does not build, that's a feature of live ebuilds.

sys-devel/clang-13.* is not supported in Gentoo, yet.

Code:
get_llvm_prefix: invalid max_slot=13
it looks like the ebuild is protecting you from yourself.

I saw that error too, I just wasn't sure if it was normal. Thanks for the clarification.

Is it possible to install it anyway like if I had two versions installed? Thank you for your time.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Fri Feb 19, 2021 8:40 pm    Post subject: Reply with quote

supremmotu,

sys-devel/clang is slotted but it looks like the existing slotting does not work for slot=13.
The short answer is, yes, this is Gentoo, so anything is possible.

The long answer is to fix the ebuild and supporting eclasses may be a lot of work.
Even then as its a live ebuild, you may decide to install it in the middle of the developers pushing code to the repo.
It may not compile. If it compiles, it way not work. Worse, it may compile and run but produce buggy output.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Fri Feb 19, 2021 8:40 pm    Post subject: Reply with quote

I see you have -O3, it works better with --omg-optimized also enabled.
_________________
Life is a tragedy for those who feel and a comedy for those who think.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Fri Feb 19, 2021 8:48 pm    Post subject: Reply with quote

Buffoon,

:)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
supremmotu
n00b
n00b


Joined: 19 Feb 2021
Posts: 9

PostPosted: Fri Feb 19, 2021 9:08 pm    Post subject: Reply with quote

Buffoon,

Haha thanks. It just feels nice to have the latest stuff I guess. I think I'll just stick to clang 11.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2913
Location: Edge of marsh USA

PostPosted: Sat Feb 20, 2021 4:43 am    Post subject: Reply with quote

If it's for the placebo effect, just don't do it if you value your operating system. See: https://wiki.debian.org/DontBreakDebian
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/17.1/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 722
Location: /home

PostPosted: Sat Feb 20, 2021 7:34 am    Post subject: Reply with quote

A bug report at https://bugs.gentoo.org/ would be appreciated.

EDIT: https://bugs.gentoo.org/771699
Back to top
View user's profile Send private message
supremmotu
n00b
n00b


Joined: 19 Feb 2021
Posts: 9

PostPosted: Sat Feb 20, 2021 11:10 pm    Post subject: Reply with quote

I can confirm Clang 13 compiles fine now. I haven't faced any problems either.
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