Raspbian Package Auto-Building

Build log for asterisk-chan-capi (1.1.6-1) on armhf

asterisk-chan-capi1.1.6-1armhf → 2017-06-18 20:21:58

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on bm-wb-03

+==============================================================================+
| asterisk-chan-capi 1.1.6-1 (armhf)           Sun, 18 Jun 2017 20:13:23 +0000 |
+==============================================================================+

Package: asterisk-chan-capi
Version: 1.1.6-1
Source Version: 1.1.6-1
Distribution: stretch-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/stretch-staging-armhf-sbuild-61b9bd47-ebc5-43b7-b358-24d5299450a9' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.0.1/private stretch-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private stretch-staging/main Sources [9733 kB]
Get:3 http://172.17.0.1/private stretch-staging/main armhf Packages [11.7 MB]
Fetched 21.4 MB in 25s (843 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'asterisk-chan-capi' packaging is maintained in the 'Svn' version control system at:
svn://svn.debian.org/pkg-voip/asterisk-chan-capi/trunk/
Need to get 274 kB of source archives.
Get:1 http://172.17.0.1/private stretch-staging/main asterisk-chan-capi 1.1.6-1 (dsc) [1549 B]
Get:2 http://172.17.0.1/private stretch-staging/main asterisk-chan-capi 1.1.6-1 (tar) [267 kB]
Get:3 http://172.17.0.1/private stretch-staging/main asterisk-chan-capi 1.1.6-1 (diff) [5737 B]
Fetched 274 kB in 0s (1253 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/asterisk-chan-capi-l2A3wF/asterisk-chan-capi-1.1.6' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/asterisk-chan-capi-l2A3wF' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-UuzMgM/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-UuzMgM/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-UuzMgM/gpg/trustdb.gpg: trustdb created
gpg: key 35506D9A48F77B2E: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 35506D9A48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 35506D9A48F77B2E: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-UuzMgM/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-UuzMgM/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-UuzMgM/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-UuzMgM/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-UuzMgM/apt_archive ./ Packages [432 B]
Fetched 2108 B in 0s (2851 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  fuse2fs gnupg-l10n kbd libfuse2 manpages netbase psmisc
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 776 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-UuzMgM/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [776 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 776 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 13276 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper (>= 9), asterisk-dev (>= 1:1.8), libcapi20-dev
Filtered Build-Depends: debhelper (>= 9), asterisk-dev (>= 1:1.8), libcapi20-dev
dpkg-deb: building package 'sbuild-build-depends-asterisk-chan-capi-dummy' in '/<<BUILDDIR>>/resolver-UuzMgM/apt_archive/sbuild-build-depends-asterisk-chan-capi-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-asterisk-chan-capi-dummy sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-UuzMgM/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-UuzMgM/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-UuzMgM/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-UuzMgM/apt_archive ./ Sources [513 B]
Get:5 copy:/<<BUILDDIR>>/resolver-UuzMgM/apt_archive ./ Packages [595 B]
Fetched 2441 B in 0s (3282 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install asterisk-chan-capi build dependencies (apt-based resolver)
------------------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  fuse2fs gnupg-l10n kbd libfuse2 manpages netbase psmisc
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  asterisk-dev autoconf automake autopoint autotools-dev bsdmainutils
  debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libbsd0 libcapi20-3
  libcapi20-dev libcroco3 libffi6 libfile-stripnondeterminism-perl
  libglib2.0-0 libicu57 libmagic-mgc libmagic1 libpipeline1 libsigsegv2
  libtimedate-perl libtool libunistring0 libxml2 m4 man-db po-debconf
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
  vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff
  libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less www-browser
  libmail-box-perl
Recommended packages:
  asterisk curl | wget | lynx-cur libglib2.0-data shared-mime-info
  xdg-user-dirs libltdl-dev xml-core libmail-sendmail-perl
The following NEW packages will be installed:
  asterisk-dev autoconf automake autopoint autotools-dev bsdmainutils
  debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libbsd0 libcapi20-3
  libcapi20-dev libcroco3 libffi6 libfile-stripnondeterminism-perl
  libglib2.0-0 libicu57 libmagic-mgc libmagic1 libpipeline1 libsigsegv2
  libtimedate-perl libtool libunistring0 libxml2 m4 man-db po-debconf
  sbuild-build-depends-asterisk-chan-capi-dummy
0 upgraded, 35 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.4 MB/20.4 MB of archives.
After this operation, 68.5 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-UuzMgM/apt_archive ./ sbuild-build-depends-asterisk-chan-capi-dummy 0.invalid.0 [804 B]
Get:2 http://172.17.0.1/private stretch-staging/main armhf groff-base armhf 1.22.3-9 [1005 kB]
Get:3 http://172.17.0.1/private stretch-staging/main armhf libbsd0 armhf 0.8.3-1 [89.0 kB]
Get:4 http://172.17.0.1/private stretch-staging/main armhf bsdmainutils armhf 9.0.12+nmu1 [178 kB]
Get:5 http://172.17.0.1/private stretch-staging/main armhf libpipeline1 armhf 1.4.1-2 [23.7 kB]
Get:6 http://172.17.0.1/private stretch-staging/main armhf man-db armhf 2.7.6.1-2 [1014 kB]
Get:7 http://172.17.0.1/private stretch-staging/main armhf libmagic-mgc armhf 1:5.30-1 [222 kB]
Get:8 http://172.17.0.1/private stretch-staging/main armhf libmagic1 armhf 1:5.30-1 [105 kB]
Get:9 http://172.17.0.1/private stretch-staging/main armhf file armhf 1:5.30-1 [63.4 kB]
Get:10 http://172.17.0.1/private stretch-staging/main armhf gettext-base armhf 0.19.8.1-2 [116 kB]
Get:11 http://172.17.0.1/private stretch-staging/main armhf libicu57 armhf 57.1-6 [7427 kB]
Get:12 http://172.17.0.1/private stretch-staging/main armhf libxml2 armhf 2.9.4+dfsg1-2.2 [806 kB]
Get:13 http://172.17.0.1/private stretch-staging/main armhf libsigsegv2 armhf 2.10-5 [28.4 kB]
Get:14 http://172.17.0.1/private stretch-staging/main armhf m4 armhf 1.4.18-1 [185 kB]
Get:15 http://172.17.0.1/private stretch-staging/main armhf autoconf all 2.69-10 [338 kB]
Get:16 http://172.17.0.1/private stretch-staging/main armhf autotools-dev all 20161112.1 [73.4 kB]
Get:17 http://172.17.0.1/private stretch-staging/main armhf automake all 1:1.15-6 [733 kB]
Get:18 http://172.17.0.1/private stretch-staging/main armhf autopoint all 0.19.8.1-2 [433 kB]
Get:19 http://172.17.0.1/private stretch-staging/main armhf libtool all 2.4.6-2 [545 kB]
Get:20 http://172.17.0.1/private stretch-staging/main armhf dh-autoreconf all 14 [15.9 kB]
Get:21 http://172.17.0.1/private stretch-staging/main armhf libarchive-zip-perl all 1.59-1 [95.5 kB]
Get:22 http://172.17.0.1/private stretch-staging/main armhf libfile-stripnondeterminism-perl all 0.034-1 [16.4 kB]
Get:23 http://172.17.0.1/private stretch-staging/main armhf libtimedate-perl all 2.3000-2 [42.2 kB]
Get:24 http://172.17.0.1/private stretch-staging/main armhf dh-strip-nondeterminism all 0.034-1 [10.5 kB]
Get:25 http://172.17.0.1/private stretch-staging/main armhf libglib2.0-0 armhf 2.50.3-2 [2527 kB]
Get:26 http://172.17.0.1/private stretch-staging/main armhf libcroco3 armhf 0.6.11-3 [131 kB]
Get:27 http://172.17.0.1/private stretch-staging/main armhf libunistring0 armhf 0.9.6+really0.9.3-0.1 [252 kB]
Get:28 http://172.17.0.1/private stretch-staging/main armhf gettext armhf 0.19.8.1-2 [1434 kB]
Get:29 http://172.17.0.1/private stretch-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:30 http://172.17.0.1/private stretch-staging/main armhf po-debconf all 1.0.20 [247 kB]
Get:31 http://172.17.0.1/private stretch-staging/main armhf debhelper all 10.2.5 [961 kB]
Get:32 http://172.17.0.1/private stretch-staging/main armhf asterisk-dev all 1:13.14.1~dfsg-2 [1155 kB]
Get:33 http://172.17.0.1/private stretch-staging/main armhf libcapi20-3 armhf 1:3.27-2 [25.0 kB]
Get:34 http://172.17.0.1/private stretch-staging/main armhf libcapi20-dev armhf 1:3.27-2 [27.8 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 20.4 MB in 3s (5913 kB/s)
Selecting previously unselected package groff-base.
(Reading database ... 13276 files and directories currently installed.)
Preparing to unpack .../00-groff-base_1.22.3-9_armhf.deb ...
Unpacking groff-base (1.22.3-9) ...
Selecting previously unselected package libbsd0:armhf.
Preparing to unpack .../01-libbsd0_0.8.3-1_armhf.deb ...
Unpacking libbsd0:armhf (0.8.3-1) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../02-bsdmainutils_9.0.12+nmu1_armhf.deb ...
Unpacking bsdmainutils (9.0.12+nmu1) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.4.1-2_armhf.deb ...
Unpacking libpipeline1:armhf (1.4.1-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.7.6.1-2_armhf.deb ...
Unpacking man-db (2.7.6.1-2) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../05-libmagic-mgc_1%3a5.30-1_armhf.deb ...
Unpacking libmagic-mgc (1:5.30-1) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../06-libmagic1_1%3a5.30-1_armhf.deb ...
Unpacking libmagic1:armhf (1:5.30-1) ...
Selecting previously unselected package file.
Preparing to unpack .../07-file_1%3a5.30-1_armhf.deb ...
Unpacking file (1:5.30-1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../08-gettext-base_0.19.8.1-2_armhf.deb ...
Unpacking gettext-base (0.19.8.1-2) ...
Selecting previously unselected package libicu57:armhf.
Preparing to unpack .../09-libicu57_57.1-6_armhf.deb ...
Unpacking libicu57:armhf (57.1-6) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../10-libxml2_2.9.4+dfsg1-2.2_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-2.2) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../11-libsigsegv2_2.10-5_armhf.deb ...
Unpacking libsigsegv2:armhf (2.10-5) ...
Selecting previously unselected package m4.
Preparing to unpack .../12-m4_1.4.18-1_armhf.deb ...
Unpacking m4 (1.4.18-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../13-autoconf_2.69-10_all.deb ...
Unpacking autoconf (2.69-10) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../14-autotools-dev_20161112.1_all.deb ...
Unpacking autotools-dev (20161112.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../15-automake_1%3a1.15-6_all.deb ...
Unpacking automake (1:1.15-6) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../16-autopoint_0.19.8.1-2_all.deb ...
Unpacking autopoint (0.19.8.1-2) ...
Selecting previously unselected package libtool.
Preparing to unpack .../17-libtool_2.4.6-2_all.deb ...
Unpacking libtool (2.4.6-2) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../18-dh-autoreconf_14_all.deb ...
Unpacking dh-autoreconf (14) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../19-libarchive-zip-perl_1.59-1_all.deb ...
Unpacking libarchive-zip-perl (1.59-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../20-libfile-stripnondeterminism-perl_0.034-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.034-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../21-libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../22-dh-strip-nondeterminism_0.034-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.034-1) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../23-libffi6_3.2.1-6_armhf.deb ...
Unpacking libffi6:armhf (3.2.1-6) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../24-libglib2.0-0_2.50.3-2_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.50.3-2) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../25-libcroco3_0.6.11-3_armhf.deb ...
Unpacking libcroco3:armhf (0.6.11-3) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../26-libunistring0_0.9.6+really0.9.3-0.1_armhf.deb ...
Unpacking libunistring0:armhf (0.9.6+really0.9.3-0.1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../27-gettext_0.19.8.1-2_armhf.deb ...
Unpacking gettext (0.19.8.1-2) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../28-intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../29-po-debconf_1.0.20_all.deb ...
Unpacking po-debconf (1.0.20) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../30-debhelper_10.2.5_all.deb ...
Unpacking debhelper (10.2.5) ...
Selecting previously unselected package asterisk-dev.
Preparing to unpack .../31-asterisk-dev_1%3a13.14.1~dfsg-2_all.deb ...
Unpacking asterisk-dev (1:13.14.1~dfsg-2) ...
Selecting previously unselected package libcapi20-3:armhf.
Preparing to unpack .../32-libcapi20-3_1%3a3.27-2_armhf.deb ...
Unpacking libcapi20-3:armhf (1:3.27-2) ...
Selecting previously unselected package libcapi20-dev:armhf.
Preparing to unpack .../33-libcapi20-dev_1%3a3.27-2_armhf.deb ...
Unpacking libcapi20-dev:armhf (1:3.27-2) ...
Selecting previously unselected package sbuild-build-depends-asterisk-chan-capi-dummy.
Preparing to unpack .../34-sbuild-build-depends-asterisk-chan-capi-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-asterisk-chan-capi-dummy (0.invalid.0) ...
Setting up asterisk-dev (1:13.14.1~dfsg-2) ...
Setting up libarchive-zip-perl (1.59-1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libsigsegv2:armhf (2.10-5) ...
Setting up groff-base (1.22.3-9) ...
Setting up gettext-base (0.19.8.1-2) ...
Setting up libpipeline1:armhf (1.4.1-2) ...
Setting up m4 (1.4.18-1) ...
Setting up libicu57:armhf (57.1-6) ...
Setting up libbsd0:armhf (0.8.3-1) ...
Setting up libcapi20-3:armhf (1:3.27-2) ...
Setting up libxml2:armhf (2.9.4+dfsg1-2.2) ...
Setting up libmagic-mgc (1:5.30-1) ...
Setting up libmagic1:armhf (1:5.30-1) ...
Processing triggers for libc-bin (2.24-11) ...
Setting up autotools-dev (20161112.1) ...
Setting up libunistring0:armhf (0.9.6+really0.9.3-0.1) ...
Setting up libffi6:armhf (3.2.1-6) ...
Setting up bsdmainutils (9.0.12+nmu1) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up autopoint (0.19.8.1-2) ...
Setting up libfile-stripnondeterminism-perl (0.034-1) ...
Setting up libcapi20-dev:armhf (1:3.27-2) ...
Setting up libglib2.0-0:armhf (2.50.3-2) ...
No schema files found: doing nothing.
Setting up autoconf (2.69-10) ...
Setting up file (1:5.30-1) ...
Setting up libcroco3:armhf (0.6.11-3) ...
Setting up automake (1:1.15-6) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up man-db (2.7.6.1-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libtool (2.4.6-2) ...
Setting up gettext (0.19.8.1-2) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up po-debconf (1.0.20) ...
Setting up dh-autoreconf (14) ...
Setting up dh-strip-nondeterminism (0.034-1) ...
Setting up debhelper (10.2.5) ...
Setting up sbuild-build-depends-asterisk-chan-capi-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.24-11) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.9.0-0.bpo.2-armmp armhf (armv7l)
Toolchain package versions: binutils_2.28-5 dpkg-dev_1.18.24 g++-6_6.3.0-18+rpi1 gcc-6_6.3.0-18+rpi1 libc6-dev_2.24-11 libstdc++-6-dev_6.3.0-18+rpi1 libstdc++6_6.3.0-18+rpi1 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch
Package versions: adduser_3.115 apt_1.4.6 asterisk-dev_1:13.14.1~dfsg-2 autoconf_2.69-10 automake_1:1.15-6 autopoint_0.19.8.1-2 autotools-dev_20161112.1 base-files_9.9+rpi1 base-passwd_3.5.43 bash_4.4-5 binutils_2.28-5 bsdmainutils_9.0.12+nmu1 bsdutils_1:2.29.2-1 build-essential_12.3 bzip2_1.0.6-8.1 coreutils_8.26-3 cpio_2.11+dfsg-6 cpp_4:6.3.0-4 cpp-6_6.3.0-18+rpi1 dash_0.5.8-2.4 debconf_1.5.61 debfoster_2.7-2.1 debhelper_10.2.5 debianutils_4.8.1.1 dh-autoreconf_14 dh-strip-nondeterminism_0.034-1 diffutils_1:3.5-3 dmsetup_2:1.02.137-2 dpkg_1.18.24 dpkg-dev_1.18.24 e2fslibs_1.43.4-2 e2fsprogs_1.43.4-2 fakeroot_1.21-3.1 file_1:5.30-1 findutils_4.6.0+git+20161106-2 fuse2fs_1.43.4-2 g++_4:6.3.0-4 g++-6_6.3.0-18+rpi1 gcc_4:6.3.0-4 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-4 gcc-4.9-base_4.9.3-14 gcc-6_6.3.0-18+rpi1 gcc-6-base_6.3.0-18+rpi1 gettext_0.19.8.1-2 gettext-base_0.19.8.1-2 gnupg_2.1.18-6 gnupg-agent_2.1.18-6 gnupg-l10n_2.1.18-6 gpgv_2.1.18-6 grep_2.27-2 groff-base_1.22.3-9 gzip_1.6-5 hostname_3.18 init_1.48 init-system-helpers_1.48 initscripts_2.88dsf-59.9 insserv_1.14.0-5.4 intltool-debian_0.35.0+20060710.4 kbd_2.0.3-2 klibc-utils_2.0.4-9+rpi1 kmod_23-2 libacl1_2.2.52-3 libapparmor1_2.11.0-3 libapt-pkg5.0_1.4.6 libarchive-zip-perl_1.59-1 libasan3_6.3.0-18+rpi1 libassuan0_2.4.3-2 libatomic1_6.3.0-18+rpi1 libattr1_1:2.4.47-2 libaudit-common_1:2.6.7-2 libaudit1_1:2.6.7-2 libblkid1_2.29.2-1 libbsd0_0.8.3-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.24-11 libc-dev-bin_2.24-11 libc6_2.24-11 libc6-dev_2.24-11 libcap-ng0_0.7.7-3 libcap2_1:2.25-1 libcap2-bin_1:2.25-1 libcapi20-3_1:3.27-2 libcapi20-dev_1:3.27-2 libcc1-0_6.3.0-18+rpi1 libcomerr2_1.43.4-2 libcroco3_0.6.11-3 libcryptsetup4_2:1.7.3-4 libdb5.3_5.3.28-12 libdbus-1-3_1.10.18-1 libdebconfclient0_0.227 libdevmapper1.02.1_2:1.02.137-2 libdpkg-perl_1.18.24 libdrm2_2.4.74-1 libfakeroot_1.21-3.1 libfdisk1_2.29.2-1 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.034-1 libfuse2_2.9.7-1 libgc1c2_1:7.4.2-8 libgcc-6-dev_6.3.0-18+rpi1 libgcc1_1:6.3.0-18+rpi1 libgcrypt20_1.7.6-2 libgdbm3_1.8.3-14 libglib2.0-0_2.50.3-2 libgmp10_2:6.1.2+dfsg-1 libgomp1_6.3.0-18+rpi1 libgpg-error0_1.26-2 libicu57_57.1-6 libidn11_1.33-1 libip4tc0_1.6.0+snapshot20161117-6 libisl15_0.18-1 libklibc_2.0.4-9+rpi1 libkmod2_23-2 libksba8_1.3.5-2 liblz4-1_0.0~r131-2 liblzma5_5.2.2-1.2 libmagic-mgc_1:5.30-1 libmagic1_1:5.30-1 libmount1_2.29.2-1 libmpc3_1.0.3-1 libmpfr4_3.1.5-1 libncurses5_6.0+20161126-1 libncursesw5_6.0+20161126-1 libnpth0_1.3-1 libpam-modules_1.1.8-3.6 libpam-modules-bin_1.1.8-3.6 libpam-runtime_1.1.8-3.6 libpam0g_1.1.8-3.6 libpcre3_2:8.39-3 libperl5.24_5.24.1-3 libpipeline1_1.4.1-2 libpng12-0_1.2.54-6 libprocps6_2:3.3.12-3 libreadline7_7.0-3 libseccomp2_2.3.1-2.1 libselinux1_2.6-3 libsemanage-common_2.6-2 libsemanage1_2.6-2 libsepol1_2.6-2 libsigsegv2_2.10-5 libsmartcols1_2.29.2-1 libsqlite3-0_3.16.2-5 libss2_1.43.4-2 libstdc++-6-dev_6.3.0-18+rpi1 libstdc++6_6.3.0-18+rpi1 libsystemd0_232-25 libtimedate-perl_2.3000-2 libtinfo5_6.0+20161126-1 libtool_2.4.6-2 libubsan0_6.3.0-18+rpi1 libudev1_232-25 libunistring0_0.9.6+really0.9.3-0.1 libusb-0.1-4_2:0.1.12-30 libustr-1.0-1_1.0.4-6 libuuid1_2.29.2-1 libxml2_2.9.4+dfsg1-2.2 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch login_1:4.4-4.1 lsb-base_9.20161125+rpi1 m4_1.4.18-1 make_4.1-9.1 makedev_2.3.1-93 man-db_2.7.6.1-2 manpages_4.10-2 mawk_1.3.3-17 mount_2.29.2-1 multiarch-support_2.24-11 ncurses-base_6.0+20161126-1 ncurses-bin_6.0+20161126-1 netbase_5.4 passwd_1:4.4-4.1 patch_2.7.5-1 perl_5.24.1-3 perl-base_5.24.1-3 perl-modules-5.24_5.24.1-3 pinentry-curses_1.0.0-2 po-debconf_1.0.20 procps_2:3.3.12-3 psmisc_22.21-2.1 raspbian-archive-keyring_20120528.2 readline-common_7.0-3 sbuild-build-depends-asterisk-chan-capi-dummy_0.invalid.0 sbuild-build-depends-core-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.9 startpar_0.59-3.1 systemd_232-25 systemd-sysv_232-25 sysv-rc_2.88dsf-59.9 sysvinit-utils_2.88dsf-59.9 tar_1.29b-1.1 tzdata_2017b-1 udev_232-25 util-linux_2.29.2-1 xz-utils_5.2.2-1.2 zlib1g_1:1.2.8.dfsg-5

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Fri Oct 26 23:02:33 2012 UTC
gpgv:                using DSA key A02CDA9F3D08B612
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./asterisk-chan-capi_1.1.6-1.dsc
dpkg-source: info: extracting asterisk-chan-capi in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking asterisk-chan-capi_1.1.6.orig.tar.gz
dpkg-source: info: unpacking asterisk-chan-capi_1.1.6-1.debian.tar.gz
dpkg-source: info: applying use-systems-libcapi
dpkg-source: info: applying verbose-build
dpkg-source: info: applying asterisk.h

Check disc space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=stretch-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=stretch-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=stretch-staging-armhf-sbuild-61b9bd47-ebc5-43b7-b358-24d5299450a9
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package asterisk-chan-capi
dpkg-buildpackage: info: source version 1.1.6-1
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build asterisk-chan-capi-1.1.6
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
	make -j1 distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f config.h
rm -f *.so *.o
rm -f libcapi20/*.o
rm -f divastreaming/*.o
rm -f divastatus/*.o
rm -f divaverbose/*.o
rm -f /usr/lib/asterisk/modules/chan_capi.so
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules build-arch
dh build-arch
   dh_testdir -a
   dh_update_autotools_config -a
   dh_auto_configure -a
   dh_auto_build -a
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./create_config.sh "/usr/include"
Checking Asterisk version... trunk
 * assuming Asterisk version 1.6
Using Asterisk 1.6 API
 * found new 'ast_dsp_set_digitmode' function
 * found new union data in ast_frame structure
 * no new union subclass in ast_frame structure
 * found ast_channel_release function
 * found new ast_devstate2str function
 * found requestor in ast_request
 * no format_t in ast_request
 * found const char in ast_register_application
 * no linkedid in ast_channel_alloc
 * found rtp_engine.h
 * found ast_sockaddr structure
config.h complete.

gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g   -I./divaverbose -I/usr/include -D_REENTRANT -D_GNU_SOURCE  -Wno-unused-but-set-variable -O2  -fsigned-char -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO  -c chan_capi.c -o chan_capi.o
In file included from chan_capi.h:48:0,
                 from chan_capi.c:32:
chan_capi_fmt.h: In function 'cc_set_best_codec':
chan_capi_fmt.h:230:12: warning: implicit declaration of function 'ast_best_codec' [-Wimplicit-function-declaration]
  int fmt = ast_best_codec(a->nativeformats);
            ^~~~~~~~~~~~~~
chan_capi_fmt.h:230:28: error: dereferencing pointer to incomplete type 'struct ast_channel'
  int fmt = ast_best_codec(a->nativeformats);
                            ^~
In file included from chan_capi.c:32:0:
chan_capi.h: At top level:
chan_capi.h:646:24: error: field 'prefs' has incomplete type
  struct ast_codec_pref prefs;
                        ^~~~~
In file included from chan_capi.h:48:0,
                 from chan_capi.c:32:
chan_capi_fmt.h:201:29: error: 'AST_FORMAT_ALAW' undeclared here (not in a function)
 #define CC_FORMAT_ALAW      AST_FORMAT_ALAW
                             ^
chan_capi.c:201:31: note: in expansion of macro 'CC_FORMAT_ALAW'
 cc_format_t capi_capability = CC_FORMAT_ALAW;
                               ^~~~~~~~~~~~~~
chan_capi.c: In function 'local_queue_frame':
chan_capi.c:887:43: error: invalid operands to binary == (have 'struct ast_frame_subclass' and 'int')
      (FRAME_SUBCLASS_INTEGER(f->subclass) == AST_CONTROL_HANGUP)) {
                                           ^~
chan_capi.c: In function 'send_progress':
chan_capi.c:1301:39: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'int'
   FRAME_SUBCLASS_INTEGER(fr.subclass) = AST_CONTROL_PROGRESS;
                                       ^
In file included from chan_capi.h:48:0,
                 from chan_capi.c:32:
chan_capi.c: In function 'diva_get_b1_conf':
chan_capi_fmt.h:222:29: error: 'AST_FORMAT_ULAW' undeclared (first use in this function)
 #define CC_FORMAT_ULAW      AST_FORMAT_ULAW
                             ^
chan_capi.c:1778:8: note: in expansion of macro 'CC_FORMAT_ULAW'
   case CC_FORMAT_ULAW:
        ^~~~~~~~~~~~~~
chan_capi_fmt.h:222:29: note: each undeclared identifier is reported only once for each function it appears in
 #define CC_FORMAT_ULAW      AST_FORMAT_ULAW
                             ^
chan_capi.c:1778:8: note: in expansion of macro 'CC_FORMAT_ULAW'
   case CC_FORMAT_ULAW:
        ^~~~~~~~~~~~~~
chan_capi_fmt.h:208:29: error: 'AST_FORMAT_GSM' undeclared (first use in this function)
 #define CC_FORMAT_GSM       AST_FORMAT_GSM
                             ^
chan_capi.c:1781:8: note: in expansion of macro 'CC_FORMAT_GSM'
   case CC_FORMAT_GSM:
        ^~~~~~~~~~~~~
chan_capi_fmt.h:205:29: error: 'AST_FORMAT_G723_1' undeclared (first use in this function)
 #define CC_FORMAT_G723_1    AST_FORMAT_G723_1
                             ^
chan_capi.c:1784:8: note: in expansion of macro 'CC_FORMAT_G723_1'
   case CC_FORMAT_G723_1:
        ^~~~~~~~~~~~~~~~
chan_capi_fmt.h:206:29: error: 'AST_FORMAT_G726' undeclared (first use in this function)
 #define CC_FORMAT_G726      AST_FORMAT_G726
                             ^
chan_capi.c:1787:8: note: in expansion of macro 'CC_FORMAT_G726'
   case CC_FORMAT_G726:
        ^~~~~~~~~~~~~~
chan_capi_fmt.h:209:29: error: 'AST_FORMAT_ILBC' undeclared (first use in this function)
 #define CC_FORMAT_ILBC      AST_FORMAT_ILBC
                             ^
chan_capi.c:1790:8: note: in expansion of macro 'CC_FORMAT_ILBC'
   case CC_FORMAT_ILBC: /* 30 mSec 240 samples */
        ^~~~~~~~~~~~~~
chan_capi_fmt.h:207:29: error: 'AST_FORMAT_G729A' undeclared (first use in this function)
 #define CC_FORMAT_G729A     AST_FORMAT_G729A
                             ^
chan_capi.c:1793:8: note: in expansion of macro 'CC_FORMAT_G729A'
   case CC_FORMAT_G729A:
        ^~~~~~~~~~~~~~~
In file included from chan_capi.c:32:0:
chan_capi_fmt.h:225:33: warning: implicit declaration of function 'ast_getformatname' [-Wimplicit-function-declaration]
 #define cc_getformatname(__x__) ast_getformatname((__x__))
                                 ^
chan_capi.h:127:43: note: in definition of macro 'cc_log'
 #define cc_log(x...)              ast_log(x)
                                           ^
chan_capi.c:1823:15: note: in expansion of macro 'cc_getformatname'
     i->vname, cc_getformatname(i->codec), i->codec);
               ^~~~~~~~~~~~~~~~
chan_capi.c:1822:22: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'int' [-Wformat=]
    cc_log(LOG_ERROR, "%s: format %s(%d) invalid.\n",
                      ^
chan_capi.h:127:43: note: in definition of macro 'cc_log'
 #define cc_log(x...)              ast_log(x)
                                           ^
In file included from chan_capi.h:25:0,
                 from chan_capi.c:32:
chan_capi.c: In function 'capi_new':
chan_capi.c:2363:3: warning: passing argument 8 of '__ast_channel_alloc' makes pointer from integer without a cast [-Wint-conversion]
   i->amaflags,
   ^
/usr/include/asterisk/channel.h:1161:2: note: expected 'const struct ast_assigned_ids *' but argument is of type 'int'
  __ast_channel_alloc(int needqueue, int state, const char *cid_num,
  ^~~~~~~~~~~~~~~~~~~
chan_capi.h:117:28: warning: passing argument 9 of '__ast_channel_alloc' from incompatible pointer type [-Wincompatible-pointer-types]
 #define CC_MESSAGE_BIGNAME "CAPI"
                            ^
chan_capi.c:2365:3: note: in expansion of macro 'CC_MESSAGE_BIGNAME'
   CC_MESSAGE_BIGNAME "/%s/%s-%x", i->vname, i->dnid, capi_counter++);
   ^~~~~~~~~~~~~~~~~~
/usr/include/asterisk/channel.h:1161:2: note: expected 'const struct ast_channel *' but argument is of type 'char *'
  __ast_channel_alloc(int needqueue, int state, const char *cid_num,
  ^~~~~~~~~~~~~~~~~~~
chan_capi.c:2365:35: error: incompatible type for argument 10 of '__ast_channel_alloc'
   CC_MESSAGE_BIGNAME "/%s/%s-%x", i->vname, i->dnid, capi_counter++);
                                   ^
/usr/include/asterisk/channel.h:1161:2: note: expected 'enum ama_flags' but argument is of type 'char *'
  __ast_channel_alloc(int needqueue, int state, const char *cid_num,
  ^~~~~~~~~~~~~~~~~~~
chan_capi.c:2403:3: warning: implicit declaration of function 'ast_smoother_reset' [-Wimplicit-function-declaration]
   ast_smoother_reset(i->smoother, CAPI_MAX_B3_BLOCK_SIZE);
   ^~~~~~~~~~~~~~~~~~
In file included from chan_capi.c:38:0:
chan_capi.c:2482:3: warning: implicit declaration of function 'ast_getformatname_multiple' [-Wimplicit-function-declaration]
   ast_getformatname_multiple(alloca(80), 80,
   ^
chan_capi_utils.h:38:33: note: in definition of macro 'cc_verbose'
   cc_verbose_internal(text , ## args); \
                                 ^~~~
chan_capi.c: In function 'pbx_capi_request':
chan_capi.c:2671:25: error: dereferencing pointer to incomplete type 'const struct ast_channel'
    requestor ? requestor->linkedid : NULL
                         ^~
In file included from chan_capi.h:48:0,
                 from chan_capi.c:32:
chan_capi.c: In function 'clear_channel_fax_loop':
chan_capi.c:3177:27: warning: passing argument 2 of 'ast_set_read_format' makes pointer from integer without a cast [-Wint-conversion]
  cc_set_read_format(chan, capi_capability);
                           ^
chan_capi_fmt.h:240:69: note: in definition of macro 'cc_set_read_format'
 #define cc_set_read_format(__a__, __b__) ast_set_read_format(__a__, __b__)
                                                                     ^~~~~
In file included from chan_capi.h:25:0,
                 from chan_capi.c:32:
/usr/include/asterisk/channel.h:2035:5: note: expected 'struct ast_format *' but argument is of type 'int'
 int ast_set_read_format(struct ast_channel *chan, struct ast_format *format);
     ^~~~~~~~~~~~~~~~~~~
In file included from chan_capi.h:48:0,
                 from chan_capi.c:32:
chan_capi.c:3178:28: warning: passing argument 2 of 'ast_set_write_format' makes pointer from integer without a cast [-Wint-conversion]
  cc_set_write_format(chan, capi_capability);
                            ^
chan_capi_fmt.h:241:71: note: in definition of macro 'cc_set_write_format'
 #define cc_set_write_format(__a__, __b__) ast_set_write_format(__a__, __b__)
                                                                       ^~~~~
In file included from chan_capi.h:25:0,
                 from chan_capi.c:32:
/usr/include/asterisk/channel.h:2052:5: note: expected 'struct ast_format *' but argument is of type 'int'
 int ast_set_write_format(struct ast_channel *chan, struct ast_format *format);
     ^~~~~~~~~~~~~~~~~~~~
chan_capi.c:3196:42: error: invalid operands to binary == (have 'struct ast_frame_subclass' and 'int')
     (FRAME_SUBCLASS_INTEGER(f->subclass) == AST_CONTROL_HANGUP)) {
                                          ^~
In file included from /usr/include/string.h:630:0,
                 from chan_capi.c:21:
chan_capi.c: In function 'start_pbx_on_match':
chan_capi.c:3789:23: warning: implicit declaration of function 'ast_pickup_ext' [-Wimplicit-function-declaration]
  if (!strcmp(i->dnid, ast_pickup_ext())) {
                       ^
chan_capi.c:3789:23: warning: passing argument 1 of '__builtin_strlen' makes pointer from integer without a cast [-Wint-conversion]
  if (!strcmp(i->dnid, ast_pickup_ext())) {
                       ^
chan_capi.c:3789:23: note: expected 'const char *' but argument is of type 'int'
chan_capi.c:3789:23: warning: passing argument 2 of '__builtin_strcmp' makes pointer from integer without a cast [-Wint-conversion]
  if (!strcmp(i->dnid, ast_pickup_ext())) {
                       ^
chan_capi.c:3789:23: note: expected 'const char *' but argument is of type 'int'
chan_capi.c:3789:23: warning: passing argument 2 of '__builtin_strcmp' makes pointer from integer without a cast [-Wint-conversion]
  if (!strcmp(i->dnid, ast_pickup_ext())) {
                       ^
chan_capi.c:3789:23: note: expected 'const char *' but argument is of type 'int'
chan_capi.c:3789:23: warning: passing argument 1 of '__builtin_strlen' makes pointer from integer without a cast [-Wint-conversion]
  if (!strcmp(i->dnid, ast_pickup_ext())) {
                       ^
chan_capi.c:3789:23: note: expected 'const char *' but argument is of type 'int'
chan_capi.c:3789:23: warning: passing argument 2 of '__builtin_strcmp' makes pointer from integer without a cast [-Wint-conversion]
  if (!strcmp(i->dnid, ast_pickup_ext())) {
                       ^
chan_capi.c:3789:23: note: expected 'const char *' but argument is of type 'int'
chan_capi.c:3789:23: warning: passing argument 2 of '__builtin_strcmp' makes pointer from integer without a cast [-Wint-conversion]
  if (!strcmp(i->dnid, ast_pickup_ext())) {
                       ^
chan_capi.c:3789:23: note: expected 'const char *' but argument is of type 'int'
chan_capi.c: In function 'capidev_handle_did_digits':
chan_capi.c:3874:41: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'char'
     FRAME_SUBCLASS_INTEGER(fr.subclass) = did[a];
                                         ^
chan_capi.c: In function 'capi_queue_cause_control':
chan_capi.c:3892:38: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'int'
  FRAME_SUBCLASS_INTEGER(fr.subclass) = AST_CONTROL_HANGUP;
                                      ^
chan_capi.c:3897:40: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'int'
    FRAME_SUBCLASS_INTEGER(fr.subclass) = AST_CONTROL_CONGESTION;
                                        ^
chan_capi.c:3901:40: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'int'
    FRAME_SUBCLASS_INTEGER(fr.subclass) = AST_CONTROL_BUSY;
                                        ^
chan_capi.c: In function 'capidev_handle_info_indication':
chan_capi.c:4233:39: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'int'
   FRAME_SUBCLASS_INTEGER(fr.subclass) = AST_CONTROL_RINGING;
                                       ^
chan_capi.c:4243:39: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'int'
   FRAME_SUBCLASS_INTEGER(fr.subclass) = AST_CONTROL_PROCEEDING;
                                       ^
chan_capi.c: In function 'handle_facility_indication_dtmf':
chan_capi.c:4495:45: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'char'
         FRAME_SUBCLASS_INTEGER(fr.subclass) = i->special_tone_extension[n++];
                                             ^
chan_capi.c:4506:43: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'char'
       FRAME_SUBCLASS_INTEGER(fr.subclass) = dtmf;
                                           ^
chan_capi.c: In function 'pbx_capi_get_samples':
chan_capi.c:4554:7: error: 'CC_FORMAT_SLINEAR' undeclared (first use in this function)
  case CC_FORMAT_SLINEAR:
       ^~~~~~~~~~~~~~~~~
In file included from chan_capi.h:48:0,
                 from chan_capi.c:32:
chan_capi.c: In function 'capidev_handle_data_b3_indication':
chan_capi_fmt.h:222:29: error: 'AST_FORMAT_ULAW' undeclared (first use in this function)
 #define CC_FORMAT_ULAW      AST_FORMAT_ULAW
                             ^
chan_capi.c:4674:28: note: in expansion of macro 'CC_FORMAT_ULAW'
     if (capi_capability == CC_FORMAT_ULAW) {
                            ^~~~~~~~~~~~~~
In file included from chan_capi.c:32:0:
chan_capi.h:161:61: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'int'
 #define SET_FRAME_SUBCLASS_CODEC(__a__, __b__) do { (__a__) = (__b__); }while(0)
                                                             ^
chan_capi.c:4706:3: note: in expansion of macro 'SET_FRAME_SUBCLASS_CODEC'
   SET_FRAME_SUBCLASS_CODEC(fr.subclass, capi_capability);
   ^~~~~~~~~~~~~~~~~~~~~~~~
chan_capi.h:161:61: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'int'
 #define SET_FRAME_SUBCLASS_CODEC(__a__, __b__) do { (__a__) = (__b__); }while(0)
                                                             ^
chan_capi.c:4708:3: note: in expansion of macro 'SET_FRAME_SUBCLASS_CODEC'
   SET_FRAME_SUBCLASS_CODEC(fr.subclass, i->codec);
   ^~~~~~~~~~~~~~~~~~~~~~~~
chan_capi.c: In function 'capi_signal_answer':
chan_capi.c:4742:38: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'int'
  FRAME_SUBCLASS_INTEGER(fr.subclass) = AST_CONTROL_ANSWER;
                                      ^
chan_capi.c: In function 'capidev_handle_connect_active_indication':
chan_capi.c:5021:4: warning: implicit declaration of function 'ast_cdr_answer' [-Wimplicit-function-declaration]
    ast_cdr_answer(i->owner->cdr);
    ^~~~~~~~~~~~~~
chan_capi.c: In function 'capidev_handle_disconnect_indication':
chan_capi.c:5224:38: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'int'
  FRAME_SUBCLASS_INTEGER(fr.subclass) = AST_CONTROL_HANGUP;
                                      ^
chan_capi.c:5282:39: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'int'
   FRAME_SUBCLASS_INTEGER(fr.subclass) = AST_CONTROL_CONGESTION;
                                       ^
chan_capi.c: In function 'capidev_handle_connection_conf':
chan_capi.c:5704:38: error: incompatible types when assigning to type 'struct ast_frame_subclass' from type 'int'
  FRAME_SUBCLASS_INTEGER(fr.subclass) = AST_CONTROL_BUSY;
                                      ^
chan_capi.c: In function 'capi_do_channel_task':
chan_capi.c:7824:7: warning: implicit declaration of function 'ast_pickup_call' [-Wimplicit-function-declaration]
   if (ast_pickup_call(chan_for_task)) {
       ^~~~~~~~~~~~~~~
In file included from chan_capi.h:48:0,
                 from chan_capi.c:32:
chan_capi.c: In function 'capi_gains':
chan_capi_fmt.h:222:29: error: 'AST_FORMAT_ULAW' undeclared (first use in this function)
 #define CC_FORMAT_ULAW      AST_FORMAT_ULAW
                             ^
chan_capi.c:7947:27: note: in expansion of macro 'CC_FORMAT_ULAW'
    if (capi_capability == CC_FORMAT_ULAW) {
                           ^~~~~~~~~~~~~~
chan_capi.c: In function 'mkif':
chan_capi.c:8084:19: warning: implicit declaration of function 'ast_smoother_new' [-Wimplicit-function-declaration]
   tmp->smoother = ast_smoother_new(CAPI_MAX_B3_BLOCK_SIZE);
                   ^~~~~~~~~~~~~~~~
chan_capi.c:8084:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
   tmp->smoother = ast_smoother_new(CAPI_MAX_B3_BLOCK_SIZE);
                 ^
chan_capi.c: At top level:
chan_capi.c:8220:15: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  .requester = pbx_capi_request,
               ^~~~~~~~~~~~~~~~
chan_capi.c:8220:15: note: (near initialization for 'capi_tech.requester')
chan_capi.c:8228:10: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  .call = pbx_capi_call,
          ^~~~~~~~~~~~~
chan_capi.c:8228:10: note: (near initialization for 'capi_tech.call')
chan_capi.c:8233:2: error: unknown field 'bridge' specified in initializer
  .bridge = pbx_capi_bridge,
  ^
chan_capi.c:8233:12: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  .bridge = pbx_capi_bridge,
            ^~~~~~~~~~~~~~~
chan_capi.c:8233:12: note: (near initialization for 'capi_tech.send_text')
chan_capi.c:8238:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  .devicestate = pbx_capi_devicestate,
                 ^~~~~~~~~~~~~~~~~~~~
chan_capi.c:8238:17: note: (near initialization for 'capi_tech.devicestate')
chan_capi.c: In function 'conf_interface':
chan_capi.c:8596:8: warning: implicit declaration of function 'ast_cdr_amaflags2int' [-Wimplicit-function-declaration]
    y = ast_cdr_amaflags2int(v->value);
        ^~~~~~~~~~~~~~~~~~~~
In file included from chan_capi.h:48:0,
                 from chan_capi.c:32:
chan_capi_fmt.h:242:68: warning: implicit declaration of function 'ast_parse_allow_disallow' [-Wimplicit-function-declaration]
 #define cc_parse_allow_disallow(__a__, __b__, __c__, __d__, __e__) ast_parse_allow_disallow(__a__, __b__, __c__, __d__)
                                                                    ^
chan_capi.c:8690:4: note: in expansion of macro 'cc_parse_allow_disallow'
    cc_parse_allow_disallow(&conf->prefs, &conf->capability, v->value, 1, cap);
    ^~~~~~~~~~~~~~~~~~~~~~~
chan_capi.c: In function 'capi_eval_config':
chan_capi_fmt.h:222:29: error: 'AST_FORMAT_ULAW' undeclared (first use in this function)
 #define CC_FORMAT_ULAW      AST_FORMAT_ULAW
                             ^
chan_capi.c:8777:23: note: in expansion of macro 'CC_FORMAT_ULAW'
     capi_capability = CC_FORMAT_ULAW;
                       ^~~~~~~~~~~~~~
chan_capi.c: In function 'unload_module':
chan_capi.c:8883:4: warning: implicit declaration of function 'ast_smoother_free' [-Wimplicit-function-declaration]
    ast_smoother_free(i->smoother);
    ^~~~~~~~~~~~~~~~~
Makefile:197: recipe for target 'chan_capi.o' failed
make[1]: *** [chan_capi.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
debian/rules:3: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
--------------------------------------------------------------------------------
Build finished at 2017-06-18T20:19:26Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 0
Build-Time: 12
Distribution: stretch-staging
Fail-Stage: build
Host Architecture: armhf
Install-Time: 307
Job: asterisk-chan-capi_1.1.6-1
Machine Architecture: armhf
Package: asterisk-chan-capi
Package-Time: 363
Source-Version: 1.1.6-1
Space: 0
Status: failed
Version: 1.1.6-1
--------------------------------------------------------------------------------
Finished at 2017-06-18T20:19:26Z
Build needed 00:00:00, 0k disc space