Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914601 - gui-wm/sway-1.9_rc3 - [slibtool] ../.../server.h: fatal error: .../wlr_drm_lease_v1.h: No such file or directory
Summary: gui-wm/sway-1.9_rc3 - [slibtool] ../.../server.h: fatal error: .../wlr_drm_le...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-24 11:01 UTC by Toralf Förster
Modified: 2024-02-24 19:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.97 KB, text/plain)
2023-09-24 11:01 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,110.54 KB, application/x-xz)
2023-09-24 11:01 UTC, Toralf Förster
Details
environment (environment,102.93 KB, text/plain)
2023-09-24 11:01 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-09-24 11:01 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,38.30 KB, application/x-xz)
2023-09-24 11:01 UTC, Toralf Förster
Details
gui-wm:sway-1.8.1:20230924-105153.log (gui-wm:sway-1.8.1:20230924-105153.log,42.77 KB, text/plain)
2023-09-24 11:01 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,5.09 KB, application/x-xz)
2023-09-24 11:01 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.73 KB, application/x-xz)
2023-09-24 11:01 UTC, Toralf Förster
Details
sway-1.9_rc1-build.log (sway-1.9_rc1-build.log,85.87 KB, text/plain)
2024-01-29 00:03 UTC, tdr
Details
work around patch for sway/server.h (sway-1.9-drm-backend-include-gate.patch,1.09 KB, patch)
2024-01-29 05:05 UTC, tdr
Details | Diff
build log with work-around patch being applied / compile completing (sway-1.9_rc1-patched_build.log,290.14 KB, text/plain)
2024-01-29 05:07 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-09-24 11:01:37 UTC
too long lines were shrinked:

[56/298] x86_64-pc-linux-gnu-gcc -Icommon/libsway-common.a.p -Icommon -I../sway-1.8.1/common -Iinclude -I../sway-1.8.1/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/inc
[57/298] rm -f common/libsway-common.a && x86_64-pc-linux-gnu-ar csrDT common/libsway-common.a common/libsway-common.a.p/background-image.c.o common/libsway-common.a.p/cairo.c.o common/libsway-common.a.p/gesture.c.o common/libsway-common.a.p/ipc-client.c.o common/libsway-common.a.p/log.c.o common/li
[58/298] x86_64-pc-linux-gnu-gcc -Isway/sway.p -Isway -I../sway-1.8.1/sway -Iinclude -I../sway-1.8.1/include -Iprotocols -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0 -I/usr/includ
FAILED: sway/sway.p/decoration.c.o 
x86_64-pc-linux-gnu-gcc -Isway/sway.p -Isway -I../sway-1.8.1/sway -Iinclude -I../sway-1.8.1/include -Iprotocols -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0 -I/usr/include/pango-1
In file included from ../sway-1.8.1/sway/decoration.c:4:
../sway-1.8.1/include/sway/server.h:13:10: fatal error: wlr/types/wlr_drm_lease_v1.h: No such file or directory
   13 | #include <wlr/types/wlr_drm_lease_v1.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20230910-154003

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.1
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.72.0
  [2]   rust-1.72.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit 4789b1c706513fb7cdc1722d7c7be4114a0ef905
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 24 09:16:39 2023 +0000

    2023-09-24 09:16:38 UTC

emerge -qpvO gui-wm/sway
[ebuild  N    ] gui-wm/sway-1.8.1  USE="X man swaybar swaynag -grimshot -tray -wallpapers"
Comment 1 Toralf Förster gentoo-dev 2023-09-24 11:01:38 UTC
Created attachment 871244 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-24 11:01:39 UTC
Created attachment 871245 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-09-24 11:01:40 UTC
Created attachment 871246 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-24 11:01:41 UTC
Created attachment 871247 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-24 11:01:42 UTC
Created attachment 871248 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-24 11:01:43 UTC
Created attachment 871249 [details]
gui-wm:sway-1.8.1:20230924-105153.log
Comment 7 Toralf Förster gentoo-dev 2023-09-24 11:01:44 UTC
Created attachment 871250 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-09-24 11:01:45 UTC
Created attachment 871251 [details]
temp.tar.xz
Comment 9 tdr 2024-01-29 00:02:15 UTC
Hit this today on with sway-1.9_rc1 on ~arm64

Attaching sway-1.9_rc1-build.log
Comment 10 tdr 2024-01-29 00:03:56 UTC
Created attachment 883509 [details]
sway-1.9_rc1-build.log
Comment 11 tdr 2024-01-29 05:04:39 UTC
Received work around patch as per #sway discussion

sway-1.9-drm-backend-include-gate.patch will be attached
sway-1.9_rc1-patched_build.log will be attched

Issue is for upstream.
While the patch works, it is not in-flight for upstream commit/merge

Until the issue is resolved upstream, drm USE on gui-libs/wlroots is needed to build >=gui-wm/sway-1.9_rc1 without the work around patch for sway/server.h
Comment 12 tdr 2024-01-29 05:05:55 UTC
Created attachment 883512 [details, diff]
work around patch for sway/server.h
Comment 13 tdr 2024-01-29 05:07:13 UTC
Created attachment 883513 [details]
build log with work-around patch being applied / compile completing
Comment 14 Agostino Sarubbo gentoo-dev 2024-02-12 13:07:17 UTC
tinderbox_arm64 has reproduced this issue with version 1.9_rc3 - Updating summary.
Comment 15 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2024-02-24 18:51:14 UTC
looks like it was fixed in v1.9 (would bump soon)

https://github.com/swaywm/sway/commit/1875e03dd062f8eda768336a8f82113b49183d7b
Comment 16 Larry the Git Cow gentoo-dev 2024-02-24 19:06:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab4e3bf516ab14d6584a27827dffdd9091552296

commit ab4e3bf516ab14d6584a27827dffdd9091552296
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-02-24 19:02:26 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-02-24 19:06:10 +0000

    gui-wm/sway: add 1.9
    
    Closes: https://bugs.gentoo.org/914601
    Closes: https://bugs.gentoo.org/919298
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 gui-wm/sway/Manifest        |   1 +
 gui-wm/sway/sway-1.9.ebuild | 114 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 115 insertions(+)