Package: kernel-patch-grsecurity2
Version: 2.1.9.1-1
Severity: normal

Without the patch the kernel is built without errors. Here is what
happens with the patch:

# tar xjf linux-source-2.6.18.tar.bz2 && cd linux-source-2.6.18
# cp /boot/conig-2.6.18 .config
# make oldconfig && make-kpkg clean
[...]
# make-kpkg --revision=2.6.18.20061018 --initrd
--added-patches=grsecurity2 kernel_image
====== making target minimal_debian [new prereqs: ]======
This is kernel package version .
test -d debian || mkdir debian
test ! -e stamp-building || rm -f stamp-building
test -f debian/control || sed         -e 's/=V/2.6.18/g'        \
                -e 's/=D/2.6.18.20061018/g'         -e 's/=A/i386/g'  \
                -e 's/=SA//g'   -e 's/=L/ /g' \
                -e 's/=I//g'                                    \
                -e 's/=CV/2.6/g'                       \
                -e 's/=M/Unknown Kernel Package Maintainer
<[EMAIL PROTECTED]>/g'                        \
                -e 's/=ST/linux/g'      -e 's/=B/i386/g'    \
                         /usr/share/kernel-package/Control > debian/control
test -f debian/changelog ||  sed -e 's/=V/2.6.18/g'             \
            -e 's/=D/2.6.18.20061018/g'        -e 's/=A/i386/g'       \
            -e 's/=ST/linux/g'     -e 's/=B/i386/g'         \
            -e 's/=M/Unknown Kernel Package Maintainer
<[EMAIL PROTECTED]>/g'                            
\
             /usr/share/kernel-package/changelog > debian/changelog
install -p -m 755 /usr/share/kernel-package/rules debian/rules
for file in ChangeLog  Control  Control.bin86 config templates.in rules;
do                                      \
            cp -f  /usr/share/kernel-package/$file
./debian/;                               \
        done
for dir  in Config docs examples ruleset scripts pkg po; 
do                                      \
          cp -af /usr/share/kernel-package/$dir 
./debian/;                                 \
        done
test -d ./debian/stamps || mkdir debian/stamps

====== making target CONFIG-common [new prereqs: testdir]======

====== making target debian/stamp-conf [new prereqs: ]======
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb || \
            mv -f scripts/package/builddeb
scripts/package/builddeb.kpkg-dist
test ! -e scripts/package/Makefile || \
            (mv -f scripts/package/Makefile
scripts/package/Makefile.kpkg-dist && \
               (echo "# Dummy file "; echo "help:") > 
scripts/package/Makefile)
test -d debian || mkdir ./debian
test ! -e stamp-building || rm -f stamp-building
test ! -f ./debian || test -f stamp-debian || test -f debian/official || \
               (rm -rf ./debian && mkdir ./debian)
test ! -f applied_patches || rm -f applied_patches
for patch in /usr/src/kernel-patches/all/apply/grsecurity2 ; do            \
          if test -x  $patch; then                    \
              if $patch; then                         \
                  echo "Patch $patch processed fine"; \
                  echo "$patch" >> applied_patches;   \
              else                                     \
                   echo "Patch $patch  failed.";      \
                   echo "Hit return to Continue";      \
                   read ans;                           \
              fi;                                      \
          fi;                                          \
        done
./include/config/usb/sisusbvga.h
[...]
./include/config/dummy/console.h
Done.
END applying grsecurity2 patch
Patch /usr/src/kernel-patches/all/apply/grsecurity2 processed fine
echo done >  stamp-patch
test -f stamp-debian  ||                                           \
          ( test -f debian/official && test -f debian/control) ||          \
           sed -e 's/=V/2.6.18/g'         -e
's/=D/2.6.18.20061018/g'        \
               -e 's/=A/i386/g'   -e 's/=SA//g'  \
                -e 's/=L/lilo (>= 19.1) | grub, /g' -e
's/=I/initramfs-tools (>= 0 .53) | yaird (>= 0.0.11) |
linux-initramfs-tool, /g'     \
                -e 's/=CV/2.6/g'                      \
                -e 's/=M/Unknown Kernel Package Maintainer
<[EMAIL PROTECTED] n.etc.kernel-pkg.conf>/g'                       \
                -e 's/=ST/linux/g'      -e 's/=B/i386/g'   \
                         /usr/share/kernel-package/Control> debian/control
test -f stamp-debian  ||    test -f debian/official ||                \
           sed -e 's/=V/2.6.18/g' -e
's/=D/2.6.18.20061018/g'                   \
            -e 's/=A/i386/g' -e 's/=M/Unknown Kernel Package Maintainer
<[EMAIL PROTECTED] nconfigured.in.etc.kernel-pkg.conf>/g' \
            -e 's/=ST/linux/g'     -e 's/=B/i386/g'           \
                /usr/share/kernel-package/changelog > debian/changelog
test  -f debian/rules || install -p -m 755
/usr/share/kernel-package/rules debian/ rules
test  -f stamp-debian || test -f debian/official ||                     \
           for file in ChangeLog  Control  Control.bin86 config
templates.in rules ; do                                      \
               cp -f  /usr/share/kernel-package/$file
./debian/;              \
           done
test  -f stamp-debian || test -f debian/official ||                     \
           for dir  in Config docs examples ruleset scripts pkg po; 
do                            \
             cp -af /usr/share/kernel-package/$dir 
./debian/;              \
           done
echo done >  stamp-debian
echo done >  debian/stamp-conf
====== making target CONFIG-common [new prereqs: stamp-conf]======
This is kernel package version 10.062.
====== making target stamp-arch-conf [new prereqs: CONFIG-common]======

====== making target CONFIG-arch [new prereqs: stamp-arch-conf]======
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
====== making target conf.vars [new prereqs: Makefile .config]======

make[3]: *** [silentoldconfig] Error 1
make[2]: *** [silentoldconfig] Error 2
sed: -e expression #1, char 1765: unterminated `s' command
make: *** [conf.vars] Error 1


The same problem does not arise with a simple 'make' command to build.

I do not have enough knowledge to be sure that the bug is not related to
another package (perhaps  kernel-package). I did not set the severity to
important since one can build a kernel without make-kpkg.

Regards

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable'), (500,
'proposed-updates'), (10, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-tiny1-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages kernel-patch-grsecurity2 depends on:
ii  bash                          3.1-5      The GNU Bourne Again SHell
ii  debconf [debconf-2.0]         1.5.5      Debian configuration
management sy
ii  grep-dctrl                    2.9.0      Grep Debian package
information -
ii  patch                         2.5.9-4    Apply a diff file to an
original

Versions of packages kernel-patch-grsecurity2 recommends:
pn  gradm2                        <none>     (no description available)
ii  kernel-package                10.062     A utility for building
Linux kerne
pn  kernel-source-2.6 | kernel-so <none>     (no description available)

-- debconf information:
* kernel-patch-grsecurity2/2.1.2-security:
* kernel-patch-grsecurity2/242x-warning:
* kernel-patch-grsecurity2/2.1.3-security:



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

Reply via email to