Bug#1111141: systemctl ends in assertion failed on armhf

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Sat Aug 16 19:03:00 BST 2025


Christoph Biedl wrote...

> I have a native box here and will try tonight.

I'd say this (almost) looks as expected:

cbiedl at deb99-powerpc (...)/systemd.git [pidfd_32bit_assert] $ meson build
The Meson build system
Version: 1.7.0
Source dir: /home/src/cbiedl/debian/systemd/systemd.git
Build dir: /home/src/cbiedl/debian/systemd/systemd.git/build
Build type: native build
Project name: systemd
Project version: 258~rc2
C compiler for the host machine: ccache cc (gcc 14.3.0 "cc (Debian 14.3.0-5) 14.3.0")
C linker for the host machine: cc ld.bfd 2.45
Host machine cpu family: ppc
Host machine cpu: ppc
Program tools/git-setup.sh found: YES (/home/src/cbiedl/debian/systemd/systemd.git/tools/git-setup.sh)
Message: Activated pre-commit hook
C++ compiler for the host machine: ccache c++ (gcc 14.3.0 "c++ (Debian 14.3.0-5) 14.3.0")
C++ linker for the host machine: c++ ld.bfd 2.45
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-unknown-warning-option: NO
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-nonnull-compare: YES
Compiler for C supports arguments -Warray-bounds: YES
Compiler for C supports arguments -Warray-bounds=2: YES
Compiler for C supports arguments -Wdate-time: YES
Compiler for C supports arguments -Wendif-labels: YES
Compiler for C supports arguments -Werror=bool-compare: YES
Compiler for C supports arguments -Werror=discarded-qualifiers: YES
Compiler for C supports arguments -Werror=flex-array-member-not-at-end: YES
Compiler for C supports arguments -Werror=format=2: YES
Compiler for C supports arguments -Werror=format-signedness: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=implicit-int: YES
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
Compiler for C supports arguments -Werror=int-conversion: YES
Compiler for C supports arguments -Werror=missing-declarations: YES
Compiler for C supports arguments -Werror=missing-parameter-name: NO
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Werror=overflow: YES
Compiler for C supports arguments -Werror=override-init: YES
Compiler for C supports arguments -Werror=pointer-sign: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=sequence-point: YES
Compiler for C supports arguments -Werror=shift-count-overflow: YES
Compiler for C supports arguments -Werror=shift-overflow=2: YES
Compiler for C supports arguments -Werror=strict-flex-arrays: YES
Compiler for C supports arguments -Werror=undef: YES
Compiler for C supports arguments -Wfloat-equal: YES
Compiler for C supports arguments -Wimplicit-fallthrough=5: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wsuggest-attribute=noreturn: YES
Compiler for C supports arguments -Wunterminated-string-initialization: NO
Compiler for C supports arguments -Wunused-function: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wzero-as-null-pointer-constant: NO
Compiler for C supports arguments -Wzero-length-bounds: YES
Compiler for C supports arguments -Wno-error=#warnings: NO
Compiler for C supports arguments -Wno-string-plus-int: NO
Compiler for C supports arguments -fdiagnostics-show-option: YES
Compiler for C supports arguments -fno-common: YES
Compiler for C supports arguments -fstack-protector: YES
Compiler for C supports arguments -fstack-protector-strong: YES
Compiler for C supports arguments -fstrict-flex-arrays=3: YES
Compiler for C supports arguments --param=ssp-buffer-size=4: YES
Compiler for C supports arguments -Wno-unused-result: YES
Compiler for C supports link arguments -fstack-protector: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -fstrict-flex-arrays=1: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -fno-omit-frame-pointer: YES
Compiler for C supports link arguments -Wl,--fatal-warnings: YES
Compiler for C supports link arguments -Wl,-z,now: YES
Compiler for C supports link arguments -Wl,-z,relro: YES
Compiler for C supports link arguments -Wl,--gc-sections: YES
Compiler for C supports link arguments -Wl,--warn-common: YES
Checking if "-Werror=shadow with local shadowing" compiles: YES
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES
Compiler for C++ supports arguments -Wno-unknown-warning-option: NO
Compiler for C++ supports arguments -Wno-unused-parameter: YES
Compiler for C++ supports arguments -Wno-nonnull-compare: YES
Compiler for C supports arguments -Wzero-length-bounds: YES (cached)
Compiler for C supports arguments -Wzero-as-null-pointer-constant: NO (cached)
Checking for size of "dev_t" : 8
Checking for size of "ino_t" : 8
Checking for size of "rlim_t" : 8
Checking for size of "time_t" : 8
Checking for size of "typeof(((struct timex *)0)->freq)" : 8
Computing int of "LONG_MAX" : 2147483647
Checking for function "set_mempolicy" : NO
Checking for function "get_mempolicy" : NO
Checking for function "strerrorname_np" : YES
Checking for function "mallinfo2" : YES
Checking for function "execveat" : YES
Checking for function "close_range" : YES
Checking for function "epoll_pwait2" : YES
Checking for function "fsconfig" : YES
Checking for function "fsmount" : YES
Checking for function "fsopen" : YES
Checking for function "mount_setattr" : YES
Checking for function "move_mount" : YES
Checking for function "open_tree" : YES
Checking for function "pidfd_open" : YES
Checking for function "pidfd_send_signal" : YES
Checking for function "pidfd_spawn" : YES
Checking for function "sched_setattr" : YES
Checking for function "ioprio_get" : NO
Checking for function "ioprio_set" : NO
Checking for function "rt_tgsigqueueinfo" : NO
Checking for function "open_tree_attr" : NO
Checking for function "quotactl_fd" : NO
Checking for function "fchmodat2" : NO
Checking for function "bpf" : NO
Checking for function "kcmp" : NO
Checking for function "keyctl" : NO
Checking for function "add_key" : NO
Checking for function "request_key" : NO
Checking for function "setxattrat" : NO
Checking for function "removexattrat" : NO
Checking for function "pivot_root" : NO
Program awk found: YES (/usr/bin/awk)
Program diff found: YES (/usr/bin/diff)
Program echo found: YES (/usr/bin/echo)
Program env found: YES (/usr/bin/env)
Program find found: YES (/usr/bin/find)
Program getent found: YES (/usr/bin/getent)
Program git found: YES (/usr/bin/git)
Program gperf found: YES (/usr/bin/gperf)
Program id found: YES (/usr/bin/id)
Program ln found: YES (/usr/bin/ln)
Program rsync found: YES (/usr/bin/rsync)
Program sed found: YES (/usr/bin/sed)
Program sh found: YES (/usr/bin/sh)
Program stat found: YES (/usr/bin/stat)
Program quotaon /usr/sbin/quotaon /sbin/quotaon found: NO
Program quotacheck /usr/sbin/quotacheck /sbin/quotacheck found: NO
Program kmod /usr/sbin/kmod /sbin/kmod found: NO
Program kexec /usr/sbin/kexec /sbin/kexec found: NO
Program /usr/sbin/sulogin found: YES (/usr/sbin/sulogin)
Program mount found: YES (/usr/bin/mount)
Program umount found: YES (/usr/bin/umount)
Program loadkeys /usr/sbin/loadkeys /sbin/loadkeys found: NO
Program setfont /usr/sbin/setfont /sbin/setfont found: NO
Program /usr/sbin/nologin found: YES (/usr/sbin/nologin)
Message: gperf len type is size_t
Has header "crypt.h" : YES
Has header "sys/capability.h" : YES
Has header "sys/sdt.h" : NO
Has header "threads.h" : YES
Has header "valgrind/memcheck.h" : NO
Has header "valgrind/valgrind.h" : NO
meson.build:851: WARNING:
The local group with the GID 65534 does not match the configured group name "nobody" of the nobody group (its name is nogroup).
Your build will result in an group table setup that is incompatible with the local system.
Run-time dependency threads found: YES
Library rt found: YES
Library m found: YES
Library dl found: YES
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Run-time dependency libcap found: YES 2.75
Checking if "libatomic" links: YES
Run-time dependency libcrypt found: YES 4.4.38
Checking for function "crypt_ra" with dependency libcrypt: YES
Checking for function "crypt_gensalt_ra" with dependency libcrypt: YES
Checking for function "crypt_preferred_method" with dependency libcrypt: YES
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libbpf found: NO (tried pkgconfig and cmake)
Run-time dependency mount found: YES 2.41.1
Run-time dependency fdisk found: YES 2.41.1
Run-time dependency pwquality found: YES 1.4.5
Run-time dependency libseccomp found: YES 2.6.0
Run-time dependency libselinux found: YES 3.8.1
Run-time dependency libapparmor found: YES 4.1.0
Run-time dependency polkit-gobject-1 found: YES 126
Run-time dependency libacl found: YES 2.3.2
Run-time dependency audit found: YES 4.0.5
Run-time dependency blkid found: YES 2.41.1
Checking for function "blkid_probe_set_hint" with dependency blkid: YES
Run-time dependency libkmod found: YES 34.2
Run-time dependency xencontrol found: NO (tried pkgconfig and cmake)
Run-time dependency pam found: YES 1.7.0
Run-time dependency pam_misc found: YES 1.7.0
Run-time dependency libmicrohttpd found: YES 1.0.1
Run-time dependency libcryptsetup found: YES 2.8.0
Checking for function "crypt_set_metadata_size" with dependency libcryptsetup: YES
Checking for function "crypt_activate_by_signed_key" with dependency libcryptsetup: YES
Checking for function "crypt_token_max" with dependency libcryptsetup: YES
Checking for function "crypt_reencrypt_init_by_passphrase" with dependency libcryptsetup: YES
Checking for function "crypt_reencrypt" with dependency libcryptsetup: YES
Checking for function "crypt_reencrypt_run" with dependency libcryptsetup: YES
Checking for function "crypt_set_data_offset" with dependency libcryptsetup: YES
Checking for function "crypt_set_keyring_to_link" with dependency libcryptsetup: YES
Checking for function "crypt_resume_by_volume_key" with dependency libcryptsetup: YES
Checking for function "crypt_token_set_external_path" with dependency libcryptsetup: YES
Checking for function "crypt_activate_by_token_pin" with dependency libcryptsetup: YES
Checking for function "crypt_token_external_path" with dependency libcryptsetup: YES
Run-time dependency libcurl found: YES 8.15.0
Run-time dependency libidn2 found: YES 2.3.8
Run-time dependency libiptc found: YES 1.8.11
Run-time dependency libqrencode found: YES 4.1.1
Run-time dependency libgcrypt found: YES 1.11.2
Run-time dependency gpg-error found: YES 1.55
Run-time dependency gnutls found: YES 3.8.9
Run-time dependency openssl found: YES 3.5.2
Run-time dependency p11-kit-1 found: YES 0.25.5
Run-time dependency libfido2 found: YES 1.16.0
Run-time dependency tss2-esys tss2-rc tss2-mu tss2-tcti-device found: YES 4.1.3
4.1.3
4.1.3
4.1.3
Run-time dependency libdw found: YES 0.192
Checking for function "dwelf_elf_e_machine_string" with dependency libdw: YES
Checking for function "dwfl_set_sysroot" with dependency libdw: YES
Run-time dependency zlib found: YES 1.3.1
Run-time dependency bzip2 found: YES 1.0.8
Run-time dependency liblzma found: YES 5.8.1
Run-time dependency liblz4 found: YES 1.10.0
Run-time dependency libzstd found: YES 1.5.7
Run-time dependency libarchive found: YES 3.7.4
Run-time dependency xkbcommon found: NO (tried pkgconfig and cmake)
Run-time dependency libpcre2-8 found: YES 10.45
Run-time dependency glib-2.0 found: YES 2.84.4
Run-time dependency gobject-2.0 found: YES 2.84.4
Run-time dependency gio-2.0 found: YES 2.84.4
Run-time dependency dbus-1 found: YES 1.16.2
Program python3 (jinja2) found: YES (/usr/bin/python3) modules: jinja2
Program python3 (elftools) found: YES (/usr/bin/python3) modules: elftools
Program python3 (pefile) found: YES (/usr/bin/python3) modules: pefile
Message: Using neither provided nor generated vmlinux.h, some features will not be available.
Configuring config.h using configuration
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Compiler for C supports arguments -std=iso9899:2018: YES
Compiler for C supports arguments -std=iso9899:2024: YES
Compiler for C++ supports arguments -std=c++14: YES
Compiler for C++ supports arguments -std=c++17: YES
Compiler for C++ supports arguments -std=c++20: YES
Compiler for C++ supports arguments -std=c++23: YES
Compiler for C++ supports arguments -std=c++26: YES
Program python3 (pytest_flakes) found: NO
Message: network/test-acd is a manual test
Message: network/test-ipv4ll-manual is a manual test
Message: network/test-ndisc-send is a manual test
Message: udev/test-udev-rule-runner is a manual test
Message: coredump/test-coredump-vacuum is a manual test
Message: home/test-homed-regression-31896 is a manual test
Message: import/test-qcow2 is a manual test
Message: login/test-inhibit is a manual test
Message: login/test-session-properties is a manual test
Message: resolve/test-dnssec-complex is a manual test
Message: resolve/test-resolved-dummy-server is a manual test
Message: test/test-ask-password-api is a manual test
Message: test/test-btrfs is a manual test
Message: test/test-btrfs-physical-offset is a manual test
Message: test/test-chase-manual is a manual test
Message: test/test-display-quota is a manual test
Message: test/test-dlopen is a manual test
Message: test/test-ipcrm is an unsafe test
Message: test/test-netlink-manual is a manual test
Message: test/test-nft-set is a manual test
Message: test/test-shift-uid is a manual test
Message: test/test-watchdog is an unsafe test
Message: core/test-install is a manual test
Message: core/test-ns is a manual test
Message: libsystemd/test-bus-benchmark is a manual test
Message: libsystemd/test-journal-append is a manual test
Message: libsystemd/test-journal-dump is a manual test
Program mkosi found: NO
Configuring test-sysusers.sh using configuration
Program rpm found: NO
Program rpmspec found: NO
Message: Skipping test-rpm-macros since rpm and/or rpmspec are not available
Program id found: YES (/usr/bin/id)
Program qemu-system-ppc qemu-kvm found: NO
Program xsltproc found: YES (/usr/bin/xsltproc)
Message: Skipping loader.conf.5 because ENABLE_BOOTLOADER is false
Message: Skipping systemd-bless-boot-generator.8 because ENABLE_BOOTLOADER is false  
Message: Skipping systemd-bless-boot.service.8 because ENABLE_BOOTLOADER HAVE_BLKID is false
Message: Skipping systemd-boot-clear-sysfail.service.8 because ENABLE_BOOTLOADER is false
Message: Skipping systemd-boot-random-seed.service.8 because ENABLE_BOOTLOADER is false
Message: Skipping systemd-boot.7 because ENABLE_BOOTLOADER is false
Message: Skipping systemd-pcrlock.8 because ENABLE_BOOTLOADER HAVE_OPENSSL HAVE_TPM2 is false
Message: Skipping systemd-pcrphase.service.8 because ENABLE_BOOTLOADER HAVE_OPENSSL HAVE_TPM2 is false
Message: Skipping systemd-stub.7 because ENABLE_BOOTLOADER is false
Message: Skipping systemd-tpm2-clear.service.8 because ENABLE_BOOTLOADER is false
Message: Skipping systemd-tpm2-setup.service.8 because ENABLE_BOOTLOADER is false
Configuring man using configuration
Configuring html using configuration
Compiler for C supports arguments -std=c90: YES
Compiler for C supports arguments -std=c99: YES
Compiler for C supports arguments -std=c11: YES
Compiler for C supports arguments -std=c17: YES
Compiler for C supports arguments -std=c23: YES
Compiler for C supports arguments -std=gnu90: YES
Compiler for C supports arguments -std=gnu99: YES
Compiler for C supports arguments -std=gnu11: YES
Compiler for C supports arguments -std=gnu17: YES
Compiler for C supports arguments -std=gnu23: YES
Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
Checking for size of "long" : 4
Program jekyll found: NO
Program clang-tidy found: NO
Build targets in project: 2519

