Package Details: systemd-ukify-selinux 253.4-1

Git Clone URL: (read-only, click to copy)
Package Base: systemd-selinux
Description: Combine kernel and initrd into a signed Unified Kernel Image
Upstream URL:
Keywords: selinux
Licenses: GPL2
Provides: systemd-ukify, ukify
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 18
Popularity: 0.002516
First Submitted: 2013-11-03 20:05 (UTC)
Last Updated: 2023-05-22 11:57 (UTC)

Required by (4)

Sources (20)

Latest Comments

1 2 3 4 5 Next › Last »

NobodyDBG commented on 2022-08-07 13:48 (UTC)

I'm trying to build the latest version but it's not compatible with latest GCC.

[165/2461] Generating src/boot/efi/systemd-bootx64.elf with a custom command FAILED: src/boot/efi/systemd-bootx64.elf /usr/bin/ccache cc -o src/boot/efi/systemd-bootx64.elf -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wendif-labels -Werror=format=2 -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wno-unused-result -fno-stack-protector -fno-strict-aliasing -fpic -fwide-exec-charset=UCS2 -Wall -Wextra -Wsign-compare -nostdlib -std=gnu11 -ffreestanding -fshort-wchar -fvisibility=hidden -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -I /ramdisk/yay/systemd-selinux/src/systemd-stable/src/fundamental -DSD_BOOT -DGNU_EFI_USE_MS_ABI -include src/boot/efi/efi_config.h -include version.h -mno-red-zone -mno-sse -mno-mmx -flto -O2 -fuse-ld=bfd -L /usr/lib -nostdlib -T /usr/lib/ -Wl,--build-id=sha1 -Wl,--fatal-warnings -Wl,--no-undefined -Wl,--warn-common -Wl,-Bsymbolic -z nocombreloc /usr/lib/crt0-efi-x86_64.o -pie -Wl,--no-dynamic-linker src/boot/efi/bootspec-fundamental.c.o src/boot/efi/efivars-fundamental.c.o src/boot/efi/sha256.c.o src/boot/efi/string-util-fundamental.c.o src/boot/efi/assert.c.o src/boot/efi/devicetree.c.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/secure-boot.c.o src/boot/efi/ticks.c.o src/boot/efi/util.c.o src/boot/efi/boot.c.o src/boot/efi/console.c.o src/boot/efi/drivers.c.o src/boot/efi/random-seed.c.o src/boot/efi/shim.c.o src/boot/efi/xbootldr.c.o src/boot/efi/bcd.c.o -lefi -lgnuefi -lgcc lto-wrapper: warning: using serial compilation of 2 LTRANS jobs lto-wrapper: note: see the ‘-flto’ option documentation for more information /usr/bin/ld.bfd: warning: /usr/lib/crt0-efi-x86_64.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...

str0ngbear commented on 2022-08-05 02:36 (UTC)

Trying to build yields a bunch of errors and does not complete:

