Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 817404 - gui-wm/sway-1.6.1-r1 - meson.build: ERROR: Problem encountered: Building with -Dtray=enabled, but sd-bus has not been not found
Summary: gui-wm/sway-1.6.1-r1 - meson.build: ERROR: Problem encountered: Building with...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron Bauman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-10 17:48 UTC by Toralf Förster
Modified: 2022-03-25 14:00 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.41 KB, text/plain)
2021-10-10 17:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,338.86 KB, text/plain)
2021-10-10 17:48 UTC, Toralf Förster
Details
environment (environment,93.07 KB, text/plain)
2021-10-10 17:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,77.34 KB, application/x-bzip)
2021-10-10 17:48 UTC, Toralf Förster
Details
gui-wm:sway-1.6.1-r1:20211010-174532.log (gui-wm:sway-1.6.1-r1:20211010-174532.log,4.81 KB, text/plain)
2021-10-10 17:49 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.52 KB, application/x-bzip)
2021-10-10 17:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.47 KB, application/x-bzip)
2021-10-10 17:49 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 2021-10-10 17:48:53 UTC
Run-time dependency basu found: NO (tried pkgconfig and cmake)

meson.build:116:1: ERROR: Problem encountered: Building with -Dtray=enabled, but sd-bus has not been not found

A full log can be found at /var/tmp/portage/gui-wm/sway-1.6.1-r1/work/sway-1.6.1-build/meson-logs/meson-log.txt
 * ERROR: gui-wm/sway-1.6.1-r1::gentoo failed (configure phase):
 *   (no error message)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20211006-160228

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/13
13.0.0
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.55.0 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit b4ab28fc4393dbf03b714825ec5a9e86c44ce890
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 10 17:36:24 2021 +0000

    2021-10-10 17:36:23 UTC

emerge -qpvO gui-wm/sway
[ebuild  N    ] gui-wm/sway-1.6.1-r1  USE="man swaybar swaybg swayidle swaylock swaymsg swaynag tray -X -wallpapers"
Comment 1 Toralf Förster gentoo-dev 2021-10-10 17:48:54 UTC
Created attachment 744345 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-10-10 17:48:56 UTC
Created attachment 744348 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-10-10 17:48:58 UTC
Created attachment 744351 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-10-10 17:48:59 UTC
Created attachment 744354 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-10-10 17:49:00 UTC
Created attachment 744357 [details]
gui-wm:sway-1.6.1-r1:20211010-174532.log
Comment 6 Toralf Förster gentoo-dev 2021-10-10 17:49:01 UTC
Created attachment 744360 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-10-10 17:49:02 UTC
Created attachment 744363 [details]
temp.tar.bz2
Comment 8 Martin Jørgensen 2022-03-23 11:40:30 UTC
when using USE="tray" Sway meson.build in 1.7 (and probably 1.6 as well) seem to require/fallback on sys-libs/basu, if elogind or systemd is not found. 

the sway .ebuild just need to consider this requirement.

until fixed, you can just emerge sys-libs/basu first.

I'll write at patch for the .ebuild if needed.
Comment 9 Larry the Git Cow gentoo-dev 2022-03-25 14:00:32 UTC
The bug has been closed via the following commit(s):

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

commit c108412e1cf74aaf3b780ed6d54a5c796ff57dc6
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2022-03-25 13:59:39 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2022-03-25 14:00:28 +0000

    gui-wm/sway: adding deps needed for tray
    
    systemd, elogind or basu are needed, might be nice to get a meta-package
    
    Fixes: https://bugs.gentoo.org/817404
    
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 gui-wm/sway/sway-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)