Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907638 - gui-wm/wayfire-0.7.5 - ../.../wlroots-full.hpp: fatal error: .../libinput.h: No such file or directory
Summary: gui-wm/wayfire-0.7.5 - ../.../wlroots-full.hpp: fatal error: .../libinput.h: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-06-01 14:16 UTC by Toralf Förster
Modified: 2023-08-07 02:55 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.05 KB, text/plain)
2023-06-01 14:16 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,73.25 KB, application/x-bzip)
2023-06-01 14:16 UTC, Toralf Förster
Details
environment (environment,98.57 KB, text/plain)
2023-06-01 14:17 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,740 bytes, application/x-bzip)
2023-06-01 14:17 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,33.98 KB, application/x-bzip)
2023-06-01 14:17 UTC, Toralf Förster
Details
gui-wm:wayfire-0.7.5:20230601-133607.log (gui-wm:wayfire-0.7.5:20230601-133607.log,42.70 KB, text/plain)
2023-06-01 14:17 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.03 KB, application/x-bzip)
2023-06-01 14:17 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.66 KB, application/x-bzip)
2023-06-01 14:17 UTC, Toralf Förster
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-06-01 14:16:57 UTC
too long lines were shrinked:

[74/220] x86_64-pc-linux-gnu-g++ -Isubprojects/wf-touch/test/basic_test.p -Isubprojects/wf-touch/test -I../wayfire-0.7.5/subprojects/wf-touch/test -Isubprojects/wf-touch -I../wayfire-0.7.5/subprojects/wf-touch -I/usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wext
[75/220] x86_64-pc-linux-gnu-g++  -o subprojects/wf-touch/test/basic_test subprojects/wf-touch/test/basic_test.p/basic_test.cpp.o -Wl,--as-needed -Wl,--no-undefined -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags_
[76/220] x86_64-pc-linux-gnu-g++ -Isrc/wayfire.p -Isrc -I../wayfire-0.7.5/src -I. -I../wayfire-0.7.5 -I../wayfire-0.7.5/src/api -Isubprojects/wf-utils -I../wayfire-0.7.5/subprojects/wf-utils -Isubprojects/wf-touch -I../wayfire-0.7.5/subprojects/wf-touch -I/usr/lib64/libffi/include -I/usr/include/lib
FAILED: src/wayfire.p/util.cpp.o 
x86_64-pc-linux-gnu-g++ -Isrc/wayfire.p -Isrc -I../wayfire-0.7.5/src -I. -I../wayfire-0.7.5 -I../wayfire-0.7.5/src/api -Isubprojects/wf-utils -I../wayfire-0.7.5/subprojects/wf-utils -Isubprojects/wf-touch -I../wayfire-0.7.5/subprojects/wf-touch -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/us
In file included from ../wayfire-0.7.5/src/util.cpp:8:
../wayfire-0.7.5/src/api/wayfire/nonstd/wlroots-full.hpp:89:10: fatal error: wlr/backend/libinput.h: No such file or directory
   89 | #include <wlr/backend/libinput.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-j3-20230524-093005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.4
Python 3.11.3
Available Ruby profiles:
  [1]   ruby30 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.69.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 

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

  HEAD of ::gentoo
commit b36b8911f88d28ddda6a1c52506a7a0dc4beee6a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jun 1 13:02:01 2023 +0000

    2023-06-01 13:02:00 UTC

emerge -qpvO gui-wm/wayfire
[ebuild  N    ] gui-wm/wayfire-0.7.5  USE="X gles system-wfconfig system-wlroots -debug"
Comment 1 Toralf Förster gentoo-dev 2023-06-01 14:16:58 UTC
Created attachment 863007 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-01 14:16:59 UTC
Created attachment 863008 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2023-06-01 14:17:00 UTC
Created attachment 863009 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-06-01 14:17:01 UTC
Created attachment 863010 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-06-01 14:17:02 UTC
Created attachment 863011 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-06-01 14:17:03 UTC
Created attachment 863012 [details]
gui-wm:wayfire-0.7.5:20230601-133607.log
Comment 7 Toralf Förster gentoo-dev 2023-06-01 14:17:04 UTC
Created attachment 863013 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-06-01 14:17:05 UTC
Created attachment 863014 [details]
temp.tar.bz2
Comment 9 Kostadin Shishmanov 2023-06-01 22:14:09 UTC
Could it be because you have USE="-libinput" for gui-libs/wlroots?
Comment 10 Toralf Förster gentoo-dev 2023-06-25 09:04:05 UTC
similar at 17.1_desktop_gnome-20230613-210825:

FAILED: src/wayfire.p/util.cpp.o 
x86_64-pc-linux-gnu-g++ -Isrc/wayfire.p -Isrc -I../wayfire-0.7.5/src -I. -I../wayfire-0.7.5 -I../wayfire-0.7.5/src/api -Isubprojects/wf-utils -I../wayfire-0.7.5/subprojects/wf-utils -Isubprojects/wf-touch -I../wayfire-0.7.5/subprojects/wf-touch -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/us
In file included from ../wayfire-0.7.5/src/util.cpp:8:
../wayfire-0.7.5/src/api/wayfire/nonstd/wlroots-full.hpp:82:10: fatal error: wlr/backend/drm.h: No such file or directory
   82 | #include <wlr/backend/drm.h>
      |          ^~~~~~~~~~~~~~~~~~~
Comment 11 Larry the Git Cow gentoo-dev 2023-08-07 02:55:08 UTC
The bug has been closed via the following commit(s):

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

commit 0341dc62576853a537af25547ac6a93acf842913
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-08-01 18:03:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-07 02:53:43 +0000

    gui-wm/wayfire: require missing use flags
    
    * drm and libinput were made optional in wlroots-0.15, they are required
      by wayfire unconditionally though.
    * Require x11-backend in wlroots to avoid automagic in wayfire.
    
    https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/b37731cdbbef4dc52033c2d26b04d2329720fa07
    https://github.com/WayfireWM/wayfire/blob/v0.7.5/meson.build#L133
    
    Closes: https://bugs.gentoo.org/907638
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32131
    Signed-off-by: Sam James <sam@gentoo.org>

 gui-wm/wayfire/wayfire-0.7.5-r1.ebuild | 121 +++++++++++++++++++++++++++++++++
 gui-wm/wayfire/wayfire-9999.ebuild     |   4 +-
 2 files changed, 123 insertions(+), 2 deletions(-)