Tue Aug 10 13:11:41 UTC 2021 I: starting to build tcpser/buster/amd64 on jenkins on '2021-08-10 13:11' Tue Aug 10 13:11:41 UTC 2021 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_7/66426/console.log Tue Aug 10 13:11:41 UTC 2021 I: Downloading source for buster/tcpser=1.0rc12-2 --2021-08-10 13:11:41-- http://deb.debian.org/debian/pool/main/t/tcpser/tcpser_1.0rc12-2.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1826 (1.8K) Saving to: ‘tcpser_1.0rc12-2.dsc’ 0K . 100% 207M=0s 2021-08-10 13:11:41 (207 MB/s) - ‘tcpser_1.0rc12-2.dsc’ saved [1826/1826] Tue Aug 10 13:11:41 UTC 2021 I: tcpser_1.0rc12-2.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 3.0 (quilt) Source: tcpser Binary: tcpser Architecture: any Version: 1.0rc12-2 Maintainer: Debian QA Group Homepage: http://www.jbrain.com/pub/linux/serial/ Standards-Version: 3.9.4 Vcs-Browser: http://git.debian.org/?p=collab-maint/tcpser.git Vcs-Git: git://git.debian.org/git/collab-maint/tcpser.git Build-Depends: debhelper (>= 9) Package-List: tcpser deb net optional Checksums-Sha1: 1eed5e724701edf7048d10440ce6d5e28071e309 76483 tcpser_1.0rc12.orig.tar.gz f434a6a702a919aa74f02eb54557888d537c6f49 3882 tcpser_1.0rc12-2.debian.tar.gz Checksums-Sha256: ff38c6cd575612e084bc08619f19d91b6e77b784269862b4584fc10660fa39b5 76483 tcpser_1.0rc12.orig.tar.gz 8f5fdd69134986ae941ab47944381ea257396de084d3ca9205416c687c89b7ba 3882 tcpser_1.0rc12-2.debian.tar.gz Files: ab127ae472a3d346dc8a7f53ad2b1a8f 76483 tcpser_1.0rc12.orig.tar.gz bef6da30771aa78115c3ed475c42d38a 3882 tcpser_1.0rc12-2.debian.tar.gz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJRhJQvAAoJECHSBYmXSz6WRFEP+QFRm8ditXwV9Tw3iRZqLbj/ WDAiPxdKjvH26U/TfqHGr2v83R1OCM8VmjniyEV/fYUcuQT1ZPO53MheBEEYbEs1 X/GRlshL35XGNCPmmF+n6NNxHEJA41LGmaVYJX75pqyP0BAQbdIQppaB74MYu+17 YjXKAL7RVTEPghG1ITaD/z+/2nN55x2hPfdl47lfAAfmohJalNlKbpHSeDVwwZ/z rMS4/LhqudgeSo8tZNABhWZ/CvieT7e2TTOj2QuD67WdegwQX4UVQqfFjbYwI64m larNjvPBj0ueWop/kAF4e/mTYCr1G/Q8ROYQff1h8/zksqj+yxSjje3uUOyNI2B4 ROGuv5zqAzhKuQcxVtYR7SWPbkyzm4oJBLStD1zz/t3wCllSgTaKfqSh17Ij5ZLc PyC1s5hmDeorUyJ1Fs6yg6I1KJE95NZGazutFi/wDpoI29KppA5a8YiRnOncrUCw 6G/fqv3CZxqMGL/I2+5sbXpIpwugfwZeSz6NUcEuCJTBEy3a8H2dTWAe3JSk/WKQ 3XhTPMd0py9m1mCdjLUO8zEz8VVUwoMfoKw4LL+4u5wLLla9c9JN0riBApuCj+Hw znIRfH+yiNnQnWyV9F3cnrpEoBPtwH9PgdzyiwenRlp68DT5ts0oALQULWYSWax4 IzikJMR9Q+5vQHndzYbb =Zcs9 -----END PGP SIGNATURE----- Tue Aug 10 13:11:41 UTC 2021 I: Checking whether the package is not for us Tue Aug 10 13:11:41 UTC 2021 I: Starting 1st build on remote node ionos11-amd64.debian.net. Tue Aug 10 13:11:41 UTC 2021 I: Preparing to do remote build '1' on ionos11-amd64.debian.net. Tue Aug 10 13:12:10 UTC 2021 I: Deleting $TMPDIR on ionos11-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Tue Aug 10 01:11:43 -12 2021 I: pbuilder-time-stamp: 1628601103 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: Copying source file I: copying [tcpser_1.0rc12-2.dsc] I: copying [./tcpser_1.0rc12.orig.tar.gz] I: copying [./tcpser_1.0rc12-2.debian.tar.gz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Fri May 3 16:53:03 2013 -12 gpgv: using RSA key 21D20589974B3E96 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./tcpser_1.0rc12-2.dsc dpkg-source: info: extracting tcpser in tcpser-1.0rc12 dpkg-source: info: unpacking tcpser_1.0rc12.orig.tar.gz dpkg-source: info: unpacking tcpser_1.0rc12-2.debian.tar.gz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 01-usage-typo.patch dpkg-source: info: applying 02-ftbfs-641411.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/61842/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' DISTRIBUTION='' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='5712bdaa668f4df093b64d59fb8c8db8' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='61842' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.BcwG7mA9TC/pbuilderrc_lw8e --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.BcwG7mA9TC/b1 --logfile b1/build.log tcpser_1.0rc12-2.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://78.137.99.97:3128' I: uname -a Linux ionos11-amd64 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux I: ls -l /bin total 5116 -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash -rwxr-xr-x 1 root root 109408 Feb 28 2019 date -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd -rwxr-xr-x 1 root root 93744 Feb 28 2019 df -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep -rwxr-xr-x 1 root root 35424 Feb 28 2019 false -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln -rwxr-xr-x 1 root root 56760 Jul 26 2018 login -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp -rwxr-xr-x 1 root root 43008 Jan 9 2019 more -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Aug 6 20:24 sh -> dash -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty -rwsr-xr-x 1 root root 63568 Jan 9 2019 su -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch -rwxr-xr-x 1 root root 35424 Feb 28 2019 true -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 21 2019 which lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew I: user script /srv/workspace/pbuilder/61842/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 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 (>= 9) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19195 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 (>= 9); however: Package debhelper 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} 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} libncurses6{a} libpipeline1{a} libsigsegv2{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 33 newly installed, 0 to remove and 0 not upgraded. Need to get 19.0 MB of archives. After unpacking 69.5 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main amd64 libbsd0 amd64 0.9.1-2+deb10u1 [99.5 kB] Get: 2 http://deb.debian.org/debian buster/main amd64 bsdmainutils amd64 11.1.2+b1 [191 kB] Get: 3 http://deb.debian.org/debian buster/main amd64 libuchardet0 amd64 0.0.6-3 [64.9 kB] Get: 4 http://deb.debian.org/debian buster/main amd64 groff-base amd64 1.22.4-3+deb10u1 [916 kB] Get: 5 http://deb.debian.org/debian buster/main amd64 libpipeline1 amd64 1.5.1-2 [31.2 kB] Get: 6 http://deb.debian.org/debian buster/main amd64 man-db amd64 2.8.5-2 [1274 kB] Get: 7 http://deb.debian.org/debian buster/main amd64 sensible-utils all 0.0.12 [15.8 kB] Get: 8 http://deb.debian.org/debian buster/main amd64 libmagic-mgc amd64 1:5.35-4+deb10u2 [242 kB] Get: 9 http://deb.debian.org/debian buster/main amd64 libmagic1 amd64 1:5.35-4+deb10u2 [118 kB] Get: 10 http://deb.debian.org/debian buster/main amd64 file amd64 1:5.35-4+deb10u2 [66.4 kB] Get: 11 http://deb.debian.org/debian buster/main amd64 gettext-base amd64 0.19.8.1-9 [123 kB] Get: 12 http://deb.debian.org/debian buster/main amd64 libsigsegv2 amd64 2.12-2 [32.8 kB] Get: 13 http://deb.debian.org/debian buster/main amd64 m4 amd64 1.4.18-2 [203 kB] Get: 14 http://deb.debian.org/debian buster/main amd64 autoconf all 2.69-11 [341 kB] Get: 15 http://deb.debian.org/debian buster/main amd64 autotools-dev all 20180224.1 [77.0 kB] Get: 16 http://deb.debian.org/debian buster/main amd64 automake all 1:1.16.1-4 [771 kB] Get: 17 http://deb.debian.org/debian buster/main amd64 autopoint all 0.19.8.1-9 [434 kB] Get: 18 http://deb.debian.org/debian buster/main amd64 libtool all 2.4.6-9 [547 kB] Get: 19 http://deb.debian.org/debian buster/main amd64 dh-autoreconf all 19 [16.9 kB] Get: 20 http://deb.debian.org/debian buster/main amd64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 21 http://deb.debian.org/debian buster/main amd64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 22 http://deb.debian.org/debian buster/main amd64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 23 http://deb.debian.org/debian buster/main amd64 libelf1 amd64 0.176-1.1 [161 kB] Get: 24 http://deb.debian.org/debian buster/main amd64 dwz amd64 0.12-3 [78.0 kB] Get: 25 http://deb.debian.org/debian buster/main amd64 libglib2.0-0 amd64 2.58.3-2+deb10u3 [1259 kB] Get: 26 http://deb.debian.org/debian buster/main amd64 libicu63 amd64 63.1-6+deb10u1 [8300 kB] Get: 27 http://deb.debian.org/debian buster/main amd64 libxml2 amd64 2.9.4+dfsg1-7+deb10u2 [689 kB] Get: 28 http://deb.debian.org/debian buster/main amd64 libcroco3 amd64 0.6.12-3 [145 kB] Get: 29 http://deb.debian.org/debian buster/main amd64 libncurses6 amd64 6.1+20181013-2+deb10u2 [102 kB] Get: 30 http://deb.debian.org/debian buster/main amd64 gettext amd64 0.19.8.1-9 [1303 kB] Get: 31 http://deb.debian.org/debian buster/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian buster/main amd64 po-debconf all 1.0.21 [248 kB] Get: 33 http://deb.debian.org/debian buster/main amd64 debhelper all 12.1.1 [1016 kB] Fetched 19.0 MB in 0s (59.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (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 ... 19195 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2+deb10u1_amd64.deb ... Unpacking libbsd0:amd64 (0.9.1-2+deb10u1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_amd64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../02-libuchardet0_0.0.6-3_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3+deb10u1_amd64.deb ... Unpacking groff-base (1.22.4-3+deb10u1) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../04-libpipeline1_1.5.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_amd64.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+deb10u2_amd64.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../08-libmagic1_1%3a5.35-4+deb10u2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.35-4+deb10u2) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.35-4+deb10u2_amd64.deb ... Unpacking file (1:5.35-4+deb10u2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.19.8.1-9_amd64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../11-libsigsegv2_2.12-2_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.18-2_amd64.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:amd64. Preparing to unpack .../22-libelf1_0.176-1.1_amd64.deb ... Unpacking libelf1:amd64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.12-3_amd64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../24-libglib2.0-0_2.58.3-2+deb10u3_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.58.3-2+deb10u3) ... Selecting previously unselected package libicu63:amd64. Preparing to unpack .../25-libicu63_63.1-6+deb10u1_amd64.deb ... Unpacking libicu63:amd64 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../26-libxml2_2.9.4+dfsg1-7+deb10u2_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-7+deb10u2) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../27-libcroco3_0.6.12-3_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-3) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../28-libncurses6_6.1+20181013-2+deb10u2_amd64.deb ... Unpacking libncurses6:amd64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.19.8.1-9_amd64.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) ... Setting up libpipeline1:amd64 (1.5.1-2) ... Setting up libmagic-mgc (1:5.35-4+deb10u2) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:amd64 (2.58.3-2+deb10u3) ... No schema files found: doing nothing. Setting up libmagic1:amd64 (1:5.35-4+deb10u2) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u2) ... Setting up libicu63:amd64 (63.1-6+deb10u1) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:amd64 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:amd64 (0.0.6-3) ... Setting up libbsd0:amd64 (0.9.1-2+deb10u1) ... Setting up libelf1:amd64 (0.176-1.1) ... Setting up libxml2:amd64 (2.9.4+dfsg1-7+deb10u2) ... 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 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:amd64 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3+deb10u1) ... 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 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). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/tcpser-1.0rc12/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package tcpser dpkg-buildpackage: info: source version 1.0rc12-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by tony mancill dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp /usr/bin/make clean make[1]: Entering directory '/build/tcpser-1.0rc12' rm tcpser *.bak src/*~ src/*.o src/*.bak core rm: cannot remove 'tcpser': No such file or directory rm: cannot remove '*.bak': No such file or directory rm: cannot remove 'src/*~': No such file or directory rm: cannot remove 'src/*.o': No such file or directory rm: cannot remove 'src/*.bak': No such file or directory rm: cannot remove 'core': No such file or directory make[1]: [Makefile:25: clean] Error 1 (ignored) make[1]: Leaving directory '/build/tcpser-1.0rc12' dh_clean debian/rules build dh_testdir /usr/bin/make CFLAGS="-g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-lpthread -Wl,-z,relro -Wl,--as-needed" make[1]: Entering directory '/build/tcpser-1.0rc12' gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/bridge.o src/bridge.c In file included from src/bridge.c:11: src/debug.h:32:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define LOG(a,args...) do { \ ^~~ src/debug.h:40:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define ELOG(a,args...) do { \ ^~~ src/bridge.c: In function 'run_bridge': src/bridge.c:264:14: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->cur_line,cfg->config0,sizeof(cfg->cur_line)); ~~~^~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/bridge.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/bridge.c:264:28: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->cur_line,cfg->config0,sizeof(cfg->cur_line)); ~~~^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/bridge.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/bridge.c:273:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->data.direct_conn_num) > 0 && ~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from src/debug.h:20, from src/bridge.c:11: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/bridge.c:276:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,cfg->data.direct_conn_num,sizeof(cfg->dialno)); ~~~^~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/bridge.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/bridge.c:276:36: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,cfg->data.direct_conn_num,sizeof(cfg->dialno)); ~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/bridge.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/bridge.c:294:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->data.local_connect) > 0) { ~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/debug.h:20, from src/bridge.c:11: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/bridge.c:297:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->data.remote_connect) > 0) { ~~~~~~~~~^~~~~~~~~~~~~~~ In file included from src/debug.h:20, from src/bridge.c:11: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/bridge.c:301:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->data.local_answer) > 0) { ~~~~~~~~~^~~~~~~~~~~~~ In file included from src/debug.h:20, from src/bridge.c:11: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/bridge.c:304:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->data.remote_answer) > 0) { ~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/debug.h:20, from src/bridge.c:11: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/bridge.c:358:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->data.no_answer) == 0) { ~~~~~~~~~^~~~~~~~~~ In file included from src/debug.h:20, from src/bridge.c:11: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/bridge.c:359:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] line_write(cfg,(unsigned char*)MDM_NO_ANSWER,strlen(MDM_NO_ANSWER)); ^~~~~~~~~~~~~ In file included from src/debug.h:20, from src/bridge.c:11: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/debug.o src/debug.c In file included from src/debug.c:6: src/debug.h:32:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define LOG(a,args...) do { \ ^~~ src/debug.h:40:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define ELOG(a,args...) do { \ ^~~ src/debug.c: In function 'log_init': src/debug.c:20:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] trace_type[TRACE_MODEM_IN]="RS<-"; ^ src/debug.c:21:30: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] trace_type[TRACE_MODEM_OUT]="RS->"; ^ src/debug.c:22:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] trace_type[TRACE_IP_IN]="IP<-"; ^ src/debug.c:23:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] trace_type[TRACE_IP_OUT]="IP->"; ^ src/debug.c:24:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] log_desc[LOG_FATAL]="FATAL"; ^ src/debug.c:25:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] log_desc[LOG_ERROR]="ERROR"; ^ src/debug.c:26:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] log_desc[LOG_WARN]="WARN"; ^ src/debug.c:27:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] log_desc[LOG_INFO]="INFO"; ^ src/debug.c:28:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] log_desc[LOG_DEBUG]="DEBUG"; ^ src/debug.c:29:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] log_desc[LOG_ENTER_EXIT]="ENTER_EXIT"; ^ src/debug.c:30:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] log_desc[LOG_ALL]="DEBUG_X"; ^ src/debug.c:31:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] log_desc[LOG_TRACE]=""; ^ src/debug.c: In function 'log_trace': src/debug.c:76:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(dptr,"%4.4x|",i); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from src/debug.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ src/debug.c:79:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(dptr + 5 + ((i % 16) * 3),"%2.2x",ch); ~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from src/debug.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ src/debug.c:90:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(dptr + 7 + ((i % 16) * 3)," "); ~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from src/debug.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ src/debug.c:96:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(dptr + 5 + ((i % 16) * 3)," "); ~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from src/debug.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ src/debug.c:98:28: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(dptr + 7 + ((i % 16) * 3)," "); ~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from src/debug.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ src/debug.c: In function 'log_start': src/debug.c:118:14: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign] strftime(t,22,"%Y-%m-%d %H:%M:%S",localtime(&now)); ^ In file included from src/debug.c:2: /usr/include/time.h:88:15: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern size_t strftime (char *__restrict __s, size_t __maxsize, ^~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/getcmd.o src/getcmd.c src/getcmd.c: In function 'parseRegister': src/getcmd.c:126:8: warning: ordered comparison of pointer with integer zero [-Wpedantic] if(0 > num) ^ src/getcmd.c: In function 'getcmd': src/getcmd.c:165:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len=strlen(line); ^~~~ In file included from src/getcmd.c:3: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/ip.o src/ip.c In file included from src/ip.c:9: src/debug.h:32:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define LOG(a,args...) do { \ ^~~ src/debug.h:40:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define ELOG(a,args...) do { \ ^~~ src/ip.c: In function 'ip_connect': src/ip.c:91:34: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] address=(unsigned char*)strtok(addy,":"); ^~~~ In file included from src/debug.h:20, from src/ip.c:9: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ src/ip.c:92:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] tmp=(unsigned char*)strtok((unsigned char*)0,":"); ^~~~~~~~~~~~~~~~~ In file included from src/debug.h:20, from src/ip.c:9: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ src/ip.c:93:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(tmp != NULL && strlen(tmp) > 0) { ^~~ In file included from src/debug.h:20, from src/ip.c:9: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/ip.c:94:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] port=atoi(tmp); ^~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/sys/types.h:25, from src/ip.c:1: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^~~~~ src/ip.c:101:26: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] if ((hp = gethostbyname(address)) == 0) { ^~~~~~~ In file included from src/ip.c:5: /usr/include/netdb.h:142:24: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct hostent *gethostbyname (const char *__name); ^~~~~~~~~~~~~ src/ip.c:103:23: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] if(1 != inet_aton(address,&cin_addr)) { ^~~~~~~ In file included from src/ip.c:4: /usr/include/arpa/inet.h:73:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; ^~~~~~~~~ src/ip.c: In function 'ip_accept': src/ip.c:142:20: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] &clientLength ^~~~~~~~~~~~~ In file included from src/ip.c:2: /usr/include/x86_64-linux-gnu/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ src/ip.c:151:25: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] &clientLength ^~~~~~~~~~~~~ In file included from src/ip.c:2: /usr/include/x86_64-linux-gnu/sys/socket.h:130:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/init.o src/init.c In file included from src/init.c:4: src/debug.h:32:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define LOG(a,args...) do { \ ^~~ src/debug.h:40:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define ELOG(a,args...) do { \ ^~~ src/init.c: In function 'init': src/init.c:86:28: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.local_answer,optarg,sizeof(cfg[i].data.local_answer)); ~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:89:28: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.remote_answer,optarg,sizeof(cfg[i].data.remote_answer)); ~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:92:28: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.local_connect,optarg,sizeof(cfg[i].data.local_connect)); ~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:95:28: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.remote_connect,optarg,sizeof(cfg[i].data.remote_connect)); ~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:98:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(all_busy,optarg,all_busy_len); ^~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:101:28: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.no_answer,optarg,sizeof(cfg[i].data.no_answer)); ~~~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:104:28: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.inactive,optarg,sizeof(cfg[i].data.inactive)); ~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:107:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].config0,optarg,255); ~~~~~~^~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:116:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] tok=strtok(optarg,"="); ^ src/init.c:117:20: warning: pointer targets in passing argument 2 of 'pb_add' differ in signedness [-Wpointer-sign] pb_add(tok,strtok(NULL,"=")); ^~~~~~~~~~~~~~~~ In file included from src/init.c:5: src/phone_book.h:2:5: note: expected 'unsigned char *' but argument is of type 'char *' int pb_add(unsigned char* from,unsigned char* to); ^~~~~~ src/init.c:134:24: warning: pointer targets in passing argument 1 of 'print_help' differ in signedness [-Wpointer-sign] print_help(argv[0]); ~~~~^~~ src/init.c:8:6: note: expected 'unsigned char *' but argument is of type 'char *' void print_help(unsigned char* name) { ^~~~~~~~~~ src/init.c:145:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].config0,cfg[i-1].config0,sizeof(cfg[i].config0)); ~~~~~~^~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:145:44: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].config0,cfg[i-1].config0,sizeof(cfg[i].config0)); ~~~~~~~~^~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:146:32: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.local_connect,cfg[i-1].data.local_connect,sizeof(cfg[i].data.local_connect)); ~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:146:60: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.local_connect,cfg[i-1].data.local_connect,sizeof(cfg[i].data.local_connect)); ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:147:32: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.remote_connect,cfg[i-1].data.remote_connect,sizeof(cfg[i].data.remote_connect)); ~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:147:61: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.remote_connect,cfg[i-1].data.remote_connect,sizeof(cfg[i].data.remote_connect)); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:148:32: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.local_answer,cfg[i-1].data.local_answer,sizeof(cfg[i].data.local_answer)); ~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:148:59: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.local_answer,cfg[i-1].data.local_answer,sizeof(cfg[i].data.local_answer)); ~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:149:32: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.remote_answer,cfg[i-1].data.remote_answer,sizeof(cfg[i].data.remote_answer)); ~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:149:60: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.remote_answer,cfg[i-1].data.remote_answer,sizeof(cfg[i].data.remote_answer)); ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:150:32: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.no_answer,cfg[i-1].data.no_answer,sizeof(cfg[i].data.no_answer)); ~~~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:150:56: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.no_answer,cfg[i-1].data.no_answer,sizeof(cfg[i].data.no_answer)); ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:151:32: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.inactive,cfg[i-1].data.inactive,sizeof(cfg[i].data.inactive)); ~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:151:55: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.inactive,cfg[i-1].data.inactive,sizeof(cfg[i].data.inactive)); ~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:157:32: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].dce_data.tty,optarg,sizeof(cfg[i].dce_data.tty)); ~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:167:28: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.direct_conn_num,optarg,sizeof(cfg[i].data.direct_conn_num)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/init.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/init.c:178:20: warning: pointer targets in passing argument 1 of 'print_help' differ in signedness [-Wpointer-sign] print_help(argv[0]); ~~~~^~~ src/init.c:8:6: note: expected 'unsigned char *' but argument is of type 'char *' void print_help(unsigned char* name) { ^~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/modem_core.o src/modem_core.c In file included from src/modem_core.c:5: src/debug.h:32:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define LOG(a,args...) do { \ ^~~ src/debug.h:40:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define ELOG(a,args...) do { \ ^~~ src/modem_core.c: In function 'mdm_init': src/modem_core.c:11:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_OK]="OK"; ^ src/modem_core.c:12:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_RING]="RING"; ^ src/modem_core.c:13:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_ERROR]="ERROR"; ^ src/modem_core.c:14:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT]="CONNECT"; ^ src/modem_core.c:15:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_NO_CARRIER]="NO CARRIER"; ^ src/modem_core.c:16:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_1200] = "CONNECT 1200"; ^ src/modem_core.c:17:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_NO_DIALTONE] = "NO DIALTONE"; ^ src/modem_core.c:18:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_BUSY] = "BUSY"; ^ src/modem_core.c:19:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_NO_ANSWER] = "NO ANSWER"; ^ src/modem_core.c:20:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_0600] = "CONNECT 0600"; ^ src/modem_core.c:21:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_2400] = "CONNECT 2400"; ^ src/modem_core.c:22:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_4800] = "CONNECT 4800"; ^ src/modem_core.c:23:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_9600] = "CONNECT 9600"; ^ src/modem_core.c:24:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_7200] = "CONNECT 7200"; ^ src/modem_core.c:25:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_12000] = "CONNECT 12000"; ^ src/modem_core.c:26:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_14400] = "CONNECT 14400"; ^ src/modem_core.c:27:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_19200] = "CONNECT 19200"; ^ src/modem_core.c:28:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_38400] = "CONNECT 38400"; ^ src/modem_core.c:29:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_57600] = "CONNECT 57600"; ^ src/modem_core.c:30:42: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_115200] = "CONNECT 115200"; ^ src/modem_core.c:31:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_234000]="CONNECT 230400"; ^ src/modem_core.c: In function 'mdm_send_response': src/modem_core.c:187:60: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] mdm_write(cfg,mdm_responses[msg],strlen(mdm_responses[msg])); ~~~~~~~~~~~~~^~~~~ In file included from src/debug.h:20, from src/modem_core.c:5: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/modem_core.c:190:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msgID,"%d",msg); ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ src/modem_core.c:191:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] mdm_write(cfg,msgID,strlen(msgID)); ^~~~~ In file included from src/debug.h:20, from src/modem_core.c:5: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/modem_core.c: In function 'mdm_parse_cmd': src/modem_core.c:341:22: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,command+start,end-start); ~~~^~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/modem_core.c:341:38: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,command+start,end-start); ~~~~~~~^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/modem_core.c:345:22: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->last_dialno,command+start,end-start); ~~~^~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/modem_core.c:345:43: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->last_dialno,command+start,end-start); ~~~~~~~^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/modem_core.c:349:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,cfg->last_dialno,strlen(cfg->last_dialno)); ~~~^~~~~~~~~~~~~ In file included from src/debug.h:20, from src/modem_core.c:5: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/modem_core.c:349:22: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,cfg->last_dialno,strlen(cfg->last_dialno)); ~~~^~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/modem_core.c:349:34: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,cfg->last_dialno,strlen(cfg->last_dialno)); ~~~^~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/modem_core.c:353:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] mdm_write(cfg,cfg->dialno,strlen(cfg->dialno)); ~~~^~~~~~~~ In file included from src/debug.h:20, from src/modem_core.c:5: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/modem_core.c:360:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->dialno) > 0) { ~~~^~~~~~~~ In file included from src/debug.h:20, from src/modem_core.c:5: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/modem_core.c:422:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp,command+start,end-start); ^~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/modem_core.c:422:28: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp,command+start,end-start); ~~~~~~~^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/modem_core.c:424:26: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] cfg->s[num]=atoi(tmp); ^~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^~~~~ src/modem_core.c:435:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(tmp,"%s%3.3d",cfg->crlf,cfg->s[num]); ^~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ src/modem_core.c:436:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] mdm_write(cfg,tmp,strlen(tmp)); ^~~ In file included from src/debug.h:20, from src/modem_core.c:5: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/modem_core.c: In function 'mdm_handle_char': src/modem_core.c:536:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->last_cmd,cfg->cur_line,sizeof(cfg->last_cmd) - 1); ~~~^~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/modem_core.c:536:32: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->last_cmd,cfg->cur_line,sizeof(cfg->last_cmd) - 1); ~~~^~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/modem_core.c:549:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] cfg->cur_line_idx=strlen(cfg->last_cmd); ~~~^~~~~~~~~~ In file included from src/debug.h:20, from src/modem_core.c:5: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/modem_core.c:550:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->cur_line,cfg->last_cmd,cfg->cur_line_idx); ~~~^~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/modem_core.c:550:32: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->cur_line,cfg->last_cmd,cfg->cur_line_idx); ~~~^~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from src/modem_core.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/nvt.o src/nvt.c In file included from src/nvt.c:3: src/debug.h:32:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define LOG(a,args...) do { \ ^~~ src/debug.h:40:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define ELOG(a,args...) do { \ ^~~ src/nvt.c: In function 'parse_nvt_subcommand': src/nvt.c:80:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] slen=strlen(tty_type); ^~~~~~~~ In file included from src/nvt.c:1: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/nvt.c:81:30: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(response + response_len,tty_type,slen); ~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/nvt.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/nvt.c:81:45: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(response + response_len,tty_type,slen); ^~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/nvt.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/serial.o src/serial.c In file included from src/serial.c:7: src/debug.h:32:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define LOG(a,args...) do { \ ^~~ src/debug.h:40:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define ELOG(a,args...) do { \ ^~~ src/serial.c: In function 'ser_init_conn': src/serial.c:88:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] fd = open(tty, O_RDWR | O_NOCTTY); ^~~ In file included from /usr/include/fcntl.h:301, from /usr/include/x86_64-linux-gnu/sys/file.h:24, from src/serial.c:1: /usr/include/x86_64-linux-gnu/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/ip232.o src/ip232.c In file included from src/ip232.c:12: src/debug.h:32:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define LOG(a,args...) do { \ ^~~ src/debug.h:40:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define ELOG(a,args...) do { \ ^~~ src/ip232.c: In function 'ip232_thread': src/ip232.c:24:7: warning: variable 'res' set but not used [-Wunused-but-set-variable] int res=0; ^~~ src/ip232.c: In function 'ip232_init_conn': src/ip232.c:95:28: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] port = atoi(cfg->dce_data.tty); ~~~~~~~~~~~~~^~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/sys/socket.h:22, from src/ip232.c:1: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^~~~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/util.o src/util.c src/util.c: In function 'writeFile': src/util.c:24:28: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if(NULL != (file = fopen(name,"rb"))) { ^~~~ In file included from src/util.c:2: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ src/util.c:26:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buf, len); ^~~~~~~~~~~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/phone_book.o src/phone_book.c In file included from src/phone_book.c:4: src/debug.h:32:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define LOG(a,args...) do { \ ^~~ src/debug.h:40:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define ELOG(a,args...) do { \ ^~~ src/phone_book.c: In function 'pb_add': src/phone_book.c:20:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && strlen(from) > 0 ^~~~ In file included from src/phone_book.c:2: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/phone_book.c:21:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && strlen(to) > 0 ^~ In file included from src/phone_book.c:2: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/phone_book.c:24:29: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(phone_book[size][0],from,sizeof(phone_book[size][0])); ~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/phone_book.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/phone_book.c:24:33: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(phone_book[size][0],from,sizeof(phone_book[size][0])); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/phone_book.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/phone_book.c:25:29: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(phone_book[size][1],to,sizeof(phone_book[size][1])); ~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/phone_book.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/phone_book.c:25:33: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(phone_book[size][1],to,sizeof(phone_book[size][1])); ^~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/phone_book.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ src/phone_book.c: In function 'pb_search': src/phone_book.c:39:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(strcmp(phone_book[i][0],number) == 0) { ~~~~~~~~~~~~~^~~ In file included from src/phone_book.c:2: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ src/phone_book.c:39:32: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(strcmp(phone_book[i][0],number) == 0) { ^~~~~~ In file included from src/phone_book.c:2: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ src/phone_book.c:42:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(number,phone_book[i][1]); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/phone_book.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ src/phone_book.c:42:34: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(number,phone_book[i][1]); ~~~~~~~~~~~~~^~~ In file included from /usr/include/features.h:424, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/phone_book.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/shared.o src/shared.c gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/tcpser.o src/tcpser.c In file included from src/tcpser.c:16: src/debug.h:32:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define LOG(a,args...) do { \ ^~~ src/debug.h:40:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define ELOG(a,args...) do { \ ^~~ src/tcpser.c: In function 'main': src/tcpser.c:132:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(all_busy) < 1) { ^~~~~~~~ In file included from src/debug.h:20, from src/tcpser.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ src/tcpser.c:133:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ip_write(cSocket,(unsigned char*)MDM_BUSY,strlen(MDM_BUSY)); ^~~~~~~~ In file included from src/debug.h:20, from src/tcpser.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/dce.o src/dce.c In file included from src/dce.c:5: src/debug.h:32:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define LOG(a,args...) do { \ ^~~ src/debug.h:40:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define ELOG(a,args...) do { \ ^~~ gcc -g -O2 -ffile-prefix-map=/build/tcpser-1.0rc12=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/line.o src/line.c In file included from src/line.c:1: src/debug.h:32:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define LOG(a,args...) do { \ ^~~ src/debug.h:40:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define ELOG(a,args...) do { \ ^~~ gcc src/bridge.o src/debug.o src/getcmd.o src/ip.o src/init.o src/modem_core.o src/nvt.o src/serial.o src/ip232.o src/util.o src/phone_book.o src/shared.o src/tcpser.o src/dce.o src/line.o -lpthread -Wl,-z,relro -Wl,--as-needed -o tcpser make[1]: Leaving directory '/build/tcpser-1.0rc12' touch build-stamp fakeroot debian/rules binary dh_testdir dh_testroot dh_prep dh_installdirs dh_testdir dh_testroot dh_installchangelogs CHANGES dh_installdocs dh_installman dh_install dh_strip dh_compress dh_fixperms dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'tcpser' in '../tcpser_1.0rc12-2_amd64.deb'. dpkg-deb: building package 'tcpser-dbgsym' in '../tcpser-dbgsym_1.0rc12-2_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../tcpser_1.0rc12-2_amd64.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: 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/61842 and its subdirectories I: Current time: Tue Aug 10 01:12:10 -12 2021 I: pbuilder-time-stamp: 1628601130 Tue Aug 10 13:12:10 UTC 2021 I: 1st build successful. Starting 2nd build on remote node ionos15-amd64.debian.net. Tue Aug 10 13:12:10 UTC 2021 I: Preparing to do remote build '2' on ionos15-amd64.debian.net. Tue Aug 10 13:12:39 UTC 2021 I: Deleting $TMPDIR on ionos15-amd64.debian.net. Tue Aug 10 13:12:39 UTC 2021 I: tcpser_1.0rc12-2_amd64.changes: Format: 1.8 Date: Fri, 03 May 2013 21:27:26 -0700 Source: tcpser Binary: tcpser tcpser-dbgsym Architecture: amd64 Version: 1.0rc12-2 Distribution: unstable Urgency: low Maintainer: Debian QA Group Changed-By: tony mancill Description: tcpser - emulate a Hayes compatible modem Closes: 641411 664359 Changes: tcpser (1.0rc12-2) unstable; urgency=low . [ Jari Aalto ] * QA upload. * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt" (Closes: #664359). * Update to Standards-Version to 3.9.4, debhelper to 9, ${misc:Depends}. * Add build-arch and build-indep targets; use dh_prep in rules file. * Fix copyright-with-old-dh-make-debian-copyright (Lintian). * Move Alioth repository from Bzr to Git (git-buildpackage). * Use hardened build flags http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags . [ tony mancill ] * Update d/watch file. Thank you to Bart Martens. * Add patch to address FTBFS with "ld --as-needed". (Closes: #641411) - Thank you to Matthias Klose. Checksums-Sha1: 0cf81c22854fc304135338e28f774dc39a039f5b 71624 tcpser-dbgsym_1.0rc12-2_amd64.deb ccf8531144e9a28ed926c01f2bf428594bc11505 4656 tcpser_1.0rc12-2_amd64.buildinfo ce4ad59fba32689c1206e05d58afc1386c5d4dc6 30404 tcpser_1.0rc12-2_amd64.deb Checksums-Sha256: 18fcf2114f8f7ed65be2661d5007ef224df8a85bc05fcfee30feef74c914f948 71624 tcpser-dbgsym_1.0rc12-2_amd64.deb 0f1a287f4958c6abe500041a29e109577f732218ec406ac9c74fd8622a6faab2 4656 tcpser_1.0rc12-2_amd64.buildinfo 0bf02ec33cd2d3e4806b3423d5bee602463ee00f2fa863071d4d9a56b5599913 30404 tcpser_1.0rc12-2_amd64.deb Files: 355b8996a66d02efc5f077a197116791 71624 debug optional tcpser-dbgsym_1.0rc12-2_amd64.deb e461fd204bce12611cba69393ffa4c89 4656 net optional tcpser_1.0rc12-2_amd64.buildinfo 6e4d363f26ec377b38e019321cac8c73 30404 net optional tcpser_1.0rc12-2_amd64.deb Tue Aug 10 13:12:44 UTC 2021 I: diffoscope 180 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --html /srv/reproducible-results/rbuild-debian/tmp.BcwG7mA9TC/tcpser_1.0rc12-2.diffoscope.html --text /srv/reproducible-results/rbuild-debian/tmp.BcwG7mA9TC/tcpser_1.0rc12-2.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/tmp.BcwG7mA9TC/tcpser_1.0rc12-2.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/tmp.BcwG7mA9TC/b1/tcpser_1.0rc12-2_amd64.changes /srv/reproducible-results/rbuild-debian/tmp.BcwG7mA9TC/b2/tcpser_1.0rc12-2_amd64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 1.008s) 1.008s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.119s) 0.119s 10 calls diffoscope.comparators.binary.FilesystemFile 0.000s 8 calls abc.DotChangesFile Tue Aug 10 13:12:51 UTC 2021 I: diffoscope 180 found no differences in the changes files, and a .buildinfo file also exists. Tue Aug 10 13:12:51 UTC 2021 I: tcpser from buster built successfully and reproducibly on amd64. Tue Aug 10 13:12:52 UTC 2021 I: Submitting .buildinfo files to external archives: Tue Aug 10 13:12:52 UTC 2021 I: Submitting 8.0K b1/tcpser_1.0rc12-2_amd64.buildinfo.asc Tue Aug 10 13:12:53 UTC 2021 I: Submitting 8.0K b2/tcpser_1.0rc12-2_amd64.buildinfo.asc Tue Aug 10 13:12:54 UTC 2021 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Tue Aug 10 13:12:54 UTC 2021 I: Done submitting .buildinfo files. Tue Aug 10 13:12:54 UTC 2021 I: Removing signed tcpser_1.0rc12-2_amd64.buildinfo.asc files: removed './b1/tcpser_1.0rc12-2_amd64.buildinfo.asc' removed './b2/tcpser_1.0rc12-2_amd64.buildinfo.asc'