Package Details: libselinux 3.6-4

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: custom
Groups: selinux
Conflicts: selinux-usr-libselinux
Provides: libselinux.so, selinux-usr-libselinux
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 131
Popularity: 1.27
First Submitted: 2013-11-03 20:05 (UTC)
Last Updated: 2024-05-04 14:27 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7

Nicky726 commented on 2013-02-20 20:33 (UTC)

Oh, I see. It's that python issue. Quick workaround is: # cd /usr/lib/pkgconfig/ # ln -s python-2.7.pc python2.pc I think I did requested python2 maintainers to add the link, but apparently I did not... Will do now.

Nicky726 commented on 2013-02-20 20:21 (UTC)

Strange, I built it on 64bit system like 10 days ago. I'll look into it later, if I can reproduce it.

dejavu commented on 2013-02-20 19:05 (UTC)

Doesn't build on 64 bit: cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lpcre -I../include -D_GNU_SOURCE -Wl,-O1,--sort-common,--as-needed,-z,relro avcstat.c -L../src -lselinux -L/usr/lib -o avcstat make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-selinux-usr-libselinux/src/libselinux-2.1.12/utils' make[1]: Entering directory `/tmp/yaourt-tmp-root/aur-selinux-usr-libselinux/src/libselinux-2.1.12/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-selinux-usr-libselinux/src/libselinux-2.1.12/man' make -C src pywrap pywrap make[1]: Entering directory `/tmp/yaourt-tmp-root/aur-selinux-usr-libselinux/src/libselinux-2.1.12/src' bash exception.sh > selinuxswig_python_exception.i Package python2 was not found in the pkg-config search path. Perhaps you should add the directory containing `python2.pc' to the PKG_CONFIG_PATH environment variable No package 'python2' found cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lpcre -I../include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DSHARED -c -o python2audit2why.lo audit2why.c audit2why.c:6:20: fatal error: Python.h: No such file or directory compilation terminated. make[1]: *** [python2audit2why.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-selinux-usr-libselinux/src/libselinux-2.1.12/src' make: *** [pywrap] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build selinux-usr-libselinux. ==> Restart building selinux-usr-libselinux ? [y/N]

xangelux commented on 2013-02-17 18:20 (UTC)

Yeah, that was fine, I forgot to delete that part when I was testing what the issue was

Nicky726 commented on 2013-02-17 12:50 (UTC)

So it's the -lpcre in CFLAGS... OK, addopted. I'm not sure though whats the use of buildflags in options, since I think that is default and of the -L/usr/local/lib in CFLAGS, since I have that directory empty and manage to build the package fine. So from now SELinux userspace is updated to the release of 2012-09-24.

Nicky726 commented on 2013-02-17 10:55 (UTC)

I updated whole SELinux userspace to the release of 2012-02-16 which should build fine, so the dependency for selinux-systemd is satisfied. There is a newer release of 2012-09-24, but I'm still failing to build that for some of the SELinux userspace packages. Now I am stuck with selinux-usr-libselinux, which fail to build due to pcre, though it is installed. Don't quite get it... The trouble with SELinux userspace of 2012-02-16 is that it fails to load the policy for me...

xangelux commented on 2013-02-12 20:57 (UTC)

Updated it, hope it's fine: http://pastie.org/6140536