@Rucikir:
- you should probably ask this in the sway-git package
- 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
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.