Raspbian Package Auto-Building

Build log for smstools (3.1.21-4) on armhf

smstools3.1.21-4armhf → 2020-08-12 19:03:03

sbuild (Debian sbuild) 0.72.0 (25 Oct 2016) on mb-lxc-02

+==============================================================================+
| smstools 3.1.21-4 (armhf)                    Wed, 12 Aug 2020 19:00:17 +0000 |
+==============================================================================+

Package: smstools
Version: 3.1.21-4
Source Version: 3.1.21-4
Distribution: bullseye-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/bullseye-staging-armhf-sbuild-da801ad7-61b8-4e58-99e1-5d9cceed72e9' with '<<CHROOT>>'

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

Get:1 http://172.17.0.1/private bullseye-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private bullseye-staging/main Sources [11.8 MB]
Get:3 http://172.17.0.1/private bullseye-staging/main armhf Packages [12.9 MB]
Fetched 24.8 MB in 9s (2733 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: 'smstools' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/debian-mobcom-team/smstools.git
Please use:
git clone https://salsa.debian.org/debian-mobcom-team/smstools.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 399 kB of source archives.
Get:1 http://172.17.0.1/private bullseye-staging/main smstools 3.1.21-4 (dsc) [2134 B]
Get:2 http://172.17.0.1/private bullseye-staging/main smstools 3.1.21-4 (tar) [357 kB]
Get:3 http://172.17.0.1/private bullseye-staging/main smstools 3.1.21-4 (diff) [40.2 kB]
Fetched 399 kB in 0s (843 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/smstools-jh3oA5/smstools-3.1.21' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/smstools-jh3oA5' 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-rrhBmR/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-rrhBmR/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-rrhBmR/gpg/trustdb.gpg: trustdb created
gpg: key 37145E60F90AF620: 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 37145E60F90AF620: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 37145E60F90AF620: 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-rrhBmR/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-rrhBmR/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-rrhBmR/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-rrhBmR/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-rrhBmR/apt_archive ./ Packages [432 B]
Fetched 2108 B in 0s (8767 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:
  bsdextrautils libpam-cap netbase sensible-utils
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 27 not upgraded.
Need to get 852 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-rrhBmR/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 852 B in 0s (61.7 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12522 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-compat (= 12), libmm-dev, po-debconf, quilt
Filtered Build-Depends: debhelper-compat (= 12), libmm-dev, po-debconf, quilt
dpkg-deb: building package 'sbuild-build-depends-smstools-dummy' in '/<<BUILDDIR>>/resolver-rrhBmR/apt_archive/sbuild-build-depends-smstools-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-smstools-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-rrhBmR/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-rrhBmR/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-rrhBmR/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-rrhBmR/apt_archive ./ Sources [511 B]
Get:5 copy:/<<BUILDDIR>>/resolver-rrhBmR/apt_archive ./ Packages [593 B]
Fetched 2437 B in 0s (9717 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install smstools 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:
  libpam-cap netbase
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev debhelper dh-autoreconf
  dh-strip-nondeterminism diffstat dwz ed file gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libcroco3 libdebhelper-perl libelf1
  libfile-stripnondeterminism-perl libglib2.0-0 libicu67 libmagic-mgc
  libmagic1 libmm-dev libmm14 libpipeline1 libsigsegv2 libsub-override-perl
  libtool libuchardet0 libxml2 m4 man-db po-debconf quilt
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc
  libasprintf-dev libgettextpo-dev groff libtool-doc gfortran
  | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser
  libmail-box-perl default-mta | mail-transport-agent graphviz procmail
Recommended packages:
  curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info
  xdg-user-dirs libltdl-dev libmail-sendmail-perl less
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev debhelper dh-autoreconf
  dh-strip-nondeterminism diffstat dwz ed file gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libcroco3 libdebhelper-perl libelf1
  libfile-stripnondeterminism-perl libglib2.0-0 libicu67 libmagic-mgc
  libmagic1 libmm-dev libmm14 libpipeline1 libsigsegv2 libsub-override-perl
  libtool libuchardet0 libxml2 m4 man-db po-debconf quilt
  sbuild-build-depends-smstools-dummy
0 upgraded, 37 newly installed, 0 to remove and 27 not upgraded.
Need to get 18.9 MB of archives.
After this operation, 69.1 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-rrhBmR/apt_archive ./ sbuild-build-depends-smstools-dummy 0.invalid.0 [880 B]
Get:2 http://172.17.0.1/private bullseye-staging/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get:3 http://172.17.0.1/private bullseye-staging/main armhf groff-base armhf 1.22.4-5 [783 kB]
Get:4 http://172.17.0.1/private bullseye-staging/main armhf libpipeline1 armhf 1.5.2-2 [29.6 kB]
Get:5 http://172.17.0.1/private bullseye-staging/main armhf man-db armhf 2.9.3-2 [1269 kB]
Get:6 http://172.17.0.1/private bullseye-staging/main armhf libmagic-mgc armhf 1:5.38-5 [262 kB]
Get:7 http://172.17.0.1/private bullseye-staging/main armhf libmagic1 armhf 1:5.38-5 [113 kB]
Get:8 http://172.17.0.1/private bullseye-staging/main armhf file armhf 1:5.38-5 [67.0 kB]
Get:9 http://172.17.0.1/private bullseye-staging/main armhf gettext-base armhf 0.19.8.1-10 [117 kB]
Get:10 http://172.17.0.1/private bullseye-staging/main armhf libsigsegv2 armhf 2.12-2 [32.3 kB]
Get:11 http://172.17.0.1/private bullseye-staging/main armhf m4 armhf 1.4.18-4 [185 kB]
Get:12 http://172.17.0.1/private bullseye-staging/main armhf autoconf all 2.69-11.1 [341 kB]
Get:13 http://172.17.0.1/private bullseye-staging/main armhf autotools-dev all 20180224.1 [77.0 kB]
Get:14 http://172.17.0.1/private bullseye-staging/main armhf automake all 1:1.16.2-3 [801 kB]
Get:15 http://172.17.0.1/private bullseye-staging/main armhf autopoint all 0.19.8.1-10 [435 kB]
Get:16 http://172.17.0.1/private bullseye-staging/main armhf libtool all 2.4.6-14 [513 kB]
Get:17 http://172.17.0.1/private bullseye-staging/main armhf dh-autoreconf all 19 [16.9 kB]
Get:18 http://172.17.0.1/private bullseye-staging/main armhf libdebhelper-perl all 13.2 [187 kB]
Get:19 http://172.17.0.1/private bullseye-staging/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get:20 http://172.17.0.1/private bullseye-staging/main armhf libsub-override-perl all 0.09-2 [10.2 kB]
Get:21 http://172.17.0.1/private bullseye-staging/main armhf libfile-stripnondeterminism-perl all 1.9.0-1 [25.5 kB]
Get:22 http://172.17.0.1/private bullseye-staging/main armhf dh-strip-nondeterminism all 1.9.0-1 [15.2 kB]
Get:23 http://172.17.0.1/private bullseye-staging/main armhf libelf1 armhf 0.180-1 [162 kB]
Get:24 http://172.17.0.1/private bullseye-staging/main armhf dwz armhf 0.13-5 [142 kB]
Get:25 http://172.17.0.1/private bullseye-staging/main armhf libglib2.0-0 armhf 2.64.4-1 [1159 kB]
Get:26 http://172.17.0.1/private bullseye-staging/main armhf libicu67 armhf 67.1-3 [8287 kB]
Get:27 http://172.17.0.1/private bullseye-staging/main armhf libxml2 armhf 2.9.10+dfsg-5+b1 [593 kB]
Get:28 http://172.17.0.1/private bullseye-staging/main armhf libcroco3 armhf 0.6.13-1 [133 kB]
Get:29 http://172.17.0.1/private bullseye-staging/main armhf gettext armhf 0.19.8.1-10 [1219 kB]
Get:30 http://172.17.0.1/private bullseye-staging/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get:31 http://172.17.0.1/private bullseye-staging/main armhf po-debconf all 1.0.21 [248 kB]
Get:32 http://172.17.0.1/private bullseye-staging/main armhf debhelper all 13.2 [1007 kB]
Get:33 http://172.17.0.1/private bullseye-staging/main armhf diffstat armhf 1.63-1 [31.9 kB]
Get:34 http://172.17.0.1/private bullseye-staging/main armhf ed armhf 1.16-1 [54.4 kB]
Get:35 http://172.17.0.1/private bullseye-staging/main armhf libmm14 armhf 1.4.2-6 [15.2 kB]
Get:36 http://172.17.0.1/private bullseye-staging/main armhf libmm-dev armhf 1.4.2-6 [32.1 kB]
Get:37 http://172.17.0.1/private bullseye-staging/main armhf quilt all 0.66-2.1 [319 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 18.9 MB in 4s (5290 kB/s)
Selecting previously unselected package libuchardet0:armhf.
(Reading database ... 12522 files and directories currently installed.)
Preparing to unpack .../00-libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../01-groff-base_1.22.4-5_armhf.deb ...
Unpacking groff-base (1.22.4-5) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../02-libpipeline1_1.5.2-2_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.2-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../03-man-db_2.9.3-2_armhf.deb ...
Unpacking man-db (2.9.3-2) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../04-libmagic-mgc_1%3a5.38-5_armhf.deb ...
Unpacking libmagic-mgc (1:5.38-5) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../05-libmagic1_1%3a5.38-5_armhf.deb ...
Unpacking libmagic1:armhf (1:5.38-5) ...
Selecting previously unselected package file.
Preparing to unpack .../06-file_1%3a5.38-5_armhf.deb ...
Unpacking file (1:5.38-5) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../07-gettext-base_0.19.8.1-10_armhf.deb ...
Unpacking gettext-base (0.19.8.1-10) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../08-libsigsegv2_2.12-2_armhf.deb ...
Unpacking libsigsegv2:armhf (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../09-m4_1.4.18-4_armhf.deb ...
Unpacking m4 (1.4.18-4) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../10-autoconf_2.69-11.1_all.deb ...
Unpacking autoconf (2.69-11.1) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../11-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../12-automake_1%3a1.16.2-3_all.deb ...
Unpacking automake (1:1.16.2-3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../13-autopoint_0.19.8.1-10_all.deb ...
Unpacking autopoint (0.19.8.1-10) ...
Selecting previously unselected package libtool.
Preparing to unpack .../14-libtool_2.4.6-14_all.deb ...
Unpacking libtool (2.4.6-14) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../15-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../16-libdebhelper-perl_13.2_all.deb ...
Unpacking libdebhelper-perl (13.2) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../17-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../18-libsub-override-perl_0.09-2_all.deb ...
Unpacking libsub-override-perl (0.09-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.9.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.9.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../20-dh-strip-nondeterminism_1.9.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.9.0-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../21-libelf1_0.180-1_armhf.deb ...
Unpacking libelf1:armhf (0.180-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../22-dwz_0.13-5_armhf.deb ...
Unpacking dwz (0.13-5) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../23-libglib2.0-0_2.64.4-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.64.4-1) ...
Selecting previously unselected package libicu67:armhf.
Preparing to unpack .../24-libicu67_67.1-3_armhf.deb ...
Unpacking libicu67:armhf (67.1-3) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../25-libxml2_2.9.10+dfsg-5+b1_armhf.deb ...
Unpacking libxml2:armhf (2.9.10+dfsg-5+b1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../26-libcroco3_0.6.13-1_armhf.deb ...
Unpacking libcroco3:armhf (0.6.13-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../27-gettext_0.19.8.1-10_armhf.deb ...
Unpacking gettext (0.19.8.1-10) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../28-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../29-po-debconf_1.0.21_all.deb ...
Unpacking po-debconf (1.0.21) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../30-debhelper_13.2_all.deb ...
Unpacking debhelper (13.2) ...
Selecting previously unselected package diffstat.
Preparing to unpack .../31-diffstat_1.63-1_armhf.deb ...
Unpacking diffstat (1.63-1) ...
Selecting previously unselected package ed.
Preparing to unpack .../32-ed_1.16-1_armhf.deb ...
Unpacking ed (1.16-1) ...
Selecting previously unselected package libmm14.
Preparing to unpack .../33-libmm14_1.4.2-6_armhf.deb ...
Unpacking libmm14 (1.4.2-6) ...
Selecting previously unselected package libmm-dev.
Preparing to unpack .../34-libmm-dev_1.4.2-6_armhf.deb ...
Unpacking libmm-dev (1.4.2-6) ...
Selecting previously unselected package quilt.
Preparing to unpack .../35-quilt_0.66-2.1_all.deb ...
Unpacking quilt (0.66-2.1) ...
Selecting previously unselected package sbuild-build-depends-smstools-dummy.
Preparing to unpack .../36-sbuild-build-depends-smstools-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-smstools-dummy (0.invalid.0) ...
Setting up libpipeline1:armhf (1.5.2-2) ...
Setting up libicu67:armhf (67.1-3) ...
Setting up libmagic-mgc (1:5.38-5) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libglib2.0-0:armhf (2.64.4-1) ...
No schema files found: doing nothing.
Setting up libdebhelper-perl (13.2) ...
Setting up libmagic1:armhf (1:5.38-5) ...
Setting up gettext-base (0.19.8.1-10) ...
Setting up file (1:5.38-5) ...
Setting up autotools-dev (20180224.1) ...
Setting up ed (1.16-1) ...
Setting up libsigsegv2:armhf (2.12-2) ...
Setting up diffstat (1.63-1) ...
Setting up autopoint (0.19.8.1-10) ...
Setting up libmm14 (1.4.2-6) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libsub-override-perl (0.09-2) ...
Setting up libelf1:armhf (0.180-1) ...
Setting up libxml2:armhf (2.9.10+dfsg-5+b1) ...
Setting up libfile-stripnondeterminism-perl (1.9.0-1) ...
Setting up libtool (2.4.6-14) ...
Setting up m4 (1.4.18-4) ...
Setting up libmm-dev (1.4.2-6) ...
Setting up libcroco3:armhf (0.6.13-1) ...
Setting up autoconf (2.69-11.1) ...
Setting up dh-strip-nondeterminism (1.9.0-1) ...
Setting up dwz (0.13-5) ...
Setting up groff-base (1.22.4-5) ...
Setting up automake (1:1.16.2-3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up gettext (0.19.8.1-10) ...
Setting up quilt (0.66-2.1) ...
Setting up man-db (2.9.3-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up po-debconf (1.0.21) ...
Setting up dh-autoreconf (19) ...
Setting up debhelper (13.2) ...
Setting up sbuild-build-depends-smstools-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.31-2+rpi1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

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

Kernel: Linux 4.15.0-76-generic armhf (armv8l)
Toolchain package versions: binutils_2.34.90.20200706-1+rpi1 dpkg-dev_1.19.7 g++-9_9.3.0-15+rpi1 gcc-9_9.3.0-15+rpi1 libc6-dev_2.31-2+rpi1 libstdc++-9-dev_9.3.0-15+rpi1 libstdc++6_10.1.0-6+rpi1 linux-libc-dev_5.7.6-1+rpi1
Package versions: adduser_3.118 apt_2.1.7 aptitude_0.8.13-1+b1 aptitude-common_0.8.13-1 autoconf_2.69-11.1 automake_1:1.16.2-3 autopoint_0.19.8.1-10 autotools-dev_20180224.1 base-files_11+rpi1 base-passwd_3.5.47 bash_5.0-6 binutils_2.34.90.20200706-1+rpi1 binutils-arm-linux-gnueabihf_2.34.90.20200706-1+rpi1 binutils-common_2.34.90.20200706-1+rpi1 bsdextrautils_2.36-1 bsdutils_1:2.36-1 build-essential_12.8 bzip2_1.0.8-4 coreutils_8.30-3 cpp_4:9.2.1-3.1+rpi1 cpp-9_9.3.0-15+rpi1 dash_0.5.10.2-7 debconf_1.5.74 debhelper_13.2 debianutils_4.9.1 dh-autoreconf_19 dh-strip-nondeterminism_1.9.0-1 diffstat_1.63-1 diffutils_1:3.7-3 dirmngr_2.2.20-1 dpkg_1.19.7 dpkg-dev_1.19.7 dwz_0.13-5 e2fsprogs_1.45.6-1 ed_1.16-1 fakeroot_1.24-1 fdisk_2.36-1 file_1:5.38-5 findutils_4.7.0-1 g++_4:9.2.1-3.1+rpi1 g++-9_9.3.0-15+rpi1 gcc_4:9.2.1-3.1+rpi1 gcc-10-base_10.1.0-6+rpi1 gcc-9_9.3.0-15+rpi1 gcc-9-base_9.3.0-15+rpi1 gettext_0.19.8.1-10 gettext-base_0.19.8.1-10 gnupg_2.2.20-1 gnupg-l10n_2.2.20-1 gnupg-utils_2.2.20-1 gpg_2.2.20-1 gpg-agent_2.2.20-1 gpg-wks-client_2.2.20-1 gpg-wks-server_2.2.20-1 gpgconf_2.2.20-1 gpgsm_2.2.20-1 gpgv_2.2.20-1 grep_3.4-1 groff-base_1.22.4-5 gzip_1.10-2 hostname_3.23 init-system-helpers_1.58 intltool-debian_0.35.0+20060710.5 iputils-ping_3:20190709-3 libacl1_2.2.53-8 libapt-pkg6.0_2.1.7 libarchive-zip-perl_1.68-1 libasan5_9.3.0-15+rpi1 libassuan0_2.5.3-7.1 libatomic1_10.1.0-6+rpi1 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-3 libaudit1_1:2.8.5-3 libbinutils_2.34.90.20200706-1+rpi1 libblkid1_2.36-1 libboost-iostreams1.71.0_1.71.0-6+b1 libbz2-1.0_1.0.8-4 libc-bin_2.31-2+rpi1 libc-dev-bin_2.31-2+rpi1 libc6_2.31-2+rpi1 libc6-dev_2.31-2+rpi1 libcap-ng0_0.7.9-2.2 libcap2_1:2.36-1 libcap2-bin_1:2.36-1 libcc1-0_10.1.0-6+rpi1 libcom-err2_1.45.6-1 libcroco3_0.6.13-1 libcrypt-dev_1:4.4.16-1 libcrypt1_1:4.4.16-1 libctf-nobfd0_2.34.90.20200706-1+rpi1 libctf0_2.34.90.20200706-1+rpi1 libcwidget4_0.5.18-5 libdb5.3_5.3.28+dfsg1-0.6 libdebconfclient0_0.253 libdebhelper-perl_13.2 libdpkg-perl_1.19.7 libelf1_0.180-1 libext2fs2_1.45.6-1 libfakeroot_1.24-1 libfdisk1_2.36-1 libffi7_3.3-4 libfile-stripnondeterminism-perl_1.9.0-1 libgcc-9-dev_9.3.0-15+rpi1 libgcc-s1_10.1.0-6+rpi1 libgcrypt20_1.8.6-2 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.64.4-1 libgmp10_2:6.2.0+dfsg-6 libgnutls30_3.6.14-2+b1 libgomp1_10.1.0-6+rpi1 libgpg-error0_1.38-2 libhogweed6_3.6-2 libicu67_67.1-3 libidn2-0_2.3.0-1 libisl22_0.22.1-1 libksba8_1.4.0-2 libldap-2.4-2_2.4.50+dfsg-1+b1 libldap-common_2.4.50+dfsg-1 liblz4-1_1.9.2-2 liblzma5_5.2.4-1 libmagic-mgc_1:5.38-5 libmagic1_1:5.38-5 libmm-dev_1.4.2-6 libmm14_1.4.2-6 libmount1_2.36-1 libmpc3_1.1.0-1 libmpfr6_4.0.2-1 libncursesw6_6.2-1 libnettle8_3.6-2 libnpth0_1.6-2 libp11-kit0_0.23.20-1 libpam-cap_1:2.36-1 libpam-modules_1.3.1-5 libpam-modules-bin_1.3.1-5 libpam-runtime_1.3.1-5 libpam0g_1.3.1-5 libpcre2-8-0_10.34-7 libpcre3_2:8.39-13 libperl5.30_5.30.3-4 libpipeline1_1.5.2-2 libreadline8_8.0-4 libsasl2-2_2.1.27+dfsg-2 libsasl2-modules-db_2.1.27+dfsg-2 libseccomp2_2.4.3-1+rpi1 libselinux1_3.1-2 libsemanage-common_3.1-1 libsemanage1_3.1-1 libsepol1_3.1-1 libsigc++-2.0-0v5_2.10.2-1 libsigsegv2_2.12-2 libsmartcols1_2.36-1 libsqlite3-0_3.32.3-1 libss2_1.45.6-1 libstdc++-9-dev_9.3.0-15+rpi1 libstdc++6_10.1.0-6+rpi1 libsub-override-perl_0.09-2 libsystemd0_245.6-2+rpi1+b1 libtasn1-6_4.16.0-2 libtinfo6_6.2-1 libtool_2.4.6-14 libubsan1_10.1.0-6+rpi1 libuchardet0_0.0.7-1 libudev1_245.6-2+rpi1+b1 libunistring2_0.9.10-4 libuuid1_2.36-1 libxapian30_1.4.15-1 libxml2_2.9.10+dfsg-5+b1 libzstd1_1.4.5+dfsg-3+rpi1 linux-libc-dev_5.7.6-1+rpi1 login_1:4.8.1-1 logsave_1.45.6-1 lsb-base_11.1.0+rpi1 m4_1.4.18-4 make_4.2.1-2 man-db_2.9.3-2 mawk_1.3.4.20200120-2 mount_2.36-1 ncurses-base_6.2-1 ncurses-bin_6.2-1 netbase_6.1 passwd_1:4.8.1-1 patch_2.7.6-6 perl_5.30.3-4 perl-base_5.30.3-4 perl-modules-5.30_5.30.3-4 pinentry-curses_1.1.0-4 po-debconf_1.0.21 quilt_0.66-2.1 raspbian-archive-keyring_20120528.2 readline-common_8.0-4 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-smstools-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12+nmu1 sysvinit-utils_2.96-3 tar_1.30+dfsg-7 tzdata_2020a-1 util-linux_2.36-1 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-2

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


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

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Wed Aug  5 20:02:40 2020 UTC
gpgv:                using RSA key 6201FBFFDBBDE07822EABB9696FCAC0D387B5847
gpgv:                issuer "debian@alteholz.de"
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./smstools_3.1.21-4.dsc
dpkg-source: info: extracting smstools in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking smstools_3.1.21.orig.tar.gz
dpkg-source: info: unpacking smstools_3.1.21-4.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying enable-statistics.patch
dpkg-source: info: applying fix-makefile-override.patch
dpkg-source: info: applying hardening.patch
dpkg-source: info: applying spelling.patch
dpkg-source: info: applying gawk-path-fix.patch
dpkg-source: info: applying kfreebsd.patch
dpkg-source: info: applying gcc10.patch

Check disk 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=bullseye-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=bullseye-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=112
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=bullseye-staging-armhf-sbuild-da801ad7-61b8-4e58-99e1-5d9cceed72e9
SCHROOT_UID=107
SCHROOT_USER=buildd
SHELL=/bin/sh
USER=buildd

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

dpkg-buildpackage: info: source package smstools
dpkg-buildpackage: info: source version 3.1.21-4
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh clean
   dh_auto_clean
	make -j4 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd src && make -w -j4 --jobserver-auth=3,4 clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[2]: warning: -j4 forced in submake: resetting jobserver mode.
rm -f *.o smsd *.exe *~
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules build-arch
dh build-arch
   dh_update_autotools_config -a
   dh_autoreconf -a
   dh_auto_configure -a
   dh_auto_build -a
	make -j4 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd src && make -w -j4 --jobserver-auth=3,4 -- INSTALL=install\ --strip-program=true 
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[2]: warning: -j4 forced in submake: resetting jobserver mode.
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o extras.o extras.c
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o locking.o locking.c
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o cfgfile.o cfgfile.c
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o logging.o logging.c
locking.c: In function 'lockfile':
locking.c:52:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   52 |       write(lockfile, pid, strlen(pid));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logging.c: In function 'writelogfile':
logging.c:216:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  216 |       write(Filehandle,text2,strlen(text2));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logging.c: In function 'flush_smart_logging':
logging.c:305:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  305 |     write(Filehandle_trouble, trouble_logging_buffer, strlen(trouble_logging_buffer));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logging.c:314:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  314 |       write(Filehandle_trouble, text2, strlen(text2));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logging.c:334:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  334 |       write(Filehandle_trouble, text2, strlen(text2));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o alarm.o alarm.c
extras.c: In function 'write_pid':
extras.c:1252:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
 1252 |     write(pidfile, pid, strlen(pid));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o smsd_cfg.o smsd_cfg.c
logging.c: In function 'writelogfile':
logging.c:210:49: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size between 16298 and 16378 [-Wformat-truncation=]
  210 |       snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text);
      |                                                 ^~                                         ~~~~
In file included from /usr/include/stdio.h:867,
                 from extras.h:18,
                 from logging.c:16:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 16471 bytes into a destination of size 16384
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logging.c:264:47: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size between 16298 and 16378 [-Wformat-truncation=]
  264 |     snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text);
      |                                               ^~                                         ~~~~
In file included from /usr/include/stdio.h:867,
                 from extras.h:18,
                 from logging.c:16:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 16471 bytes into a destination of size 16384
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o charset.o charset.c
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o stats.o stats.c
extras.c: In function 'my_system':
extras.c:1077:35: warning: '/smsd_' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
 1077 |  snprintf(tmp1, sizeof(tmp1), ">%s/smsd_%s_1.XXXXXX", tmpdir, info);
      |                                   ^~~~~~
In file included from /usr/include/stdio.h:867,
                 from extras.h:18,
                 from extras.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 4112) into a destination of size 4096
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extras.c:1087:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=]
 1087 |  snprintf(tmp2, sizeof(tmp2), "2>%s/smsd_%s_2.XXXXXX", tmpdir, info);
      |                                  ^~                    ~~~~~~
In file included from /usr/include/stdio.h:867,
                 from extras.h:18,
                 from extras.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 18 or more bytes (assuming 4113) into a destination of size 4096
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.c: In function 'startup_check':
smsd_cfg.c:3737:17: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
 3737 |                 read(fd, tmp, sizeof(tmp));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
stats.c: In function 'loadstats':
stats.c:200:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
  200 |       fread(tmp, strlen(statistics_current_version) +1, 1, fp);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats.c:206:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
  206 |         fread(&saved_time, sizeof(time_t), 1, fp);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats.c:207:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
  207 |         fread(&start_time, sizeof(time_t), 1, fp);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats.c:212:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
  212 |           fread(statistics[i], sizeof(_stats), 1, fp);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats.c: In function 'savestats':
stats.c:168:26: warning: '/stats.tmp' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
  168 |     sprintf(filename, "%s/stats.tmp", d_stats);
      |                          ^~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from stats.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 4106 bytes into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats.c: In function 'loadstats':
stats.c:197:26: warning: '/stats.tmp' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
  197 |     sprintf(filename, "%s/stats.tmp", d_stats);
      |                          ^~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from stats.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 4106 bytes into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats.c: In function 'update_message_counter':
stats.c:338:29: warning: '.counter' directive writing 8 bytes into a region of size between 0 and 4095 [-Wformat-overflow=]
  338 |     sprintf(filename, "%s/%s.counter", d_stats, modemname);
      |                             ^~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from stats.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 10 or more bytes (assuming 4105) into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats.c: In function 'write_status':
stats.c:390:29: warning: '/status.tmp' directive writing 11 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
  390 |       sprintf(fname_tmp, "%s/status.tmp", d_stats);
      |                             ^~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from stats.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 4107 bytes into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats.c:481:27: warning: '/status' directive writing 7 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
  481 |         sprintf(fname, "%s/status", d_stats);
      |                           ^~~~~~~
In file included from /usr/include/stdio.h:867,
                 from stats.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 4103 bytes into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extras.c: In function 'make_datetime_string':
extras.c:1670:41: warning: '%03d' directive output may be truncated writing between 3 and 8 bytes into a region of size 7 [-Wformat-truncation=]
 1670 |       snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000);
      |                                         ^~~~
extras.c:1670:40: note: directive argument in the range [-2147483, 2147483]
 1670 |       snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000);
      |                                        ^~~~~~
In file included from /usr/include/stdio.h:867,
                 from extras.h:18,
                 from extras.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 9 bytes into a destination of size 7
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from extras.c:18:
In function 'strncpy',
    inlined from 'make_datetime_string' at extras.c:1671:7:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extras.c: In function 'make_datetime_string':
extras.c:1671:7: note: length computed here
 1671 |       strncpy(p, buffer, strlen(buffer));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from extras.c:18:
In function 'strncpy',
    inlined from 'make_datetime_string' at extras.c:1666:7:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extras.c: In function 'make_datetime_string':
extras.c:1666:7: note: length computed here
 1666 |       strncpy(p, buffer, strlen(buffer));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o blacklist.o blacklist.c
charset.c: In function 'decode_7bit_packed':
charset.c:904:42: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 509 and 510 [-Wformat-truncation=]
  904 |  snprintf(buffer2, sizeof(buffer2), "%02X%s", septets, buffer);
      |                                          ^~            ~~~~~~
In file included from /usr/include/stdio.h:867,
                 from charset.c:16:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 515 bytes into a destination of size 512
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o whitelist.o whitelist.c
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o modeminit.o modeminit.c
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o pdu.o pdu.c
cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o charshift.o charshift.c
modeminit.c: In function 'talk_with_modem':
modeminit.c:2628:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
 2628 |         write(STDOUT_FILENO, tmp, n);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.c: In function 'readcfg':
smsd_cfg.c:2669:77: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=]
 2669 |           snprintf(communicate_a_keys[key], sizeof(communicate_a_keys[0]), "%s", value);
      |                                                                             ^~   ~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd_cfg.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 256
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modeminit.c: In function 'initmodem':
modeminit.c:2055:34: warning: '%s' directive writing up to 499 bytes into a region of size 90 [-Wformat-overflow=]
 2055 |     sprintf(command, "AT+CSCA=\"+%s\"\r", answer);
      |                                  ^~       ~~~~~~
In file included from /usr/include/stdio.h:867,
                 from modeminit.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 512 bytes into a destination of size 100
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modeminit.c:2096:49: warning: '%s' directive output may be truncated writing up to 499 bytes into a region of size 100 [-Wformat-truncation=]
 2096 |     snprintf(DEVICE.imei, sizeof(DEVICE.imei), "%s", answer);
      |                                                 ^~   ~~~~~~
In file included from /usr/include/stdio.h:867,
                 from modeminit.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 500 bytes into a destination of size 100
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdu.c: In function 'get_pdu_details':
pdu.c:1920:64: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 68 and 76 [-Wformat-truncation=]
 1920 |       snprintf(buffer, sizeof(buffer), "%.03i %c %-8.8s %-8.8s %s%.03i %.03i/%.03i %c\n", mnumber, sort_ch, date, time, sender, m_id, p_number, p_count, (is_statusreport) ? 'r' : 'i');
      |                                                                ^~                                                       ~~~~~~
In file included from /usr/include/stdio.h:867,
                 from pdu.c:16:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 39 and 170 bytes into a destination of size 100
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.c: In function 'startup_check':
smsd_cfg.c:3477:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 16 [-Wformat-truncation=]
 3477 |           snprintf(queues[x].numbers[y - 1], SIZE_NUM, "%s", tmp);
      |                                                         ^~   ~~~
In file included from /usr/include/stdio.h:867,
                 from smsd_cfg.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 16
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.c:3486:54: warning: '%s' directive output may be truncated writing up to 329727 bytes into a region of size 4075 [-Wformat-truncation=]
 3486 |     snprintf(tmp, sizeof(tmp), "Queues are used, but %s is not served by any modem.", queues[x].name);
      |                                                      ^~
In file included from /usr/include/stdio.h:867,
                 from smsd_cfg.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 50 and 329777 bytes into a destination of size 4096
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.c:3704:28: warning: '/smsd_data.XXXXXX' directive writing 17 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
 3704 |       sprintf(tmp_data, "%s/smsd_data.XXXXXX", tmpdir);
      |                            ^~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd_cfg.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 4113 bytes into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.c:3713:32: warning: '/smsd_script.XXXXXX' directive writing 19 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
 3713 |         sprintf(tmp_script, "%s/smsd_script.XXXXXX", d_incoming);
      |                                ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd_cfg.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 4115 bytes into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from smsd_cfg.c:31:
smsd_cfg.h:35:32: warning: '%s' directive writing up to 2991359 bytes into a region of size between 0 and 4095 [-Wformat-overflow=]
   35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated"
      |                                ^~~~~~~~~~~~~~~~~~~~
smsd_cfg.c:3797:24: note: in expansion of macro 'CONCATENATED_DIR_FNAME'
 3797 |         sprintf(fname, CONCATENATED_DIR_FNAME, d_incoming, devices[x].name);
      |                        ^~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.h:35:36: note: format string is defined here
   35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated"
      |                                    ^~
In file included from /usr/include/stdio.h:867,
                 from smsd_cfg.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 2995469 bytes into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from smsd_cfg.c:31:
smsd_cfg.h:35:32: warning: '%s' directive writing up to 2991359 bytes into a region of size between 0 and 4095 [-Wformat-overflow=]
   35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated"
      |                                ^~~~~~~~~~~~~~~~~~~~
smsd_cfg.c:3808:26: note: in expansion of macro 'CONCATENATED_DIR_FNAME'
 3808 |             sprintf(tmp, CONCATENATED_DIR_FNAME, d_saved, devices[x].name);
      |                          ^~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.h:35:36: note: format string is defined here
   35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated"
      |                                    ^~
In file included from /usr/include/stdio.h:867,
                 from smsd_cfg.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 2995469 bytes into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.c:3884:58: warning: '%s' directive writing up to 4095 bytes into a region of size 4062 [-Wformat-overflow=]
 3884 |       sprintf(buffer, "Default validity period is set to %s.", tmp);
      |                                                          ^~    ~~~
In file included from /usr/include/stdio.h:867,
                 from smsd_cfg.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 36 and 4131 bytes into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.c:3904:54: warning: '%s' directive writing up to 4095 bytes into a region of size 4066 [-Wformat-overflow=]
 3904 |       sprintf(buffer, "Using international prefixes: %s", tmp);
      |                                                      ^~   ~~~
In file included from /usr/include/stdio.h:867,
                 from smsd_cfg.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 31 and 4126 bytes into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.c:3921:49: warning: '%s' directive writing up to 4095 bytes into a region of size 4071 [-Wformat-overflow=]
 3921 |       sprintf(buffer, "Using national prefixes: %s", tmp);
      |                                                 ^~   ~~~
In file included from /usr/include/stdio.h:867,
                 from smsd_cfg.c:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 4121 bytes into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc `mm-config --cflags` -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -o smsd smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o charshift.o `mm-config --ldflags --libs` `dpkg-buildflags --get LDFLAGS` -z now -z relro
smsd.c: In function 'received2file':
smsd.c:3445:15: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
 3445 |               write(ftmp, st, strlen(st));
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c: In function 'cmd_to_modem':
smsd.c:6025:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
 6025 |         write(fd, answer, strlen(answer));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c:6026:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
 6026 |         write(fd, "\n", 1);
      |         ^~~~~~~~~~~~~~~~~~
smsd.c:6069:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
 6069 |             write(fd, buffer, strlen(buffer));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c: In function 'main':
smsd.c:7918:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
 7918 |     dup(i);
      |     ^~~~~~
smsd.c:7919:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
 7919 |     dup(i);
      |     ^~~~~~
smsd.c:7987:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
 7987 |       system(command);
      |       ^~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from smsd.c:21:
In function 'strncpy',
    inlined from 'extract_macros.part.0' at smsd.c:819:13:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c: In function 'extract_macros.part.0':
smsd.c:800:21: note: length computed here
  800 |         len_value = strlen(p_value);
      |                     ^~~~~~~~~~~~~~~
smsd.c: In function 'change_headers':
smsd.c:977:28: warning: '/smsd.XXXXXX' directive writing 12 bytes into a region of size between 8 and 4103 [-Wformat-overflow=]
  977 |   sprintf(tmp_filename, "%s/smsd.XXXXXX", tmpdir);
      |                            ^~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 4108 bytes into a destination of size 4103
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from smsd.c:40:
smsd.c: In function 'received2file':
smsd_cfg.h:35:32: warning: '-concatenated' directive writing 13 bytes into a region of size between 0 and 4095 [-Wformat-overflow=]
   35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated"
      |                                ^~~~~~~~~~~~~~~~~~~~
smsd.c:3282:29: note: in expansion of macro 'CONCATENATED_DIR_FNAME'
 3282 |       sprintf(con_filename, CONCATENATED_DIR_FNAME, (*d_saved)? d_saved : d_incoming, DEVICE.name);
      |                             ^~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.h:35:38: note: format string is defined here
   35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated"
      |                                      ^~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 4110) into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c:3436:38: warning: '.XXXXXX' directive writing 7 bytes into a region of size between 0 and 4095 [-Wformat-overflow=]
 3436 |           sprintf(tmp_filename,"%s/%s.XXXXXX",d_incoming,DEVICE.name);
      |                                      ^~~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 4104) into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c: In function 'send_part':
smsd.c:4139:27: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
 4139 |   sprintf(command2,"%s\x1A",pdu);
      |                           ^
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 1025 bytes into a destination of size 1024
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c: In function 'exec_system':
smsd.c:305:50: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 247 [-Wformat-truncation=]
  305 |           snprintf(msg, sizeof(msg), "Smsd3: %s, %s", DEVICE.name, alert);
      |                                                  ^~                ~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 265) into a destination of size 256
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c:332:82: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 205 and 236 [-Wformat-truncation=]
  332 |               snprintf(shared_buffer, SIZE_SHARED_BUFFER, "%s Sms3: mainprocess, %s", adminmessage_device, alert);
      |                                                                                  ^~                        ~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 21 and 307 bytes into a destination of size 256
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c: In function 'savephonecall':
smsd.c:2833:27: warning: '.XXXXXX' directive writing 7 bytes into a region of size between 0 and 4095 [-Wformat-overflow=]
 2833 |   sprintf(filename, "%s/%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, DEVICE.name);
      |                           ^~~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 4104) into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c:2831:27: warning: '.' directive writing 1 byte into a region of size between 0 and 4095 [-Wformat-overflow=]
 2831 |   sprintf(filename, "%s/%s.%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, DEVICE.name, timestamp);
      |                           ^
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 10 or more bytes (assuming 4185) into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c:2829:25: warning: '%s' directive writing up to 80 bytes into a region of size between 0 and 4095 [-Wformat-overflow=]
 2829 |   sprintf(filename, "%s/%s.%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, timestamp, DEVICE.name);
      |                         ^~                                                         ~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 10 or more bytes (assuming 4185) into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from smsd.c:21:
In function 'strncpy',
    inlined from 'receivesms' at smsd.c:3831:11:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c: In function 'cmd_to_modem.part.0':
smsd.c:6022:34: warning: '/smsd.XXXXXX' directive writing 12 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
 6022 |         sprintf(tmp_filename, "%s/smsd.XXXXXX", tmpdir);
      |                                  ^~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 4108 bytes into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c:6068:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 931 and 1011 [-Wformat-truncation=]
 6068 |             snprintf(buffer, sizeof(buffer), "%s,%i, %s: CMD: %s: %s\n", timestamp, DEVICE.dev_rr_loglevel, DEVICE.name, command, answer);
      |                                                                   ^~                                                              ~~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 1118) into a destination of size 1024
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from smsd.c:40:
smsd.c: In function 'do_ic_purge':
smsd_cfg.h:35:32: warning: '-concatenated' directive writing 13 bytes into a region of size between 0 and 4095 [-Wformat-overflow=]
   35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated"
      |                                ^~~~~~~~~~~~~~~~~~~~
smsd.c:6241:25: note: in expansion of macro 'CONCATENATED_DIR_FNAME'
 6241 |   sprintf(con_filename, CONCATENATED_DIR_FNAME, (*d_saved)? d_saved : d_incoming, DEVICE.name);
      |                         ^~~~~~~~~~~~~~~~~~~~~~
smsd_cfg.h:35:38: note: format string is defined here
   35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated"
      |                                      ^~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 4110) into a destination of size 4096
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c: In function 'send1sms':
smsd.c:5040:49: warning: '%s' directive output may be truncated writing up to 39015 bytes into a region of size 1024 [-Wformat-truncation=]
 5040 |         snprintf(part_text, sizeof(part_text), "%s", text);
      |                                                 ^~   ~~~~
In file included from /usr/include/stdio.h:867,
                 from smsd.c:19:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 39016 bytes into a destination of size 1024
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smsd.c:4857:11: warning: 'eachpartlen' may be used uninitialized in this function [-Wmaybe-uninitialized]
 4857 |           writelogfile(LOG_DEBUG, 0, "Splitting this message into %i parts of max %i characters%s.",
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4858 |                        parts, (alphabet == ALPHABET_UCS2)? eachpartlen /2 : eachpartlen, (alphabet == ALPHABET_UCS2)? " (unicode)" : "");
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -a
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary-arch
dh binary-arch
   dh_testroot -a
   dh_prep -a
   dh_installdirs -a
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Fix permissions
chmod 644 scripts/smstest.php
dh_auto_install
	make -j4 install DESTDIR=/<<PKGBUILDDIR>>/debian/smstools AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cd src && make -w -j4 --jobserver-auth=3,4 -- INSTALL=install\ --strip-program=true AM_UPDATE_INFO_DIR=no DESTDIR=/<<PKGBUILDDIR>>/debian/smstools 
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: warning: -j4 forced in submake: resetting jobserver mode.
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
./install.sh /usr/local/bin

Installing binary program files
  /usr/local/bin/smsd
cp: cannot create regular file '/usr/local/bin/smsd': Permission denied
Installing some scripts
  /usr/local/bin/sendsms
cp: cannot create regular file '/usr/local/bin/sendsms': Permission denied
  /usr/local/bin/sms2html
cp: cannot create regular file '/usr/local/bin/sms2html': Permission denied
  /usr/local/bin/sms2unicode
cp: cannot create regular file '/usr/local/bin/sms2unicode': Permission denied
  /usr/local/bin/unicode2sms
cp: cannot create regular file '/usr/local/bin/unicode2sms': Permission denied
Installing config file
  /etc/smsd.conf
cp: cannot create regular file '/etc/smsd.conf': Permission denied
Creating minimum spool directories
  Skipped /var/spool, directory already exists
  Creating directory /var/spool/sms
mkdir: cannot create directory '/var/spool/sms': Permission denied
  Creating directory /var/spool/sms/incoming
mkdir: cannot create directory '/var/spool/sms/incoming': No such file or directory
  Creating directory /var/spool/sms/outgoing
mkdir: cannot create directory '/var/spool/sms/outgoing': No such file or directory
  Creating directory /var/spool/sms/checked
mkdir: cannot create directory '/var/spool/sms/checked': No such file or directory
Installing start-script
  /etc/init.d/sms3
cp: cannot create regular file '/etc/init.d/sms3': Permission denied

Example script files are not installed automatically.
Please dont forget to edit /etc/smsd.conf.
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
# Install changelogs
dh_installchangelogs doc/history3.html
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install -a
   dh_installdocs -a
   dh_installchangelogs -a
   dh_installexamples -a
   dh_installman -a
   dh_installdebconf -a
   dh_installinit -a
   dh_installlogrotate -a
   dh_perl -a
   dh_link -a
   dh_strip_nondeterminism -a
   dh_compress -a
   dh_fixperms -a
   dh_missing -a
   dh_dwz -a
   dh_strip -a
   dh_makeshlibs -a
   dh_shlibdeps -a
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/smstools/usr/sbin/smsd was not linked against ld-linux-armhf.so.3 (it uses none of the library's symbols)
   dh_installdeb -a
   dh_gencontrol -a
dpkg-gencontrol: warning: package smstools: substitution variable ${misc:Pre-Depends} unused, but is defined
dpkg-gencontrol: warning: package smstools: substitution variable ${misc:Pre-Depends} unused, but is defined
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package 'smstools-dbgsym' in '../smstools-dbgsym_3.1.21-4_armhf.deb'.
dpkg-deb: building package 'smstools' in '../smstools_3.1.21-4_armhf.deb'.
 dpkg-genbuildinfo --build=any
 dpkg-genchanges --build=any -mRaspbian mythic lxc autobuilder 1 <root@raspbian.org> >../smstools_3.1.21-4_armhf.changes
dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2020-08-12T19:03:00Z

Finished
--------

I: Built successfully

+------------------------------------------------------------------------------+
| Post Build Chroot                                                            |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Changes                                                                      |
+------------------------------------------------------------------------------+


smstools_3.1.21-4_armhf.changes:
--------------------------------

Format: 1.8
Date: Wed, 05 Aug 2020 21:39:26 +0200
Source: smstools
Binary: smstools smstools-dbgsym
Architecture: armhf
Version: 3.1.21-4
Distribution: bullseye-staging
Urgency: medium
Maintainer: Raspbian mythic lxc autobuilder 1 <root@raspbian.org>
Changed-By: Thorsten Alteholz <debian@alteholz.de>
Description:
 smstools   - SMS server tools for GSM modems
Closes: 957818
Changes:
 smstools (3.1.21-4) unstable; urgency=medium
 .
   * take care of gcc10 errors (Closes: #957818)
   * debian/control: bump standard to 4.5.0 (no changes)
   * debian/control: use dh12
   * debian/patches/spelling.patch: add more stuff noted by lintian
Checksums-Sha1:
 c0a741faefa47d0bc2fc5e515aa66d82e03657f1 287004 smstools-dbgsym_3.1.21-4_armhf.deb
 6352ee182d4540918f6b19aabdba945844c56bbf 4650 smstools_3.1.21-4_armhf.buildinfo
 215469e7e541667c4db981caf3cd44815f225735 322536 smstools_3.1.21-4_armhf.deb
Checksums-Sha256:
 00d5a65010e3a19ab0e196a4e6660a9788f8843bffab123988dec49e41f1606e 287004 smstools-dbgsym_3.1.21-4_armhf.deb
 dd21b9a5c48f769175557e48391a01d94e8c1e89744ecee63b89ff366530eaab 4650 smstools_3.1.21-4_armhf.buildinfo
 25deb8c96a8a66a12f9bf9d7cbb171da9b5433214686da8ffcfe6c285891f932 322536 smstools_3.1.21-4_armhf.deb
Files:
 6debf36b1d9b7f4b06de4f3d0a7645ed 287004 debug optional smstools-dbgsym_3.1.21-4_armhf.deb
 d722fb3e958e3689f097ad212b4650d9 4650 comm optional smstools_3.1.21-4_armhf.buildinfo
 08fce2e9a73fadda258dffb249fe912f 322536 comm optional smstools_3.1.21-4_armhf.deb

+------------------------------------------------------------------------------+
| Package contents                                                             |
+------------------------------------------------------------------------------+


smstools-dbgsym_3.1.21-4_armhf.deb
----------------------------------

 new Debian package, version 2.0.
 size 287004 bytes: control archive=532 bytes.
     381 bytes,    12 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: smstools-dbgsym
 Source: smstools
 Version: 3.1.21-4
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Mobcom Maintainers <Debian-mobcom-maintainers@lists.alioth.debian.org>
 Installed-Size: 314
 Depends: smstools (= 3.1.21-4)
 Section: debug
 Priority: optional
 Description: debug symbols for smstools
 Build-Ids: 8c938628c1c559321ecd755648e9107c263866ef

drwxr-xr-x root/root         0 2020-08-05 19:39 ./
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/lib/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/lib/debug/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/lib/debug/.build-id/8c/
-rw-r--r-- root/root    310700 2020-08-05 19:39 ./usr/lib/debug/.build-id/8c/938628c1c559321ecd755648e9107c263866ef.debug
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/doc/
lrwxrwxrwx root/root         0 2020-08-05 19:39 ./usr/share/doc/smstools-dbgsym -> smstools


smstools_3.1.21-4_armhf.deb
---------------------------

 new Debian package, version 2.0.
 size 322536 bytes: control archive=17320 bytes.
     108 bytes,     4 lines      conffiles            
    2781 bytes,   121 lines   *  config               #!/bin/sh
    1125 bytes,    24 lines      control              
    7185 bytes,    87 lines      md5sums              
    4667 bytes,   188 lines   *  postinst             #!/bin/sh
     773 bytes,    32 lines   *  postrm               #!/bin/sh
     532 bytes,    15 lines   *  preinst              #!/bin/sh
     218 bytes,     7 lines   *  prerm                #!/bin/sh
   36993 bytes,   455 lines      templates            
 Package: smstools
 Version: 3.1.21-4
 Architecture: armhf
 Maintainer: Debian Mobcom Maintainers <Debian-mobcom-maintainers@lists.alioth.debian.org>
 Installed-Size: 1143
 Depends: debconf (>= 1.4.69), ucf (>= 0.28), adduser, libc6 (>= 2.28), libmm14 (>= 1.4.0), lsb-base
 Section: comm
 Priority: optional
 Homepage: http://smstools3.kekekasvi.com
 Description: SMS server tools for GSM modems
  The SMS server tools allow setting up a central SMS gateway. It
  sends and receives SMS messages using a simple file-based
  interface. It can accommodate up to 20,000 messages a month.
  .
  It supports an event-handler option that allows calling customized
  programs or scripts after sending or receiving SMS messages.
  .
  The SMS Server Tools use one or more (max. 32) GSM modems to send and
  receive SMS messages. Some modems may be equipped with SIM cards such
  as Vodafone or Telmi ones.  All messages are sorted in queues by the
  provider. If one modem fails, it will be deactivated for one hour
  before the software retries, while other modems run without any
  restriction. The status information and alarms are logged with
  syslog.

drwxr-xr-x root/root         0 2020-08-05 19:39 ./
drwxr-xr-x root/root         0 2020-08-05 19:39 ./etc/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./etc/default/
-rw-r--r-- root/root       262 2020-07-27 19:00 ./etc/default/smstools
drwxr-xr-x root/root         0 2020-08-05 19:39 ./etc/init.d/
-rwxr-xr-x root/root      4282 2020-07-27 19:00 ./etc/init.d/smstools
drwxr-xr-x root/root         0 2020-08-05 19:39 ./etc/logcheck/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./etc/logcheck/ignore.d.server/
-rw-r--r-- root/root        44 2020-07-27 19:00 ./etc/logcheck/ignore.d.server/smstools
drwxr-xr-x root/root         0 2020-08-05 19:39 ./etc/logrotate.d/
-rw-r--r-- root/root       166 2020-07-27 19:00 ./etc/logrotate.d/smstools
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/sbin/
-rwxr-xr-x root/root    284244 2020-08-05 19:39 ./usr/sbin/smsd
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/doc-base/
-rw-r--r-- root/root       351 2020-07-27 19:00 ./usr/share/doc-base/smstools
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/doc/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/doc/smstools/
-rw-r--r-- root/root       628 2020-07-27 19:00 ./usr/share/doc/smstools/README.Debian
-rw-r--r-- root/root      7623 2020-08-05 19:39 ./usr/share/doc/smstools/changelog.Debian.gz
-rw-r--r-- root/root        42 2020-08-05 19:39 ./usr/share/doc/smstools/changelog.gz
-rw-r--r-- root/root     40523 2020-08-05 19:39 ./usr/share/doc/smstools/changelog.html.gz
-rw-r--r-- root/root      1179 2020-07-27 19:00 ./usr/share/doc/smstools/copyright
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/doc/smstools/examples/
-rw-r--r-- root/root       147 2010-06-18 10:14 ./usr/share/doc/smstools/examples/README
-rw-r--r-- root/root      1104 2009-03-14 15:13 ./usr/share/doc/smstools/examples/language-ISO-8859-15.fi
-rw-r--r-- root/root      1121 2009-03-14 15:14 ./usr/share/doc/smstools/examples/language-UTF-8.fi
-rw-r--r-- root/root       171 2006-02-04 19:52 ./usr/share/doc/smstools/examples/operator_logo1.sms
-rw-r--r-- root/root       127 2006-02-04 19:52 ./usr/share/doc/smstools/examples/operator_logo2.sms
-rw-r--r-- root/root       230 2006-02-04 19:52 ./usr/share/doc/smstools/examples/received_report.sms
-rw-r--r-- root/root       181 2006-02-04 19:52 ./usr/share/doc/smstools/examples/received_sms.sms
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/doc/smstools/examples/scripts/
-rw-r--r-- root/root       147 2010-06-18 10:14 ./usr/share/doc/smstools/examples/scripts/README
-rwxr-xr-x root/root       430 2008-11-07 11:29 ./usr/share/doc/smstools/examples/scripts/callhandler
-rwxr-xr-x root/root       287 2009-04-05 17:21 ./usr/share/doc/smstools/examples/scripts/checkhandler-utf-8
-rwxr-xr-x root/root      1132 2010-09-14 10:11 ./usr/share/doc/smstools/examples/scripts/email2sms
-rwxr-xr-x root/root       351 2009-04-05 17:19 ./usr/share/doc/smstools/examples/scripts/eventhandler-utf-8
-rwxr-xr-x root/root      1054 2009-03-19 13:07 ./usr/share/doc/smstools/examples/scripts/eventhandler_report
-rwxr-xr-x root/root       320 2008-07-11 15:08 ./usr/share/doc/smstools/examples/scripts/forwardsms
-rwxr-xr-x root/root       425 2020-08-05 19:39 ./usr/share/doc/smstools/examples/scripts/hex2bin
-rwxr-xr-x root/root       428 2020-08-05 19:39 ./usr/share/doc/smstools/examples/scripts/hex2dec
-rwxr-xr-x root/root      2403 2010-09-15 12:37 ./usr/share/doc/smstools/examples/scripts/load_balancing.sh
-rwxr-xr-x root/root      1874 2008-05-24 12:37 ./usr/share/doc/smstools/examples/scripts/mysmsd
-rwxr-xr-x root/root       288 2006-08-31 18:42 ./usr/share/doc/smstools/examples/scripts/pkill
-rwxr-xr-x root/root      3808 2009-03-22 12:01 ./usr/share/doc/smstools/examples/scripts/regular_run
-rwxr-xr-x root/root      2335 2017-05-03 13:55 ./usr/share/doc/smstools/examples/scripts/sendsms
-rwxr-xr-x root/root      1206 2006-02-04 19:52 ./usr/share/doc/smstools/examples/scripts/sms2html
-rwxr-xr-x root/root       999 2006-02-04 19:52 ./usr/share/doc/smstools/examples/scripts/sms2unicode
-rwxr-xr-x root/root       752 2006-02-04 19:52 ./usr/share/doc/smstools/examples/scripts/sms2xml
-rwxr-xr-x root/root      3792 2020-08-05 19:39 ./usr/share/doc/smstools/examples/scripts/sms3
-rwxr-xr-x root/root      2323 2007-11-26 17:50 ./usr/share/doc/smstools/examples/scripts/smsevent
-rwxr-xr-x root/root      1120 2009-07-18 14:20 ./usr/share/doc/smstools/examples/scripts/smsresend
-rw-r--r-- root/root      3305 2007-06-27 17:46 ./usr/share/doc/smstools/examples/scripts/smstest.php
-rwxr-xr-x root/root       882 2006-02-04 19:52 ./usr/share/doc/smstools/examples/scripts/sql_demo
-rwxr-xr-x root/root       754 2006-02-04 19:52 ./usr/share/doc/smstools/examples/scripts/unicode2sms
-rw-r--r-- root/root        80 2007-03-20 12:35 ./usr/share/doc/smstools/examples/send_sms.sms
-rw-r--r-- root/root        42 2006-02-04 19:52 ./usr/share/doc/smstools/examples/send_sms_unicode.sms
-rw-r--r-- root/root       167 2006-02-04 19:52 ./usr/share/doc/smstools/examples/smsd.conf.easy
-rw-r--r-- root/root      3127 2007-05-20 08:58 ./usr/share/doc/smstools/examples/smsd.conf.full
-rw-r--r-- root/root       212 2010-03-26 10:45 ./usr/share/doc/smstools/examples/smsd.conf.net
-rw-r--r-- root/root       403 2006-11-23 13:28 ./usr/share/doc/smstools/examples/smsd.conf.non-root
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/doc/smstools/html/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/doc/smstools/html/doc/
-rw-r--r-- root/root      4388 2017-02-07 15:17 ./usr/share/doc/smstools/html/doc/blacklist.html
-rw-r--r-- root/root       224 2017-02-07 20:53 ./usr/share/doc/smstools/html/doc/book.html
-rw-r--r-- root/root      2483 2017-02-07 15:17 ./usr/share/doc/smstools/html/doc/compiling.html
-rw-r--r-- root/root    131395 2020-08-05 19:39 ./usr/share/doc/smstools/html/doc/configure.html
-rw-r--r-- root/root      8199 2017-02-07 15:17 ./usr/share/doc/smstools/html/doc/configure2.html
-rw-r--r-- root/root      3116 2017-02-07 15:17 ./usr/share/doc/smstools/html/doc/eventhandler.html
-rw-r--r-- root/root     11564 2017-02-07 15:17 ./usr/share/doc/smstools/html/doc/faq.html
-rw-r--r-- root/root     30571 2017-04-23 17:10 ./usr/share/doc/smstools/html/doc/fileformat.html
-rw-r--r-- root/root     18876 2017-02-07 15:17 ./usr/share/doc/smstools/html/doc/gpl.html
-rw-r--r-- root/root      5907 2017-02-07 15:17 ./usr/share/doc/smstools/html/doc/hardwarecomp.html
-rw-r--r-- root/root    150809 2020-08-05 19:39 ./usr/share/doc/smstools/html/doc/history3.html
-rw-r--r-- root/root      6593 2017-02-27 17:29 ./usr/share/doc/smstools/html/doc/index.html
-rw-r--r-- root/root      1949 2017-02-07 20:55 ./usr/share/doc/smstools/html/doc/license.html
-rw-r--r-- root/root     10543 2017-03-16 14:11 ./usr/share/doc/smstools/html/doc/localizing.html
-rw-r--r-- root/root    148233 2017-03-10 13:48 ./usr/share/doc/smstools/html/doc/national_language_shift_tables.html
-rw-r--r-- root/root     10093 2017-02-07 15:17 ./usr/share/doc/smstools/html/doc/run.html
drwxr-xr-x root/root         0 2017-02-07 15:18 ./usr/share/doc/smstools/html/doc/slideshow/
-rw-r--r-- root/root       413 2006-02-04 19:52 ./usr/share/doc/smstools/html/doc/slideshow/blacklist.gif
-rw-r--r-- root/root       413 2006-02-04 19:52 ./usr/share/doc/smstools/html/doc/slideshow/eventhandler.gif
-rw-r--r-- root/root       441 2006-02-04 19:52 ./usr/share/doc/smstools/html/doc/slideshow/logfile.gif
-rw-r--r-- root/root       302 2006-02-04 19:52 ./usr/share/doc/smstools/html/doc/slideshow/modem.gif
-rw-r--r-- root/root       907 2006-02-04 19:52 ./usr/share/doc/smstools/html/doc/slideshow/move_l.gif
-rw-r--r-- root/root       908 2006-02-04 19:52 ./usr/share/doc/smstools/html/doc/slideshow/move_r.gif
-rw-r--r-- root/root      4091 2017-02-07 15:18 ./usr/share/doc/smstools/html/doc/slideshow/page1.html
-rw-r--r-- root/root      3610 2017-02-07 15:18 ./usr/share/doc/smstools/html/doc/slideshow/page2.html
-rw-r--r-- root/root     40817 2007-08-09 11:53 ./usr/share/doc/smstools/html/doc/slideshow/page2.jpg
-rw-r--r-- root/root      5521 2017-02-07 15:18 ./usr/share/doc/smstools/html/doc/slideshow/page2b.html
-rw-r--r-- root/root      3738 2017-02-07 15:18 ./usr/share/doc/smstools/html/doc/slideshow/page3.html
-rw-r--r-- root/root      4626 2017-02-07 15:18 ./usr/share/doc/smstools/html/doc/slideshow/page4.html
-rw-r--r-- root/root      4094 2017-02-07 15:18 ./usr/share/doc/smstools/html/doc/slideshow/page5.html
-rw-r--r-- root/root      3754 2017-02-07 15:18 ./usr/share/doc/smstools/html/doc/slideshow/page6.html
-rw-r--r-- root/root      4998 2017-02-07 15:18 ./usr/share/doc/smstools/html/doc/slideshow/page7.html
-rw-r--r-- root/root      4207 2017-02-07 15:18 ./usr/share/doc/smstools/html/doc/slideshow/page8.html
-rw-r--r-- root/root       542 2006-02-04 19:52 ./usr/share/doc/smstools/html/doc/slideshow/queue.gif
-rw-r--r-- root/root       649 2006-02-04 19:52 ./usr/share/doc/smstools/html/doc/slideshow/sms.gif
-rw-r--r-- root/root      5212 2007-08-09 07:21 ./usr/share/doc/smstools/html/doc/slideshow/smstools3-small.jpg
-rw-r--r-- root/root       457 2006-02-04 19:52 ./usr/share/doc/smstools/html/doc/slideshow/statistic.gif
-rw-r--r-- root/root       241 2006-02-04 19:52 ./usr/share/doc/smstools/html/doc/slideshow/status.gif
-rw-r--r-- root/root      4004 2017-02-07 15:17 ./usr/share/doc/smstools/html/doc/statusmonitor.html
-rw-r--r-- root/root      4232 2017-02-07 15:17 ./usr/share/doc/smstools/html/doc/udh.html
-rw-r--r-- root/root      5116 2017-02-07 15:17 ./usr/share/doc/smstools/html/doc/windows.html
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/man/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/man/de/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/man/de/man8/
-rw-r--r-- root/root       853 2020-08-05 19:39 ./usr/share/man/de/man8/smsd.8.gz
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/man/man8/
-rw-r--r-- root/root       671 2020-08-05 19:39 ./usr/share/man/man8/smsd.8.gz
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/smstools/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./usr/share/smstools/conf-templates/
-rw-r--r-- root/root      2877 2020-07-27 19:00 ./usr/share/smstools/conf-templates/smsd.conf.template
-rw-r--r-- root/root       107 2020-07-27 19:00 ./usr/share/smstools/conf-templates/smsd.modem.template
drwxr-xr-x root/root         0 2020-08-05 19:39 ./var/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./var/log/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./var/log/smstools/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./var/log/smstools/smsd_stats/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./var/spool/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./var/spool/sms/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./var/spool/sms/checked/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./var/spool/sms/failed/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./var/spool/sms/incoming/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./var/spool/sms/outgoing/
drwxr-xr-x root/root         0 2020-08-05 19:39 ./var/spool/sms/sent/


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


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

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

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

Build Architecture: armhf
Build-Space: 7104
Build-Time: 28
Distribution: bullseye-staging
Host Architecture: armhf
Install-Time: 117
Job: smstools_3.1.21-4
Machine Architecture: armhf
Package: smstools
Package-Time: 163
Source-Version: 3.1.21-4
Space: 7104
Status: successful
Version: 3.1.21-4
--------------------------------------------------------------------------------
Finished at 2020-08-12T19:03:00Z
Build needed 00:02:43, 7104k disk space