Bug#879043: dahdi-linux No longer compiled with m-a as of 4.13: unknown field ‘dev_attrs’

Adrian Bunk bunk at debian.org
Thu Oct 19 07:08:31 UTC 2017


reassign 879043 dahdi-source 1:2.11.1.0.20170917~dfsg-1
thanks

On Wed, Oct 18, 2017 at 08:19:26PM +0300, Tzafrir Cohen wrote:
> Package: Justin Hallett <thesin at me.com>
> Version: 1:2.11.1.0.20170917~dfsg-1
> Flags: patch upstream
> Forwarded: https://issues.asterisk.org/jira/browse/DAHLIN-356
> Severity: grave
> 
> As of kernel 4.13, build fails with the following error:
> 
>   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,
>                ^~~~~~~~~~~~~~~~~~
> 
> -- 
>                Tzafrir Cohen
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com




More information about the Pkg-voip-maintainers mailing list