Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913522 - sys-apps/dbus-1.15.8 - ../.../meson.build: ERROR: Dependency elogind not found, tried pkgconfig and cmake
Summary: sys-apps/dbus-1.15.8 - ../.../meson.build: ERROR: Dependency elogind not foun...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-02 18:16 UTC by Toralf Förster
Modified: 2023-09-02 22:21 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.97 KB, text/plain)
2023-09-02 18:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,113.61 KB, text/plain)
2023-09-02 18:16 UTC, Toralf Förster
Details
environment (environment,148.35 KB, text/plain)
2023-09-02 18:16 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-09-02 18:16 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,13.30 KB, application/x-xz)
2023-09-02 18:17 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.57 KB, application/x-xz)
2023-09-02 18:17 UTC, Toralf Förster
Details
sys-apps:dbus-1.15.8:20230902-164549.log (sys-apps:dbus-1.15.8:20230902-164549.log,5.99 KB, text/plain)
2023-09-02 18:17 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,34.08 KB, application/x-xz)
2023-09-02 18: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-09-02 18:16:55 UTC
Checking for function "epoll_create1" : YES 
Program launchctl found: NO
Has header "launch.h" : NO 
Found CMake: /usr/bin/cmake (3.27.4)
Run-time dependency elogind found: NO (tried pkgconfig and cmake)

../dbus-1.15.8/meson.build:481:10: ERROR: Dependency "elogind" not found, tried pkgconfig and cmake

A full log can be found at /var/tmp/portage/sys-apps/dbus-1.15.8/work/dbus-1.15.8-abi_x86_64.amd64/meson-logs/meson-log.txt

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20230901-173013

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

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.6
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.6
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.72.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

php cli (if any):
  [1]   php8.2 *
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 05cc905bf3354d5f78362697053b3d329b556539
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 2 16:31:59 2023 +0000

    2023-09-02 16:31:59 UTC

emerge -qpvO sys-apps/dbus
[ebuild     U ] sys-apps/dbus-1.15.8 [1.15.6] USE="elogind -X -debug -doc (-selinux) -static-libs -systemd -test (-valgrind)"
Comment 1 Toralf Förster gentoo-dev 2023-09-02 18:16:56 UTC
Created attachment 869246 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-02 18:16:57 UTC
Created attachment 869247 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-02 18:16:59 UTC
Created attachment 869248 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-02 18:16:59 UTC
Created attachment 869249 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-02 18:17:00 UTC
Created attachment 869250 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-02 18:17:01 UTC
Created attachment 869251 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-02 18:17:02 UTC
Created attachment 869252 [details]
sys-apps:dbus-1.15.8:20230902-164549.log
Comment 8 Toralf Förster gentoo-dev 2023-09-02 18:17:03 UTC
Created attachment 869253 [details]
temp.tar.xz
Comment 9 jospezial 2023-09-02 19:12:39 UTC
Here the output has "libelogind" instead of "elogind":

Run-time dependency libelogind found: NO (tried pkgconfig and cmake)

../dbus-1.15.8/meson.build:481:10: ERROR: Dependency "libelogind" not found, tried pkgconfig and cmake


cat /usr/lib64/pkgconfig/libelogind.pc
#  SPDX-License-Identifier: LGPL-2.1-or-later
#
#  This file is part of elogind.
#
#  elogind is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

prefix=/usr
exec_prefix=/usr
libdir=/lib64
#if 0 /// To be able to act as a drop-in replacement, elogind has a systemd subdir
# includedir=/usr/include
#else // 0
includedir=/usr/include/elogind
#endif // 0

Name: elogind
Description: elogind Library
URL: https://github.com/elogind/elogind
Version: 252.9
Libs: -L${libdir} -lelogind
Cflags: -I${includedir}
Comment 10 Mike Gilbert gentoo-dev 2023-09-02 19:34:14 UTC
commit 437dd07ebf11db8a8babbf70c317dbbe7abad168
Author: Sam James <sam@gentoo.org>
Date:   Sat Sep 2 18:35:27 2023 +0100

    sys-apps/dbus: fixup elogind patch
    
    Signed-off-by: Sam James <sam@gentoo.org>
Comment 11 Mike Gilbert gentoo-dev 2023-09-02 19:37:10 UTC
(In reply to jospezial from comment #9)

Your issue is probably different in nature. Please create a new bug and attach meson-logs/meson-log.txt from the build directory.