I: pbuilder: network access will be disabled during build I: Current time: Sat Jun 15 02:51:13 +14 2019 I: pbuilder-time-stamp: 1560516673 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [smstools_3.1.21-3.dsc] I: copying [./smstools_3.1.21.orig.tar.gz] I: copying [./smstools_3.1.21-3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Tue Jul 17 10:43:23 2018 +14 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-3.dsc dpkg-source: info: extracting smstools in smstools-3.1.21 dpkg-source: info: unpacking smstools_3.1.21.orig.tar.gz dpkg-source: info: unpacking smstools_3.1.21-3.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 I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/25285/tmp/hooks/D01_modify_environment starting disorder-fs debug: Running on profitbricks-build2-i386. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/25285/tmp/hooks/D01_modify_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 11), libmm-dev, po-debconf, quilt dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19231 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 11); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on libmm-dev; however: Package libmm-dev is not installed. pbuilder-satisfydepends-dummy depends on po-debconf; however: Package po-debconf is not installed. pbuilder-satisfydepends-dummy depends on quilt; however: Package quilt is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} diffstat{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libmm-dev{a} libmm14{a} libncurses6{a} libpipeline1{a} libsigsegv2{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} quilt{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl less libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 37 newly installed, 0 to remove and 0 not upgraded. Need to get 19.8 MB of archives. After unpacking 71.3 MB will be used. Writing extended state information... Get: 1 http://cdn-fastly.deb.debian.org/debian buster/main i386 libbsd0 i386 0.9.1-2 [104 kB] Get: 2 http://cdn-fastly.deb.debian.org/debian buster/main i386 bsdmainutils i386 11.1.2+b1 [193 kB] Get: 3 http://cdn-fastly.deb.debian.org/debian buster/main i386 libuchardet0 i386 0.0.6-3 [65.2 kB] Get: 4 http://cdn-fastly.deb.debian.org/debian buster/main i386 groff-base i386 1.22.4-3 [935 kB] Get: 5 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpipeline1 i386 1.5.1-2 [33.3 kB] Get: 6 http://cdn-fastly.deb.debian.org/debian buster/main i386 man-db i386 2.8.5-2 [1284 kB] Get: 7 http://cdn-fastly.deb.debian.org/debian buster/main i386 sensible-utils all 0.0.12 [15.8 kB] Get: 8 http://cdn-fastly.deb.debian.org/debian buster/main i386 libmagic-mgc i386 1:5.35-4 [242 kB] Get: 9 http://cdn-fastly.deb.debian.org/debian buster/main i386 libmagic1 i386 1:5.35-4 [124 kB] Get: 10 http://cdn-fastly.deb.debian.org/debian buster/main i386 file i386 1:5.35-4 [66.3 kB] Get: 11 http://cdn-fastly.deb.debian.org/debian buster/main i386 gettext-base i386 0.19.8.1-9 [124 kB] Get: 12 http://cdn-fastly.deb.debian.org/debian buster/main i386 libsigsegv2 i386 2.12-2 [33.2 kB] Get: 13 http://cdn-fastly.deb.debian.org/debian buster/main i386 m4 i386 1.4.18-2 [205 kB] Get: 14 http://cdn-fastly.deb.debian.org/debian buster/main i386 autoconf all 2.69-11 [341 kB] Get: 15 http://cdn-fastly.deb.debian.org/debian buster/main i386 autotools-dev all 20180224.1 [77.0 kB] Get: 16 http://cdn-fastly.deb.debian.org/debian buster/main i386 automake all 1:1.16.1-4 [771 kB] Get: 17 http://cdn-fastly.deb.debian.org/debian buster/main i386 autopoint all 0.19.8.1-9 [434 kB] Get: 18 http://cdn-fastly.deb.debian.org/debian buster/main i386 libtool all 2.4.6-9 [547 kB] Get: 19 http://cdn-fastly.deb.debian.org/debian buster/main i386 dh-autoreconf all 19 [16.9 kB] Get: 20 http://cdn-fastly.deb.debian.org/debian buster/main i386 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 21 http://cdn-fastly.deb.debian.org/debian buster/main i386 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 22 http://cdn-fastly.deb.debian.org/debian buster/main i386 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 23 http://cdn-fastly.deb.debian.org/debian buster/main i386 libelf1 i386 0.176-1.1 [166 kB] Get: 24 http://cdn-fastly.deb.debian.org/debian buster/main i386 dwz i386 0.12-3 [81.4 kB] Get: 25 http://cdn-fastly.deb.debian.org/debian buster/main i386 libglib2.0-0 i386 2.58.3-2 [1333 kB] Get: 26 http://cdn-fastly.deb.debian.org/debian buster/main i386 libicu63 i386 63.1-6 [8443 kB] Get: 27 http://cdn-fastly.deb.debian.org/debian buster/main i386 libxml2 i386 2.9.4+dfsg1-7+b3 [721 kB] Get: 28 http://cdn-fastly.deb.debian.org/debian buster/main i386 libcroco3 i386 0.6.12-3 [151 kB] Get: 29 http://cdn-fastly.deb.debian.org/debian buster/main i386 libncurses6 i386 6.1+20181013-2 [109 kB] Get: 30 http://cdn-fastly.deb.debian.org/debian buster/main i386 gettext i386 0.19.8.1-9 [1314 kB] Get: 31 http://cdn-fastly.deb.debian.org/debian buster/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://cdn-fastly.deb.debian.org/debian buster/main i386 po-debconf all 1.0.21 [248 kB] Get: 33 http://cdn-fastly.deb.debian.org/debian buster/main i386 debhelper all 12.1.1 [1016 kB] Get: 34 http://cdn-fastly.deb.debian.org/debian buster/main i386 diffstat i386 1.62-1 [34.0 kB] Get: 35 http://cdn-fastly.deb.debian.org/debian buster/main i386 libmm14 i386 1.4.2-5 [18.4 kB] Get: 36 http://cdn-fastly.deb.debian.org/debian buster/main i386 libmm-dev i386 1.4.2-5 [36.6 kB] Get: 37 http://cdn-fastly.deb.debian.org/debian buster/main i386 quilt all 0.65-3 [318 kB] Fetched 19.8 MB in 19s (1019 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19231 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_i386.deb ... Unpacking libbsd0:i386 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_i386.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../02-libuchardet0_0.0.6-3_i386.deb ... Unpacking libuchardet0:i386 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_i386.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../04-libpipeline1_1.5.1-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_i386.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../06-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.35-4_i386.deb ... Unpacking libmagic-mgc (1:5.35-4) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../08-libmagic1_1%3a5.35-4_i386.deb ... Unpacking libmagic1:i386 (1:5.35-4) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.35-4_i386.deb ... Unpacking file (1:5.35-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.19.8.1-9_i386.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../11-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.18-2_i386.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../16-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../22-libelf1_0.176-1.1_i386.deb ... Unpacking libelf1:i386 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.12-3_i386.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../24-libglib2.0-0_2.58.3-2_i386.deb ... Unpacking libglib2.0-0:i386 (2.58.3-2) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../25-libicu63_63.1-6_i386.deb ... Unpacking libicu63:i386 (63.1-6) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../26-libxml2_2.9.4+dfsg1-7+b3_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../27-libcroco3_0.6.12-3_i386.deb ... Unpacking libcroco3:i386 (0.6.12-3) ... Selecting previously unselected package libncurses6:i386. Preparing to unpack .../28-libncurses6_6.1+20181013-2_i386.deb ... Unpacking libncurses6:i386 (6.1+20181013-2) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.19.8.1-9_i386.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-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 .../31-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package diffstat. Preparing to unpack .../33-diffstat_1.62-1_i386.deb ... Unpacking diffstat (1.62-1) ... Selecting previously unselected package libmm14. Preparing to unpack .../34-libmm14_1.4.2-5_i386.deb ... Unpacking libmm14 (1.4.2-5) ... Selecting previously unselected package libmm-dev. Preparing to unpack .../35-libmm-dev_1.4.2-5_i386.deb ... Unpacking libmm-dev (1.4.2-5) ... Selecting previously unselected package quilt. Preparing to unpack .../36-quilt_0.65-3_all.deb ... Unpacking quilt (0.65-3) ... Setting up libpipeline1:i386 (1.5.1-2) ... Setting up libmagic-mgc (1:5.35-4) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:i386 (2.58.3-2) ... No schema files found: doing nothing. Setting up libmagic1:i386 (1:5.35-4) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4) ... Setting up libicu63:i386 (63.1-6) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:i386 (6.1+20181013-2) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up diffstat (1.62-1) ... Setting up autopoint (0.19.8.1-9) ... Setting up libmm14 (1.4.2-5) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:i386 (0.0.6-3) ... Setting up libbsd0:i386 (0.9.1-2) ... Setting up libelf1:i386 (0.176-1.1) ... Setting up libxml2:i386 (2.9.4+dfsg1-7+b3) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libtool (2.4.6-9) ... Setting up m4 (1.4.18-2) ... Setting up libmm-dev (1.4.2-5) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:i386 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up quilt (0.65-3) ... Setting up man-db (2.8.5-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 debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). The following additional packages will be installed: libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl The following NEW packages will be installed: libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 59.5 kB of archives. After this operation, 182 kB of additional disk space will be used. Get:1 http://cdn-fastly.deb.debian.org/debian buster/main i386 libnumber-compare-perl all 0.03-1 [7642 B] Get:2 http://cdn-fastly.deb.debian.org/debian buster/main i386 libtext-glob-perl all 0.10-1 [8362 B] Get:3 http://cdn-fastly.deb.debian.org/debian buster/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] Get:4 http://cdn-fastly.deb.debian.org/debian buster/main i386 usrmerge all 21 [12.8 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 59.5 kB in 1s (99.5 kB/s) Selecting previously unselected package libnumber-compare-perl. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21382 files and directories currently installed.) Preparing to unpack .../libnumber-compare-perl_0.03-1_all.deb ... Unpacking libnumber-compare-perl (0.03-1) ... Selecting previously unselected package libtext-glob-perl. Preparing to unpack .../libtext-glob-perl_0.10-1_all.deb ... Unpacking libtext-glob-perl (0.10-1) ... Selecting previously unselected package libfile-find-rule-perl. Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... Unpacking libfile-find-rule-perl (0.34-1) ... Selecting previously unselected package usrmerge. Preparing to unpack .../archives/usrmerge_21_all.deb ... Unpacking usrmerge (21) ... Setting up libtext-glob-perl (0.10-1) ... Setting up libnumber-compare-perl (0.03-1) ... Setting up libfile-find-rule-perl (0.34-1) ... Setting up usrmerge (21) ... The system has been successfully converted. Processing triggers for man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. I: Building the package I: Running cd /build/smstools-3.1.21/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package smstools dpkg-buildpackage: info: source version 3.1.21-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Thorsten Alteholz dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean dh clean dh_auto_clean make -j10 clean make[1]: Entering directory '/build/smstools-3.1.21' cd src && make -w -j10 --jobserver-auth=3,4 clean make[2]: Entering directory '/build/smstools-3.1.21/src' make[2]: warning: -j10 forced in submake: resetting jobserver mode. rm -f *.o smsd *.exe *~ make[2]: Leaving directory '/build/smstools-3.1.21/src' make[1]: Leaving directory '/build/smstools-3.1.21' dh_clean debian/rules build dh build dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j10 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/smstools-3.1.21' cd src && make -w -j10 --jobserver-auth=3,4 -- INSTALL=install\ --strip-program=true make[2]: Entering directory '/build/smstools-3.1.21/src' make[2]: warning: -j10 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 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 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 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 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 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 stats.c: In function 'loadstats': stats.c:186:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp, strlen(statistics_current_version) +1, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c:192:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&saved_time, sizeof(time_t), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c:193:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&start_time, sizeof(time_t), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c:198:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(statistics[i], sizeof(_stats), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ locking.c: In function 'lockfile': locking.c:52:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(lockfile, pid, strlen(pid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c: In function 'writelogfile': logging.c:206:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(Filehandle,text2,strlen(text2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c: In function 'flush_smart_logging': logging.c:295:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(Filehandle_trouble, trouble_logging_buffer, strlen(trouble_logging_buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c:304:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(Filehandle_trouble, text2, strlen(text2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c:324:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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 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 extras.c: In function 'write_pid': extras.c:1252:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pidfile, pid, strlen(pid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'savestats': stats.c:154:26: warning: '/stats.tmp' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/stats.tmp", d_stats); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from stats.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 4106 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 charshift.o charshift.c smsd_cfg.c: In function 'startup_check': smsd_cfg.c:3522:17: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, tmp, sizeof(tmp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'loadstats': stats.c:183:26: warning: '/stats.tmp' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/stats.tmp", d_stats); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from stats.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 4106 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c: In function 'writelogfile': logging.c:200:49: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size between 16298 and 16378 [-Wformat-truncation=] snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from extras.h:18, from logging.c:16: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 16471 bytes into a destination of size 16384 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c:254:47: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size between 16298 and 16378 [-Wformat-truncation=] snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from extras.h:18, from logging.c:16: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 16471 bytes into a destination of size 16384 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'update_message_counter': stats.c:324:29: warning: '.counter' directive writing 8 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(filename, "%s/%s.counter", d_stats, modemname); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from stats.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 10 or more bytes (assuming 4105) into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'write_status': stats.c:376:29: warning: '/status.tmp' directive writing 11 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(fname_tmp, "%s/status.tmp", d_stats); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from stats.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 4107 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c:467:27: warning: '/status' directive writing 7 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(fname, "%s/status", d_stats); ^~~~~~~ In file included from /usr/include/stdio.h:873, from stats.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] write(STDOUT_FILENO, tmp, n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] snprintf(tmp1, sizeof(tmp1), ">%s/smsd_%s_1.XXXXXX", tmpdir, info); ^~~~~~ In file included from /usr/include/stdio.h:873, from extras.h:18, from extras.c:30: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 4112) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] snprintf(tmp2, sizeof(tmp2), "2>%s/smsd_%s_2.XXXXXX", tmpdir, info); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from extras.h:18, from extras.c:30: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 18 or more bytes (assuming 4113) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] snprintf(buffer2, sizeof(buffer2), "%02X%s", septets, buffer); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from charset.c:16: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 515 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000); ^~~~ extras.c:1670:40: note: directive argument in the range [-2147483, 2147483] snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000); ^~~~~~ In file included from /usr/include/stdio.h:873, from extras.h:18, from extras.c:30: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 9 bytes into a destination of size 7 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] 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:873, from pdu.c:16: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 39 and 170 bytes into a destination of size 100 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf(command, "AT+CSCA=\"+%s\"\r", answer); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from modeminit.c:30: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 512 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] snprintf(DEVICE.imei, sizeof(DEVICE.imei), "%s", answer); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from modeminit.c:30: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 500 bytes into a destination of size 100 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'readcfg': smsd_cfg.c:2454:77: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] snprintf(communicate_a_keys[key], sizeof(communicate_a_keys[0]), "%s", value); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from smsd_cfg.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'startup_check': smsd_cfg.c:3262:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 16 [-Wformat-truncation=] snprintf(queues[x].numbers[y - 1], SIZE_NUM, "%s", tmp); ^~ ~~~ In file included from /usr/include/stdio.h:873, from smsd_cfg.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3489:28: warning: '/smsd_data.XXXXXX' directive writing 17 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(tmp_data, "%s/smsd_data.XXXXXX", tmpdir); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from smsd_cfg.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3498:32: warning: '/smsd_script.XXXXXX' directive writing 19 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(tmp_script, "%s/smsd_script.XXXXXX", d_incoming); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from smsd_cfg.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 4115 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from smsd_cfg.c:31: smsd_cfg.h:35:32: warning: '-concatenated' directive writing 13 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" ^~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3582:24: note: in expansion of macro 'CONCATENATED_DIR_FNAME' sprintf(fname, CONCATENATED_DIR_FNAME, d_incoming, devices[x].name); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from smsd_cfg.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 4110) into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from smsd_cfg.c:31: smsd_cfg.h:35:32: warning: '-concatenated' directive writing 13 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" ^~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3593:26: note: in expansion of macro 'CONCATENATED_DIR_FNAME' sprintf(tmp, CONCATENATED_DIR_FNAME, d_saved, devices[x].name); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from smsd_cfg.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 4110) into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3669:58: warning: '%s' directive writing up to 4095 bytes into a region of size 4062 [-Wformat-overflow=] sprintf(buffer, "Default validity period is set to %s.", tmp); ^~ ~~~ In file included from /usr/include/stdio.h:873, from smsd_cfg.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 36 and 4131 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3689:54: warning: '%s' directive writing up to 4095 bytes into a region of size 4066 [-Wformat-overflow=] sprintf(buffer, "Using international prefixes: %s", tmp); ^~ ~~~ In file included from /usr/include/stdio.h:873, from smsd_cfg.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 31 and 4126 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3706:49: warning: '%s' directive writing up to 4095 bytes into a region of size 4071 [-Wformat-overflow=] sprintf(buffer, "Using national prefixes: %s", tmp); ^~ ~~~ In file included from /usr/include/stdio.h:873, from smsd_cfg.c:15: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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] 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] write(fd, answer, strlen(answer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:6026:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "\n", 1); ^~~~~~~~~~~~~~~~~~ smsd.c:6069:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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] dup(i); ^~~~~~ smsd.c:7919:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(i); ^~~~~~ smsd.c:7987:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(command); ^~~~~~~~~~~~~~~ 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=] sprintf(tmp_filename, "%s/smsd.XXXXXX", tmpdir); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 4108 bytes into a destination of size 4103 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" ^~~~~~~~~~~~~~~~~~~~ smsd.c:3282:29: note: in expansion of macro 'CONCATENATED_DIR_FNAME' sprintf(con_filename, CONCATENATED_DIR_FNAME, (*d_saved)? d_saved : d_incoming, DEVICE.name); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 4110) into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf(tmp_filename,"%s/%s.XXXXXX",d_incoming,DEVICE.name); ^~~~~~~ In file included from /usr/include/stdio.h:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 4104) into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf(command2,"%s\x1A",pdu); ^ In file included from /usr/include/stdio.h:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 1025 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] snprintf(msg, sizeof(msg), "Smsd3: %s, %s", DEVICE.name, alert); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 265) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] snprintf(shared_buffer, SIZE_SHARED_BUFFER, "%s Sms3: mainprocess, %s", adminmessage_device, alert); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 21 and 307 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf(filename, "%s/%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, DEVICE.name); ^~~~~~~ In file included from /usr/include/stdio.h:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 4104) into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf(filename, "%s/%s.%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, DEVICE.name, timestamp); ^ In file included from /usr/include/stdio.h:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 10 or more bytes (assuming 4185) into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf(filename, "%s/%s.%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, timestamp, DEVICE.name); ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 10 or more bytes (assuming 4185) into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function 'cmd_to_modem.part.6': smsd.c:6022:34: warning: '/smsd.XXXXXX' directive writing 12 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(tmp_filename, "%s/smsd.XXXXXX", tmpdir); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 4108 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] 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:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 1118) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" ^~~~~~~~~~~~~~~~~~~~ smsd.c:6241:25: note: in expansion of macro 'CONCATENATED_DIR_FNAME' sprintf(con_filename, CONCATENATED_DIR_FNAME, (*d_saved)? d_saved : d_incoming, DEVICE.name); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 4110) into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] snprintf(part_text, sizeof(part_text), "%s", text); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from smsd.c:19: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 39016 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:4857:11: warning: 'eachpartlen' may be used uninitialized in this function [-Wmaybe-uninitialized] writelogfile(LOG_DEBUG, 0, "Splitting this message into %i parts of max %i characters%s.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parts, (alphabet == ALPHABET_UCS2)? eachpartlen /2 : eachpartlen, (alphabet == ALPHABET_UCS2)? " (unicode)" : ""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/build/smstools-3.1.21/src' make[1]: Leaving directory '/build/smstools-3.1.21' dh_auto_test create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary dh_testroot dh_prep dh_installdirs debian/rules override_dh_auto_install make[1]: Entering directory '/build/smstools-3.1.21' # Fix permissions chmod 644 scripts/smstest.php dh_auto_install make -j10 install DESTDIR=/build/smstools-3.1.21/debian/smstools AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/smstools-3.1.21' cd src && make -w -j10 --jobserver-auth=3,4 -- INSTALL=install\ --strip-program=true AM_UPDATE_INFO_DIR=no DESTDIR=/build/smstools-3.1.21/debian/smstools make[3]: Entering directory '/build/smstools-3.1.21/src' make[3]: warning: -j10 forced in submake: resetting jobserver mode. make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/smstools-3.1.21/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 '/build/smstools-3.1.21' # Install changelogs dh_installchangelogs doc/history3.html make[1]: Leaving directory '/build/smstools-3.1.21' dh_install dh_installdocs dh_installchangelogs dh_installexamples dh_installman dh_installdebconf dh_installinit dh_installlogrotate dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'smstools-dbgsym' in '../smstools-dbgsym_3.1.21-3_i386.deb'. dpkg-deb: building package 'smstools' in '../smstools_3.1.21-3_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../smstools_3.1.21-3_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: user script /srv/workspace/pbuilder/25285/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/25285/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/25285 and its subdirectories I: Current time: Sat Jun 15 03:04:18 +14 2019 I: pbuilder-time-stamp: 1560517459