Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883781 - gui-libs/wlroots-0.16.0 - backend/.../meson.build: ERROR: Neither a subproject directory nor a seatd.wrap file was found.
Summary: gui-libs/wlroots-0.16.0 - backend/.../meson.build: ERROR: Neither a subprojec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arthur Zamarin
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-11-30 20:26 UTC by Toralf Förster
Modified: 2023-05-21 20:04 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.19 KB, text/plain)
2022-11-30 20:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,255.85 KB, text/plain)
2022-11-30 20:26 UTC, Toralf Förster
Details
environment (environment,97.42 KB, text/plain)
2022-11-30 20:26 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,698 bytes, application/x-bzip)
2022-11-30 20:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,41.68 KB, application/x-bzip)
2022-11-30 20:26 UTC, Toralf Förster
Details
gui-libs:wlroots-0.16.0:20221130-201137.log (gui-libs:wlroots-0.16.0:20221130-201137.log,5.64 KB, text/plain)
2022-11-30 20:26 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.71 KB, application/x-bzip)
2022-11-30 20:26 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.91 KB, application/x-bzip)
2022-11-30 20:26 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 2022-11-30 20:26:49 UTC
Found CMake: /usr/bin/cmake (3.25.0)
Run-time dependency libseat found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libseat

backend/session/meson.build:1:0: ERROR: Neither a subproject directory nor a seatd.wrap file was found.

A full log can be found at /var/tmp/portage/gui-libs/wlroots-0.16.0/work/wlroots-0.16.0-build/meson-logs/meson-log.txt

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221128-230005

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

php cli (if any):

  HEAD of ::gentoo
commit 0b1db8940a3642a5c92f1ddd408c41be340d6686
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 30 19:01:54 2022 +0000

    2022-11-30 19:01:53 UTC

emerge -qpvO gui-libs/wlroots
[ebuild  N    ] gui-libs/wlroots-0.16.0  USE="hwdata udev x11-backend -X -seatd -tinywl -vulkan"
Comment 1 Toralf Förster gentoo-dev 2022-11-30 20:26:50 UTC
Created attachment 838621 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-30 20:26:52 UTC
Created attachment 838623 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-30 20:26:53 UTC
Created attachment 838625 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-30 20:26:54 UTC
Created attachment 838627 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-30 20:26:55 UTC
Created attachment 838629 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-30 20:26:56 UTC
Created attachment 838631 [details]
gui-libs:wlroots-0.16.0:20221130-201137.log
Comment 7 Toralf Förster gentoo-dev 2022-11-30 20:26:57 UTC
Created attachment 838633 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-30 20:26:59 UTC
Created attachment 838635 [details]
temp.tar.bz2
Comment 9 zurabid2016 2023-05-12 07:42:17 UTC
I experience the same issue. The ebuild just does not have a toggle for seatd. Will try to fix it myself and submit a pull request.
Comment 10 Larry the Git Cow gentoo-dev 2023-05-13 16:59:36 UTC
The bug has been referenced in the following commit(s):

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

commit 01a4fe8c96efd9fd4ce1114b9a5f86f1ce6adc87
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2023-05-13 16:09:17 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2023-05-13 16:59:32 +0000

    gui-libs/wlroots: make session support optional based on libseat support
    
    currently libseat is the only supported session backend
    https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/10dd41669492f7582c26bd3989536a66278df75d/backend/session/meson.build
    
    also adds optional support for libliftoff display-info and xcb-errors
    
    Bug: https://bugs.gentoo.org/883781
    
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 gui-libs/wlroots/metadata.xml        |  3 +++
 gui-libs/wlroots/wlroots-9999.ebuild | 12 ++++++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)
Comment 11 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2023-05-13 17:07:48 UTC
I'm going to close this for now, let me know if it didn't fix your issue.  Keep in mind, right now the fix is only for the 9999 version of the package.
Comment 12 zurabid2016 2023-05-15 06:49:04 UTC
The issue is still reproducable on wlroots 0.16.0:
```
[ebuild   R    ] gui-libs/wlroots-0.16.2:0/16::gentoo  USE="X hwdata tinywl udev vulkan x11-backend -seatd" 0 KiB
```

The error is as follows:
```
Run-time dependency libseat found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libseat

backend/session/meson.build:1:0: ERROR: Neither a subproject directory nor a seatd.wrap file was found.
```

Could you please take a look at my pull request, which fixes this one for wlroots-0.16.2 - https://github.com/gentoo/gentoo/pull/31029
Comment 13 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2023-05-15 14:19:20 UTC
the fix was for 9999, can you verify that fix works for you?  I'll look at the PR when I can (looked at the previous version already).
Comment 14 zurabid2016 2023-05-18 09:21:30 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #13)
> the fix was for 9999, can you verify that fix works for you?  I'll look at
> the PR when I can (looked at the previous version already).

Just checked and the build fails if USE="-udev" or USE="udev -seatd". Additionally, hwdata package is controlled by an USE flag, when it should be mandatory.
Comment 15 Larry the Git Cow gentoo-dev 2023-05-21 19:58:52 UTC
The bug has been closed via the following commit(s):

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

