bsd-ac / wayland-desktop

Gentoo overlay for Wayland related ebuilds
https://gentoo.org
ISC License
61 stars 21 forks source link

I am being bullshitted by portage. #21

Closed BurnyLlama closed 2 years ago

BurnyLlama commented 2 years ago

I am trying to install river, but portage says it is masked:

!!! All ebuilds that could satisfy "=gui-wm/river-0.1.3" have been masked.
!!! One of the following masked packages is required to complete your request:
- gui-wm/river-0.1.3::wayland-desktop (masked by: missing keyword)
For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.

But it should be unmasked as I have this in my make.conf:

ACCEPT_KEYWORDS="~amd64"

And this in /etc/portage/package.accept_keywords:

*/*::wayland-desktop ~amd64

What am I doing wrong? This makes no sense, and I am getting annoyed....

epsilon-0 commented 2 years ago

The new river version 0.1.3 needs zig version >= 0.9.1 but the latest version in gentoo is only 0.9.0.

So to install the newest version of river, first you have to install zig-9999 which is done by accepting all keywords (wildcard keywords) and the same for river.

dev-lang/zig   **
gui-wm/river   **
BurnyLlama commented 2 years ago

Oh. Thank you! :D

BurnyLlama commented 2 years ago

Now I get the following errors:

/var/tmp/portage/gui-wm/river-0.1.3/work/river-0.1.3/deps/zig-wlroots/src/types/pointer_constraints_v1.zig:13:32: error: unable to override alignment of packed struct fields                               region: bool align(@alignOf(u32)) = false
/var/tmp/portage/gui-wm/river-0.1.3/work/river-0.1.3/deps/zig-wlroots/src/types/keyboard.zig:18:27: error: unable to override alignment of packed struct fields shift: bool align(@alignOf(u32)) = false

Is there something else I've missed?

epsilon-0 commented 2 years ago

This looks like some zig error, and I am not learned in zig. These kinds of errors are best asked to the river developers as they know whats going on here.

BurnyLlama commented 2 years ago

@epsilon-0 I made a pr (#22) which solves this issue AFAIK. :))