Package: btrfs-source
Version: 0.17-1
Severity: normal

Hello the hurd,

Because I failed to build the 'btrfs' ( Better FS ) module against
my live kernel, I wondered whether Debian sid packaged kernel
supported Debian sid provided 'btrfs-source' package.

That is it is unclear to me which kernel version, and precisely which
Debian-packaged kernel version, does Debian sid btrfs-source package
apply to.

In hope you could make things more obvious, or at least more documented.

Sincerely,
Valentin QUEQUET

Here follows my build attempt and failure:

cd /usr/src && m-a -i -v -t -l 2.6.26-1-686 clean,build btrfs

dpatch  deapply-all  
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
#dh_testroot
# Cleaning package
rm -f *.o version.h
dh_clean
/usr/bin/make  KERNELDIR=/lib/modules/2.6.26-1-686/build clean
make[1]: Entering directory `/usr/src/modules/btrfs'
/usr/bin/make -C /lib/modules/2.6.26-1-686/build M=`pwd` clean
make[2]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
make[2]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
make[1]: Leaving directory `/usr/src/modules/btrfs'
 debian/rules KVERS=2.6.26-1-686 KSRC=/lib/modules/2.6.26-1-686/build
KDREV=2.6.26-13 kdist_image
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/btrfs'
dpatch  deapply-all  
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
#dh_testroot
# Cleaning package
rm -f *.o version.h
dh_clean
/usr/bin/make -w KERNELDIR=/lib/modules/2.6.26-1-686/build clean
make[2]: Entering directory `/usr/src/modules/btrfs'
/usr/bin/make -C /lib/modules/2.6.26-1-686/build M=`pwd` clean
make[3]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
make[2]: Leaving directory `/usr/src/modules/btrfs'
make[1]: Nothing to be done for `kdist_config'.
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.26-1-686/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.26-1-686/g ;s/#KVERS#/2.6.26-1-686/g ;
s/_KVERS_/2.6.26-1-686/g ; s/##KDREV##/2.6.26-13/g ; s/#KDREV#/2.6.26-13/g ;
s/_KDREV_/2.6.26-13/g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testroot
dh_prep
# Build the module
/usr/bin/make KERNELDIR=/lib/modules/2.6.26-1-686/build
make[2]: Entering directory `/usr/src/modules/btrfs'
/usr/bin/make -C /lib/modules/2.6.26-1-686/build M=`pwd` CONFIG_BTRFS_FS=m
/ modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
  CC [M]  /usr/src/modules/btrfs/super.o
In file included from /usr/src/modules/btrfs/super.c:49:
/usr/src/modules/btrfs/volumes.h:45: error: expected
/ specifier-qualifier-list before 'fmode_t'
/usr/src/modules/btrfs/volumes.h:139: error: expected declaration specifiers
/ or '...' before 'fmode_t'
/usr/src/modules/btrfs/volumes.h:140: error: expected declaration specifiers
/ or '...' before 'fmode_t'
/usr/src/modules/btrfs/super.c:50:21: error: version.h: No such file or
/ directory
/usr/src/modules/btrfs/super.c:240: error: expected declaration specifiers
/ or '...' before 'fmode_t'
/usr/src/modules/btrfs/super.c: In function 'btrfs_parse_early_options':
/usr/src/modules/btrfs/super.c:271: error: 'flags' undeclared (first use in
/this function)
/usr/src/modules/btrfs/super.c:271: error: (Each undeclared identifier is
/reported only once
/usr/src/modules/btrfs/super.c:271: error: for each function it appears in.)
/usr/src/modules/btrfs/super.c:271: error: too many arguments to function
/'btrfs_scan_one_device'
/usr/src/modules/btrfs/super.c: In function 'btrfs_get_sb':
/usr/src/modules/btrfs/super.c:417: error: 'fmode_t' undeclared (first use
/in this function)
/usr/src/modules/btrfs/super.c:417: error: expected ';' before 'mode'
/usr/src/modules/btrfs/super.c:418: warning: ISO C90 forbids mixed
/declarations and code
/usr/src/modules/btrfs/super.c:421: error: 'mode' undeclared (first use in
/this function)
/usr/src/modules/btrfs/super.c:424: warning: passing argument 3 of
/'btrfs_parse_early_options' from incompatible pointer type
/usr/src/modules/btrfs/super.c:424: warning: passing argument 4 of
/'btrfs_parse_early_options' from incompatible pointer type
/usr/src/modules/btrfs/super.c:424: error: too many arguments to function
/'btrfs_parse_early_options'
/usr/src/modules/btrfs/super.c:428: warning: passing argument 3 of
/'btrfs_scan_one_device' from incompatible pointer type
/usr/src/modules/btrfs/super.c:428: error: too many arguments to function
/'btrfs_scan_one_device'
/usr/src/modules/btrfs/super.c:432: error: too many arguments to function
/'btrfs_open_devices'
/usr/src/modules/btrfs/super.c: In function 'btrfs_control_ioctl':
/usr/src/modules/btrfs/super.c:600: warning: passing argument 2 of
/'btrfs_scan_one_device' makes pointer from integer without a cast
/usr/src/modules/btrfs/super.c:600: warning: passing argument 3 of
/'btrfs_scan_one_device' from incompatible pointer type
/usr/src/modules/btrfs/super.c:600: error: too many arguments to function
/'btrfs_scan_one_device'
/usr/src/modules/btrfs/super.c: In function 'init_btrfs_fs':
/usr/src/modules/btrfs/super.c:689: error: 'BTRFS_BUILD_VERSION' undeclared
/(first use in this function)
make[4]: *** [/usr/src/modules/btrfs/super.o] Error 1
make[3]: *** [_module_/usr/src/modules/btrfs] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/modules/btrfs'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/btrfs'
make: *** [kdist_build] Error 2

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: lang=fr...@euro, lc_ctype=fr...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages btrfs-source depends on:
hi  bzip2                         1.0.5-1    high-quality block-sorting file co
hi  debhelper                     7.0.15     helper programs for debian/rules
hi  dpatch                        2.0.30     patch maintenance system for Debia
hi  make                          3.81-5     The GNU version of the "make" util
hi  module-assistant              0.10.11.0  tool to make module package creati

btrfs-source recommends no packages.

btrfs-source suggests no packages.

-- no debconf information




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to