Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemi con l'installazione di riverwm
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Fri Dec 08, 2023 12:47 pm    Post subject: Problemi con l'installazione di riverwm Reply with quote

Ciao ragazzi, dopo tanto tempo apro un nuovo thread.
Ho un installazione di Gentoo con systemd basata su wayland. Ho abilitato guru e wayland-desktop, uso waybar ed hyprland con discreto successo. Ho deciso di provare ad installare dwl e river. Il primo s'è installato senza problemi mentre il secondo:
Code:
$ cat /var/tmp/portage/gui-wm/river-0.2.4/temp/build.log
 * Package:    gui-wm/river-0.2.4:0
 * Repository: wayland-desktop
 * Maintainer: floss@bsd.ac
 * USE:        X abi_x86_64 amd64 elibc_glibc kernel_linux man
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking river-0.2.4.tar.gz to /var/tmp/portage/gui-wm/river-0.2.4/work
>>> Source unpacked in /var/tmp/portage/gui-wm/river-0.2.4/work
>>> Preparing source in /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4 ...
pkg-config --variable=pkgdatadir wayland-scanner
pkg-config --variable=pkgdatadir wayland-protocols
wayland-scanner private-code protocol/river-control-unstable-v1.xml /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/river-control-unstable-v1-protocol.c
wayland-scanner private-code protocol/river-status-unstable-v1.xml /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/river-status-unstable-v1-protocol.c
wayland-scanner private-code protocol/river-layout-v3.xml /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/river-layout-v3-protocol.c
wayland-scanner private-code protocol/wlr-layer-shell-unstable-v1.xml /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wlr-layer-shell-unstable-v1-protocol.c
wayland-scanner private-code protocol/wlr-output-power-management-unstable-v1.xml /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wlr-output-power-management-unstable-v1-protocol.c
wayland-scanner private-code /usr/share/wayland/wayland.xml /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wayland-protocol.c
wayland-scanner private-code //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/xdg-shell-protocol.c
wayland-scanner private-code //usr/share/wayland-protocols/staging/ext-session-lock/ext-session-lock-v1.xml /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/ext-session-lock-v1-protocol.c
wayland-scanner private-code //usr/share/wayland-protocols/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/pointer-gestures-unstable-v1-protocol.c
wayland-scanner private-code //usr/share/wayland-protocols/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/pointer-constraints-unstable-v1-protocol.c
/opt/zig-bin-0.10.1/zig build-exe /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/river/main.zig -lc -I/usr/include/libevdev-1.0 -levdev -linput -I/usr/lib64/libffi/include -lwayland-server -lxkbcommon -I/usr/include/pixman-1 -lpixman-1 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/lib64/libffi/include -lwlroots -cflags -std=c99 -O2 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/river/wlroots_log_wrapper.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/river-control-unstable-v1-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/river-status-unstable-v1-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/river-layout-v3-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wlr-layer-shell-unstable-v1-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wlr-output-power-management-unstable-v1-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wayland-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/xdg-shell-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/ext-session-lock-v1-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/pointer-gestures-unstable-v1-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/pointer-constraints-unstable-v1-protocol.c -fno-strip -OReleaseSafe --cache-dir /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache --global-cache-dir /var/tmp/portage/gui-wm/river-0.2.4/homedir/.cache/zig --name river --pkg-begin build_options /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/options/5nwIDJEnsHg7kqh2zKfWfQMLT6i3qpSm7kJGtofzlMDNNZrLIKA9I9BTT7_hLeYE --pkg-end --pkg-begin wayland /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wayland.zig --pkg-end --pkg-begin xkbcommon /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-xkbcommon/src/xkbcommon.zig --pkg-end --pkg-begin pixman /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-pixman/pixman.zig --pkg-end --pkg-begin wlroots /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-wlroots/src/wlroots.zig --pkg-begin wayland /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wayland.zig --pkg-end --pkg-begin xkbcommon /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-xkbcommon/src/xkbcommon.zig --pkg-end --pkg-begin pixman /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-pixman/pixman.zig --pkg-end --pkg-end --pkg-begin flags /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/common/flags.zig --pkg-end -fno-PIE --enable-cache
/var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-wlroots/src/render/drm_format_set.zig:2:11: error: C import failed
const c = @cImport(@cInclude("wlr/render/drm_format_set.h"));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
referenced by:
    DrmFormat: /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-wlroots/src/render/drm_format_set.zig:6:42
    DrmFormat: /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-wlroots/src/render/drm_format_set.zig:4:30
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

