Package Details: libselinux 2.6-2

Git Clone URL: (read-only)
Package Base: libselinux
Description: SELinux library and simple utilities
Upstream URL:
Licenses: GPL
Groups: selinux
Conflicts: selinux-usr-libselinux
Provides: selinux-usr-libselinux=2.6-2
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 69
Popularity: 5.264655
First Submitted: 2013-11-03 20:05
Last Updated: 2017-01-07 14:46

Latest Comments

cminus commented on 2017-02-19 22:53

I am not sure what happened, but it worked and got installed..
PS: I have removed old rvm and let the process continue.. I am not sure how this relates to the system-installed ruby..
Kinda strange

Here there are the current outputs of the lines you requested

Arch% echo $RUBY
# Blank line

Arch% ${RUBY:-ruby} -e 'print RUBY_VERSION.split(".")[0..1].join(".")'

Arch% pkg-config --cflags ruby-2.4
-I/usr/include/ruby-2.4.0/x86_64-linux -I/usr/include/ruby-2.4.0

Arch% ls /usr/include/ruby-2.4.0/
ruby ruby.h x86_64-linux

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. 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?

v1rous 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 ( ). Does it work better?

All comments