Package Details: sway-git 1.9.r7273.a4e8533-1

Git Clone URL: https://aur.archlinux.org/sway-git.git (read-only, click to copy)
Package Base: sway-git
Description: Tiling Wayland compositor and replacement for the i3 window manager (git development version)
Upstream URL: https://github.com/swaywm/sway
Keywords: compositor development git i3 manager sway tiling wayland window wlroots wm
Licenses: MIT
Conflicts: sway
Provides: sway
Submitter: None
Maintainer: GreyXor
Last Packager: GreyXor
Votes: 146
Popularity: 0.95
First Submitted: 2015-08-16 14:05 (UTC)
Last Updated: 2024-01-24 20:08 (UTC)

Required by (45)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 18 Next › Last »

Severus commented on 2022-10-31 14:13 (UTC)

please add XDG_CURRENT_DESKTOP to 50-systemd-user.conf as uptodate with official package ( it required by flameshot and other need to read this variable )

Rucikir commented on 2022-08-08 17:15 (UTC)

Try updating wlroots-git first, Support for this new protocol was recently merged. https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/b24b50ec0c1c54a14acf34df2c95b37043d15b49

zwastik commented on 2022-08-08 15:07 (UTC) (edited on 2022-08-08 15:12 (UTC) by zwastik)

Found ninja-1.11.0 at /usr/bin/ninja
ninja: Entering directory `/home/user/.src/sway-git/src/build'
[65/288] Compiling C object sway/sway.p/server.c.o
FAILED: sway/sway.p/server.c.o
cc -Isway/sway.p -Isway -I../sway/sway -Iinclude -I../sway/include -Iprotocols -I/usr/include/cairo -I/usr/include/lzo -I/usr/i nclude/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/inc lude/sysprof-4 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0 -I/usr/include/p ango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -flto=auto -fdiagnostics-color=always -D_FILE_OFFS ET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O0 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-br aces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.8-dev-ebf441b3 (" DATE ", branch '"'"'master'"'"')"' -fmacro-p refix-map=../sway/= -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fst ack-clash-protection -fcf-protection -g -fvar-tracking-assignments -ffile-prefix-map=/home/oiu7/.src/sway-git/src=/usr/src/debu g -fPIE -pthread -MD -MQ sway/sway.p/server.c.o -MF sway/sway.p/server.c.o.d -o sway/sway.p/server.c.o -c ../sway/sway/server.c
../sway/sway/server.c:26:10: fatal error: wlr/types/wlr_single_pixel_buffer_v1.h: No such file or directory
26 | #include <wlr/types/wlr_single_pixel_buffer_v1.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[74/288] Compiling C object sway/sway.p/swaynag.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...

yrlf commented on 2022-06-21 10:59 (UTC)

@whynothugo, @Rucikir:

That is part of the output of the strip step of makepkg. Usually, it strips all debug info from the binaries and libraries. However, if makepkg is configured to strip AND leave in debug info, then it will specifically try to create a separate file with all of the debug info and with links to all of the source files for that debug info.

makepkg will then create a *-debug package with all of those debug info files and all the referenced sources.

This last step seems to fail for some of the object files provided by gcc (likely crt0.o, crtbegin.o, crti.o, crtn.o) that contain debug info, but reference files on the machine of the packager who built the ArchLinux gcc package.

The only way to fix this is a) completely strip the objects in the gcc package b) provide a gcc-debug package that ships these files so they can be found either way that is not a bug in sway-git

Rucikir commented on 2022-06-21 10:02 (UTC) (edited on 2022-06-21 10:02 (UTC) by Rucikir)

@whynothugo I'm seeing it too but I don't know what's causing these.

whynothugo commented on 2022-06-20 22:14 (UTC)

Building is now warning of some missing file:

  -> Stripping unneeded symbols from binaries and libraries...
cp: cannot stat '/build/glibc/src/glibc/csu/../sysdeps/x86_64/start.S': No such file or directory
cp: cannot stat '/build/sway-git/src/glibc/csu/../sysdeps/x86/abi-note.c': No such file or directory
cp: cannot stat '/build/sway-git/src/glibc/csu/init.c': No such file or directory
cp: cannot stat '/build/glibc/src/glibc/csu/../sysdeps/x86_64/crti.S': No such file or directory
cp: cannot stat '/build/glibc/src/glibc/csu/../sysdeps/x86_64/crtn.S': No such file or directory
cp: cannot stat '/build/glibc/src/glibc/csu/../sysdeps/x86_64/start.S': No such file or directory
cp: cannot stat '/build/sway-git/src/glibc/csu/../sysdeps/x86/abi-note.c': No such file or directory
cp: cannot stat '/build/sway-git/src/glibc/csu/init.c': No such file or directory
cp: cannot stat '/build/glibc/src/glibc/csu/../sysdeps/x86_64/crti.S': No such file or directory
cp: cannot stat '/build/glibc/src/glibc/csu/../sysdeps/x86_64/crtn.S': No such file or directory
cp: cannot stat '/build/glibc/src/glibc/csu/../sysdeps/x86_64/start.S': No such file or directory
cp: cannot stat '/build/sway-git/src/glibc/csu/../sysdeps/x86/abi-note.c': No such file or directory
cp: cannot stat '/build/sway-git/src/glibc/csu/init.c': No such file or directory
cp: cannot stat '/build/glibc/src/glibc/csu/../sysdeps/x86_64/crti.S': No such file or directory
cp: cannot stat '/build/glibc/src/glibc/csu/../sysdeps/x86_64/crtn.S': No such file or directory
cp: cannot stat '/build/glibc/src/glibc/csu/../sysdeps/x86_64/start.S': No such file or directory
cp: cannot stat '/build/sway-git/src/glibc/csu/../sysdeps/x86/abi-note.c': No such file or directory
cp: cannot stat '/build/sway-git/src/glibc/csu/init.c': No such file or directory
cp: cannot stat '/build/glibc/src/glibc/csu/../sysdeps/x86_64/crti.S': No such file or directory
cp: cannot stat '/build/glibc/src/glibc/csu/../sysdeps/x86_64/crtn.S': No such file or directory
  -> Compressing man and info pages...

The build continue and works, but maybe something needs updating in the PKGBUILD?

Rucikir commented on 2022-06-19 16:14 (UTC)

@tukusejssirs I couldn't reproduce your problem, but the maintainers and devs of wlroots and sway have always been keen on keeping them in sync, so there's no need to lock versions, and with -git packages it would be too difficult to keep up. You should always rebuild sway-git if wlroots-git is updated, I don't think it's possible to do it automatically. You can always use stable releases.

tukusejssirs commented on 2022-06-18 15:57 (UTC)

I get several error: 'struct wlr_xdg_popup' has no member named 'current' errors when I try to install sway-git@r6934.251a648e-1 over sway-git@r6926.42b61ab2-1 (during the build step), UNLESS I first upgrade wlroots-git@0.16.0.r5512.f91f38b7-1 to wlroots-git@0.16.0.r5590.d89285f78-1, which (for some reason unknown to me) was not upgraded with yay -Syu.

Would it be possible to lock wlroots dependency to specific version known to work with a particular Sway version?

Rucikir commented on 2022-06-02 12:00 (UTC)

@emersion thanks for the notice, done with this in the install script.

setcap cap_sys_nice+eip usr/bin/sway

emersion commented on 2022-06-01 10:12 (UTC)

Can we grant CAP_SYS_NICE to the Sway binary? See https://github.com/swaywm/sway/issues/7019