systemd 258~rc2

    build mode                               : developer
    split bin-sbin                           : true
    prefix directory                         : /usr
    sysconf directory                        : /etc
    include directory                        : /usr/include
    lib directory                            : /usr/lib/powerpc-linux-gnu
    SysV init scripts                        : /etc/init.d
    SysV rc?.d directories                   : /etc/rc.d
    SysV rc.local script                     : /etc/rc.local
    PAM modules directory                    : /usr/lib/powerpc-linux-gnu/security   
    PAM configuration directory              : /usr/lib/pam.d
    ssh server configuration directory       : /etc/ssh/sshd_config.d
    ssh server privilege separation directory: /run/sshd
    ssh client configuration directory       : /etc/ssh/ssh_config.d
    libcryptsetup plugins directory          : /usr/lib/powerpc-linux-gnu/cryptsetup 
    Shell profile directory                  : /etc/profile.d
    RPM macros directory                     : /usr/lib/rpm/macros.d
    modprobe.d directory                     : /usr/lib/modprobe.d
    D-Bus policy directory                   : /usr/share/dbus-1/system.d
    D-Bus session directory                  : /usr/share/dbus-1/services
    D-Bus system directory                   : /usr/share/dbus-1/system-services
    D-Bus interfaces directory               : /usr/share/dbus-1/interfaces
    bash completions directory               : /usr/share/bash-completion/completions
    zsh completions directory                : /usr/share/zsh/site-functions
    private shared lib version tag           : 258
    debug shell                              : /bin/sh @ /dev/tty9
    system UIDs                              : <=999 (alloc >=1)
    system GIDs                              : <=999 (alloc >=1)
    greeter UIDs                             : 60578…60705
    dynamic UIDs                             : 61184…65519
    container UID bases                      : 524288…1878982656
    foreign UID base                         : 2147352576
    static UID/GID allocations               : tty-gid:5
    /dev/kvm access mode                     : 0666
    render group access mode                 : 0666
    certificate root directory               : /etc/ssl
    support URL                              : https://lists.freedesktop.org/mailman/listinfo/systemd-devel
    nobody user name                         : nobody
    nobody group name                        : nobody
    fallback hostname                        : localhost
    default compression method               : zstd
    default DNSSEC mode                      : allow-downgrade
    default DNS-over-TLS mode                : no
    default mDNS mode                        : yes
    default LLMNR mode                       : yes
    default DNS servers                      : 1.1.1.1#cloudflare-dns.com
                                               8.8.8.8#dns.google
                                               9.9.9.9#dns.quad9.net
                                               193.110.81.0#dns0.eu
                                               1.0.0.1#cloudflare-dns.com
                                               8.8.4.4#dns.google
                                               149.112.112.112#dns.quad9.net
                                               185.253.5.0#dns0.eu
                                               2606:4700:4700::1111#cloudflare-dns.com
                                               2001:4860:4860::8888#dns.google
                                               2620:fe::fe#dns.quad9.net
                                               2a0f:fc80::#dns0.eu
                                               2606:4700:4700::1001#cloudflare-dns.com
                                               2001:4860:4860::8844#dns.google
                                               2620:fe::9#dns.quad9.net
                                               2a0f:fc81::#dns0.eu
    default NTP servers                      : time1.google.com
                                               time2.google.com
                                               time3.google.com
                                               time4.google.com
    default net.naming_scheme= value         : latest
    default KillUserProcesses= value         : true
    default locale                           : C.UTF-8
    default nspawn locale                    : C.UTF-8
    default status unit format               : name
    default user $PATH                       : (same as system services)
    systemd service watchdog                 : 3min
    time epoch                               : 1733858567 (2024-12-10T19:22:47+00:00)

  Features
    enabled                                  : ACL, AUDIT, AppArmor, IMA, IPE, PAM, SECCOMP, SELinux, SMACK, blkid, elfutils, gcrypt, gnutls, libarchive, libcryptsetup, libcryptsetup-plugins, libcurl, libfdisk, libfido2, libidn2, libiptc, microhttpd, openssl, p11kit, pcre2, pwquality, qrencode, tpm2, zstd, lz4, xz, zlib, bzip2, backlight, binfmt, coredump, efi, environment.d, firstboot, hibernate, homed, hostnamed, hwdb, importd, initrd, kernel-install, localed, logind, machined, mountfsd, networkd, nspawn, nsresourced, nss-myhostname, nss-mymachines, nss-resolve, nss-systemd, oomd, portabled, pstore, quotacheck, randomseed, repart, resolve, rfkill, sysext, systemd-analyze, sysupdate, sysupdated, sysusers, storagetm, timedated, timesyncd, tmpfiles, userdb, vconsole, vmspawn, xdg-autostart, DNS-over-TLS, idn, polkit, kmod, dbus, glib, tpm, SysV compat, utmp, ldconfig, adm group, wheel group, gshadow, fuzz tests, link-udev-shared, link-systemctl-shared, link-networkd-shared, link-timesyncd-shared, link-journalctl-shared, link-boot-shared, link-portabled-shared
    disabled                                 : libbpf, libidn, passwdqc, xkbcommon, bootloader, bpf-framework, dmi, legacy-pkla, xenctrl, man pages, html pages, man page indices, compat-mutable-uid-boundaries, debug hashmap, debug mmap cache, debug siphash, trace logging, slow tests, install tests, first-boot-full-preset, fexecve, standalone-binaries, coverage, static-libsystemd, static-libudev

Found ninja-1.12.1 at /usr/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

cbiedl at deb99-powerpc (...)/systemd.git [pidfd_32bit_assert] $ ninja -C build systemctl
ninja: Entering directory `build'
[243/506] Compiling C object src/shared/libsystemd-shared-258.a.p/base-filesystem.c.o
../src/shared/base-filesystem.c:141:11: note: ‘#pragma message: Please add an entry above specifying whether your architecture uses /lib64/, /lib32/, or no such links.’
  141 | #  pragma message "Please add an entry above specifying whether your architecture uses /lib64/, /lib32/, or no such links."
      |           ^~~~~~~
[506/506] Linking target systemctl

cbiedl at deb99-powerpc (...)/systemd.git [pidfd_32bit_assert] $ ./build/systemctl is-system-running
running


Anything else I could try?

    Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20250816/8e392ef8/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list