For building this now I have added the flags
export CFLAGS+=" -Wno-implicit-function-declaration"
export CFLAGS+=" -Wno-int-conversion"
| Git Clone URL: | https://aur.archlinux.org/libselinux.git (read-only, click to copy) |
|---|---|
| Package Base: | libselinux |
| Description: | SELinux library and simple utilities |
| Upstream URL: | https://github.com/SELinuxProject/selinux |
| Keywords: | selinux |
| Licenses: | libselinux-1.0 |
| Groups: | selinux |
| Conflicts: | selinux-usr-libselinux |
| Provides: | libselinux.so, selinux-usr-libselinux |
| Submitter: | Siosm |
| Maintainer: | matricaldefunkt (IooNag) |
| Last Packager: | IooNag |
| Votes: | 136 |
| Popularity: | 0.020758 |
| First Submitted: | 2013-11-03 20:05 (UTC) |
| Last Updated: | 2026-09-02 08:33 (UTC) |
For building this now I have added the flags
export CFLAGS+=" -Wno-implicit-function-declaration"
export CFLAGS+=" -Wno-int-conversion"
Changed the identifier. Thank you!
Heads up, there is a specific SPDX license identifier for libselinux (libselinux-1.0): https://spdx.org/licenses/libselinux-1.0.html
The license identifier needs to be made SPDX compliant:
libselinux E: custom is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.
Regards and thanks for the package!
ggnoredo: yes, there was a recent issue with libselinux, which I am currently fixing. I have just updated libsepol to version 3.9. If you encounter any issue, please report it on https://github.com/archlinuxhardened/selinux . Thanks!
maintainer broke something
-> could not find all required packages: libsepol >=3.9
aur/libsepol 3.8-1 (+113 0.27) (Out-of-date: 2025-04-15) (Installed)
One call pull Petr's keys from GH using the following URL, which has the new key.
Here is what I see when I look at the downloaded key:
% gpg --show-keys ./bachradsusi.gpg
pub rsa4096 2012-04-03 [SC]
E853C1848B0185CF42864DF363A8AD4B982C4373
uid Petr Lautrbach <plautrba@redhat.com>
sub rsa4096 2017-12-05 [A]
sub rsa4096 2017-12-05 [S]
sub rsa4096 2012-04-03 [E]
pub rsa4096 2022-10-26 [SC] [expired: 2024-10-25]
B8682847764DF60DF52D992CBC3905F235179CF1
uid Petr Lautrbach <lautrbach@redhat.com>
sub rsa4096 2022-10-26 [E] [expired: 2024-10-25]
sub rsa4096 2022-10-26 [A] [expired: 2024-10-25]
sub rsa4096 2022-10-26 [S] [expired: 2024-10-25]
gpg: WARNING: No valid encryption subkey left over.
pub rsa4096 2024-11-04 [SC] [expires: 2026-11-04]
68D21823342A13683AEB3E4EFB4C685B5DC1C13E
uid Petr Lautrbach <lautrbach@redhat.com>
sub rsa4096 2024-11-04 [E] [expires: 2026-11-04]
sub rsa4096 2024-11-04 [S] [expires: 2026-11-04]
sub rsa4096 2024-11-04 [AR] [expires: 2026-11-04]
So what can we do now? Is this package orphaned?
$ sudo gpg --verify --auto-key-retrieve /var/cache/private/pamac/libselinux/libselinux-3.8.tar.gz.asc /var/cache/private/pamac/libselinux/libselinux-3.8.tar.gz
gpg: Signature made Mi 29 Jan 2025 18:57:17 CET
gpg: using RSA key 7200EB2C3F5E488463C0CE9ECDCAE8C927C6BE31
gpg: Good signature from "Petr Lautrbach <lautrbach@redhat.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 68D2 1823 342A 1368 3AEB 3E4E FB4C 685B 5DC1 C13E
Subkey fingerprint: 7200 EB2C 3F5E 4884 63C0 CE9E CDCA E8C9 27C6 BE31
Hello,
Petr Lautrbach's gpg key is no longer valid
'68D21823342A13683AEB3E4EFB4C685B5DC1C13E' # Petr Lautrbach lautrbach@redhat.com
This may just be a case of Petr forgetting to refresh his keys to the keyserver. For now I'm going to ignore the package.
Pinned Comments
IooNag commented on 2025-09-29 08:31 (UTC)
ggnoredo: yes, there was a recent issue with libselinux, which I am currently fixing. I have just updated libsepol to version 3.9. If you encounter any issue, please report it on https://github.com/archlinuxhardened/selinux . Thanks!