commit 3807e953a8eec7d5e64b2397b903400d98c9e21b
Author:     Zurab Kvachadze <zurabid2016@gmail.com>
AuthorDate: 2023-05-18 07:51:48 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2023-05-21 19:58:47 +0000

    gui-libs/wlroots: fix building with seatd, revbump to wlroots-0.16.2-r1
    
    Previous ebuild would conditionally, based on the USE flags, pull
    mandatory dependencies (that is udev, hwdata, seatd), which in the
    absense of such would result in a build failure. USE flags have been
    removed, which does not affect users who managed to build the package
    successfully, therefore keywords were not dropped.
    
    It is possible to disable/enable certain backends including their
    dependencies, so ability to control this behaviour was added in 0.16.1-r1
    and 9999 versions.
    
    Bug: https://bugs.gentoo.org/883781
    Closes: https://bugs.gentoo.org/883781
    Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 gui-libs/wlroots/metadata.xml             |  7 +--
 gui-libs/wlroots/wlroots-0.16.2-r1.ebuild | 88 +++++++++++++++++++++++++++++++
 gui-libs/wlroots/wlroots-0.16.2.ebuild    |  8 +--
 gui-libs/wlroots/wlroots-9999.ebuild      | 33 +++++++-----
 4 files changed, 115 insertions(+), 21 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 3807e953a8eec7d5e64b2397b903400d98c9e21b
Author:     Zurab Kvachadze <zurabid2016@gmail.com>
AuthorDate: 2023-05-18 07:51:48 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2023-05-21 19:58:47 +0000

    gui-libs/wlroots: fix building with seatd, revbump to wlroots-0.16.2-r1
    
    Previous ebuild would conditionally, based on the USE flags, pull
    mandatory dependencies (that is udev, hwdata, seatd), which in the
    absense of such would result in a build failure. USE flags have been
    removed, which does not affect users who managed to build the package
    successfully, therefore keywords were not dropped.
    
    It is possible to disable/enable certain backends including their
    dependencies, so ability to control this behaviour was added in 0.16.1-r1
    and 9999 versions.
    
    Bug: https://bugs.gentoo.org/883781
    Closes: https://bugs.gentoo.org/883781
    Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 gui-libs/wlroots/metadata.xml             |  7 +--
 gui-libs/wlroots/wlroots-0.16.2-r1.ebuild | 88 +++++++++++++++++++++++++++++++
 gui-libs/wlroots/wlroots-0.16.2.ebuild    |  8 +--
 gui-libs/wlroots/wlroots-9999.ebuild      | 33 +++++++-----
 4 files changed, 115 insertions(+), 21 deletions(-)
Comment 16 Larry the Git Cow gentoo-dev 2023-05-21 20:04:48 UTC
The bug has been closed via the following commit(s):

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

commit 0beb6c75b6facf54b47ccb0585825e04d2f3aaed
Author:     Zurab Kvachadze <zurabid2016@gmail.com>
AuthorDate: 2023-05-18 07:51:48 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2023-05-21 20:04:26 +0000

    gui-libs/wlroots: fix building with seatd, revbump to wlroots-0.16.2-r1
    
    Previous ebuild would conditionally, based on the USE flags, pull
    mandatory dependencies (that is udev, hwdata, seatd), which in the
    absense of such would result in a build failure. USE flags have been
    removed, which does not affect users who managed to build the package
    successfully, therefore keywords were not dropped.
    
    It is possible to disable/enable certain backends including their
    dependencies, so ability to control this behaviour was added in 0.16.1-r1
    and 9999 versions.
    
    Bug: https://bugs.gentoo.org/883781
    Closes: https://bugs.gentoo.org/883781
    Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 gui-libs/wlroots/metadata.xml             |  7 +--
 gui-libs/wlroots/wlroots-0.16.2-r1.ebuild | 90 +++++++++++++++++++++++++++++++
 gui-libs/wlroots/wlroots-0.16.2.ebuild    |  8 +--
 gui-libs/wlroots/wlroots-9999.ebuild      | 39 ++++++++------
 4 files changed, 121 insertions(+), 23 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 0beb6c75b6facf54b47ccb0585825e04d2f3aaed
Author:     Zurab Kvachadze <zurabid2016@gmail.com>
AuthorDate: 2023-05-18 07:51:48 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2023-05-21 20:04:26 +0000

    gui-libs/wlroots: fix building with seatd, revbump to wlroots-0.16.2-r1
    
    Previous ebuild would conditionally, based on the USE flags, pull
    mandatory dependencies (that is udev, hwdata, seatd), which in the
    absense of such would result in a build failure. USE flags have been
    removed, which does not affect users who managed to build the package
    successfully, therefore keywords were not dropped.
    
    It is possible to disable/enable certain backends including their
    dependencies, so ability to control this behaviour was added in 0.16.1-r1
    and 9999 versions.
    
    Bug: https://bugs.gentoo.org/883781
    Closes: https://bugs.gentoo.org/883781
    Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 gui-libs/wlroots/metadata.xml             |  7 +--
 gui-libs/wlroots/wlroots-0.16.2-r1.ebuild | 90 +++++++++++++++++++++++++++++++
 gui-libs/wlroots/wlroots-0.16.2.ebuild    |  8 +--
 gui-libs/wlroots/wlroots-9999.ebuild      | 39 ++++++++------
 4 files changed, 121 insertions(+), 23 deletions(-)