Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922458 - sys-auth/polkit-124: [openrc system] fails to configure: meson.build:215:16: ERROR: Dependency "systemd" not found, tried pkgconfig and cmake
Summary: sys-auth/polkit-124: [openrc system] fails to configure: meson.build:215:16: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
: 922476 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-01-19 06:25 UTC by Leonardo Hernández Hernández
Modified: 2024-01-19 11:10 UTC (History)
3 users (show)

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


Attachments
build.log (file_922458.txt,4.32 KB, text/plain)
2024-01-19 06:26 UTC, Leonardo Hernández Hernández
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Hernández Hernández 2024-01-19 06:25:55 UTC
[...]
Checking for function "XML_ParserCreate" with dependency expat: YES 
Run-time dependency mozjs-115 found: YES 115.3.1
Run-time dependency dbus-1 found: YES 1.15.8
Has header "netgroup.h" : NO 
Checking if "setnetgrent return support" compiles: YES 
Run-time dependency libelogind found: YES 252.9
Checking for function "sd_uid_get_display" with dependency libelogind: YES 
Checking for function "sd_pidfd_get_session" with dependency libelogind: NO 
Found CMake: /usr/bin/cmake (3.28.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:215:16: ERROR: Dependency "systemd" not found, tried pkgconfig and cmake

A full log can be found at /var/tmp/portage/sys-auth/polkit-124/work/polkit-124-build/meson-logs/meson-log.txt

---

Portage 3.0.61 (python 3.12.1-final-0, default/linux/amd64/17.1/hardened, gcc-13, glibc-2.38-r9, 6.6.12 x86_64)
=================================================================
System uname: Linux-6.6.12-x86_64-AMD_Ryzen_5_3500U_with_Radeon_Vega_Mobile_Gfx-with-glibc2.38
KiB Mem:    22469624 total,  11214240 free
KiB Swap:   27262968 total,  27262968 free
Timestamp of repository gentoo: Fri, 19 Jan 2024 05:48:11 +0000
Head commit of repository gentoo: 9563ee8ca4f8ed9903ecf3d3c63398547a5ed877

Timestamp of repository guru: Thu, 18 Jan 2024 12:03:08 +0000
Head commit of repository guru: 62c777ae4def902c91faa1dc61940c45ac98e138

Timestamp of repository kde: Thu, 18 Jan 2024 16:33:13 +0000
Head commit of repository kde: e4fe0caa7c7632ab5c1c084c1c6829baa20b2c0f

Timestamp of repository sevz: Sun, 14 Jan 2024 19:33:47 +0000
Head commit of repository sevz: 23378b7b3492a45fa99b21c7b86fff7b3352fd59

sh dash 0.5.12
ld GNU ld (Gentoo 2.41 p4) 2.41.0
ccache version 4.9 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r1::gentoo
dev-build/cmake:           3.28.1-r1::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
dev-util/ccache:           4.9::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240113-r1::gentoo, 14.0.0_pre20240107::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    sync-user: portage:portage
    priority: -1000
    volatile: False
    sync-git-verify-commit-signature: yes

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo kde guru
    volatile: True

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    sync-user: portage:portage
    masters: gentoo
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    sync-user: portage:portage
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: True

sevz
    location: /var/db/repos/sevz
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sevz.git
    sync-user: portage:portage
    masters: gentoo
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://mirror.leaseweb.com/gentoo/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
AR="gcc-ar"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -flto=auto -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O3 -pipe -flto=auto -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--load-average 12 --unordered-display --keep-going --quiet-unmerge-warn"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
F77FLAGS="-march=native -O3 -pipe -flto=auto -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch"
FCFLAGS="-march=native -O3 -pipe -flto=auto -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync metadata-transfer mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-elog split-log strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=native -O3 -pipe -flto=auto -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch"
GENTOO_MIRRORS="http://gentoo.mirror.root.lu/     http://tux.rainside.sk/gentoo/     http://ftp.vectranet.pl/gentoo/     ftp://tux.rainside.sk/gentoo/     ftp://ftp.vectranet.pl/gentoo/"
INSTALL_MASK="/usr/lib/systemd* /etc/systemd* /lib/systemd* /usr/lib64/systemd*"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O2 -fuse-ld=mold -Wl,--threads=8"
LEX="flex"
MAKEOPTS="-j8 -l12"
NM="gcc-nm"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="zstd"
PORTAGE_COMPRESS_FLAGS="--rm -z --ultra -22 -q"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RANLIB="gcc-ranlib"
RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C codegen-units=1 -C embed-bitcode=yes -C lto=thin -C linker-plugin-lto -C linker-flavor=gcc -C linker=rust-linker-wrapper"
SHELL="/bin/zsh"
USE="a52 aac acl acpi alsa amd64 avif bluetooth branding bzip2 cairo caps cdda cdr cet cjk clang cli crypt cups dbus dist-kernel dri dts dvdr egl eglfs elogind encode exif flac fortran gdbm gif git gles2 gmp gpgme gpm gpu-accel gtk gtk3 gtk4 gui hardened heif hwaccel iconv icu idn ipv6 jit jpeg jpeg2k jpegxl keyring lcms libnotify libtirpc libv4l lm-sensors lto lua luajit lz4 lzma lzo mad magic man mng modules-compress modules-sign mp3 mp4 mpeg mtp multilib ncurses networkmanager nftables nls ogg opencl opengl openmp orc pam pango pcre pdf pgo pic pie pipewire png policykit ppds pulseaudio qml qt5 qt6 raw readline sasl savedconfig screencast sdl seccomp secureboot sound spell ssl ssp startup-notification svg test-rust threads tiff tpm truetype udev udisks unicode upower usb v4l v4lutils vaapi verify-sig vorbis vulkan wayland webp wifi wxwidgets x264 x265 xattr xcb xml xtpax xvid zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="es-MX es-419 en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-4 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32 ruby33" SANE_BACKENDS="hp" VIDEO_CARDS="amdgpu radeonsi lavapipe" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Leonardo Hernández Hernández 2024-01-19 06:26:35 UTC
Created attachment 882590 [details]
build.log
Comment 2 Larry the Git Cow gentoo-dev 2024-01-19 06:36:05 UTC
The bug has been closed via the following commit(s):

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

commit e94da7f8dae815704fe1c371688feb045db9eb16
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-19 06:35:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-19 06:35:27 +0000

    sys-auth/polkit: fix non-systemd build, don't install redundant sysusers file
    
    No need for our own sysusers file as acct-user/polkitd already installs one.
    
    Closes: https://bugs.gentoo.org/922458
    Signed-off-by: Sam James <sam@gentoo.org>

 .../polkit/files/polkit-124-systemd-fixup.patch    | 26 ++++++++++++++++++++++
 .../{polkit-124.ebuild => polkit-124-r1.ebuild}    |  4 ++++
 2 files changed, 30 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2024-01-19 06:59:24 UTC
The bug has been referenced in the following commit(s):

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

commit e1a7e1d191e7b98df09ec9be6ff8e4d17e65a127
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-19 06:58:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-19 06:59:18 +0000

    sys-auth/polkit: more non-systemd fixes
    
    Bug: https://bugs.gentoo.org/922458
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-auth/polkit/files/polkit-124-systemd-fixup.patch | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-19 11:10:12 UTC
*** Bug 922476 has been marked as a duplicate of this bug. ***