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

version graph

Package: dahdi-source; Maintainer for dahdi-source is Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>; Source for dahdi-source is src:dahdi-linux (PTS, buildd, popcon).

Reported by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

Date: Wed, 18 Oct 2017 17:27:02 UTC

Severity: grave

Found in version dahdi-linux/1:2.11.1.0.20170917~dfsg-1

Fixed in version dahdi-linux/1:2.11.1.0.20170917~dfsg-3

Done: Tzafrir Cohen <tzafrir@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://issues.asterisk.org/jira/browse/DAHLIN-356

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#879043; Package justin hallett <thesin@me.com>. (Wed, 18 Oct 2017 17:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Tzafrir Cohen <tzafrir.cohen@xorcom.com>:
New Bug report received and forwarded. Copy sent to unknown-package@qa.debian.org. (Wed, 18 Oct 2017 17:27:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
To: submit@bugs.debian.org
Cc: Justin Hallett <thesin@me.com>
Subject: dahdi-linux No longer compiled with m-a as of 4.13: unknown field ‘dev_attrs’
Date: Wed, 18 Oct 2017 20:19:26 +0300
Package: Justin Hallett <thesin@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@xorcom.com
http://www.xorcom.com



Bug reassigned from package 'justin hallett &lt;thesin@me.com&gt;' to 'dahdi-source'. Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Thu, 19 Oct 2017 07:12:06 GMT) (full text, mbox, link).


No longer marked as found in versions 1:2.11.1.0.20170917~dfsg-1. Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Thu, 19 Oct 2017 07:12:07 GMT) (full text, mbox, link).


Marked as found in versions dahdi-linux/1:2.11.1.0.20170917~dfsg-1. Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Thu, 19 Oct 2017 07:12:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>:
Bug#879043; Package dahdi-source. (Sat, 30 Dec 2017 22:51:06 GMT) (full text, mbox, link).


Acknowledgement sent to Bernhard Schmidt <berni@birkenwald.de>:
Extra info received and forwarded to list. Copy sent to Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>. (Sat, 30 Dec 2017 22:51:06 GMT) (full text, mbox, link).


Message #16 received at 879043@bugs.debian.org (full text, mbox, reply):

From: Bernhard Schmidt <berni@birkenwald.de>
To: Tzafrir Cohen <tzafrir.cohen@xorcom.com>, 879043@bugs.debian.org
Subject: Re: Bug#879043: dahdi-linux No longer compiled with m-a as of 4.13: unknown field ‘dev_attrs’
Date: Sat, 30 Dec 2017 23:47:21 +0100
On Wed, Oct 18, 2017 at 08:19:26PM +0300, Tzafrir Cohen wrote:

Hi Tzafrir,

> 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:

Any update on this? The JIRA ticket seems to have a proposed patch
attached, but it's not merged yet.

Bernhard



Information forwarded to debian-bugs-dist@lists.debian.org, Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>:
Bug#879043; Package dahdi-source. (Mon, 01 Jan 2018 12:57:06 GMT) (full text, mbox, link).


Acknowledgement sent to Tzafrir Cohen <tzafrir.cohen@xorcom.com>:
Extra info received and forwarded to list. Copy sent to Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>. (Mon, 01 Jan 2018 12:57:06 GMT) (full text, mbox, link).


Message #21 received at 879043@bugs.debian.org (full text, mbox, reply):

From: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
To: Bernhard Schmidt <berni@birkenwald.de>
Cc: 879043@bugs.debian.org
Subject: Re: Bug#879043: dahdi-linux No longer compiled with m-a as of 4.13: unknown field ‘dev_attrs’
Date: Mon, 1 Jan 2018 14:48:37 +0200
On Sat, Dec 30, 2017 at 11:47:21PM +0100, Bernhard Schmidt wrote:
> On Wed, Oct 18, 2017 at 08:19:26PM +0300, Tzafrir Cohen wrote:
> 
> Hi Tzafrir,
> 
> > 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:
> 
> Any update on this? The JIRA ticket seems to have a proposed patch
> attached, but it's not merged yet.

I pushed the fix to Upstream git. I don't think there's any upcoming
version. So it looks like a new git snapshot will do (also for better
hardware support).

And then I noticed that it fails to build with 4.15. Can be fixed, but
will require some more testing. I think I'll try to get this through
before 4.15 gets into Unstable:

https://issues.asterisk.org/jira/browse/DAHLIN-359

-- 
               Tzafrir Cohen
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com



Reply sent to Tzafrir Cohen <tzafrir@debian.org>:
You have taken responsibility. (Wed, 10 Jan 2018 22:39:07 GMT) (full text, mbox, link).


Notification sent to Tzafrir Cohen <tzafrir.cohen@xorcom.com>:
Bug acknowledged by developer. (Wed, 10 Jan 2018 22:39:08 GMT) (full text, mbox, link).


Message #26 received at 879043-close@bugs.debian.org (full text, mbox, reply):

From: Tzafrir Cohen <tzafrir@debian.org>
To: 879043-close@bugs.debian.org
Subject: Bug#879043: fixed in dahdi-linux 1:2.11.1.0.20170917~dfsg-3
Date: Wed, 10 Jan 2018 22:34:48 +0000
Source: dahdi-linux
Source-Version: 1:2.11.1.0.20170917~dfsg-3

