Bug#794313: dahdi: DAHDI-modules build fails
Igor Liferenko
igor.liferenko at gmail.com
Sat Aug 1 08:13:56 UTC 2015
Package: dahdi
Version: 1:2.10.2-2
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Dear Maintainer,
After installing debain testing weekly build (from 2015-07-27) and installing DAHDI modules:
sudo apt-get install module-assistant
sudo module-assistant auto-install dahdi
I get this: "Build of the package dahdi-source failed!"
Build log follows.
dh clean
dh_testdir
debian/rules override_dh_auto_clean
make[1]: Entering directory '/usr/src/modules/dahdi'
rm -f include/dahdi/version.h
rm -f dahdi/include/version.h
[ ! -f Makefile ] || /usr/bin/make dist-clean || true
make[2]: Entering directory '/usr/src/modules/dahdi'
/usr/bin/make -C /lib/modules/4.0.0-2-686-pae/build SUBDIRS=/usr/src/modules/dahdi/drivers/dahdi DAHDI_INCLUDE=/usr/src/modules/dahdi/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes clean
make[3]: Entering directory '/usr/src/linux-headers-4.0.0-2-686-pae'
make[3]: Leaving directory '/usr/src/linux-headers-4.0.0-2-686-pae'
/usr/bin/make -C drivers/dahdi/firmware clean
make[3]: Entering directory '/usr/src/modules/dahdi/drivers/dahdi/firmware'
rm -f dahdi-fw-*.o
make[3]: Leaving directory '/usr/src/modules/dahdi/drivers/dahdi/firmware'
/usr/bin/make -C /lib/modules/4.0.0-2-686-pae/build M='/usr/src/modules/dahdi/drivers/dahdi/oct612x' clean
make[3]: Entering directory '/usr/src/linux-headers-4.0.0-2-686-pae'
make[3]: Leaving directory '/usr/src/linux-headers-4.0.0-2-686-pae'
make[3]: Entering directory '/usr/src/modules/dahdi/drivers/dahdi/firmware'
rm -f dahdi-fw-*.o
rm -f dahdi-fw-*.bin
rm -f dahdi-fw-*.tar.gz
rm -f dahdi-fwload-*.tar.gz
rm -f make_firmware_object
make[3]: Leaving directory '/usr/src/modules/dahdi/drivers/dahdi/firmware'
make[2]: Leaving directory '/usr/src/modules/dahdi'
make[1]: Leaving directory '/usr/src/modules/dahdi'
dh_clean
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory '/usr/src/modules/dahdi'
dh clean
dh_testdir
debian/rules override_dh_auto_clean
make[2]: Entering directory '/usr/src/modules/dahdi'
rm -f include/dahdi/version.h
rm -f dahdi/include/version.h
[ ! -f Makefile ] || /usr/bin/make dist-clean || true
make[3]: Entering directory '/usr/src/modules/dahdi'
/usr/bin/make -C /lib/modules/4.0.0-2-686-pae/build SUBDIRS=/usr/src/modules/dahdi/drivers/dahdi DAHDI_INCLUDE=/usr/src/modules/dahdi/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes clean
make[4]: Entering directory '/usr/src/linux-headers-4.0.0-2-686-pae'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
make[4]: Leaving directory '/usr/src/linux-headers-4.0.0-2-686-pae'
/usr/bin/make -C drivers/dahdi/firmware clean
make[4]: Entering directory '/usr/src/modules/dahdi/drivers/dahdi/firmware'
rm -f dahdi-fw-*.o
make[4]: Leaving directory '/usr/src/modules/dahdi/drivers/dahdi/firmware'
/usr/bin/make -C /lib/modules/4.0.0-2-686-pae/build M='/usr/src/modules/dahdi/drivers/dahdi/oct612x' clean
make[4]: Entering directory '/usr/src/linux-headers-4.0.0-2-686-pae'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
make[4]: Leaving directory '/usr/src/linux-headers-4.0.0-2-686-pae'
make[4]: Entering directory '/usr/src/modules/dahdi/drivers/dahdi/firmware'
rm -f dahdi-fw-*.o
rm -f dahdi-fw-*.bin
rm -f dahdi-fw-*.tar.gz
rm -f dahdi-fwload-*.tar.gz
rm -f make_firmware_object
make[4]: Leaving directory '/usr/src/modules/dahdi/drivers/dahdi/firmware'
make[3]: Leaving directory '/usr/src/modules/dahdi'
make[2]: Leaving directory '/usr/src/modules/dahdi'
dh_clean
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/4.0.0-2-686-pae/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##/4.0.0-2-686-pae/g ;s/#KVERS#/4.0.0-2-686-pae/g ; s/_KVERS_/4.0.0-2-686-pae/g ; s/##KDREV##/4.0.8-2/g ; s/#KDREV#/4.0.8-2/g ; s/_KDREV_/4.0.8-2/g ' < $templ > ${templ%.modules.in}; \
done
dh_testdir
dh_testroot
dh_prep
#cp -a /usr/src/modules/dahdi/debian/generated/* .
make modules KERNEL_SOURCES=/lib/modules/4.0.0-2-686-pae/build MODVERSIONS=detect KERNEL=linux-4.0.0-2-686-pae
make[2]: Entering directory '/usr/src/modules/dahdi'
make -C /lib/modules/4.0.0-2-686-pae/build SUBDIRS=/usr/src/modules/dahdi/drivers/dahdi DAHDI_INCLUDE=/usr/src/modules/dahdi/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[3]: Entering directory '/usr/src/linux-headers-4.0.0-2-686-pae'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
CC [M] /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.o
In file included from /usr/src/linux-headers-4.0.0-2-common/include/linux/fs.h:7:0,
from /usr/src/linux-headers-4.0.0-2-common/include/linux/proc_fs.h:8,
from /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:41:
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c: In function ‘chan_from_file’:
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:101:30: error: ‘struct file’ has no member named ‘f_dentry’
#define UNIT(file) MINOR(file->f_dentry->d_inode->i_rdev)
^
/usr/src/linux-headers-4.0.0-2-common/include/linux/kdev_t.h:10:38: note: in definition of macro ‘MINOR’
#define MINOR(dev) ((unsigned int) ((dev) & MINORMASK))
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:484:39: note: in expansion of macro ‘UNIT’
file->private_data : chan_from_num(UNIT(file));
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c: In function ‘dahdi_open’:
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:101:30: error: ‘struct file’ has no member named ‘f_dentry’
#define UNIT(file) MINOR(file->f_dentry->d_inode->i_rdev)
^
/usr/src/linux-headers-4.0.0-2-common/include/linux/kdev_t.h:10:38: note: in definition of macro ‘MINOR’
#define MINOR(dev) ((unsigned int) ((dev) & MINORMASK))
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:3285:13: note: in expansion of macro ‘UNIT’
int unit = UNIT(file);
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c: In function ‘dahdi_release’:
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:101:30: error: ‘struct file’ has no member named ‘f_dentry’
#define UNIT(file) MINOR(file->f_dentry->d_inode->i_rdev)
^
/usr/src/linux-headers-4.0.0-2-common/include/linux/kdev_t.h:10:38: note: in definition of macro ‘MINOR’
#define MINOR(dev) ((unsigned int) ((dev) & MINORMASK))
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:3805:13: note: in expansion of macro ‘UNIT’
int unit = UNIT(file);
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c: In function ‘dahdi_unlocked_ioctl’:
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:101:30: error: ‘struct file’ has no member named ‘f_dentry’
#define UNIT(file) MINOR(file->f_dentry->d_inode->i_rdev)
^
/usr/src/linux-headers-4.0.0-2-common/include/linux/kdev_t.h:10:38: note: in definition of macro ‘MINOR’
#define MINOR(dev) ((unsigned int) ((dev) & MINORMASK))
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:6956:13: note: in expansion of macro ‘UNIT’
int unit = UNIT(file);
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c: In function ‘set_spanno_and_basechan’:
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:7052:2: error: void value not ignored as it ought to be
dahdi_dev_dbg(ASSIGN, span_device(span),
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c: In function ‘_assign_spanno_and_basechan’:
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:7076:2: error: void value not ignored as it ought to be
dahdi_dev_dbg(ASSIGN, span_device(span),
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:7096:2: error: void value not ignored as it ought to be
dahdi_dev_dbg(ASSIGN, span_device(span),
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c: In function ‘_check_spanno_and_basechan’:
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:7146:2: error: void value not ignored as it ought to be
dahdi_dev_dbg(ASSIGN, span_device(span),
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:7152:3: error: void value not ignored as it ought to be
dahdi_dev_dbg(ASSIGN, span_device(span),
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:7180:2: error: void value not ignored as it ought to be
dahdi_dev_dbg(ASSIGN, span_device(span),
^
In file included from /usr/src/linux-headers-4.0.0-2-common/include/linux/fs.h:7:0,
from /usr/src/linux-headers-4.0.0-2-common/include/linux/proc_fs.h:8,
from /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:41:
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c: In function ‘dahdi_poll’:
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:101:30: error: ‘struct file’ has no member named ‘f_dentry’
#define UNIT(file) MINOR(file->f_dentry->d_inode->i_rdev)
^
/usr/src/linux-headers-4.0.0-2-common/include/linux/kdev_t.h:10:38: note: in definition of macro ‘MINOR’
#define MINOR(dev) ((unsigned int) ((dev) & MINORMASK))
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:9651:19: note: in expansion of macro ‘UNIT’
const int unit = UNIT(file);
^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c: In function ‘chan_from_file’:
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:485:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/usr/src/linux-headers-4.0.0-2-common/scripts/Makefile.build:263: recipe for target '/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.o' failed
make[6]: *** [/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.o] Error 1
/usr/src/linux-headers-4.0.0-2-common/Makefile:1407: recipe for target '_module_/usr/src/modules/dahdi/drivers/dahdi' failed
make[5]: *** [_module_/usr/src/modules/dahdi/drivers/dahdi] Error 2
Makefile:145: recipe for target 'sub-make' failed
make[4]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-4.0.0-2-686-pae'
Makefile:74: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
make[2]: Leaving directory '/usr/src/modules/dahdi'
debian/rules:48: recipe for target 'binary-modules' failed
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory '/usr/src/modules/dahdi'
/usr/share/modass/include/common-rules.make:56: recipe for target 'kdist_build' failed
make: *** [kdist_build] Error 2
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 4.0.0-2-686-pae (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
Init: systemd (via /run/systemd/system)
Versions of packages dahdi depends on:
ii dahdi-linux 1:2.10.0.1~dfsg-1
ii fxload 0.0.20081013-1
ii libc6 2.19-19
ii libnewt0.52 0.52.18-1
ii libusb-0.1-4 2:0.1.12-25
ii perl 5.20.2-6
ii procps 2:3.3.10-2
ii usbutils 1:007-2
dahdi recommends no packages.
dahdi suggests no packages.
-- no debconf information
More information about the Pkg-voip-maintainers
mailing list