Package: loop-aes-source
Version: 3.1c-3
Severity: important
Justification: fails to build from source

When I try to build the sources with make-kpkg for 2.6.16,
i get the following: (this applies to both 2.6.16-1 and 2.6.16-2)

make-kpkg --added-modules loop-aes modules_image 

-------------------------------------------------------------------

exec debian/rules  DEBIAN_REVISION=2.6.16-10.00.Custom  
KPKG_SELECTED_MODULES="loop-aes"  modules_image 
====== making .config because of Makefile ======

test -f .config || test ! -f .config.save || \
                            cp -pf .config.save .config
test -f .config || test ! -f .config || \
                            cp -pf .config .config
test -f .config || test ! -f ./debian/config || \
                            cp -pf ./debian/config  .config
test -f .config || (echo "*** Need a config file .config" && false)
for module in /usr/src/modules/loop-aes ; do                       \
          if test -d  $module; then                                \
            (cd $module;                                          \
              if ./debian/rules KVERS="2.6.16" KSRC="/usr/src/linux" \
                             KMAINT="Csillag Kristof" KEMAIL="[EMAIL 
PROTECTED]"      \
                             KPKG_DEST_DIR="/usr/src/linux/.."       \
                             KPKG_MAINTAINER="Csillag Kristof"        \
                             KPKG_EXTRAV_ARG=""        \
                             ARCH="i386"                  \
                             KDREV="2.6.16-10.00.Custom" kdist_image; then    \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   if [ "X" != "X" ]; then      \
                      echo "Perhaps $module does not understand --rootcmd?";  \
                      echo "If you see messages that indicate that it is not"; \
                      echo "in fact being built as root, please file a bug ";  \
                      echo "against $module.";                     \
                   fi;                                              \
                   echo "Hit return to Continue";                   \
                 read ans;                                        \
              fi;                                                   \
             );                                                    \
          else                                                      \
               echo "Module $module does not exist";               \
               echo "Hit return to Continue?";                      \
          fi;                                                       \
        done
make[1]: Entering directory `/usr/src/modules/loop-aes'
/usr/bin/make -w -f debian/rules kdist_clean kdist_config binary-modules
make[2]: Entering directory `/usr/src/modules/loop-aes'
make -f debian/rules clean
make[3]: Entering directory `/usr/src/modules/loop-aes'
dh_testdir
dh_testroot
make -C loop-AES clean
make[4]: Entering directory `/usr/src/modules/loop-aes/loop-AES'
rm -f *.o *.ko *.orig *.rej *.mod.c patched-loop.[ch] test-file[1234]
rm -f -r test-dir1 tmp-d-kbuild
make[4]: Leaving directory `/usr/src/modules/loop-aes/loop-AES'
make -C ciphers clean
make[4]: Entering directory `/usr/src/modules/loop-aes/ciphers'
rm -f *.o *.ko *.mod.c test-file[1234]
rm -f -r test-dir1 tmp-d-kbuild
make[4]: Leaving directory `/usr/src/modules/loop-aes/ciphers'
rm -f configure-stamp build-stamp install-stamp
dh_clean
dpatch deapply-all -v
rm -rf patch-stamp debian/patched
make[3]: Leaving directory `/usr/src/modules/loop-aes'
dpatch apply-all -v
touch patch-stamp
/usr/bin/gcc-4.0
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.16/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.16/g ;s/#KVERS#/2.6.16/g ; s/_KVERS_/2.6.16/g ; 
s/##KDREV##/2.6.16-10.00.Custom/g ; s/#KDREV#/2.6.16-10.00.Custom/g ; 
s/_KDREV_/2.6.16-10.00.Custom/g' < $templ > ${templ%.modules.in}; \
  done
touch configure-stamp
/usr/bin/make -C loop-AES KEYSCRUB=y RUNDM=n MODINST=n 
MODVERDIR=/usr/src/modules/loop-aes/symbols  USE_KBUILD=y 
LINUX_SOURCE=/usr/src/linux CC=gcc-4.0 
make[3]: Entering directory `/usr/src/modules/loop-aes/loop-AES'
rm -r -f tmp-d-kbuild
mkdir tmp-d-kbuild
cd tmp-d-kbuild && ln -s ../loop.c-2.6.patched patched-loop.c && ln -s 
../glue.c glue.c && ln -s ../aes.h aes.h && ln -s ../md5.h md5.h
cd tmp-d-kbuild && ln -s ../aes-x86.S aes-x86.S && ln -s ../md5-x86.S md5-x86.S
echo 'loop-y:=patched-loop.o glue.o aes-x86.o md5-x86.o' >>tmp-d-kbuild/Makefile
echo 'EXTRA_CFLAGS:=    -D"KBUILD_STR(s)=#s" -DCONFIG_BLK_DEV_LOOP_KEYSCRUB=1 
-DX86_ASM' >>tmp-d-kbuild/Makefile
echo 'obj-m:=loop.o' >>tmp-d-kbuild/Makefile
cd /usr/src/linux && make M=/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild 
modules 
make[4]: Entering directory `/usr/src/linux-source-2.6.16'
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `set -e;     echo '  CC [M]  
/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/patched-loop.o'; gcc-4.0 
-Wp,-MD,/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/.patched-loop.o.d  
-nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include -D__KERNEL__ 
-Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes 
-Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2     
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2  
-march=i686 -mtune=pentium3 -Iinclude/asm-i386/mach-default 
-Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=  -DMODULE 
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(patched_loop)"  
-D"KBUILD_MODNAME=KBUILD_STR(loop)" -c -o 
/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/patched-loop.o 
/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/patched-loop.c;  
scripts/basic/fixdep 
/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/.patched-loop.o.d 
/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/patched-loop.o 'gcc-4.0 
-Wp,-MD,/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/.patched-loop.o.d  
-nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include -D__KERNEL__ 
-Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes 
-Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2     
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2  
-march=i686 -mtune=pentium3 -Iinclude/asm-i386/mach-default 
-Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=  -DMODULE 
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(patched_loop)"  
-D"KBUILD_MODNAME=KBUILD_STR(loop)" -c -o 
/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/patched-loop.o 
/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/patched-loop.c' > 
/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/.patched-loop.o.tmp; rm -f 
/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/.patched-loop.o.d; mv -f 
/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/.patched-loop.o.tmp 
/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/.patched-loop.o.cmd'
make[5]: *** [/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild/patched-loop.o] 
Error 2
make[4]: *** [_module_/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild] Error 2
make[4]: Leaving directory `/usr/src/linux-source-2.6.16'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/modules/loop-aes/loop-AES'
make[2]: *** [build-stamp] Error 2
make[2]: Leaving directory `/usr/src/modules/loop-aes'
make[1]: *** [kdist_build] Error 2
make[1]: Leaving directory `/usr/src/modules/loop-aes'
Module /usr/src/modules/loop-aes failed.
Hit return to Continue
------------------------------------------------------------------------------------------

This is new; for 2.6.15, this used to work.

Please let me know how can I help you to debug this!

Best wishes:

    Kristof Csillag
    
    
-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.15
Locale: LANG=hu_HU, LC_CTYPE=hu_HU (charmap=ISO-8859-2)

Versions of packages loop-aes-source depends on:
ii  build-essential               11.2       informational list of build-essent
ii  bzip2                         1.0.2-7    high-quality block-sorting file co
ii  debhelper                     5.0.25     helper programs for debian/rules
ii  dpatch                        2.0.10     patch maintenance system for Debia
ii  module-assistant              0.10.2     tool to make module package creati

-- no debconf information


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

Reply via email to