<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>87843</bug_id>
          
          <creation_ts>2005-04-03 14:42 0000</creation_ts>
          <short_desc>emerge rsbac-admin-1.2.4 fails, rsbac kernel is compiled</short_desc>
          <delta_ts>2005-04-08 00:48:35 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Hardened</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jry2000@seznam.cz</reporter>
          <assigned_to>hardened@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jry2000@seznam.cz</who>
            <bug_when>2005-04-03 14:42:41 0000</bug_when>
            <thetext>After succesfull build of rsbac kernel (using http://www.gentoo.org/proj/en/hardened/rsbac/quickstart.xml) 
next step is emerge rsbac-admin tools. This emerge fails at 

/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -Wall -Wstrict-prototypes -I/usr/src/linux/include -O2 -mcpu=athlon-xp -pipe -fomit-frame-pointer -lrsbac  -o libnss_rsbac.la -rpath /usr/lib -module -version-info 2 interface.lo  
i686-pc-linux-gnu-gcc -shared  .libs/interface.o  -lrsbac  -mcpu=athlon-xp -Wl,-soname -Wl,libnss_rsbac.so.2 -o .libs/libnss_rsbac.so.2.0.0
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lrsbac
collect2: ld returned 1 exit status
make[1]: *** [libnss_rsbac.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/rsbac-admin-1.2.4/work/rsbac-admin-v1.2.4/contrib/nss_rsbac/src&apos;
make: *** [all-recursive] Error 1
make: Leaving directory `/var/tmp/portage/rsbac-admin-1.2.4/work/rsbac-admin-v1.2.4/contrib/nss_rsbac&apos;




Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
emerge without any problem


Gentoo Base System version 1.6.9
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20050125-r1,
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Mobile AMD Athlon(tm) XP 2400+
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr  2 2005, 15:36:47)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -mcpu=athlon-xp -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -mcpu=athlon-xp -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://gentoo.ynet.sk/pub&quot;
LANG=&quot;cs_CZ&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://gentoo.ynet.sk/gentoo-portage&quot;
USE=&quot;x86 3dnow 3dnowex X adns alsa apm arts avi berkdb bitmap-fonts cdr crypt
cups dedicated divx4linux dvd emboss encode esd firebird font-server foomaticdb
fortran gdbm gif gpm gtk gtk2 hardened icq imlib ipv6 jabber java jpeg libg++
libwww live lzo mad mikmod mmx motif mozilla mozsvg mp3 mpeg mppe-mppc ncurses
network nls oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime
readline real sdl server spell ssl svga tcpd theora tiff tools truetype
truetype-fonts type1-fonts xinerama xml2 xmms xprint xv xvid zlib linguas_cs&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kang@gentoo.org</who>
            <bug_when>2005-04-04 04:27:26 0000</bug_when>
            <thetext>Pb with non preinstalled rsbac libs.
Fixed in tree. Please run emerge sync and try emerging the package again.
Thanks for reporting the issue!

(please report me if it works fine for you now)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kang@gentoo.org</who>
            <bug_when>2005-04-08 00:48:35 0000</bug_when>
            <thetext>Ok reoprted to work fine. Closing bug.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>