Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20703 - sys-apps/selinux-small-2003011510-r3 Doesn't compile
Summary: sys-apps/selinux-small-2003011510-r3 Doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chris PeBenito (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-09 09:40 UTC by Michael Boman
Modified: 2003-05-21 21:16 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 Michael Boman 2003-05-09 09:40:34 UTC
hacklab root # emerge -Uuv --deep world
Calculating world dependencies ...done!
>>> emerge (1 of 51) sys-apps/selinux-small-2003011510-r3 to /
>>> md5 ;-) selinux-small-2003011510.tgz
>>> md5 ;-) selinux-small_2003011510-7.diff.gz
selinux
>>> Unpacking source...
>>> Unpacking selinux-small-2003011510.tgz to
/var/tmp/portage/selinux-small-2003011510-r3/work
>>> Unpacking selinux-small_2003011510-7.diff.gz to
/var/tmp/portage/selinux-small-2003011510-r3/work
>>> Source unpacked.
/usr/sbin/ebuild.sh: line 43: cd:
/var/tmp/portage/selinux-small-2003011510-r3/work/policy: No such file or directory
 * Applying selinux-small_2003011510-7.diff...                                 
                                                        [ ok ]
 * Applying selinux-small-2003011510-bison.diff...                             
                                                        [ ok ]
 * Compiling checkpolicy
make -C checkpolicy LSMDIR=../../../lsm-2.4
make[1]: Entering directory
`/var/tmp/portage/selinux-small-2003011510-r3/work/selinux/module/checkpolicy'
make[1]: *** No rule to make target `ebitmap.o', needed by `checkpolicy'.  Stop.
make[1]: Leaving directory
`/var/tmp/portage/selinux-small-2003011510-r3/work/selinux/module/checkpolicy'
make: *** [all] Error 2

!!! ERROR: sys-apps/selinux-small-2003011510-r3 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! Checkpolicy compilation failed


hacklab root # grep ^USE /etc/make.conf
USE="acpi alsa bonobo cdr dga directfb doc dvd esd ethereal evo fbcon gb gd ggi
gphoto2 gtkhtml guile imap innodb libgda maildir mbox mozilla mysql pda perl
plotutils samba scanner selinux slp snmp sse tcltk tetex tiff usb xml prelude"
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2003-05-09 12:31:52 UTC
Please make sure your /usr/src/linux symlink points to the selinux-sources or hardened-sources kernel.  Selinux-small will fail if the symlink is wrong.  ebitmap.c exists inside the kernel sources.  I'll be fixing the the selinux-small ebuild to check this.
Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2003-05-21 21:16:01 UTC
Ok, this check is in >=selinux-small-2003011510-r4, which is already marked stable.  It'll display a message if the kernel seems to be incorrect.