[130/2461] Compiling C object src/basic/libbasic.a.p/cgroup-util.c.o FAILED: src/basic/libbasic.a.p/cgroup-util.c.o cc -Isrc/basic/libbasic.a.p -Isrc/basic -I../systemd-stable/src/basic -Isrc/fundamental -I../systemd-stable/src/fundamental -Isrc/systemd -I../systemd-stable/src/systemd -I. -I../systemd-stable -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O0 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wendif-labels -Werror=format=2 -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wno-unused-result -Werror=missing-declarations -Werror=missing-prototypes -fdiagnostics-show-option -fno-common -fno-strict-aliasing -fstack-protector -fstack-protector-strong -fvisibility=hidden --param=ssp-buffer-size=4 -ffunction-sections -fdata-sections -Werror=shadow -include config.h -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/cgroup-util.c.o -MF src/basic/libbasic.a.p/cgroup-util.c.o.d -o src/basic/libbasic.a.p/cgroup-util.c.o -c ../systemd-stable/src/basic/cgroup-util.c In file included from ../systemd-stable/src/basic/stat-util.h:13, from ../systemd-stable/src/basic/cgroup-util.c:32: ../systemd-stable/src/basic/missing_stat.h:39:8: error: redefinition of ‘struct statx_timestamp’ 39 | struct statx_timestamp { | ^~~~~~~~~~~~~~~ In file included from /usr/include/bits/statx.h:31, from /usr/include/sys/stat.h:465, from ../systemd-stable/src/basic/fileio.h:9, from ../systemd-stable/src/basic/cgroup-util.c:19: /usr/include/linux/stat.h:56:8: note: originally defined here 56 | struct statx_timestamp { | ^~~~~~~~~~~~~~~ ../systemd-stable/src/basic/missing_stat.h:45:8: error: redefinition of ‘struct statx’ 45 | struct statx STATX_DEFINITION; | ^~~~~ /usr/include/linux/stat.h:99:8: note: originally defined here 99 | struct statx { | ^~~~~

kistlin commented on 2022-01-11 10:33 (UTC)

Dependency hwids as it seems got replaced by core/hwdata.

Therefore in the list of dependencies, this should be replaced.

ZhangHua commented on 2020-07-05 11:18 (UTC)

I think I meet some problems. I am trying to upgrade systemd-selinux from 245.6-7 to 245.6-8. However, when I started building this package, I always get an error from ninja, it says failed to compile systemd-journal-remote@exe/src_journal-remote_journal-remote-main.c.o. This is github issue address: So is there anyone can help me? Thanks for your help. What's more, I also met a issiue that system cannot unmount /run/user/1000 when powering off, it results that system spends too much time on stopping. I am trying to upgrade systemd-selinux to try to solve this problem because I have googled this problem and it may be systemd's fault, but I find that I can't finish compiling new version...

NobodyDBG commented on 2020-05-29 20:12 (UTC)

IooNAg: "if you want help, please report error messages in English (you can override your locale using "export LANG=C" before running "makepkg", for example)." Thank you it does help :-)

IooNag commented on 2020-05-22 18:56 (UTC)

NobodyDBG: if you want help, please report error messages in English (you can override your locale using "export LANG=C" before running "makepkg", for example). Moreover for copying large error messages, opening an issue on is more appropriate.

NobodyDBG commented on 2020-05-22 12:49 (UTC)

I need your help:

Found ninja-1.10.0 at /usr/bin/ninja ninja: Entering directory `build' [1555/1921] Linking target test-load-fragment FAILED: test-load-fragment cc -o test-load-fragment 'test-load-fragment@exe/src_test_test-load-fragment.c.o' -flto -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,relro -Wl,-z,now -fstack-protector -Wl,--gc-sections -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--start-group src/core/libcore.a src/core/libcore-shared.a src/shared/ -pthread -lrt /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ -lpam /usr/lib/ /usr/lib/ -Wl,--end-group '-Wl,-rpath,$ORIGIN/src/core:$ORIGIN/src/shared' -Wl,-rpath-link,/tmp/yaourt-tmp-kevin/aur-systemd-selinux/src/build/src/core -Wl,-rpath-link,/tmp/yaourt-tmp-kevin/aur-systemd-selinux/src/build/src/shared lto1: schwerwiegender Fehler: Bytecode-Strom in Datei »src/core/libcore.a«, mit einem älteren GCC-Compiler als 10.0 erzeugt Kompilierung beendet. lto-wrapper: schwerwiegender Fehler: /usr/bin/cc gab Ende-Status 1 zurück Kompilierung beendet. /usr/bin/ld: error: lto-wrapper failed collect2: Fehler: ld gab 1 als Ende-Status zurück [1564/1921] Linking target src/udev/scsi_id ninja: build stopped: subcommand failed. ==> FEHLER: Ein Fehler geschah in build(). Breche ab... ==> FEHLER:Makepkg konnte systemd-selinux nicht erstellen. ==> Erstellen von systemd-selinux neu starten?[j/N] ==> ----------------------------------------------- ==> n

IooNag commented on 2019-07-20 12:39 (UTC)

sorin-mihai: I have updated the package. For your information, when you update your system and a dependency of systemd gets updated, you need to check whether systemctl still works and whether "ldd /usr/lib/systemd/systemd" does not report any library with "=> not found". If there are issues there, rebuilding systemd-selinux should be enough in order to fix the broken library dependencies, like any package in the AUR that depends on libraries that are upgraded to a different ".so version".

In case it helps someone, I am using a script that works like Gentoo's revdep-rebuild tool in order to detect such breakage on my system. I have published it on