Emerging (9 of 12) net-misc/modemmanager-1.20.6::gentoo
* ModemManager-1.20.6.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking ModemManager-1.20.6.tar.bz2 to /var/tmp/portage/net-misc/modemmanager-1.20.6/work
>>> Source unpacked in /var/tmp/portage/net-misc/modemmanager-1.20.6/work
>>> Preparing source in /var/tmp/portage/net-misc/modemmanager-1.20.6/work/ModemManager-1.20.6 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/modemmanager-1.20.6/work/ModemManager-1.20.6 ...
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/net-misc/modemmanager-1.20.6/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false --buildtype plain -Dbash_completion=false -Dgtk_doc=false -Dintrospection=true -Dudev=true -Dudevdir=/lib/udev -Dsystemd_journal=false -Dpolkit=permissive -Dmbim=true -Dqmi=true -Dqrtr=true -Dvapi=false -Dsystemd_suspend_resume=true /var/tmp/portage/net-misc/modemmanager-1.20.6/work/ModemManager-1.20.6 /var/tmp/portage/net-misc/modemmanager-1.20.6/work/modemmanager-1.20.6-build
The Meson build system
Version: 1.2.0
Source dir: /var/tmp/portage/net-misc/modemmanager-1.20.6/work/ModemManager-1.20.6
Build dir: /var/tmp/portage/net-misc/modemmanager-1.20.6/work/modemmanager-1.20.6-build
Build type: native build
Project name: ModemManager
Project version: 1.20.6
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 13.2.0 "x86_64-pc-linux-gnu-gcc (Gentoo 13.2.0 p3) 13.2.0")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.40
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-cast-function-type: YES
Compiler for C supports arguments -Wno-packed: YES
Compiler for C supports arguments -Wno-float-equal: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)
Run-time dependency gio-unix-2.0 found: YES 2.76.4
Run-time dependency glib-2.0 found: YES 2.76.4
Run-time dependency gmodule-2.0 found: YES 2.76.4
Run-time dependency gio-2.0 found: YES 2.76.4
Run-time dependency gobject-2.0 found: YES 2.76.4
Run-time dependency dbus-1 found: YES 1.15.6
Run-time dependency gudev-1.0 found: YES 238
Found CMake: /usr/bin/cmake (3.27.1)
Run-time dependency systemd found: NO (tried pkgconfig and cmake)
Message: systemd required but not found, please provide a valid systemd user unit dir or disable it
meson.build:199:16: ERROR: Dependency "systemd" not found, tried pkgconfig and cmake
# systemd unit / service files
systemd_systemdsystemunitdir = get_option('systemdsystemunitdir')
install_systemdunitdir = (systemd_systemdsystemunitdir != 'no')
if install_systemdunitdir and systemd_systemdsystemunitdir == ''
systemd_dep = dependency('systemd', not_found_message: 'systemd required but not found, please provide a valid systemd user unit dir or disable it')
systemd_systemdsystemunitdir = systemd_dep.get_pkgconfig_variable('systemdsystemunitdir', define_variable: ['root_prefix', mm_prefix])
endif
содержание meson.build.
Что ожидалось: проверка use-флажка и сборка с теми или иными опциями.
Что есть: оно проверяет, установлен ли systemd и в случае, если нет, результат налицо.