[Debian-ha-maintainers] Bug#563008: drbd8-source: compile error: lvalue required as increment operand

Lukasz Oles lukaszoles at gmail.com
Wed Dec 30 00:17:39 UTC 2009


Package: drbd8-source
Version: 2:8.3.4-1.1
Severity: normal

After running m-a a-i drbd8 I get this message

Extracting the package tarball, /usr/src/drbd8.tar.bz2, please wait...
dh_clean
/usr/bin/make -C /lib/modules/2.6.32-trunk-amd64/build M=/usr/src/modules/drbd8/drbd/ clean 
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-trunk-amd64'
  CLEAN   /usr/src/modules/drbd8/drbd//.tmp_versions
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-trunk-amd64'
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/drbd8'
dh_clean
/usr/bin/make -C /lib/modules/2.6.32-trunk-amd64/build M=/usr/src/modules/drbd8/drbd/ clean 
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-trunk-amd64'
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-trunk-amd64'
for templ in /usr/src/modules/drbd8/debian/drbd8-module-_KVERS_.postinst /usr/src/modules/drbd8/debian/drbd8-module-_KVERS_.postinst.modules.in; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.32-trunk-amd64/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.32-trunk-amd64/g ;s/#KVERS#/2.6.32-trunk-amd64/g ; s/_KVERS_/2.6.32-trunk-amd64/g ; s/##KDREV##/2.6.32-2/g ; s/#KDREV#/2.6.32-2/g ; s/_KDREV_/2.6.32-2/g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
dh_clean -k
make -C /lib/modules/2.6.32-trunk-amd64/build M=/usr/src/modules/drbd8/drbd/ modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-trunk-amd64'
  CC [M]  /usr/src/modules/drbd8/drbd/drbd_buildtag.o
  CC [M]  /usr/src/modules/drbd8/drbd/drbd_bitmap.o
  CC [M]  /usr/src/modules/drbd8/drbd/drbd_proc.o
  CC [M]  /usr/src/modules/drbd8/drbd/drbd_worker.o
  CC [M]  /usr/src/modules/drbd8/drbd/drbd_receiver.o
  CC [M]  /usr/src/modules/drbd8/drbd/drbd_req.o
/usr/src/modules/drbd8/drbd/drbd_req.c: In function ‘_drbd_start_io_acct’:
/usr/src/modules/drbd8/drbd/drbd_req.c:64: error: lvalue required as increment operand
/usr/src/modules/drbd8/drbd/drbd_req.c: In function ‘_drbd_end_io_acct’:
/usr/src/modules/drbd8/drbd/drbd_req.c:86: error: lvalue required as decrement operand
make[5]: *** [/usr/src/modules/drbd8/drbd/drbd_req.o] Error 1
make[4]: *** [_module_/usr/src/modules/drbd8/drbd] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-trunk-amd64'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/drbd8'
make: *** [kdist_build] Error 2
BUILD FAILED!
See /var/cache/modass/drbd8-source.buildlog.2.6.32-trunk-amd64.1262131336 for details.
Build failed. Press Return to continue...


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

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages drbd8-source depends on:
ii  bzip2                         1.0.5-3    high-quality block-sorting file co
ii  debhelper                     7.4.10     helper programs for debian/rules
ii  dpatch                        2.0.31     patch maintenance system for Debia
ii  module-assistant              0.11.1     tool to make module package creati

Versions of packages drbd8-source recommends:
ii  debconf-utils                 1.5.28     debconf utilities
ii  dpkg-dev                      1.15.5.5   Debian package development tools
ii  kernel-package                12.031     A utility for building Linux kerne

drbd8-source suggests no packages.

-- no debconf information





More information about the Debian-ha-maintainers mailing list