Package Details: libselinux 3.0-1

Git Clone URL: (read-only, click to copy)
Package Base: libselinux
Description: SELinux library and simple utilities
Upstream URL:
Keywords: selinux
Licenses: custom
Groups: selinux
Conflicts: selinux-usr-libselinux
Provides: selinux-usr-libselinux=3.0-1
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 108
Popularity: 1.16
First Submitted: 2013-11-03 20:05
Last Updated: 2019-12-13 19:59

Latest Comments

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

Nicky726 commented on 2013-02-25 10:29

Thanx, added.

xangelux commented on 2013-02-24 10:13

audit2allow and practically every python utility doesn't work, I found a workaround for it, add this sed in the build process:

sed -i -e "s/PYLIBDIR ?= \$(LIBDIR)\/\$(PYLIBVER)/PYLIBDIR ?= \$(LIBDIR)\/python2.7/g" "src/Makefile"

Nicky726 commented on 2013-02-20 20:51

So I added a feature request:

Nicky726 commented on 2013-02-20 20:33

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

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

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 > 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().
==> ERROR: Makepkg was unable to build selinux-usr-libselinux.
==> Restart building selinux-usr-libselinux ? [y/N]

xangelux commented on 2013-02-17 18:20

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

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

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:58

Updated it, hope it's fine: