Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ninja fails when emerging hyprland
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
Zoosannn
n00b
n00b


Joined: 24 Jun 2024
Posts: 5

PostPosted: Tue Jun 25, 2024 12:44 am    Post subject: Ninja fails when emerging hyprland Reply with quote

Hello,

I was updating my world set when this occurred:

https://pastebin.com/yMxQdXWL (build log)

This was about halfway through the upgrade, only with wayland instead of hyprland. I set one of wayland's use flags to -~amd64 so it wouldn't update (that was why I was updating the world set) and the error still occurs with hyprland, so it's not a wayland specific issue. Then I set my makeopts to -j1 since all the info I found from other posts said it was a memory issue, but the error still occurs.

If anyone could help me out with this, it'd be greatly appreciated. Thanks.

https://pastebin.com/gECBC5m7
https://pastebin.com/MK7YWLtr
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 3038

PostPosted: Tue Jun 25, 2024 1:55 am    Post subject: welcome Reply with quote

Welcome to the forums!

This error looks like bug 933460
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 653

PostPosted: Tue Jun 25, 2024 2:01 am    Post subject: Reply with quote

The version of dev-libs/libliftoff you are using is newer than the version of hyprland you are trying to install. When you consider the previous release of libliftoff (0.4.1) is ~1 year old, try downgrading to version 0.4.1. Erm... dev-libs/libliftoff -* amd64 in package.accept_keywords should do it, or package.mask >=dev-libs/libliftoff-0.5.0 until future updates of hyprland fail, then remove the mask.

EDIT: I just noticed this is your first post, here is the package.mask wiki link: https://wiki.gentoo.org/wiki//etc/portage/package.mask
The wiki doesn't mention /etc/portage/package.mask can be a single file, or a directory with multiple files inside. In this case, personally I'd use /etc/portage/package.mask/hyprland with the following contents
Code:
#mask libliftoff version 0.5.0 and above until hyprland catches up
>=dev-libs/libliftoff-0.5.0
Back to top
View user's profile Send private message
Zoosannn
n00b
n00b


Joined: 24 Jun 2024
Posts: 5

PostPosted: Tue Jun 25, 2024 2:25 am    Post subject: Reply with quote

Ralphred wrote:
The version of dev-libs/libliftoff you are using is newer than the version of hyprland you are trying to install. When you consider the previous release of libliftoff (0.4.1) is ~1 year old, try downgrading to version 0.4.1. Erm... dev-libs/libliftoff -* amd64 in package.accept_keywords should do it, or package.mask >=dev-libs/libliftoff-0.5.0 until future updates of hyprland fail, then remove the mask.

EDIT: I just noticed this is your first post, here is the package.mask wiki link: https://wiki.gentoo.org/wiki//etc/portage/package.mask
The wiki doesn't mention /etc/portage/package.mask can be a single file, or a directory with multiple files inside. In this case, personally I'd use /etc/portage/package.mask/hyprland with the following contents
Code:
#mask libliftoff version 0.5.0 and above until hyprland catches up
>=dev-libs/libliftoff-0.5.0


Seems to have done the trick, thanks!
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