Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167007 - sys-libs/libselinux-1.34.0 does not compile
Summary: sys-libs/libselinux-1.34.0 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-15 12:10 UTC by Alien
Modified: 2007-02-16 00:11 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 Alien 2007-02-15 12:10:02 UTC
>>> Unpacking source...
>>> Unpacking libselinux-1.34.0.tgz to /var/tmp/portage/sys-libs/libselinux-1.34.0/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-libs/libselinux-1.34.0/work/libselinux-1.34.0 ...
make -C src 
make[1]: Entering directory `/var/tmp/portage/sys-libs/libselinux-1.34.0/work/libselinux-1.34.0/src'
cc -O2 -march=i686 -pipe -I../include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -mno-tls-direct-seg-refs -c -o avc.o avc.c
cc -O2 -march=i686 -pipe -I../include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -mno-tls-direct-seg-refs -c -o avc_internal.o avc_internal.c
<...........>
cc -O2 -march=i686 -pipe -I../include -D_GNU_SOURCE  -fPIC   togglesebool.c  -L../src -lselinux -lsepol -L/usr/lib -o togglesebool
make[1]: Leaving directory `/var/tmp/portage/sys-libs/libselinux-1.34.0/work/libselinux-1.34.0/utils'
make -C src pywrap
make[1]: Entering directory `/var/tmp/portage/sys-libs/libselinux-1.34.0/work/libselinux-1.34.0/src'
swig -Wall -python -o selinuxswig_wrap.c -outdir ./ selinuxswig.i
make[1]: swig: Command not found
make[1]: *** [selinuxswig_wrap.c] Error 127
make[1]: Leaving directory `/var/tmp/portage/sys-libs/libselinux-1.34.0/work/libselinux-1.34.0/src'
make: *** [pywrap] Error 2

!!! ERROR: sys-libs/libselinux-1.34.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3140:   Called src_compile
  libselinux-1.34.0.ebuild, line 38:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-libs/libselinux-1.34.0/temp/build.log'.
Comment 1 Alien 2007-02-15 12:11:20 UTC
Portage 2.1.2-r9 (default-linux/x86/2006.1/server, gcc-3.4.6, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 AMD Sempron(tm) Processor 3100+
Gentoo Base System version 1.12.9
Timestamp of tree: Thu, 15 Feb 2007 10:30:01 +0000
ccache version 2.4 [disabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks loadpolicy metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow apache2 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri fortran ftp gd gdbm geoip gpm iconv imap ipv6 isdnlog latin1 ldap libg++ maildir midi mmx mysql mysqli ncurses nls nptl nptlonly oracle oracle7 pam pcre perl ppds pppd python readline reflection sasl session snmp spl sqlite sse2 ssl symlink tcpd truetype truetype-fonts trutype type1-fonts unicode 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-15 22:14:23 UTC
NOT a Gentoo Bugzilla product bug.
Comment 3 Xake 2007-02-15 22:22:22 UTC
There seems to be a missing dependency on swig.
emerge swig -1 && emerge libselinux -1 works.

Jakub: where should we report missing deps for packages in portage?
Comment 4 Stephen Bennett (RETIRED) gentoo-dev 2007-02-16 00:11:03 UTC
Yeah, missing swig depend. Fixed in CVS.