Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811789 - app-accessibility/at-spi2-core-2.40.3 misses dependencies on systemd
Summary: app-accessibility/at-spi2-core-2.40.3 misses dependencies on systemd
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Reported: 2021-09-05 20:22 UTC by Alexey
Modified: 2021-09-06 20:15 UTC (History)
3 users (show)

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

build.log (build.log,6.16 KB, text/x-log)
2021-09-05 20:22 UTC, Alexey
emerge --info (,15.37 KB, application/x-info)
2021-09-05 20:23 UTC, Alexey

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2021-09-05 20:22:45 UTC
Created attachment 737833 [details]

Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libsystemd found: NO (tried pkgconfig)

../at-spi2-core-2.40.3/bus/ ERROR: Dependency "libsystemd" not found, tried pkgconfig
Comment 1 Alexey 2021-09-05 20:23:40 UTC
Created attachment 737836 [details]
emerge --info
Comment 2 Alexey 2021-09-05 20:53:29 UTC
I suspect the problem is this:

Program dbus-daemon found: YES (/home/user/gentoo/usr/bin/dbus-daemon)
Program dbus-broker-launch found: YES (/usr/bin/dbus-broker-launch)

which triggers this dependency on systemd in bus/

  dbus_broker = find_program('dbus-broker-launch',
                             required: false)
  if dbus_broker.found()
    launcher_args += '-DDBUS_BROKER="@0@"'.format(dbus_broker.path())
    needs_systemd = true

maybe find_program() should ignore programs outside of EPREFIX?
Comment 3 Matt Turner gentoo-dev 2021-09-06 19:50:25 UTC
If Meson fails to find a dependency with pkgconfig, it tries with cmake. cmake is not a dependency of the package.
Comment 4 Matt Turner gentoo-dev 2021-09-06 20:15:59 UTC
I think you're right.

Looks like we need to fix to not check for dbus-broker if default_bus == dbus-daemon.