/var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-wlroots/src/wlroots.zig:189:9: error: zig-wlroots requires wlroots version 0.16
        @compileError("zig-wlroots requires wlroots version 0.16");
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: river...
error: The following command exited with error code 1:
/opt/zig-bin-0.10.1/zig build-exe /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/river/main.zig -lc -I/usr/include/libevdev-1.0 -levdev -linput -I/usr/lib64/libffi/include -lwayland-server -lxkbcommon -I/usr/include/pixman-1 -lpixman-1 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/lib64/libffi/include -lwlroots -cflags -std=c99 -O2 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/river/wlroots_log_wrapper.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/river-control-unstable-v1-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/river-status-unstable-v1-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/river-layout-v3-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wlr-layer-shell-unstable-v1-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wlr-output-power-management-unstable-v1-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wayland-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/xdg-shell-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/ext-session-lock-v1-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/pointer-gestures-unstable-v1-protocol.c -cflags -std=c99 -- /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/pointer-constraints-unstable-v1-protocol.c -fno-strip -OReleaseSafe --cache-dir /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache --global-cache-dir /var/tmp/portage/gui-wm/river-0.2.4/homedir/.cache/zig --name river --pkg-begin build_options /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/options/5nwIDJEnsHg7kqh2zKfWfQMLT6i3qpSm7kJGtofzlMDNNZrLIKA9I9BTT7_hLeYE --pkg-end --pkg-begin wayland /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wayland.zig --pkg-end --pkg-begin xkbcommon /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-xkbcommon/src/xkbcommon.zig --pkg-end --pkg-begin pixman /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-pixman/pixman.zig --pkg-end --pkg-begin wlroots /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-wlroots/src/wlroots.zig --pkg-begin wayland /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/zig-wayland/wayland.zig --pkg-end --pkg-begin xkbcommon /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-xkbcommon/src/xkbcommon.zig --pkg-end --pkg-begin pixman /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/deps/zig-pixman/pixman.zig --pkg-end --pkg-end --pkg-begin flags /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/common/flags.zig --pkg-end -fno-PIE --enable-cache
error: the following build command failed with exit code 1:
/var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache/o/636ba529efd02002e31bd0e00f14aa92/build /opt/zig-bin-0.10.1/zig /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4 /var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4/zig-cache /var/tmp/portage/gui-wm/river-0.2.4/homedir/.cache/zig --verbose -Drelease-safe -Dman-pages=true -Dpie=false -Dxwayland=true --prefix /usr
 * ERROR: gui-wm/river-0.2.4::wayland-desktop failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 136:  Called src_compile
 *   environment, line 474:  Called die
 * The specific snippet of code:
 *       DESTDIR="${T}" zig build "${zigoptions[@]}" --prefix /usr || die
 *
 * If you need support, post the output of `emerge --info '=gui-wm/river-0.2.4::wayland-desktop'`,
 * the complete build log and the output of `emerge -pqv '=gui-wm/river-0.2.4::wayland-desktop'`.
 * The complete build log is located at '/var/tmp/portage/gui-wm/river-0.2.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gui-wm/river-0.2.4/temp/environment'.
 * Working directory: '/var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4'
 * S: '/var/tmp/portage/gui-wm/river-0.2.4/work/river-0.2.4'


in pratica mi chiede un downgrade di wlroots, però l'attuale versione va bene per waybar.
Mi sembra di aver capito che wlroots non da possibilità di usare gli slot.
Non ho soluzioni?

Però guardando l'ebuild di river chiede una versione superiore uguale alla 0.16 quindi dovrebbe essere giusto e non ho capito l'errore
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1014

PostPosted: Fri Dec 08, 2023 3:39 pm    Post subject: Reply with quote

Il comando che cerca per la compilazione è /opt/zig-bin-0.10.1/zig version 0.10.1

Code:

* dev-lang/zig-bin
     Available versions:
     (0.10) ~0.10.1-r3
     (0.11) ~0.11.0-r1
       {doc}
     Homepage:            https://ziglang.org/
     Description:         A robust, optimal, and maintainable programming language


è installato ?
_________________
LRS i586 on G.Drive
LRS x86-64 EFI on MEGA
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Fri Dec 08, 2023 4:23 pm    Post subject: Reply with quote

Code:
marco on tsar-larry in ~
$ sudo eix -s zig                         
Password:
Riprovare.
Password:
[I] app-eselect/eselect-zig
     Available versions:  (~)1-r1
     Installed versions:  1-r1(20:42:25 07/12/2023)
     Homepage:            https://wiki.gentoo.org/wiki/No_homepage
     Description:         Manages Zig versions

* dev-lang/zig
     Available versions: 
     (0.11) (~)0.11.0-r1
     (9999) **9999*l^t
       {doc +llvm}
     Homepage:            https://ziglang.org/
     Description:         A robust, optimal, and maintainable programming language

[U] dev-lang/zig-bin
     Available versions: 
     (0.10) (~)0.10.1-r3
     (0.11) (~)0.11.0-r1
       {doc}
     Installed versions:  0.10.1-r3(0.10)(20:43:22 07/12/2023)(-doc)
     Homepage:            https://ziglang.org/
     Description:         A robust, optimal, and maintainable programming language

Found 3 matches


Sì è installato, ora me lo da in upgrade, vediamo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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