Created attachment 307601 [details] Output of emerge --info sys-libs/libselinux-2.1.9 Emerging of sys-libs/libselinux-2.1.9 halts on compiling. * Building of sys-libs/libselinux-2.1.9 with CPython 2.6... make -j2 CC=i686-pc-linux-gnu-gcc PYLIBVER=python2.6 PYPREFIX=python-2.6 'LDFLAGS=-fPIC -Wl,-O1 -Wl,--as-needed' pywrap bash exception.sh > selinuxswig_python_exception.i Package python-2.6 was not found in the pkg-config search path. Perhaps you should add the directory containing `python-2.6.pc' to the PKG_CONFIG_PATH environment variable No package 'python-2.6' found i686-pc-linux-gnu-gcc -O2 -march=native -pipe -I../include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DSHARED -c -o python-2.6audit2why.lo audit2why.c audit2why.c:6:20: fatal error: Python.h: No such file or directory compilation terminated. make: *** [python-2.6audit2why.lo] Error 1 make: *** Waiting for unfinished jobs.... emake failed * ERROR: sys-libs/libselinux-2.1.9 failed (compile phase): * Building failed with CPython 2.6 in building() function * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 3280: Called python_execute_function '-s' '--source-dir' 'src' 'building' * environment, line 1658: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of 'emerge --info =sys-libs/libselinux-2.1.9', * the complete build log and the output of 'emerge -pqv =sys-libs/libselinux-2.1.9'. * The complete build log is located at '/var/tmp/portage/sys-libs/libselinux-2.1.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libselinux-2.1.9/temp/environment'. * S: '/var/tmp/portage/sys-libs/libselinux-2.1.9/work/libselinux-2.1.9' I have run python-updater to try if there was anything wrong with my Python 2.6 installation and same problem has arised.
Portage 2.1.10.49 (hardened/linux/x86/selinux, gcc-4.5.3, glibc-2.13-r4, 3.2.2-hardened-r1mAchIna i686) ================================================================= System Settings ================================================================= System uname: Linux-3.2.2-hardened-r1mAchIna-i686-Unknown_CPU_Typ-with-gentoo-2.0.3 Timestamp of tree: Mon, 02 Apr 2012 18:45:01 +0000 app-shells/bash: 4.2_p20 dev-lang/python: 2.6.6-r2, 2.7.2-r3, 3.2.2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo sunrise ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -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/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo http://mirror.bytemark.co.uk/gentoo" 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="/var/lib/layman/sunrise" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl alsa apache2 berkdb bzip2 cdb cdr cli cracklib crypt cups curl cxx dovecot-sasl dri dvd fam gd gdbm gpm hardened iconv imap ipv6 kerberos libwww maildir managesieve mbox modules mudflap ncurses network-cron nis nls nptl nptlonly open_perms openmp pam pax_kernel pcre perc php pic pop3d postgres pppd readline samba sasl selinux session sieve sockets spell sqlite ssh ssl sysfs tcpd unicode urandom utp vda vhosts winbind x86 xml xorg 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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
Solved with upgrade to python 2.7.