Package Details: sway-git 1.10.r7507.61cc08c-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, wayland-compositor
Submitter: None
Maintainer: GreyXor
Last Packager: GreyXor
Votes: 150
Popularity: 0.83
First Submitted: 2015-08-16 14:05 (UTC)
Last Updated: 2025-03-12 13:28 (UTC)

Dependencies (27)

Required by (51)

Sources (3)

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 20 Next › Last »

<deleted-account> commented on 2019-03-05 15:57 (UTC)

That's generally a benign error. Can you share the full build log? Also, are you running on an Arch installation which does not have systemd?

themba commented on 2019-03-05 14:39 (UTC)

Recently this fails:

Dependency libelogind found: NO (tried pkgconfig and cmake)

rsansores commented on 2019-03-02 19:16 (UTC)

@jpoppe Thanks for the scdoc workaround.

jpoppe commented on 2019-03-02 10:14 (UTC) (edited on 2019-03-02 10:16 (UTC) by jpoppe)

It is indeed a problem with: scdoc 1.9.1

Quick and dirty fix:

git clone https://git.sr.ht/~sircmpwn/scdoc && cd scdoc && make && sudo mv /usr/bin/scdoc /usr/bin/scdoc.dist && sudo cp scdoc /usr/bin/scdoc

install sway with your aur manager

sudo mv /usr/bin/scdoc.dist /usr/bin/scdoc

kurolox commented on 2019-03-02 10:06 (UTC)

Yeah, the bug it's reported here. It seems like it's a specific issue on scdoc 1.9.1, which is the version in the repository at the time I'm writting this.

https://github.com/swaywm/sway/issues/3792

So either downgrade to 1.9.0, wait for 1.9.2 to hit the repositories, or go with my workaround.

hawara commented on 2019-03-02 09:33 (UTC) (edited on 2019-03-02 09:36 (UTC) by hawara)

@SirCmpwn: Still fails:

Dependency scdoc found: YES 1.9.1
Program scdoc found: YES (/usr/bin/scdoc)

ninja: Entering directory `/home/hawara/.cache/yay/sway-git/src/build'
[4/273] Generating sway-ipc.7 with a custom command.
FAILED: sway-ipc.7 
/usr/bin/sh -c '/usr/bin/scdoc < ../sway/sway/sway-ipc.7.scd > sway-ipc.7'
Error at 268:3: Tables cannot be indented
[9/273] Generating swaynag.5 with a custom command.
ninja: build stopped: subcommand failed.

scdoc 1.9.1 is the latest available in Arch repos.

<deleted-account> commented on 2019-03-01 19:44 (UTC)

Update scdoc.

kurolox commented on 2019-03-01 07:03 (UTC) (edited on 2019-03-01 08:50 (UTC) by kurolox)

I'm having issues trying to update this. scdoc is installed. Removing the sway-ipc.7 from the ninja.build and finishing the build manually works as a workaround.

==> Starting build()...
ninja: Entering directory `/home/kuro/.cache/yay/sway-git/src/build'
[5/273] Generating sway-ipc.7 with a custom command.
FAILED: sway-ipc.7 
/usr/bin/sh -c '/usr/bin/scdoc < ../sway/sway/sway-ipc.7.scd > sway-ipc.7'
Error at 268:3: Tables cannot be indented
[10/273] Generating swaynag.5 with a custom command.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
Error making: sway-git

timsn commented on 2019-02-28 19:05 (UTC) (edited on 2019-02-28 19:07 (UTC) by timsn)

I had to install the scdoc package manually to make the build process of the latest version run.

==> Starting build()...
ninja: Entering directory `/home/me/.cache/yay/sway-git/src/build'
[7/273] Generating sway-ipc.7 with a custom command.
FAILED: sway-ipc.7 
/usr/bin/sh -c '/usr/bin/scdoc < ../sway/sway/sway-ipc.7.scd > sway-ipc.7'
Error at 217:1: Expected either '|' or ':'
[16/273] Generating 'protocols/8998617@@client_protos@sta/xdg-shell-client-protocol.h'.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...