Sway's source code can't be built.
Bug #2027890 reported by
Ahmad Raniri
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sway (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello, This morning I tried to build sway package on Ubuntu Mantic Minotaur (Development Branch). I used custom option and modify the rules file (to disable xwayland, shell completion). When I built the package using "sudo dpkg-buildpackage -us -uc -d", the build process is run and failed. When I trace it, it seems one the files on source code is broken. The exact file is "ipc-json.c". I have the build log [here](https:/
Ahmad Raniri.
tags: | added: ftbfs mantic |
To post a comment you must log in.
Hello, I think I found the solution. I just need to edit "sway/ipc-json.c" and add these line
```
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wswitch"
```
before this line :
```
switch (libinput_ device_ config_ accel_get_ profile( device) ) {
```
and sway is able to be built. Thanks.