Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - setools

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: setools 4.1.0-1

Git Clone URL: https://aur-dev.archlinux.org/setools.git (read-only)
Package Base: setools
Description: Policy analysis tools for SELinux
Upstream URL: https://github.com/TresysTechnology/setools/wiki
Licenses: GPL, LGPL
Groups: selinux
Conflicts: selinux-setools
Provides: selinux-setools=4.1.0-1
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 16
Popularity: 0.967844
First Submitted: 2013-11-03 20:05
Last Updated: 2017-02-04 21:24

Dependencies (21)

Required by (1)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

chendaniely commented on 2016-11-20 17:34

@IooNag installing `checkpolicy` before updating fixed the issue.

IooNag commented on 2016-11-08 16:49

chendaniely: indeed, setools tests require the checkpolicy command (https://github.com/TresysTechnology/setools/blob/4.0/tests/policyrep/selinuxpolicy.py#L42). This means that the PKGBUILD needs to define checkdepends=('checkpolicy'). Could you please install checkpolicy? If this fixes the issue you have, I will update the package. Thanks for the bug report!

chendaniely commented on 2016-11-08 15:14

I've been getting a check error since the package was updated:

Boolean query with regex match. ... ok
test_010_default (tests.boolquery.BoolQueryTest)
Boolean query with default state match. ... ok

ERROR: setUpClass (tests.policyrep.selinuxpolicy.SELinuxPolicyTest)
Traceback (most recent call last):
File "/tmp/yaourt-tmp-dchen/aur-setools/src/setools-4.0.1/tests/policyrep/selinuxpolicy.py", line 48, in setUpClass
subprocess.check_call(command, stdout=null, shell=False, close_fds=True)
File "/usr/lib/python2.7/subprocess.py", line 536, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 523, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Ran 1315 tests in 2.722s

FAILED (errors=1, skipped=8, expected failures=1)
==> ERROR: A failure occurred in check().
==> ERROR: Makepkg was unable to build setools.

ashaman-crypto commented on 2016-10-31 22:57

This needs to install with setools3-libs, otherwise installation is blocked because it breaks dependancies for policycoreutils.

IooNag commented on 2015-12-08 23:09

Hello. I did not change anything to the package, and you are right that swig is missing from makedepends. In fact I have it installed on my build system because it is in libselinux and libsemanage makedepends, but if you uninstall packages between builds, it no longer works. This is a bug that I will fix.

For the "The next patch would create the file apol/constraints_tab.tcl" error, it comes from the fact that makepkg is trying to apply a patch which has already been applied, in prepare(). You can either use "makepkg -C" to remove src/ before building or use "makepkg -e" to build the package from the already-extracted src/. Thanks!

Wabuo commented on 2015-12-08 22:17

To day it installed fine

Wabuo commented on 2015-12-08 09:13

ERROR: A failure occurred in prepare().

The next patch would create the file apol/constraints_tab.tcl,
which already exists! Skipping patch.

Wabuo commented on 2015-12-08 09:03

missing dependencie= swig

IooNag commented on 2015-02-09 05:14

It's not a SWIG bug but an error in the patch. I reworked it and submitted upstream (https://github.com/TresysTechnology/setools3/pull/2). I'm waiting for upstream review/feedback before including the patch to the package, alongside with what's needed to support libsepol 2.4 (https://github.com/TresysTechnology/setools/commit/3937946900cf4f8bee2fdda697831b14ab8f849d).

fmorris commented on 2015-01-20 18:35

Ok, I managed to install the package removing the extra % from the Gentoo patch. Thanks! Should I still report the bug to SWIG?