Package Details: systemd-libs-selinux 256.7-1

Git Clone URL: https://aur.archlinux.org/systemd-selinux.git (read-only, click to copy)
Package Base: systemd-selinux
Description: systemd client libraries with SELinux support
Upstream URL: https://www.github.com/systemd/systemd
Keywords: selinux
Licenses: CC0-1.0, LGPL-2.1-or-later, GPL-2.0-or-later WITH Linux-syscall-note
Groups: selinux
Conflicts: libsystemd, libsystemd-selinux, systemd-libs
Provides: libsystemd, libsystemd-selinux, libsystemd.so, libudev.so, systemd-libs
Replaces: libsystemd-selinux
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 18
Popularity: 0.000892
First Submitted: 2013-11-03 20:05 (UTC)
Last Updated: 2024-11-01 09:59 (UTC)

Dependencies (58)

Required by (1220)

Sources (17)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

KenoCooper1810 commented on 2017-11-26 17:25 (UTC)

This will not build on an Arch install running the hardened kernel with the latest version of linux-api-headers. Whether using 'configure && make' or 'makepkg -ALcs' the naming conflict is the same: ninja -C build ninja: Entering directory `build' [158/1853] Compiling C object 'src/libsystemd/systemd@sta/sd-netlink_netlink-types.c.o'. FAILED: src/libsystemd/systemd@sta/sd-netlink_netlink-types.c.o cc -Isrc/libsystemd/systemd@sta -Isrc/libsystemd -I../src/libsystemd -I. -I../ -Isrc/libsystemd-network -I../src/libsystemd-network -I../src/libsystemd/sd-network -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-device -I../src/libsystemd/sd-bus -Isrc/core -I../src/core -Isrc/libudev -I../src/libudev -Isrc/udev -I../src/udev -Isrc/login -I../src/login -Isrc/timesync -I../src/timesync -Isrc/resolve -I../src/resolve -Isrc/journal -I../src/journal -Isrc/systemd -I../src/systemd -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -Wextra -Werror=undef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Werror=overflow -Wdate-time -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong -fPIE --param=ssp-buffer-size=4 -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-format-signedness -Wno-error=nonnull -Werror=shadow -include config.h -fPIC -pthread -MMD -MQ 'src/libsystemd/systemd@sta/sd-netlink_netlink-types.c.o' -MF 'src/libsystemd/systemd@sta/sd-netlink_netlink-types.c.o.d' -o 'src/libsystemd/systemd@sta/sd-netlink_netlink-types.c.o' -c ../src/libsystemd/sd-netlink/netlink-types.c In file included from ../src/libsystemd/sd-netlink/netlink-types.c:40:0: ../src/basic/missing.h:1252:8: Error: ‘struct fib_rule_uid_range’ is redefined struct fib_rule_uid_range { ^~~~~~~~~~~~~~~~~~ In file included from ../src/libsystemd/sd-netlink/netlink-types.c:25:0: /usr/include/linux/fib_rules.h:32:8: Error : this is the location of the previous definition struct fib_rule_uid_range { ^~~~~~~~~~~~~~~~~~ [163/1853] Compiling C object 'src/libsystemd/systemd@sta/sd-network_sd-network.c.o'. ninja: build stopped: subcommand failed.

IooNag commented on 2017-02-04 08:51 (UTC)

Done. Thanks for reporting this packaging issue!

RemoteAdmin commented on 2017-02-03 05:32 (UTC) (edited on 2017-02-03 07:27 (UTC) by RemoteAdmin)

@IooNag Please remove "replaces=("${pkgname/-selinux}")" as it results to "Replace systemd-sysvcompat with aur-archlinux/systemd-sysvcompat-selinux? [Y/n]" using "pacman -Syu" with an AUR-Repo. As side fact - the replaces array isn't set on your other selinux packages

IooNag commented on 2016-12-19 17:49 (UTC)

@ashaman-crypto: I changed the source URL in order to make the git clone work in networking environments where only a few protocols are allowed (HTTP, HTTPS, FTP) but where other services like "git://" (which uses its own TCP port) are filtered. When updating you need to either remove the systemd/ git clone from your source directory, or issue this command in it: git remote set-url origin https://github.com/systemd/systemd.git You also need to download the GPG key which fingerprint is given by validpgpkeys variable (63CDA1E5D3FC22B998D20DD6327F26951A015CC4) in order to validate the authenticity of the git tag in prepare(). This validation has been introduced in systemd package in https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/systemd&id=0644d26ab7e2ea8eb09e3566cff0d197890c8d47

maxthest commented on 2016-12-19 17:47 (UTC) (edited on 2016-12-19 17:51 (UTC) by maxthest)

@ashaman-crypto, you need to import the signing key that the systemd sources are signed with. ( $ gpg --recv-keys <key-id> ) The fingerprint ID is located in the PKGBUILD under validpgpkeys. It is currently 63CDA1E5D3FC22B998D20DD6327F26951A015CC4 . Changes to the PKGBUILD appear to be recent and I assume the archlinuxhardened/selinux GitHub project has not caught up to these changes yet to include the signing key.

ashaman-crypto commented on 2016-12-19 15:27 (UTC)

That was from the one currently included in the archlinux/hardened selinux. The snapshot from here results in ==> Extracting sources... -> Creating working copy of systemd git repo... Reset branch 'makepkg' ==> Starting prepare()... ==> ERROR: failed to validate tag v232 ==> ERROR: A failure occurred in prepare(). Aborting...

ashaman-crypto commented on 2016-12-19 15:19 (UTC)

Refuses to build since the last update. ==> Making package: systemd-selinux 232-6 (Mon Dec 19 15:17:03 UTC 2016) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... ==> ERROR: /home/user/selinux/systemd-selinux/systemd is not a clone of https://github.com/systemd/systemd.git Aborting...