Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542032 - app-admin/setools-3.8.8-r7 - Error: SWIG version >= 2.0.0 is required. You have 3.0.5.
Summary: app-admin/setools-3.8.8-r7 - Error: SWIG version >= 2.0.0 is required. You h...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard: selinux-utils
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-03 19:54 UTC by Sven Vermeulen (RETIRED)
Modified: 2015-05-10 10:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2015-03-03 19:54:33 UTC
As per bug #538820:

 * python3_4: running building libapol/swig/python
make -j5 LD=x86_64-pc-linux-gnu-ld.bfd SWIG_PYTHON_CPPFLAGS=-I/usr/include/python3.4 'PYTHON_LDFLAGS=-lpython3.4 ' pyexecdir=/usr/lib64/python3.4/site-packages pythondir=/usr/lib64/python3.4/site-packages -C libapol/swig/python
make: Entering directory '/var/tmp/portage/app-admin/setools-3.3.8-r7/work/setools-3.3.8/libapol/swig/python'
echo "Error: SWIG version >= 2.0.0 is required.  You have 3.0.5.  You should look at http://www.swig.org" ; false -python -o apol_wrap.c -I../../../libapol/include -I../../../libqpol/swig ../apol.i
Error: SWIG version >= 2.0.0 is required.  You have 3.0.5.  You should look at http://www.swig.org
Makefile:700: recipe for target 'apol_wrap.c' failed
make: *** [apol_wrap.c] Error 1
make: Leaving directory '/var/tmp/portage/app-admin/setools-3.3.8-r7/work/setools-3.3.8/libapol/swig/python'
 * ERROR: app-admin/setools-3.3.8-r7::gentoo failed (compile phase):
 *   emake failed

Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2015-03-03 20:02:23 UTC
I removed the SWIG check (as we already have the dependency in DEPEND) as we did for the setools-3.8.8-r5 and earlier again.

You'll need to resync portage tree a little over an hour or so and rebuild. To see if the ebuild has the fix, just grep for this bug number (542032):

$ grep 542032 /usr/portage/app-admin/setools/setools-3.3.8-r7.ebuild 
        # Disable broken check for SWIG version. Bug #542032
Comment 2 Jason Zaman gentoo-dev 2015-05-10 10:23:47 UTC
2.4 userland is stable now