Package Details: setools 4.1.1-3

Git Clone URL: https://aur.archlinux.org/setools.git (read-only)
Package Base: setools
Description: Policy analysis tools for SELinux
Upstream URL: https://github.com/TresysTechnology/setools/wiki
Keywords: selinux
Licenses: GPL, LGPL
Groups: selinux
Conflicts: selinux-setools
Provides: selinux-setools=4.1.1-3
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 17
Popularity: 0.696433
First Submitted: 2013-11-03 20:05
Last Updated: 2017-09-30 21:28

Dependencies (20)

Sources (2)

Latest Comments

zer01 commented on 2017-09-30 22:06

Nice work, thanks!

IooNag commented on 2017-09-30 21:30

zer01: thanks for your bug report! I backported the upstream commit in setools 4.1.1-3.

zer01 commented on 2017-09-30 01:36

Just noting that python-networkx 2.0 has hit the Arch repos which breaks things.

Looks like there is an upstream patch at https://github.com/TresysTechnology/setools/commit/856b56accba14b0296e608b7f05bead2d63ca542 but is not yet tagged/released.

chendaniely commented on 2016-11-20 17:34

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

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().
Aborting...
==> 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
thx

Wabuo commented on 2015-12-08 09:13

ERROR: A failure occurred in prepare().
Aborting...

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

All comments