Package Details: wlroots-git 0.16.0.r5339.2c59435e-1

Git Clone URL: https://aur.archlinux.org/wlroots-git.git (read-only, click to copy)
Package Base: wlroots-git
Description: Modular Wayland compositor library (git version)
Upstream URL: https://gitlab.freedesktop.org/wlroots/wlroots
Keywords: compositor library wayland
Licenses: custom:MIT
Conflicts: wlroots
Provides: libwlroots.so, wlroots
Submitter: aperez
Maintainer: aperez (Rucikir)
Last Packager: Rucikir
Votes: 52
Popularity: 0.40
First Submitted: 2018-02-20 16:48 (UTC)
Last Updated: 2022-01-29 12:17 (UTC)

Required by (71)

Sources (1)

Pinned Comments

aperez commented on 2018-09-28 08:31 (UTC) (edited on 2019-03-07 16:25 (UTC) by aperez)

IMPORTANT

Please do not flag this package as out-of-date if the only change you need is to update to a newer version. It is not needed because it always fetches the sources using Git and uses the most recent version without needing to modify the PKGBUILD — just rebuild the package.

Also, please try building in a clean chroot before assuming that the PKGBUILD is broken.

Latest Comments

yrlf commented on 2022-03-17 11:34 (UTC) (edited on 2022-03-17 11:35 (UTC) by yrlf)

@Calimero: AFAIK, that's not a bug. The /usr/lib/debug/.build-id/ subdirectory contains symlinks pointing to the debug info in the correct location and make it easy to find the correct debugging symbols for a binary given just its build-id.

Also: except when things like the debug prefix map is broken by the PKGBUILD, the exact layout of split -debug packages is not controlled by the PKGBUILD, and done by makepkg on its own.