We believe that the bug you reported is fixed in the latest version of
dahdi-linux, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 879043@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tzafrir Cohen <tzafrir@debian.org> (supplier of updated dahdi-linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 10 Jan 2018 23:40:10 +0200
Source: dahdi-linux
Binary: dahdi-linux dahdi-source
Architecture: source all
Version: 1:2.11.1.0.20170917~dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Changed-By: Tzafrir Cohen <tzafrir@debian.org>
Description:
 dahdi-linux - DAHDI telephony interface - Linux userspace parts
 dahdi-source - DAHDI telephony interface - source code for kernel driver
Closes: 879043
Changes:
 dahdi-linux (1:2.11.1.0.20170917~dfsg-3) unstable; urgency=medium
 .
   * Add dev_attr.patch: fix building with 4.13 (Closes: #879043)
   * Refresh dahdi_linux_extra:
     - Rebased on recent master
     - also fix opvxa1200 with 4.11
     - Tweaks of ZapHFC
   * tar --sort=name for reproducible build for the dahdi-source tarball
   * modulestest: fix usage with debuild
   * Add gbp.conf: use pristine-tar
   * copyright: https standard URL
   * Switch to Salsa.
   * Standards version 4.1.3
   * An example dynamic DAHDI systemd service
Checksums-Sha1:
 a3975be2c1e744dae7a04cabf9a63355ba24feee 2021 dahdi-linux_2.11.1.0.20170917~dfsg-3.dsc
 8e5a742475e4cb3ad97cd45802d7d9dc8a1280d3 72512 dahdi-linux_2.11.1.0.20170917~dfsg-3.debian.tar.xz
 014d40e53701183717ddf7299107ab3c684e1cf1 84552 dahdi-linux_2.11.1.0.20170917~dfsg-3_all.deb
 7f2c3787f11f705e18db3f73664b89f9a1e836e4 6125 dahdi-linux_2.11.1.0.20170917~dfsg-3_amd64.buildinfo
 dc824896205ae1aa530ef0ba927d92f7ac94f94b 903220 dahdi-source_2.11.1.0.20170917~dfsg-3_all.deb
Checksums-Sha256:
 a0e2bc7562b638e49b10fa8ece8fe24a0e7606e6ba5531c88b59ee51d9ab0e90 2021 dahdi-linux_2.11.1.0.20170917~dfsg-3.dsc
 e8d03e6ae1ff8e158264dff59630f8ead60c5556516e3de5a0ee61e43ed02830 72512 dahdi-linux_2.11.1.0.20170917~dfsg-3.debian.tar.xz
 c0b4a0f3144c830bd3aecd2441082517277bcefbfb67d03dca9f940d6df4186f 84552 dahdi-linux_2.11.1.0.20170917~dfsg-3_all.deb
 c0bc39b401487fc3fd4421b8b1c14f9aca369ffb90cf78f5ad534e0b4fe2109f 6125 dahdi-linux_2.11.1.0.20170917~dfsg-3_amd64.buildinfo
 84c716148d588f40880d759e5eb38694e93852b673cbc01d7af70e906295709b 903220 dahdi-source_2.11.1.0.20170917~dfsg-3_all.deb
Files:
 f874cb4942cf12f63d7d71118c0f2ca5 2021 comm optional dahdi-linux_2.11.1.0.20170917~dfsg-3.dsc
 58f29542adb17364dfeac14119ff6c05 72512 comm optional dahdi-linux_2.11.1.0.20170917~dfsg-3.debian.tar.xz
 17512d7242fed4895fb0a47071393768 84552 comm optional dahdi-linux_2.11.1.0.20170917~dfsg-3_all.deb
 ecd62faf8f45142749dc7bedf6450088 6125 comm optional dahdi-linux_2.11.1.0.20170917~dfsg-3_amd64.buildinfo
 381b1ccd36cc37824bd282ab3942229a 903220 kernel optional dahdi-source_2.11.1.0.20170917~dfsg-3_all.deb

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCAAdFiEEjhGGa0mM+W3ykQJyjv1MLwMloM4FAlpWiW4ACgkQjv1MLwMl
oM4OBwwAli1p8eFyCyf2RQYr0bKlZ4gzuYWcR0EjV+t+LEyq0w/JZpTOcy1bCIAT
SvN3eq/wSXwFpdcW6YW1NiahtYX+q3C8mAF1MHQQuuTFqeIplyVopnPCBtWpRhxN
PLx+MNHL1fkBeO2vDnN0IR/Yc1euc0RM+NphurpRF19D4Iaq0I/mSpxIis2o/ClV
Vd37XjJK+0yAzmDG4mGvcf8W9iwjQDA5kEHiBHV8N788w+j3XKCdp1/rOQWCtZJV
4acyh+4gT5AHaobEjWQh2mtzEMoNFLhKraDgTKdl2K2WOdhDRAWeTjpHmgxCXHrU
bRyfNqoTKOm4e7qtYNiT4V9lSvYtKaTzl9xpB+0EXSzOEG3F0QucvZmCDdYFWzIe
2ERYixhxdKflkDfJasFfrkKBYxcgGHnYb+RQgmUAdSxilaOBXhWRhzW64ulPgQGR
CjbJAlECZOeJBsk4fn30+Uo7VMGMdmKCZ9mHqlGFw1Rsyp5jh2aUUAeCr7cfKfGH
NvJDadJO
=+ALh
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 13 Feb 2018 07:29:00 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Jul 15 17:29:53 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.