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/SELinuxProject/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.000259
First Submitted: 2013-11-03 20:05
Last Updated: 2018-09-16 11:53

Dependencies (20)

Sources (2)

Latest Comments

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

IooNag commented on 2015-01-02 10:40

I added "--sbindir=/usr/bin" to configure parameters. This should solve your issue. Thanks for your bug report.

grondinm commented on 2015-01-01 19:28

this one failing as well

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

Siosm commented on 2014-01-02 21:49

Renamed to setools

skorgon commented on 2013-09-27 05:32

Picking up the patch looNag points to in a modificated PKGBUILD as schown below, the package compiles w/o the downgrade of swig. Somebody might find it useful:

--- PKGBUILD.orig 2013-07-20 10:21:09.000000000 -0700
+++ PKGBUILD.new 2013-09-26 22:26:40.497646177 -0700
@@ -14,9 +14,9 @@
optdepends=('glib2: needed to build graphical tools'
'gtk2>=2.8: needed to build graphical tools'
'bwidget>=1.8: needed to build graphical tools')
-makedepends=('swig=2.0.4' 'python' 'java-environment' 'pkgconfig' 'autoconf>=2.60')
-source=("http://oss.tresys.com/projects/${_origname}/chrome/site/dists/${_origname}-${pkgver}/${_origname}-${pkgver}.tar.bz2")
-sha256sums=('44387ecc9a231ec536a937783440cd8960a72c51f14bffc1604b7525e341e999')
+makedepends=('python' 'java-environment' 'pkgconfig' 'autoconf>=2.60')
+source=("http://oss.tresys.com/projects/${_origname}/chrome/site/dists/${_origname}-${pkgver}/${_origname}-${pkgver}.tar.bz2" "http://dev.gentoo.org/~swift/patches/0008-fix_swig_build_failures_bug_430262.patch")
+sha256sums=('44387ecc9a231ec536a937783440cd8960a72c51f14bffc1604b7525e341e999' '2f314f9236bf4c5137e1e5b1dd5bc312c4ce84942238b98725468e75096eae8f')

build() {
cd "${srcdir}/${_origname}-${pkgver}"
@@ -24,8 +24,10 @@
# Python 2 fix
export PYTHON=/usr/bin/python2

+ # apply patch
+ patch -Np1 -i ../0008-fix_swig_build_failures_bug_430262.patch
+
# Fix expected version of SWIG
- sed -i -e "s|AC_PROG_SWIG(1.3.28)|AC_PROG_SWIG(2.0.0)|g" configure.ac
aclocal
autoreconf -if
automake

xangelux commented on 2013-09-22 20:00

lol, sorry, didn't read the patch posted by looNag

xangelux commented on 2013-09-22 19:59

Found a patch, was made for version 3.3.7 but lets me build 3.3.8
http://dev.gentoo.org/~swift/patches/0008-fix_swig_build_failures_bug_430262.patch

Add the file to the sources array, add the sha256 (2f314f9236bf4c5137e1e5b1dd5bc312c4ce84942238b98725468e75096eae8f)

and put patch -p1 < "${srcdir}/0008-fix_swig_build_failures_bug_430262.patch" after changing dir

xangelux commented on 2013-09-22 19:56

Found a patch, was made for version 3.3.7 but lets me build 3.3.8
http://dev.gentoo.org/~swift/patches/0008-fix_swig_build_failures_bug_430262.patch

Nicky726 commented on 2013-09-22 14:39

Hi, guys, thank you for the feedback. Unfortunately, I am very busy recently, so I am afraid, I won't be able to do anything about the SELinux packages soon. If there happens to be someone willing with more time though, I could shift the maintenance of SELinux packages onto his shoulders. I could provide him with some helper scripts and local git repos which make following the Arch changes easier. Just send me a mail.

genghizkhan91 commented on 2013-09-22 13:03

Yeah. The only other option is to downgrade the swig package (as mentioned in the wiki, I think), and doing that isn't possible with the Arch Rollback Machine offline.

IooNag commented on 2013-09-22 12:54

selinux-setools fails to build with lastest swig package (2.0.11-1) but with Gentoo patch from http://www.spinics.net/lists/selinux/msg12952.html (http://dev.gentoo.org/~swift/patches/0008-fix_swig_build_failures_bug_430262.patch) the build is fine. Could you add this patch and update swig version in the build dependencies?