Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207561 - sys-apps/realtime-lsm-0.8.5-r2 doesn't compile with 2.6.24 kernel
Summary: sys-apps/realtime-lsm-0.8.5-r2 doesn't compile with 2.6.24 kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
: 207597 (view as bug list)
Depends on:
Blocks: kernel-2.6.24
  Show dependency tree
 
Reported: 2008-01-26 15:18 UTC by Artemii
Modified: 2008-02-22 10:34 UTC (History)
3 users (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 Artemii 2008-01-26 15:18:59 UTC
Error is:

 * realtime-lsm requires that 'Default Linux Capabilities' be compiled as a module.
 * In your .config: CONFIG_SECURITY_CAPABILITIES=m
 * Through 'make menuconfig': Security options-> <M> Default Linux Capabilties

It is not possible to set this option to M on 2.6.24 kernel. This bug is similar to 207421

emerge --info

Portage 2.1.4 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo x86_64)
=================================================================
System uname: 2.6.24-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Sat, 26 Jan 2008 01:47:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -msse3 "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -msse3 "
DISTDIR="/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://mirror.aiya.ru/gentoo-portage"
USE="3dnow 3dnowext 7zip X Xaw3d a52 aac acl acpi alsa amd64 amr apache2 arts artworkextra audiofile avi berkdb bitmap-fonts bluetooth boost browserplugin bzip2 cairo cdr clamav cli cracklib crypt css cups dbus directfb djvu dri dts dv dvb dvd dvdr dvdread encode exif fbcon ffmpeg flac flash foomaticdb fortran freetype2 gdbm gif gimp gphoto2 gpm gtk gtk2 guile hal hdf5 htmlhandbook iconv ieee1394 imagemagick imlib ipv6 isdnlog jack java jpeg jpeg2k kde kdeenablefinal kipi ladspa lame latex lcms ldap libsamplerate lirc lm_sensors logrotate lzw lzw-tiff mad midi mmap mmx mmxext mng mono mozilla mp2 mp3 mp4 mpeg mudflap mysql ncurses neXt nls nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openal openexr opengl openmp pam pcre pdf pdflib perl png postgres ppds pppd pulseaudio python qt qt3 qt4 quicktime readline reflection reiserfs sdl sensord session slang slp sndfile sox speex spell spl sqlite3 sse sse2 ssl svg tcpd tetex theora threads tiff tools truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l v4l2 vcd visualization vorbis wifi wmf x264 xcb xcomposite xml xml2 xorg xpm xprint xrandr xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon fuji template ptp2 directory" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse penmount joystik" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-26 19:18:33 UTC
*** Bug 207597 has been marked as a duplicate of this bug. ***
Comment 2 juantxorena@gmail.com 2008-01-27 19:44:55 UTC
AFAIK realtime-lsm is deprecated in favour of setting realtime privileges via PAM or set_rlimits (see http://proaudio.tuxfamily.org/wiki/index.php?title=Realtime_%28RT%29_Kernel). IMHO trying to fix it doesn't make much sense.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2008-02-13 16:00:52 UTC
yep these bug probably needs to be closed as CANTFIX

External modules can no longer use the LSM framework. Such modules need to be reimplemented or just dropped.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2008-02-13 16:01:40 UTC
oh, and if the module is left in portage for users of older kernels, the ebuild should do a kernel version check and die on >=2.6.24 with an informative message
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-02-22 10:34:06 UTC
Realtime guide and realtime-lsm ebuilds updated.