Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
setools-3.3.7-r3 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
abrand15
n00b
n00b


Joined: 18 Jul 2002
Posts: 38
Location: Providence, TX USA

PostPosted: Sun Sep 02, 2012 3:57 pm    Post subject: setools-3.3.7-r3 fails Reply with quote

While attempting to convert a standard Gentoo install to SELinux, following http://www.gentoo.org/proj/en/hardened/selinux/selinux-handbook.xml?part=2&chap=1, when I run ' FEATURES="-selinux" emerge selinux-base-policy' I end up with the following:

Code:
make[1]: *** [_apol.so.4.3] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libapol/swig/python-2.7'
make: *** [all] Error 2
emake failed
 * ERROR: app-admin/setools-3.3.7-r3 failed (compile phase):
 *   Building of Python bindings from libapol/swig/python directory with CPython 2.7 failed
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 7115:  Called python_execute_function '--action-message' 'Building of Python bindings from libapol/swig/python directory with $(python_get_implementation) $(python_get_version)' '--failure-message' 'Building of Python bindings from libapol/swig/python directory with $(python_get_implementation) $(python_get_version) failed' '-s' '--source-dir' 'libapol/swig/python' 'building'
 *   environment, line 5435:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of `emerge --info '=app-admin/setools-3.3.7-r3'`,
 * the complete build log and the output of `emerge -pqv '=app-admin/setools-3.3.7-r3'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-admin/setools-3.3.7-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/setools-3.3.7-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libapol/swig/python-2.7'
 * S: '/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7'

>>> Failed to emerge app-admin/setools-3.3.7-r3, Log file:

>>>  '/var/tmp/portage/app-admin/setools-3.3.7-r3/temp/build.log'

 * Messages for package app-admin/setools-3.3.7-r3:

 * ERROR: app-admin/setools-3.3.7-r3 failed (compile phase):
 *   Building of Python bindings from libapol/swig/python directory with CPython 2.7 failed
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 7115:  Called python_execute_function '--action-message' 'Building of Python bindings from libapol/swig/python directory with $(python_get_implementation) $(python_get_version)' '--failure-message' 'Building of Python bindings from libapol/swig/python directory with $(python_get_implementation) $(python_get_version) failed' '-s' '--source-dir' 'libapol/swig/python' 'building'
 *   environment, line 5435:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of `emerge --info '=app-admin/setools-3.3.7-r3'`,
 * the complete build log and the output of `emerge -pqv '=app-admin/setools-3.3.7-r3'`.
 * The complete build log is located at '/var/tmp/portage/app-admin/setools-3.3.7-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/setools-3.3.7-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libapol/swig/python-2.7'
 * S: '/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7'

_________________
UNIX IS user-friendly. It's just picky about who its friends are.
----
Do pencils miss spell words? No. Do cars make people drive drunk? No. Do utensils make people fat? No. Guns don't kill people either.
Back to top
View user's profile Send private message
abrand15
n00b
n00b


Joined: 18 Jul 2002
Posts: 38
Location: Providence, TX USA

PostPosted: Sun Sep 02, 2012 3:58 pm    Post subject: Reply with quote

the emerge --info output:

Code:
 # emerge --info '=app-admin/setools-3.3.7-r3'
Portage 2.1.11.9 (hardened/linux/x86/selinux, gcc-4.5.3, glibc-2.15-r2, 3.3.8-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.3.8-gentoo-i686-Intel-R-_Core-TM-_i7-3820_CPU_@_3.60GHz-with-gentoo-2.1
Timestamp of tree: Sun, 02 Sep 2012 03:00:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="bash-completion berkdb bzip2 cli cracklib crypt cxx dri gdbm gnuplot gpm hardened iconv ipv6 lua modules mudflap ncurses nls nptl open_perms openmp pam pax_kernel pcre pic pppd readline selinux session ssl tcl tcpd unicode urandom x86 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

_________________
UNIX IS user-friendly. It's just picky about who its friends are.
----
Do pencils miss spell words? No. Do cars make people drive drunk? No. Do utensils make people fat? No. Guns don't kill people either.
Back to top
View user's profile Send private message
amigadave
n00b
n00b


Joined: 29 Apr 2002
Posts: 55
Location: UK

PostPosted: Mon Nov 19, 2012 9:41 pm    Post subject: Reply with quote

If you have not already come across the answer, there is a bug when using the latest version of swig (2.0.8) which seems to cover this: app-admin/setools-3.3.7-r3 fails to build

You can try either temporarily downgrading swig to a 2.0.4 version, or keywording the latest (3.3.7-r5) version of setools, which should workaround the problem.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Tue Nov 20, 2012 2:47 am    Post subject: Reply with quote

Moved from Installing Gentoo to Portage & Programming.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
ootneg
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2003
Posts: 82

PostPosted: Wed Jan 09, 2013 5:46 am    Post subject: Reply with quote

amigadave wrote:
If you have not already come across the answer, there is a bug when using the latest version of swig (2.0.8) which seems to cover this: app-admin/setools-3.3.7-r3 fails to build

You can try either temporarily downgrading swig to a 2.0.4 version, or keywording the latest (3.3.7-r5) version of setools, which should workaround the problem.


Keywording worked for me. Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum