Bug#872838: No longer compiled with m-a as of 4.11+

Justin Hallett thesin at me.com
Thu Oct 12 13:08:06 UTC 2017


Sadly it’s still not fixed.  Here is an attempt on an fully updated buster system as of this morning.

Different error point but still won’t compile.

make -C /lib/modules/4.13.0-1-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.13.0-1-686-pae'
  CC [M]  /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.o
  CC [M]  /usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.o
/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.c:273:2: error: unknown field ‘dev_attrs’ specified in initializer
  .dev_attrs = span_dev_attrs,
  ^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.c:273:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .dev_attrs = span_dev_attrs,
               ^~~~~~~~~~~~~~
/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.c:273:15: note: (near initialization for ‘spans_bus_type.probe’)
/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.c:711:2: error: unknown field ‘dev_attrs’ specified in initializer
  .dev_attrs = dahdi_device_attrs,
  ^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.c:711:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .dev_attrs = dahdi_device_attrs,
               ^~~~~~~~~~~~~~~~~~
/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.c:711:15: note: (near initialization for ‘dahdi_device_bus.probe’)
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.13.0-1-common/scripts/Makefile.build:307: recipe for target '/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.o' failed
make[6]: *** [/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.o] Error 1
/usr/src/linux-headers-4.13.0-1-common/Makefile:1529: 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.13.0-1-686-pae'
Makefile:74: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
make[2]: Leaving directory '/usr/src/modules/dahdi'
debian/rules:49: 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
BUILD FAILED!
See /var/cache/modass/dahdi-source.buildlog.4.13.0-1-686-pae.1507813335 for details.
Build failed. Press Return to continue…






cat /var/cache/modass/dahdi-source.buildlog.4.13.0-1-686-pae.1507813335
dh clean
   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.13.0-1-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.13.0-1-686-pae'
make[3]: Leaving directory '/usr/src/linux-headers-4.13.0-1-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.13.0-1-686-pae/build M='/usr/src/modules/dahdi/drivers/dahdi/oct612x' clean
make[3]: Entering directory '/usr/src/linux-headers-4.13.0-1-686-pae'
make[3]: Leaving directory '/usr/src/linux-headers-4.13.0-1-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_autoreconf_clean
   dh_clean
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory '/usr/src/modules/dahdi'
dh clean
   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.13.0-1-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.13.0-1-686-pae'
make[4]: Leaving directory '/usr/src/linux-headers-4.13.0-1-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.13.0-1-686-pae/build M='/usr/src/modules/dahdi/drivers/dahdi/oct612x' clean
make[4]: Entering directory '/usr/src/linux-headers-4.13.0-1-686-pae'
make[4]: Leaving directory '/usr/src/linux-headers-4.13.0-1-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_autoreconf_clean
   dh_clean
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/4.13.0-1-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.13.0-1-686-pae/g ;s/#KVERS#/4.13.0-1-686-pae/g ; s/_KVERS_/4.13.0-1-686-pae/g ; s/##KDREV##/4.13.4-1/g ; s/#KDREV#/4.13.4-1/g ; s/_KDREV_/4.13.4-1/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.13.0-1-686-pae/build MODVERSIONS=detect KERNEL=linux-4.13.0-1-686-pae 
make[2]: Entering directory '/usr/src/modules/dahdi'
make -C /lib/modules/4.13.0-1-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.13.0-1-686-pae'
  CC [M]  /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.o
  CC [M]  /usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.o
/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.c:273:2: error: unknown field ‘dev_attrs’ specified in initializer
  .dev_attrs = span_dev_attrs,
  ^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.c:273:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .dev_attrs = span_dev_attrs,
               ^~~~~~~~~~~~~~
/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.c:273:15: note: (near initialization for ‘spans_bus_type.probe’)
/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.c:711:2: error: unknown field ‘dev_attrs’ specified in initializer
  .dev_attrs = dahdi_device_attrs,
  ^
/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.c:711:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .dev_attrs = dahdi_device_attrs,
               ^~~~~~~~~~~~~~~~~~
/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.c:711:15: note: (near initialization for ‘dahdi_device_bus.probe’)
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.13.0-1-common/scripts/Makefile.build:307: recipe for target '/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.o' failed
make[6]: *** [/usr/src/modules/dahdi/drivers/dahdi/dahdi-sysfs.o] Error 1
/usr/src/linux-headers-4.13.0-1-common/Makefile:1529: 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.13.0-1-686-pae'
Makefile:74: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
make[2]: Leaving directory '/usr/src/modules/dahdi'
debian/rules:49: 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


---
TS
http://www.southofheaven.org/
Life begins and ends with chaos, live between the chaos!



More information about the Pkg-voip-maintainers mailing list