Package: squashfs-source
Version: 1:3.2r2-8
Severity: wishlist
Tags: patch

*** Please type your report below this line ***

The squashfs-source module fails to build against kernel 2.6.23, due to 
"mm: Remove slab destructors from kmem_cache_create().", commit
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=20c2df83d25c6a95affe6157a4c9cac4cf5ffaac
and a missing #include preprocessor directive for kernel 2.6.23:
        CONFIG_SQUASHFS=m /usr/bin/make -C /tmp/pkg/linux 
M=/tmp/pkg/modules/squashfs modules
        make[4]: Entering directory `/tmp/pkg/linux-2.6.23-rc9-git2-slh64-smp-1'
          CC [M]  /tmp/pkg/modules/squashfs/inode.o
        /tmp/pkg/modules/squashfs/inode.c:89: error: variable 
'squashfs_export_ops' has initializer but incomplete type
        /tmp/pkg/modules/squashfs/inode.c:90: error: unknown field 'get_parent' 
specified in initializer
        /tmp/pkg/modules/squashfs/inode.c:91: warning: excess elements in 
struct initializer
        /tmp/pkg/modules/squashfs/inode.c:91: warning: (near initialization for 
'squashfs_export_ops')
        /tmp/pkg/modules/squashfs/inode.c: In function 'init_inodecache':
        /tmp/pkg/modules/squashfs/inode.c:2318: error: too many arguments to 
function 'kmem_cache_create'
        make[5]: *** [/tmp/pkg/modules/squashfs/inode.o] Error 1
        make[4]: *** [_module_/tmp/pkg/modules/squashfs] Error 2
        make[4]: Leaving directory `/tmp/pkg/linux-2.6.23-rc9-git2-slh64-smp-1'
        make[3]: *** [binary-modules] Error 2
        make[3]: Leaving directory `/tmp/pkg/modules/squashfs'
        make[2]: *** [kdist_build] Error 2
        make[2]: Leaving directory `/tmp/pkg/modules/squashfs'
        Module /tmp/pkg/modules/squashfs failed.
        Perhaps /tmp/pkg/modules/squashfs does not understand --rootcmd?
        If you see messages that indicate that it is not
        in fact being built as root, please file a bug
        against /tmp/pkg/modules/squashfs.
        Hit return to Continue?

Please add the attached patch, which has been tested against kernel 2.6.22 
and current 2.6.23 snapshots.

Regards
        Stefan Lippers-Hollmann

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-rc9-git2-slh64-smp-2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages squashfs-source depends on:
ii  bzip2                         1.0.3-7    high-quality block-sorting file co
ii  debhelper                     5.0.57     helper programs for debian/rules
ii  dpatch                        2.0.27     patch maintenance system for Debia
ii  make                          3.81-3     The GNU version of the "make" util
ii  module-assistant              0.10.11    tool to make module package creati

Versions of packages squashfs-source recommends:
pn  squashfs-tools                <none>     (no description available)

-- no debconf information

Attachment: 04-kcompat-2.6.23.dpatch
Description: application/shellscript

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to