sway doesn't build anymore

Created on 31 Jan 2019  路  8Comments  路  Source: swaywm/sway

Hi,
sway failed to compile here, using ninja-1.8.2 & scdoc-1.5.2 :

ninja -C build
ninja: Entering directory `build'
[1/263] Generating sway.5 with a custom command.
FAILED: sway.5
/bin/sh -c '/usr/bin/scdoc < ../sway/sway.5.scd > sway.5'
Error at 61:9: Cannot nest inline formatting.
[2/263] Generating sway-bar.5 with a custom command.
FAILED: sway-bar.5
/bin/sh -c '/usr/bin/scdoc < ../sway/sway-bar.5.scd > sway-bar.5'
Error at 13:8: Cannot nest inline formatting.
[3/263] Generating sway-input.5 with a custom command.
FAILED: sway-input.5
/bin/sh -c '/usr/bin/scdoc < ../sway/sway-input.5.scd > sway-input.5'
Error at 10:70: Cannot nest inline formatting.
[4/263] Generating sway-output.5 with a custom command.
FAILED: sway-output.5
/bin/sh -c '/usr/bin/scdoc < ../sway/sway-output.5.scd > sway-output.5'
Error at 13:56: Cannot nest inline formatting.
[6/263] Generating 'protocols/protocol...ta/xdg-output-unstable-v1-protocol.c'.
ninja: build stopped: subcommand failed.

Most helpful comment

Hi,
I also have problems installing sway-git from the Archlinux AUR:

scdoc 1.8.1 is installed

$ yay -S sway-git

/usr/bin/sh -c '/usr/bin/scdoc < ../sway/sway/sway-bar.5scd > sway-bar.5'
Error at 23:0: Expected _ before starting new paragraph (began with _ at 21:75)

All 8 comments

From the Readme:
scdoc >= 1.8.0 (optional: man pages)

Hi,
I also have problems installing sway-git from the Archlinux AUR:

scdoc 1.8.1 is installed

$ yay -S sway-git

/usr/bin/sh -c '/usr/bin/scdoc < ../sway/sway/sway-bar.5scd > sway-bar.5'
Error at 23:0: Expected _ before starting new paragraph (began with _ at 21:75)

@capelito I had this issue too! I solved it by compiling scdoc from git and checking out to the tag 1.8.0.
I tried to compile scdoc directly from master (1.8.1) and it threw the same error.

Ok, Used to work.
Thks

I confirm on FreeBSD. Regressed by scdoc 1.8.0 -> 1.8.1 update.

I believe this is a scdoc bug. @ddevault, any ideas?

A temporary workaround for those who build manually is meson build -Dman-pages=disabled.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yannick picture yannick  路  34Comments

ddevault picture ddevault  路  64Comments

ddevault picture ddevault  路  129Comments

jaimet picture jaimet  路  31Comments

sydneymeyer picture sydneymeyer  路  41Comments