Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129074 - libselinux 1.30 link problem
Summary: libselinux 1.30 link problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-06 16:29 UTC by Radoslaw Szkodzinski
Modified: 2006-04-06 21:04 UTC (History)
0 users

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 Radoslaw Szkodzinski 2006-04-06 16:29:53 UTC
Libselinux-1.30 Python wrapper fails to link, possibly because it's being built before the main library.
Of course, it's a blocker.

I'm trying to convert a working system to SELinux.

Fragment of compile log:
cc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=64 -I../include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o fsetfilecon.o fsetfilecon.c
cc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=64 -I../include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o getcon.o getcon.c
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lselinux
collect2: ld returned 1 exit status
make[1]: *** [_selinux.so] Błąd 1
make[1]: Leaving directory `/var/tmp/portage/libselinux-1.30/work/libselinux-1.30/src'
make: *** [pywrap] Błąd 2
make: *** Czekam na niezakończone zadania....
<snipped, lib and utils do compile>
make[1]: Leaving directory `/var/tmp/portage/libselinux-1.30/work/libselinux-1.30/utils'

!!! ERROR: sys-libs/libselinux-1.30 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  libselinux-1.30.ebuild, line 33:   Called die

Info:
!!! SELinux module not found. Please verify that it was installed.
Portage 2.1_pre7-r4 (selinux/2005.1/x86/hardened, gcc-3.4.6, glibc-2.4-r1, 2.6.17-rc1-astorm1 i686)
=================================================================
System uname: 2.6.17-rc1-astorm1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=64 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox selinux sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/lamip /usr/local/portage/local /usr/local/zugaina-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext a52 aac acpi aio akode ao aotuv apache2 artworkextra asf async authdaemond avalon bash-completion bcp berkdb big-tables bittorrent bjam bonobo browserplugin bzip2 cairo cdaudio cddb cdparanoia cdr cg cjk commercial crypt cscope cups curl custom-cflags dbus djbfft dlloader dvd dvdread dynagraph effects emacs erandom extraengine extraicons extramodules extras fb2k fbcon ffmpeg firefox flac font-server fontconfig fortran fpx ftp gcj gd gd-external gg glade glitz glut glx gnome gnutls gpgme graphviz gsm gtk gtkhtml guile hal hardened hou idn imagemagick imap inkjar innodb iontruetype jabber jack java javascript jbig jikes jpeg2k junit kdeenablefinal kdexdeltas keyscrub latex linguas_pl lm_sensors logrotate lua lzo matroska memlimit mimencode mmap mmx mng mod modplug mono mozdevelop mozilla mozsvg mpm-worker musepack ncurses nntp normalizemime nptl nptlonly nsplugin numeric nvidia objc openexr openssl pam pam_chroot pam_console pcre pdf php physfs pic playlist plotutils plugin pop portaudio ppds profile pyste python readline real rtc ruby samba sasl sdl selinux sensord sftplogging sid slang sndfile snmp socks5 sou speech speex sqlite sse ssl svg syslog tcltk tetex tga theora threads tiff timidity type1 ucs2 unicode urandom userlocales utf8 vcd vidix visualization voice wav win32codecs wma wmf wordexp x86 xanim xface xine xml xpm xvid xvmc zlib elibc_glibc input_devices_mouse input_devices_evdev input_devices_keyboard kernel_linux userland_GNU video_cards_nv video_cards_vga video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2006-04-06 21:04:10 UTC
fixed in cvs