(for an off-topic example: all go packages (e.g. yay) currently don't have working source directories in debug packages, they end up putting /_/github.com and /tmp/go-build into the package)

Calimero commented on 2022-03-17 11:14 (UTC)

The split package wlroots-git-debug installs /usr/lib/debug/.build-id/ shenanigans, which I'm pretty sure is not conformant to packaging guidelines!

Rucikir commented on 2022-01-29 12:37 (UTC)

I've applied a variation of @yrlf's patch, but I still get warnings when installing the package with yay, but not when installing in a clean chroot. I'll take suggestions ;)

yrlf commented on 2022-01-23 22:16 (UTC) (edited on 2022-01-23 22:19 (UTC) by yrlf)

I found an arguably hacky workaround for getting the debug package to work again:

It seems doing the meson configure call before build () breaks the debug prefix map used for creating the debug pacakges. This is because the CFLAGS variable is only set to contain the DEBUG_CFLAGS during the build () function, but not during the prepare () function.

A simple, but ugly fix would be to configure twice: once just for the version information, and once for the build.

Here is a short patch:

diff --git a/PKGBUILD b/PKGBUILD
index 1535646..100bafa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,18 +34,23 @@ makedepends=(
 source=("${pkgname}::git+${url}.git")
 md5sums=('SKIP')

-prepare () {
+_meson_configure () {
+   local _builddir="$1"
    arch-meson \
        --buildtype=debug \
        -Dwerror=false \
        -Dexamples=false \
-       "${pkgname}" build
+       "${pkgname}" "${_builddir}"
+}
+
+prepare () {
+   _meson_configure build-pkgver
 }

 pkgver () {
    (
        set -o pipefail
-       meson introspect --projectinfo build \
+       meson introspect --projectinfo build-pkgver \
          | awk 'match($0, /"version":\s*"([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)"/, ret) {printf "%s",ret[1]}'
    )
    cd "${pkgname}"
@@ -53,6 +58,7 @@ pkgver () {
 }

 build () {
+   _meson_configure build
    meson compile -C build
 }

Scrumplex commented on 2022-01-21 08:27 (UTC)

nparry: certainly not a yay thing. You are probably installing the -debug package as well. Currently the PKGBUILD is broken causing it to put the source code of the debug package where your build directory is.

nperry commented on 2022-01-21 08:21 (UTC)

Not sure if this is a yay thing however only seems to be happening with wlroots, why is src being owned by root after rebuilding?

neil@work ~ master > ls -l .cache/yay/wlroots-git                                                                                                                                                                     
total 1600
-rw-r--r-- 1 neil neil    1473 Jan 21 08:18 PKGBUILD
drwxr-xr-x 1 root root      32 Jan 21 08:18 src
drwxr-xr-x 1 neil neil     140 Jan 21 08:18 wlroots-git
-rw-r--r-- 1 neil neil  435583 Jan 21 08:18 wlroots-git-        0.16.0.r5336.1d1b8454-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 neil neil 1192668 Jan 21 08:18 wlroots-git-debug-0.16.0.r5336.1d1b8454-1-x86_64.pkg.tar.zst

Scrumplex commented on 2022-01-19 09:54 (UTC)

As FreeFull mentioned the -debug package tries to install the source code into the builddir.

I think this occurs, because prepare() doesn't have a value for environment variable DBGSRCDIR. Maybe you can try to meson setup twice. Once for pkgver() and once for the actual build.

primalmotion commented on 2022-01-10 21:54 (UTC)

Here's a link to the freedesktop issue tracking this:

https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/407

philippe commented on 2022-01-09 01:52 (UTC)

Getting the same error than @FreeFull, and pulling the source hangs or fails most of the time ever since it moved to freedesktop.org

Rucikir commented on 2022-01-08 13:58 (UTC)

Also, please try building in a clean chroot before assuming that the PKGBUILD is broken.

Well, I broke the PKGBUILD. My apologies to everyone.

whynothugo commented on 2022-01-08 12:45 (UTC)

Can you revert the latest commit that changes pkgver? They don't work.

First off, it's trying to determine the status without changing directory into the source directory first. Even after adding cd $pkgname, the commands don't work and error out.

FreeFull commented on 2022-01-07 22:50 (UTC)

For some reason, the wlroots-git-debug package (the debug info for wlroots-git) tries to install the source code into the directory where I've built the package, instead of $DBGSRCDIR

error: failed to commit transaction (conflicting files)
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/drm-lease-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/drm-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/fullscreen-shell-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/idle-inhibit-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/idle-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/input-method-unstable-v2-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/keyboard-shortcuts-inhibit-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/linux-dmabuf-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/pointer-constraints-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/pointer-gestures-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/presentation-time-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/primary-selection-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/relative-pointer-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/server-decoration-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/tablet-unstable-v2-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/text-input-unstable-v3-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/viewporter-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/virtual-keyboard-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/wlr-data-control-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/wlr-export-dmabuf-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/wlr-foreign-toplevel-management-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/wlr-gamma-control-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/wlr-input-inhibitor-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/wlr-layer-shell-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/wlr-output-management-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/wlr-output-power-management-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/wlr-screencopy-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/wlr-virtual-pointer-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/xdg-activation-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/xdg-decoration-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/xdg-foreign-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/xdg-foreign-unstable-v2-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/xdg-output-unstable-v1-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/build/protocol/xdg-shell-protocol.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/backend.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/drm/atomic.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/drm/backend.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/drm/cvt.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/drm/drm.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/drm/legacy.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/drm/monitor.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/drm/properties.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/drm/renderer.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/drm/util.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/headless/backend.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/headless/input_device.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/headless/output.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/libinput/backend.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/libinput/events.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/libinput/keyboard.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/libinput/pointer.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/libinput/switch.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/libinput/tablet_pad.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/libinput/tablet_tool.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/libinput/touch.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/multi/backend.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/session/session.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/wayland/backend.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/wayland/output.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/wayland/seat.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/wayland/tablet_v2.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/x11/backend.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/x11/input_device.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/backend/x11/output.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/allocator/allocator.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/allocator/drm_dumb.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/allocator/gbm.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/allocator/shm.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/dmabuf.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/drm_format_set.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/egl.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/gles2/pixel_format.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/gles2/renderer.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/gles2/shaders.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/gles2/texture.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/pixel_format.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/pixman/pixel_format.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/pixman/renderer.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/swapchain.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/vulkan/pixel_format.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/vulkan/renderer.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/vulkan/texture.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/vulkan/util.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/vulkan/vulkan.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/wlr_renderer.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/render/wlr_texture.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/data_device/wlr_data_device.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/data_device/wlr_data_offer.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/data_device/wlr_data_source.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/data_device/wlr_drag.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/output/cursor.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/output/output.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/output/render.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/output/transform.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/scene/output_layout.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/scene/subsurface_tree.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/scene/wlr_scene.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/scene/xdg_shell.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/seat/wlr_seat.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/seat/wlr_seat_keyboard.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/seat/wlr_seat_pointer.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/seat/wlr_seat_touch.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/tablet_v2/wlr_tablet_v2.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/tablet_v2/wlr_tablet_v2_pad.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/tablet_v2/wlr_tablet_v2_tablet.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/tablet_v2/wlr_tablet_v2_tool.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_buffer.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_compositor.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_cursor.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_data_control_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_drm.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_drm_lease_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_export_dmabuf_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_foreign_toplevel_management_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_fullscreen_shell_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_gamma_control_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_idle.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_idle_inhibit_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_input_device.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_input_inhibitor.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_input_method_v2.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_keyboard.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_keyboard_group.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_keyboard_shortcuts_inhibit_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_layer_shell_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_linux_dmabuf_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_matrix.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_output_damage.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_output_layout.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_output_management_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_output_power_management_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_pointer.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_pointer_constraints_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_pointer_gestures_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_presentation_time.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_primary_selection.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_primary_selection_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_region.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_relative_pointer_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_screencopy_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_server_decoration.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_surface.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_switch.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_tablet_pad.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_tablet_tool.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_text_input_v3.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_touch.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_viewporter.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_virtual_keyboard_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_virtual_pointer_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_xcursor_manager.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_xdg_activation_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_xdg_decoration_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_xdg_foreign_registry.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_xdg_foreign_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_xdg_foreign_v2.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/wlr_xdg_output_v1.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/xdg_shell/wlr_xdg_popup.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/xdg_shell/wlr_xdg_positioner.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/xdg_shell/wlr_xdg_shell.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/xdg_shell/wlr_xdg_surface.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/types/xdg_shell/wlr_xdg_toplevel.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/util/addon.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/util/array.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/util/box.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/util/global.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/util/log.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/util/region.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/util/shm.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/util/signal.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/util/time.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/util/token.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/xcursor/wlr_xcursor.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/xcursor/xcursor.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/xwayland/selection/dnd.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/xwayland/selection/incoming.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/xwayland/selection/outgoing.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/xwayland/selection/selection.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/xwayland/server.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/xwayland/sockets.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/xwayland/xwayland.c exists in filesystem
wlroots-git-debug: /home/freefull/AUR/wlroots-git/src/wlroots-git/xwayland/xwm.c exists in filesystem
Errors occurred, no packages were upgraded.

whynothugo commented on 2022-01-06 21:31 (UTC)

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 0.16.0fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git

I think this is because you removed the cd wlroots part...?

jfyne commented on 2022-01-04 08:36 (UTC) (edited on 2022-01-04 08:40 (UTC) by jfyne)

It appears the freedesktop gitlab servers are having cloning problems

https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/407

LukasDoe commented on 2022-01-03 21:42 (UTC)

I got this error today fetching origin fatal: unable to access 'https://gitlab.freedesktop.org/wlroots/wlroots/': The requested URL returned error: 504

cmsigler commented on 2022-01-03 16:18 (UTC)

Hi,

I applied haawda's patch by hand. wlroots-git built OK for me, 2022-01-03. HTH :)

Clemmitt Sigler

haawda commented on 2021-12-24 21:42 (UTC)

0.15.0 is out, and needs adjustments.

diff --git a/PKGBUILD b/PKGBUILD
index 2c1f79a..02eb321 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Adrian Perez de Castro <aperez@igalia.com>
 # Maintainer: Antonin Décimo <antonin dot decimo at gmail dot com>
 pkgname=wlroots-git
-pkgver=0.13.0.r12.gb29ac8fb
+pkgver=0.15.0.r5182.0855cdac
 pkgrel=1
 license=(custom:MIT)
 pkgdesc='Modular Wayland compositor library (git version)'
@@ -32,19 +32,14 @@ source=("${pkgname}::git+${url}")
 sha512sums=('SKIP')

 pkgver () {
-   cd "${pkgname}"
-   (
-       set -o pipefail
-       git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
-       printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-   )
-}
+  cd "${pkgname}"
+  printf "%sr%s.%s" $(awk '/version:/ {print $2}' meson.build |head -1| tr -d \' | tr , .) \
+      "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+  }

 build () {
    arch-meson \
        --buildtype=debug \
-       -Dlogind-provider=systemd \
-       -Dlibseat=enabled \
        -Dwerror=false \
        -Dexamples=false \
        "${pkgname}" build

kode54 commented on 2021-12-03 05:06 (UTC)

It also requires a Vega or RDNA/2 GPU, as it requires buffer modifiers support.

ibrokemypie commented on 2021-12-03 05:01 (UTC)

Seems to require vulkan-validation-layers as a runtime dependency for the vulkan renderer to work

Rucikir commented on 2021-10-18 16:00 (UTC)

@whynothugo @tomKPZ The package now depends on Vulkan, let me know if anything's wrong. I'm not sure if everyone will want that, though.

tomKPZ commented on 2021-10-18 15:41 (UTC)

The latest version of wlroots now includes <vulkan/vulkan.h>, so a new build dependency on vulkan-headers is needed.

whynothugo commented on 2021-10-18 13:20 (UTC)

Failing to build due to the recent Vulkan backend:

wlroots-git/render/vulkan/meson.build:21:2: ERROR: Problem encountered: Install "glslang" or pass "-Dvulkan=disabled" to disable it.

whynothugo commented on 2021-09-22 18:21 (UTC)

With recent changes to use libseat, is systemd still a dependency?

Ghosthree3 commented on 2021-09-15 19:57 (UTC)

To anyone dealing with conflict errors from the dependency change. pacman -Rdd libseat then try installing this package again, it should pull in seatd.

jihoxoc160 commented on 2021-09-15 14:35 (UTC) (edited on 2021-09-15 14:36 (UTC) by jihoxoc160)

libseat is now packaged as seatd in community, so you can change it back in the depends

Rucikir commented on 2021-07-02 11:57 (UTC)

@Ferdi265 Thank you for the patch and the description of the issue, applied.

yrlf commented on 2021-07-02 11:07 (UTC) (edited on 2021-07-02 11:08 (UTC) by yrlf)

The provides version info for libwlroots.so is wrong and the version info for wlroots is missing completely.

Version info for provides for .so files seems to be automatically provided by makepkg (taken from the SONAME of the library). This is also what the community package for wlroots does (wlroots currently has libwlroots.so=9-64, wlroots-git would have libwlroots.so=10-64 with the automatic versioning)

Fix below:

diff --git a/PKGBUILD b/PKGBUILD
index cd971ec..e7e4d26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ license=(custom:MIT)
 pkgdesc='Modular Wayland compositor library (git version)'
 url=https://github.com/swaywm/wlroots
 arch=(x86_64)
-provides=("libwlroots.so=${pkgver%%.r*}" "wlroots")
+provides=("libwlroots.so" "wlroots=${pkgver%%.r*}")
 conflicts=(wlroots)
 options=(debug)
 depends=(

primalmotion commented on 2021-07-01 15:53 (UTC)

now it works again, thanks!

Rucikir commented on 2021-07-01 07:59 (UTC)

@primalmotion: thanks, I overlooked the fact that *-git packages should provide the original package.

primalmotion commented on 2021-07-01 00:57 (UTC)

I can't update to the latest change:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing wlroots-git (0.14.0.r15.g1db976ce-1) breaks dependency 'wlroots' required by wlrobs

Rucikir commented on 2021-06-29 21:39 (UTC) (edited on 2021-06-29 21:39 (UTC) by Rucikir)

@junglerobba done, thanks!

junglerobba commented on 2021-06-29 19:32 (UTC)

Can the seatd dependency be changed to libseat so it works with the package from the community repo? seatd on the AUR also provides libseat, so that way it works with both packages.

ronin commented on 2021-04-21 23:23 (UTC) (edited on 2021-04-21 23:28 (UTC) by ronin)

can confirm the package needs libseat. https://github.com/swaywm/wlroots/issues/2844

fbernier commented on 2021-04-11 21:56 (UTC)

@codicodi the PKGBUILD also needs to be edited to enable libseat. Maybe the maintainer should change it?

codicodi commented on 2021-04-11 08:11 (UTC)

With https://github.com/swaywm/wlroots/pull/2786 merged, wlroots needs libseat for session management. It seams to be available in AUR as https://aur.archlinux.org/packages/seatd/

Rucikir commented on 2021-03-16 10:33 (UTC)

I've updated the package. Everything should be fine, if not don't hesitate to report issues or send patches!

aperez commented on 2021-03-10 10:50 (UTC)

@Rucikir: I have added you as a co-maintainer! Lately I have not had that much time to fiddle with wlroots, thanks for offering to help! :)

Rucikir commented on 2021-03-06 13:49 (UTC)

I could take over maintenance of the package if needed, as I’m already maintaining sway-git, sway-hidpi-git, and wlroots-hidpi-git. You can also cherry-pick the patches for all the issues described below from wlroots-hidpi-git.

ynakao commented on 2021-03-04 10:58 (UTC)

It seems xorg-xwayland is also required as a dependency now. https://github.com/swaywm/wlroots/commit/3504bb587daade365c11bd91568bc175b303be57 Are you still active, @aperez? Do you have any comments?

yar commented on 2021-02-22 00:19 (UTC)

Please depend on xcb-util-renderutil as @ynakao said, and in the future test with makechrootpkg

auruser123 commented on 2021-02-15 08:33 (UTC)

I think the right fix for the current build failure is to follow wlroots packaging recommendations: https://github.com/swaywm/wlroots/wiki/Packaging-recommendations

It recommends setting -Dwerror=false to "avoid failing the build on warnings", which is the current cause of the failure.

This package should follow those recommendations.

auruser123 commented on 2021-02-12 09:32 (UTC)

Fails to build with -Werror=maybe-uninitialized

ynakao commented on 2021-02-08 03:18 (UTC)

xcb-util-renderutil is required as a dependency after this commit. Otherwise, build fails saying the following message.

Run-time dependency xcb-renderutil found: NO (tried pkgconfig)
Message: Install "xcb-renderutil" or pass "-Dx11-backend=disabled" to disable it.
Required for X11 backend support.

backend/x11/meson.build:22:1: ERROR: Dependency "xcb-renderutil" not found, tried pkgconfig

A full log can be found at /build/wlroots-git/src/wlroots-git/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...

kode54 commented on 2021-01-28 02:29 (UTC)

@maricn Thanks for the dumb comment and thanks especially for deleting it, leaving the only evidence the emails that got sent to everyone subscribed to the package.

No, this is not 0.11.0. This is a Git package, if you actually run makepkg, it will fetch the source code from the Git repository, and generate a new version string based on the package's current release tag and commit count and hash from that tag. As of the exact time this post was made, that tag is:

0.12.0-283-ga406f194

Which, in turn, will produce a version string of:

0.12.0.r283.ga406f194

kode54 commented on 2020-11-24 23:05 (UTC)

I can't say that's even required now, as I installed the alleged requisite items, and it still crashed on startup here. I had to downgrade it one commit to r44.

Rucikir commented on 2020-11-24 10:33 (UTC)

@kode54 do you know what feature is required from mesa-git (respectively, libglvnd), so that we may switch to a released version when that feature is released? By "bleeding-edge", do you mean unreleased but in the dev repo? I think that depending on mesa-git is a big change.

kode54 commented on 2020-11-24 03:57 (UTC)

Hi, latest commit now requires mesa-git and bleeding edge libglvnd, or else compositors crash on startup.

Listing a generic OpenGL requirement was never true anyway, as this never has, and likely never will, work on Nvidia proprietary drivers.

Rucikir commented on 2020-10-30 12:44 (UTC)

When applying commit ff8e6a6 Disable examples to avoid needing ffmpeg as makedepends, remove libcap, you forgot to remove the line -Dlibcap=enabled \ in build().

shoober420 commented on 2020-07-03 06:02 (UTC)

@Ferdi265

Thanks for the info. ffmpeg should then be added to "optdepends=" if one desires to build the examples. Maintainer, where you at?

grumpey commented on 2020-06-30 23:18 (UTC)

libcap can be removed from the dependencies, see https://github.com/swaywm/wlroots/commit/906c0766df2fec4bd32c316fd1b0d46fded5fc84#diff-969b60ad3d206fd45c208e266ccfed38

Thanks

yrlf commented on 2020-06-26 12:43 (UTC) (edited on 2020-06-26 12:47 (UTC) by yrlf)

@shoober420:

the wlroots-git examples optionally depend on libavutil, libavodec, and libavformat, provided by ffmpeg.

The examples seem to be built by this PKGBUILD, but are not installed anyway, so by just setting -Dexamples=false in the PKGBUILD this would not need a dependency on ffmpeg.

If the examples aren't part of the package, not building them seems to be a good idea anyway.

shoober420 commented on 2020-06-26 10:42 (UTC)

This package requires “ffmpeg” to compile, please add to “makedepends=“.

tbarblan commented on 2020-06-24 18:59 (UTC)

Could the xorg-server-xwayland package be either added as a dependency or at least an optional dependency?

yrlf commented on 2020-04-30 18:30 (UTC)

@Rucikir:

  1. you should probably ask this in the sway-git package
  2. no, this has been there for a while now.

The real reason for your problem:

Archlinux just updated json-c from 0.13 to 0.14, which included an ABI break, meaning apps using libjson-c need to be recompiled. In order to not get weird crashes it is standard practice to change the so-called SONAME of a library when this happens so it just says "libjson-c.so.4 not found" instead of crashing somewhere. The new library is called "libjson-c.so.5", recompiling should fix it.

TL;DR: recompile sway, that should fix it

Rucikir commented on 2020-04-30 11:28 (UTC)

I got an error from the sway binary after updating wlroots for a missing libjson-c.so4 library. Is it a new dependency?

aperez commented on 2020-01-16 08:12 (UTC)

@Fedi265 @chron: Thanks for all the discussion, I have pushed an update to have options=(debug) now.

yrlf commented on 2020-01-15 14:15 (UTC)

(bump to enable notifications for me since I forgot in the last comment)

yrlf commented on 2020-01-15 14:15 (UTC)

@aperez: I don't particularly care wether debug is part of wlroot's options array; it's just that overriding strip to off breaks the debug info in the package for people who clean their source directories after building.

@chron: I can understand why options=(debug) would make sense. You might want a development package like wlroots-git to be built with debug info even if other packages on the system aren't, in order to get more useful bug reports by people using wlroots-git.

TL;DR:

for me, options=(debug) or options=() would be acceptable. It's just the !strip that's bothering me.

options=(debug strip) would probably offend people who don't like the -debug extra packages for some reason. (e.g. tooling support is lacking; yay doesn't install -debug packages generated by makepkg by default)

chron commented on 2020-01-14 20:55 (UTC) (edited on 2020-01-15 14:35 (UTC) by chron)

@aperez: No, I think he ment you should use debug and strip or remove options=() entirely/leave it empty.

I think you shouldn't overwrite a users /etc/makepkg.conf defaults, if they need either !strip or debug they can add the options themself.

aperez commented on 2020-01-14 12:35 (UTC)

@Ferdi265: So what you would suggest? If I understand your reasoning correctly, you would like to have options=(debug) in the PKGBUILD, so each user can decide choose to use strip or !strip. Isn't it?

aperez commented on 2020-01-14 12:33 (UTC)

FreeDRP and related dependencies have now been removed, thanks @Mel for the heads up!

Mel commented on 2020-01-13 19:13 (UTC)

freerdp can probably be removed from the depends array. see: https://github.com/swaywm/wlroots/commit/ebdbe177d62d3c8bab04f77b86326804ff185bef

yrlf commented on 2020-01-09 17:32 (UTC)

Is there any reason why the PKGBUILD overrides the strip option to off?

Having both debug and strip activated produces a separate debug package that will be installed to /usr/src/debug and /usr/lib/debug.

Having debug and !strip activated produces a single packages with binaries containing debug info, which reference the build folder however.

Many AUR helpers clean the build directory after packaging, which removes the sources, making the debug infos often less useful in case of a crash.

If the strip option is not overridden to off, users are able to choose on their own, whether they want a separate debug package or not.

Mel commented on 2019-12-21 11:46 (UTC)

@habarnam is correct. It should definitely be added to makedepends here.

habarnam commented on 2019-12-21 09:35 (UTC)

I think this package now needs "xorgproto" as a build dependency.

Before installing xorgproto I was reciving a build error saying xcb lib can't be found.

nedludd commented on 2019-11-30 20:20 (UTC)

Got past the problem in my previous comment by disabling freerdp in the PKGBUILD. It's an upstream issue (reported it here https://github.com/swaywm/wlroots/issues/1941).

Not sure how much Sway depends on this.

nedludd commented on 2019-11-27 15:00 (UTC) (edited on 2019-11-27 15:01 (UTC) by nedludd)

Getting this during the build (fails):

../backend/rdp/peer.c: In function ‘rdp_peer_context_new’:
../backend/rdp/peer.c:256:2: error: ‘nsc_context_set_pixel_format’ is deprecated [-Werror=deprecated-declarations]
  256 |  nsc_context_set_pixel_format(context->nsc_context, PIXEL_FORMAT_BGRA32);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

RachelK commented on 2019-10-19 17:38 (UTC)

The RDP support seems to giving some people grief - see https://github.com/swaywm/sway/issues/4633

Should the freerdp dep perhaps be optional?

aperez commented on 2019-10-17 11:26 (UTC)

@Mel: Thanks for the heads up, the dependency is now added.

Mel commented on 2019-10-17 08:26 (UTC)

wlroots now comes with rdp beckend, depends array should now include 'freerdp' see: https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/wlroots&id=02c57f74e2dedf064fc75454c4cfb58f30efaefd

chron commented on 2019-09-25 08:39 (UTC)

Please add "provides=('wlroots=0.7')" to the PKGBUILD or you won't be able to use this with community sway installed.

aperez commented on 2019-08-09 13:26 (UTC)

@Ferdi265, @swalladge: Thanks for the heads up, I have updated now the PKGBUILD :-)

yrlf commented on 2019-08-09 11:38 (UTC)

Adding to what swalladge said: -Drootston=true also needs to be removed.

swalladge commented on 2019-08-09 00:24 (UTC)

PKGBUILD fails since the commit that removes rootston: https://github.com/swaywm/wlroots/commit/58b2584863201f32d1a4770a1d5cde5e57b300c6

Will need the lines that manually install rootston removed from the PKGBUILD. Thanks. :)

numenra commented on 2019-03-16 20:34 (UTC) (edited on 2019-03-16 20:47 (UTC) by numenra)

@jcstryker

There is a change in mesa-git that caused some issue with glvnd and mesa. There is a bug report

https://bugs.freedesktop.org/show_bug.cgi?id=110141

Temp solution is to downgrade mesa-git

jcstryker commented on 2019-03-11 19:14 (UTC) (edited on 2019-03-11 19:15 (UTC) by jcstryker)

Dependency glesv2 found: NO (tried pkgconfig and cmake)

meson.build:71:0: ERROR:  Dependency "glesv2" not found, tried pkgconfig and cmake

Getting build failures using mesa-git.

pad commented on 2019-02-25 09:36 (UTC)

it's build from master branch, not from a tag, this package cant be out-of-date.

skyfair commented on 2019-02-02 19:27 (UTC) (edited on 2019-02-03 10:43 (UTC) by skyfair)

Help solve the problem: meson.build:67:0: ERROR: C library 'm' not found This package requires for sway-git

SOLVED!!! Disable cflags, cxxflags, cppflags, ldflags.

aperez commented on 2018-12-26 18:05 (UTC)

@mearon: Building in a clean chroot (using makechrootpkg -c -r $CHROOT from the package source directory) is working fine for me, all the needed dependencies are installed automatically.

@b1u3dr4g0nf1y: Maybe you have something in your makepkg.conf which is changing the default build options, because here I don't get the issue with _FORTIFY_SOURCE that you mention. Could you please check that nothing from your setup is lowering the optimization level from -O2?

b1u3dr4g0nf1y commented on 2018-12-23 14:09 (UTC)

Hi, when trying to rebuild, I needed to pass --optimization 2 to meson configure. Due to -werror=true use in meson.build and this warn-error :

warning _FORTIFY_SOURCE requires compiling with optimization (-O)

mearon commented on 2018-11-18 13:15 (UTC) (edited on 2018-11-18 15:08 (UTC) by mearon)

When building in a clean chroot like so:

makechrootpkg -c -r $BUILD_CHROOT -I ../scdoc/scdoc-1.5.2-2-any.pkg.tar.xz -I ../dummy-opengl-driver-git/dummy-opengl-driver-git-1-3-any.pkg.tar.xz -I ../xcb-util-errors/xcb-util-errors-1.0-1-x86_64.pkg.tar.xz

If fails with:

Dependency egl found: NO (tried pkgconfig) meson.build:57:0: ERROR: Dependency "egl" not found, tried pkgconfig

I think the 'opengl-driver' dependency should be replaced with 'mesa', as it provides opengl-driver and probably lots of GL stuff. But as I'm a novice, I'm really not sure.

When replacing 'opengl-driver' with 'mesa' though it build correctly with this command:

makechrootpkg -c -r $BUILD_CHROOT -I ../scdoc/scdoc-1.5.2-2-any.pkg.tar.xz -I ../xcb-util-errors/xcb-util-errors-1.0-1-x86_64.pkg.tar.xz

PS: How can I format text as a code block?

aperez commented on 2018-10-28 18:57 (UTC)

@linkmauve: Unfortunately, reusing the build directory with Meson has a huge issue: when updating Meson, the new version may be incompatible with build directories generated using older versions of Meson, and AFAIK it is not possible to determine when the directory needs to be re-created. That's the reason why the directory is always deleted. If you know some way to know when the build directory needs to be thrown away and re-created, I would be interested in knowing! :)

linkmauve commented on 2018-10-27 19:46 (UTC)

Hi, please apply this patch to keep the build directory between builds: https://linkmauve.fr/files/0001-Move-meson-call-to-prepare-to-keep-the-build-directo.patch

aperez commented on 2018-09-28 08:31 (UTC) (edited on 2019-03-07 16:25 (UTC) by aperez)

IMPORTANT

Please do not flag this package as out-of-date if the only change you need is to update to a newer version. It is not needed because it always fetches the sources using Git and uses the most recent version without needing to modify the PKGBUILD — just rebuild the package.

Also, please try building in a clean chroot before assuming that the PKGBUILD is broken.

InfernoZeus commented on 2018-09-06 13:30 (UTC)

@aperez: Sure, no problem. I wasn't sure how big rootston was, or how long it took to compile. If it's small, then I'm sure it's fine.

aperez commented on 2018-09-04 23:48 (UTC)

@InfernoZeus: Updated, thanks a lot for the heads up. As for rootston, I would rather leave it as part of this package. It's small enough as to not make practically any difference...

InfernoZeus commented on 2018-09-04 13:20 (UTC)

The PKGBUILD needs to be updated after the recent changes to the Meson build options. I've used these:

    meson build \
            --prefix /usr \
            --buildtype debug \
            -Dlibcap=enabled \
            -Dlogind=enabled \
            -Dlogind-provider=systemd \
            -Dxwayland=enabled \
            -Dx11-backend=enabled \
            -Dxcb-errors=enabled \
            -Drootston=true \
            -Dexamples=false

I tried setting rootston to false, but the install step expects it to be built. Perhaps rootston should be moved to its own package?

quelotic commented on 2018-08-18 22:49 (UTC)

I think you should include pixman as a dependency.

aperez commented on 2018-06-28 11:01 (UTC)

@thx1138: Thanks for the suggestion, I have pushed a new version which installs rootston and its example configuration file.

thx1138 commented on 2018-06-28 02:35 (UTC)

"rootston", the test compositor, is being built, but it is not being installed. Maybe this has to be added "manually" to the package() function, since ninja install has failed to do this properly.

aperez commented on 2018-05-20 01:20 (UTC)

@emersion: Done! I have added options “!strip” & “debug”, and command line flag “--buildtype debug” to Meson. This should be enough, I believe. Let me know if there's anything else I can help out with in this regard.

emersion commented on 2018-05-18 14:21 (UTC)

Can you please add debug options to this package? This is an unreleased package, and we're tired of getting bug reports without readable stack traces.

References: https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces#PKGBUILD https://github.com/swaywm/sway/issues/2000

aperez commented on 2018-05-08 13:35 (UTC)

@bobsaintcool: I have pushed an update with “git” and “wayland-protocol” added as build-dependencies. The latter only contains XML protocol description files used to generate C code when building other packages, and it's not at all needed at runtime. Thanks for the heads up!

bobsaintcool commented on 2018-05-08 13:04 (UTC)

I'm running into difficulties when building wlroots with this package. Can you consider adding git (build) and wayland-protocols (run) to package dependencies?

Patch example[0] available.

[0] https://gist.github.com/bobsaintcool/8ce69d5dec57cfc72dd1c16e3643f39e