Package Details: libselinux 3.0-1

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: http://userspace.selinuxproject.org
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.28
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 »

IooNag commented on 2017-02-19 22:05

cminus: what is the compiler line right before your error? Is it "cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -I../include -I/usr/include -D_GNU_SOURCE -DDISABLE_RPM -DNO_ANDROID_BACKEND -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations -I/usr/include/ruby-2.4.0/x86_64-linux -I/usr/include/ruby-2.4.0 -fPIC -DSHARED -c -o selinuxswig_ruby_wrap.lo selinuxswig_ruby_wrap.c"?

Also I am interested in the result of these commands on your system (the second and the third ones are used by libselinux Makefile to find where Ruby header files are installed):
* echo $RUBY
* ${RUBY:-ruby} -e 'print RUBY_VERSION.split(".")[0..1].join(".")'
* pkg-config --cflags ruby-2.4
* ls /usr/include/ruby-2.4.0/

cminus commented on 2017-02-19 21:50

I have this error and I don't know how to resolve..
Any help will be appreciated.

selinuxswig_ruby_wrap.c:855:18: fatal error: ruby.h: No such file or directory
#include <ruby.h>
^

IooNag commented on 2016-10-20 07:16

chrisbdaemon: pkg-config is in base-devel, which has to be installed before building any AUR package (cf. https://wiki.archlinux.org/index.php/Arch_User_Repository#Getting_started). Hence I won't add it to makedepends.

chrisbdaemon commented on 2016-10-19 19:24

Can pkg-config be added to the list of makedepends as well?

reynoldsbd commented on 2016-02-07 17:50

Not sure if this is helpful or not, but I was able to build and install this package and its dependency libsepol on armv7h (RPi 2).

IooNag commented on 2015-07-23 12:02

Thanks for your comment, but actually it is not libselinux which requires flex to be built but libsepol and libsemanage. I've just added "flex" to their makedepends.

nebulon commented on 2015-07-20 12:02

The package dependencies are missing 'flex' currently.

grondinm commented on 2015-01-01 19:14

works now thank you

IooNag commented on 2014-12-31 13:39

I updated the PKGBUILD to use /usr/bin instead of /usr/sbin and while at it cleaned up a few things (https://github.com/archlinuxhardened/selinux/commit/7a68af5d847389935aa784d8f43c69ac41d0a3a9 ). Does it work better?

grondinm commented on 2014-12-31 01:55

Wont install for me

error: failed to commit transaction (conflicting files)
libselinux: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.