Package: realtime-lsm-source
Version: 0.1.1-6
Severity: important
Justification: fails to build from source

I have a 2.6.17 custom-kernel with the realtime-patch rt4 of Ingo Molnar 
running. The compilation with 'm-a build realtime-lsm' fails with this 
protocol-view:

dh_clean
make COMMONCAP=none clean
make[1]: Entering directory `/usr/src/modules/realtime-lsm'
rm -f *.ko *.o none
rm -f *.mod.* .*.cmd
make[1]: Leaving directory `/usr/src/modules/realtime-lsm'
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/realtime-lsm'
dh_clean
make COMMONCAP=none clean
make[2]: Entering directory `/usr/src/modules/realtime-lsm'
rm -f *.ko *.o none
rm -f *.mod.* .*.cmd
make[2]: Leaving directory `/usr/src/modules/realtime-lsm'
/usr/bin/gcc-4.0
for templ in 
/usr/src/modules/realtime-lsm/debian/realtime-lsm-module-_KVERS_.postinst 
/usr/src/modules/realtime-lsm/debian/realtime-lsm-module-_KVERS_.postinst.backup
 
/
usr/src/modules/realtime-lsm/debian/realtime-lsm-module-_KVERS_.postinst.modules.in;
 
do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.17-rt4-rt4/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} 
${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.17-rt4-rt4/g ;s/#KVERS#/2.6.17-rt4-rt4/g ; 
s/_KVERS_/2.6.17-rt4-rt4/g ; s/##KDREV##/0.1/g ; s/#KDREV#/0.1/g ; 
s/_KDREV_/0.1/g' < $templ > ${t
empl%.modules.in}; \
  done
dh_testdir
dh_testroot
dh_clean -k
make KERNEL_DIR=/lib/modules/2.6.17-rt4-rt4/source MODVERSIONS=detect 
KERNEL=linux-2.6.17-rt4-rt4 COMMONCAP=none
make[2]: Entering directory `/usr/src/modules/realtime-lsm'
CONFIG_SECURITY_CAPABILITIES=m
make CC=gcc-4.0 modules -C /lib/modules/2.6.17-rt4-rt4/source 
SUBDIRS=/usr/src/modules/realtime-lsm
make[3]: Entering directory `/usr/src/linux-2.6.17'
  CC [M]  /usr/src/modules/realtime-lsm/realcap.o
/usr/src/modules/realtime-lsm/realcap.c:36: error: syntax error before 
string constant
/usr/src/modules/realtime-lsm/realcap.c:36: warning: type defaults to 
'int' in declaration of 'MODULE_PARM'
/usr/src/modules/realtime-lsm/realcap.c:36: warning: function 
declaration isn't a prototype
/usr/src/modules/realtime-lsm/realcap.c:36: warning: data definition has 
no type or storage class
/usr/src/modules/realtime-lsm/realcap.c:40: error: syntax error before 
string constant
/usr/src/modules/realtime-lsm/realcap.c:40: warning: type defaults to 
'int' in declaration of 'MODULE_PARM'
/usr/src/modules/realtime-lsm/realcap.c:40: warning: function 
declaration isn't a prototype
/usr/src/modules/realtime-lsm/realcap.c:40: warning: data definition has 
no type or storage class
/usr/src/modules/realtime-lsm/realcap.c:44: error: syntax error before 
string constant
/usr/src/modules/realtime-lsm/realcap.c:44: warning: type defaults to 
'int' in declaration of 'MODULE_PARM'
/usr/src/modules/realtime-lsm/realcap.c:44: warning: function 
declaration isn't a prototype
/usr/src/modules/realtime-lsm/realcap.c:44: warning: data definition has 
no type or storage class
/usr/src/modules/realtime-lsm/realcap.c:48: error: syntax error before 
string constant
/usr/src/modules/realtime-lsm/realcap.c:48: warning: type defaults to 
'int' in declaration of 'MODULE_PARM'
/usr/src/modules/realtime-lsm/realcap.c:48: warning: function 
declaration isn't a prototype
/usr/src/modules/realtime-lsm/realcap.c:48: warning: data definition has 
no type or storage class
make[4]: *** [/usr/src/modules/realtime-lsm/realcap.o] Fehler 1
make[3]: *** [_module_/usr/src/modules/realtime-lsm] Fehler 2
make[3]: Leaving directory `/usr/src/linux-2.6.17'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/usr/src/modules/realtime-lsm'
make[1]: *** [binary-modules] Fehler 2
make[1]: Leaving directory `/usr/src/modules/realtime-lsm'
make: *** [kdist_build] Fehler 2

The same worked with my previous 2.6.14 custom kernel. With that kernel 
I had these Security option configured:
# Security options
#
# CONFIG_KEYS is not set
CONFIG_SECURITY=y
# CONFIG_SECURITY_NETWORK is not set
CONFIG_SECURITY_CAPABILITIES=m
# CONFIG_SECURITY_ROOTPLUG is not set
# CONFIG_SECURITY_SECLVL is not set
CONFIG_SECURITY_SELINUX=y
# CONFIG_SECURITY_SELINUX_BOOTPARAM is not set
# CONFIG_SECURITY_SELINUX_DISABLE is not set
CONFIG_SECURITY_SELINUX_DEVELOP=y
CONFIG_SECURITY_SELINUX_AVC_STATS=y
CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1

Now with the 2.6.17 I have these:
# Security options
#
# CONFIG_KEYS is not set
CONFIG_SECURITY=y
# CONFIG_SECURITY_NETWORK is not set
CONFIG_SECURITY_CAPABILITIES=m
# CONFIG_SECURITY_ROOTPLUG is not set
# CONFIG_SECURITY_SECLVL is not set

P.S. I seems I'll never know, if my old 850MHz-Laptop can have 
realtime-performance ;-)

Thanks for your time!

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (501, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rt4-rt4
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages realtime-lsm-source depends on:
ii  debhelper                     5.0.35     helper programs for debian/rules
ii  kernel-package                10.047     A utility for building Linux kerne
ii  module-assistant              0.10.4     tool to make module package creati

realtime-lsm-source recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to