Fri Aug 7 01:50:24 UTC 2020 I: starting to build sendfile/buster/arm64 on jenkins on '2020-08-07 01:50' Fri Aug 7 01:50:24 UTC 2020 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/arm64_24/1202/console.log Fri Aug 7 01:50:24 UTC 2020 I: Downloading source for buster/sendfile=2.1b.20080616-5.3 --2020-08-07 01:50:24-- http://deb.debian.org/debian/pool/main/s/sendfile/sendfile_2.1b.20080616-5.3.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1700 (1.7K) Saving to: ‘sendfile_2.1b.20080616-5.3.dsc’ 0K . 100% 129M=0s 2020-08-07 01:50:24 (129 MB/s) - ‘sendfile_2.1b.20080616-5.3.dsc’ saved [1700/1700] Fri Aug 7 01:50:24 UTC 2020 I: sendfile_2.1b.20080616-5.3.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.0 Source: sendfile Binary: sendfile Architecture: any Version: 2.1b.20080616-5.3 Maintainer: Martin Schulze Standards-Version: 3.5.2.0 Build-Depends: libreadline-dev, autotools-dev Package-List: sendfile deb net optional arch=any Checksums-Sha1: 3126ba04943e37dd4589edd6c5bc5d7f44ca8488 343153 sendfile_2.1b.20080616.orig.tar.gz 67dc8d63f55730132ca86c0e6f9484da7c5736eb 25366 sendfile_2.1b.20080616-5.3.diff.gz Checksums-Sha256: d13b643d50ec0b03f636b0f89bf95f4c9ea561ccf2091d8417af90f59bcd93fc 343153 sendfile_2.1b.20080616.orig.tar.gz 455b6167c265127d840dfe8db704203741de723137223ea0404be7c6344f0298 25366 sendfile_2.1b.20080616-5.3.diff.gz Files: 671cd95971c53066a9d0fa66ac04e813 343153 sendfile_2.1b.20080616.orig.tar.gz e15da70433f9a4dfecfdf2ea75fea09c 25366 sendfile_2.1b.20080616-5.3.diff.gz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTqebzAAoJEPuGMlGob55HqKkP/3UXHFHEzl7TJrqWhn2Lvtjl Aw7prflMuW7pDeMz6NjOLNNvlYgScNfMpuvYERfMY+Rmmr8n5UIg/5lZQQgQmq4D jGa/VZertZmCv3Abmkgs0X4ABJOOaXlqYB2f5etbnOPqJ2ozcsiyTcODR0Q3RphS 1+NbvoEjcuNJBMAItTM2q7yrdUNnQwXfl6VPlUo+IU02GI5A+s3KpxReNkiWQlqt uZGNEHTm8SPpRRN3UdtdCX4tD+/H6Q2E8gnQZ9eGiUZqG2K+PmHnSs7BU/mG2MCk 56fFRj7xRIzd4YbdbkMgAesRmG4K2Y9DmcUD4xc4w1FHq8joWYFW0ZtoBkYOmf49 soiFXSaHbfsWs9LsncQ6If0yT0thuja4BSWZm0IGs8db4syuWap9auZD/0SuK8sV 9VlMIQLkT5foFl6kdxJgGlxR99S7yhnCw8Ee6b2iSHSnb9FEIuI5eP8qusmiSWfT GnN8Ir8hx+WvQeCYuVaB6LVm2iLy2Q2/Hgdt1q1n2G0cuhNCR5bjfHorH4wAfvM8 h9jqLZIaXlvuWyAKy9o0q0QgNbofJU/0VxVmOeXLAzsWXeFWaWC+U0MoXpJaINjT 0KfqK/nEUNEQ0Jvra/fIKYVA04gveAs0+RoVMPu90/ilLOJPoL3NKQgbdZtHSSWg ffWaDKyIjrHxxwA8Edws =YX/8 -----END PGP SIGNATURE----- Fri Aug 7 01:50:24 UTC 2020 I: Checking whether the package is not for us Fri Aug 7 01:50:24 UTC 2020 I: Starting 1st build on remote node codethink-sled14-arm64.debian.net. Fri Aug 7 01:50:24 UTC 2020 I: Preparing to do remote build '1' on codethink-sled14-arm64.debian.net. Fri Aug 7 01:51:50 UTC 2020 I: Deleting $TMPDIR on codethink-sled14-arm64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Thu Aug 6 13:50:34 -12 2020 I: pbuilder-time-stamp: 1596765034 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 [sendfile_2.1b.20080616-5.3.dsc] I: copying [./sendfile_2.1b.20080616.orig.tar.gz] I: copying [./sendfile_2.1b.20080616-5.3.diff.gz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Tue Jun 24 09:00:35 2014 -12 gpgv: using RSA key FB863251A86F9E47 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./sendfile_2.1b.20080616-5.3.dsc dpkg-source: info: extracting sendfile in sendfile-2.1b.20080616 dpkg-source: info: unpacking sendfile_2.1b.20080616.orig.tar.gz dpkg-source: info: applying sendfile_2.1b.20080616-5.3.diff.gz dpkg-source: info: upstream files that have been modified: sendfile-2.1b.20080616/develop/config.guess sendfile-2.1b.20080616/develop/config.status sendfile-2.1b.20080616/develop/config.sub sendfile-2.1b.20080616/develop/configure sendfile-2.1b.20080616/develop/configure.in sendfile-2.1b.20080616/develop/makefile.src sendfile-2.1b.20080616/doc/receive.1 sendfile-2.1b.20080616/doc/sendfile.1 sendfile-2.1b.20080616/doc/sendfiled.8 sendfile-2.1b.20080616/doc/sendmsg.1 sendfile-2.1b.20080616/etc/sf_cleanup sendfile-2.1b.20080616/makeconfig sendfile-2.1b.20080616/src/net.c sendfile-2.1b.20080616/src/pussy sendfile-2.1b.20080616/src/sendfile.c I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/16962/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='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DISTRIBUTION='' HOME='/var/lib/jenkins' HOST_ARCH='arm64' IFS=' ' 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='16962' 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.xqYE7Lxsx2/pbuilderrc_ChNr --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.xqYE7Lxsx2/b1 --logfile b1/build.log sendfile_2.1b.20080616-5.3.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a Linux codethink-sled14-arm64 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:35:21 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 -rwxr-xr-x 1 root root 1216928 Apr 17 2019 bash -rwxr-xr-x 3 root root 34808 Jul 10 2019 bunzip2 -rwxr-xr-x 3 root root 34808 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 34808 Jul 10 2019 bzip2 -rwxr-xr-x 1 root root 14264 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 35576 Feb 28 2019 cat -rwxr-xr-x 1 root root 60256 Feb 28 2019 chgrp -rwxr-xr-x 1 root root 56096 Feb 28 2019 chmod -rwxr-xr-x 1 root root 64368 Feb 28 2019 chown -rwxr-xr-x 1 root root 134632 Feb 28 2019 cp -rwxr-xr-x 1 root root 129536 Jan 17 2019 dash -rwxr-xr-x 1 root root 97136 Feb 28 2019 date -rwxr-xr-x 1 root root 76736 Feb 28 2019 dd -rwxr-xr-x 1 root root 93752 Feb 28 2019 df -rwxr-xr-x 1 root root 138848 Feb 28 2019 dir -rwxr-xr-x 1 root root 75984 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 31368 Feb 28 2019 echo -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep -rwxr-xr-x 1 root root 27256 Feb 28 2019 false -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep -rwxr-xr-x 1 root root 68792 Jan 9 2019 findmnt -rwsr-xr-x 1 root root 34824 Apr 22 07:38 fusermount -rwxr-xr-x 1 root root 174304 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 89656 Jan 5 2019 gzip -rwxr-xr-x 1 root root 18440 Sep 26 2018 hostname -rwxr-xr-x 1 root root 64472 Feb 28 2019 ln -rwxr-xr-x 1 root root 52544 Jul 26 2018 login -rwxr-xr-x 1 root root 138848 Feb 28 2019 ls -rwxr-xr-x 1 root root 108552 Jan 9 2019 lsblk -rwxr-xr-x 1 root root 76840 Feb 28 2019 mkdir -rwxr-xr-x 1 root root 64480 Feb 28 2019 mknod -rwxr-xr-x 1 root root 39736 Feb 28 2019 mktemp -rwxr-xr-x 1 root root 38840 Jan 9 2019 more -rwsr-xr-x 1 root root 47112 Jan 9 2019 mount -rwxr-xr-x 1 root root 14344 Jan 9 2019 mountpoint -rwxr-xr-x 1 root root 138736 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 35560 Feb 28 2019 pwd lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash -rwxr-xr-x 1 root root 43712 Feb 28 2019 readlink -rwxr-xr-x 1 root root 68440 Feb 28 2019 rm -rwxr-xr-x 1 root root 39624 Feb 28 2019 rmdir -rwxr-xr-x 1 root root 19144 Jan 21 2019 run-parts -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Aug 4 20:27 sh -> dash -rwxr-xr-x 1 root root 31384 Feb 28 2019 sleep -rwxr-xr-x 1 root root 72480 Feb 28 2019 stty -rwsr-xr-x 1 root root 59424 Jan 9 2019 su -rwxr-xr-x 1 root root 31416 Feb 28 2019 sync -rwxr-xr-x 1 root root 449416 Apr 23 2019 tar -rwxr-xr-x 1 root root 10560 Jan 21 2019 tempfile -rwxr-xr-x 1 root root 88968 Feb 28 2019 touch -rwxr-xr-x 1 root root 27256 Feb 28 2019 true -rwxr-xr-x 1 root root 14264 Apr 22 07:38 ulockmgr_server -rwsr-xr-x 1 root root 30728 Jan 9 2019 umount -rwxr-xr-x 1 root root 31384 Feb 28 2019 uname -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress -rwxr-xr-x 1 root root 138848 Feb 28 2019 vdir -rwxr-xr-x 1 root root 34824 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/16962/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: arm64 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: libreadline-dev, autotools-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19168 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 libreadline-dev; however: Package libreadline-dev is not installed. pbuilder-satisfydepends-dummy depends on autotools-dev; however: Package autotools-dev 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: autotools-dev{a} libncurses-dev{a} libncurses6{a} libreadline-dev{a} libreadline7{a} readline-common{a} The following packages are RECOMMENDED but will NOT be installed: libgpm2 0 packages upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 826 kB of archives. After unpacking 4043 kB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main arm64 readline-common all 7.0-5 [70.6 kB] Get: 2 http://deb.debian.org/debian buster/main arm64 autotools-dev all 20180224.1 [77.0 kB] Get: 3 http://deb.debian.org/debian buster/main arm64 libncurses6 arm64 6.1+20181013-2+deb10u2 [92.6 kB] Get: 4 http://deb.debian.org/debian buster/main arm64 libncurses-dev arm64 6.1+20181013-2+deb10u2 [324 kB] Get: 5 http://deb.debian.org/debian buster/main arm64 libreadline7 arm64 7.0-5 [134 kB] Get: 6 http://deb.debian.org/debian buster/main arm64 libreadline-dev arm64 7.0-5 [128 kB] Fetched 826 kB in 5s (159 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (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 ... 19168 files and directories currently installed.) Preparing to unpack .../0-readline-common_7.0-5_all.deb ... Unpacking readline-common (7.0-5) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../1-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../2-libncurses6_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package libncurses-dev:arm64. Preparing to unpack .../3-libncurses-dev_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses-dev:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package libreadline7:arm64. Preparing to unpack .../4-libreadline7_7.0-5_arm64.deb ... Unpacking libreadline7:arm64 (7.0-5) ... Selecting previously unselected package libreadline-dev:arm64. Preparing to unpack .../5-libreadline-dev_7.0-5_arm64.deb ... Unpacking libreadline-dev:arm64 (7.0-5) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Setting up readline-common (7.0-5) ... Setting up libreadline7:arm64 (7.0-5) ... Setting up libncurses-dev:arm64 (6.1+20181013-2+deb10u2) ... Setting up libreadline-dev:arm64 (7.0-5) ... 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/sendfile-2.1b.20080616/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package sendfile dpkg-buildpackage: info: source version 2.1b.20080616-5.3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Chen Baozi dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean rm -rf debian/tmp rm -f debian/{files,substvars} rm -rf stamp-build /usr/bin/make clean make[1]: Entering directory '/build/sendfile-2.1b.20080616' rm -f *~ */*~ sendfile-*tar.gz ./makeconfig clean cd contrib/xhoppel && make clean make[2]: Entering directory '/build/sendfile-2.1b.20080616/contrib/xhoppel' rm -f core *~ *.o xhoppel make[2]: Leaving directory '/build/sendfile-2.1b.20080616/contrib/xhoppel' cd develop && rm -rf config.cache config.log autom4te.cache cd src && make clean && rm -f config.h globals.h make[2]: Entering directory '/build/sendfile-2.1b.20080616/src' rm -rf core *.o *~ a.out .deps \ sendfile sendfiled sendmsg receive fetchfile utf7??code wlock make[2]: Leaving directory '/build/sendfile-2.1b.20080616/src' make[1]: Leaving directory '/build/sendfile-2.1b.20080616' debian/rules build cp -f /usr/share/misc/config.sub develop/ cp -f /usr/share/misc/config.guess develop/ test -f develop/config.cache || ./makeconfig CONFIG=/etc BINDIR=/usr/bin MANDIR=/usr/share/man SERVERDIR=/usr/bin checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking target system type... aarch64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for unistd.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for string.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for readline in -lreadline... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_blksize... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... yes checking for alloca... yes checking return type of signal handlers... void checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking whether utime accepts a null argument... yes checking for gethostname... yes checking for gettimeofday... yes checking for mkdir... yes checking for socket... yes checking for uname... yes checking for strerror... yes checking for snprintf... yes configure: creating ./config.status config.status: creating ../src/config.h config.status: executing default-1 commands now in /build/sendfile-2.1b.20080616/src creating globals.h creating Makefile perl -i -pe 's/undef\s+ENABLE_MULTIPROTOCOL/define ENABLE_MULTIPROTOCOL/' src/globals.h /usr/bin/make all make[1]: Entering directory '/build/sendfile-2.1b.20080616' cd src; make make[2]: Entering directory '/build/sendfile-2.1b.20080616/src' gcc -O2 -Wall -DLINUX -c sendfile.c sendfile.c: In function 'main': sendfile.c:490:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else strcpy(force_compress,optarg); break; ^~~~ sendfile.c:490:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else strcpy(force_compress,optarg); break; ^~~~~ sendfile.c:493:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else strcpy(comment,optarg); break; ^~~~ sendfile.c:493:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else strcpy(comment,optarg); break; ^~~~~ sendfile.c:499:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else strcpy(where,optarg); break; ^~~~ sendfile.c:499:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else strcpy(where,optarg); break; ^~~~~ sendfile.c:501:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else packet_size=atoi(optarg); break; ^~~~ sendfile.c:501:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else packet_size=atoi(optarg); break; ^~~~~ sendfile.c:1165:25: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] sscanf(line,"SIZE %lld %lld",&size,&orgsize); ~~~^ ~~~~~ %ld sendfile.c:1165:30: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type 'off_t *' {aka 'long int *'} [-Wformat=] sscanf(line,"SIZE %lld %lld",&size,&orgsize); ~~~^ ~~~~~~~~ %ld sendfile.c:1218:27: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ~~~^ ~~~~ %ld sendfile.c:1218:32: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ~~~^ ~~~~~~~ %ld sendfile.c:1353:30: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ~~~^ ~~~~ %ld sendfile.c:1353:35: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ~~~^ ~~~~~~~ %ld sendfile.c:1746:32: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ~~~^ ~~~~ %ld sendfile.c:1746:37: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ~~~^ ~~~~~~~ %ld sendfile.c: In function 'forward': sendfile.c:2352:59: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] if (str_neq_nocase("SIZE",line,4)) sscanf(arg+1,"%lld",&size); ~~~^ ~~~~~ %ld sendfile.c: In function 'list_spool': sendfile.c:2634:30: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] printf("%s@%s : %s (%lld KB)\n", ~~~^ %ld oflp->to,hlp->host,file,(oflp->size+512)/1024); ~~~~~~~~~~~~~~~~~~~~~ sendfile.c: In function 'cleanup': sendfile.c:1955:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3835 and 4090 [-Wformat-truncation=] snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^~ ~~~~~~~~~ sendfile.c:1955:2: note: 'snprintf' output between 6 and 4356 bytes into a destination of size 4095 snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1984:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3835 and 4090 [-Wformat-truncation=] snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^~ ~~~~~~~~~ sendfile.c:1984:8: note: 'snprintf' output between 6 and 4356 bytes into a destination of size 4095 snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c: In function 'pgp_sign': sendfile.c:2108:37: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4083 [-Wformat-truncation=] snprintf(MAXS(tmp),"shell-call: %s",cmd); ^~ ~~~ sendfile.c:2108:5: note: 'snprintf' output between 13 and 8204 bytes into a destination of size 4095 snprintf(MAXS(tmp),"shell-call: %s",cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:2127:29: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] snprintf(MAXS(sign),"SIGN %s",tmp); ^~ ~~~ sendfile.c:2127:3: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4095 snprintf(MAXS(sign),"SIGN %s",tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c: In function 'get_header': sendfile.c:2396:31: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4073 [-Wformat-truncation=] "illegal SAFT command \"%s\", \"%s\" was expected",line,cmd); ^~ ~~~~ sendfile.c:2395:5: note: 'snprintf' output 41 or more bytes (assuming 4136) into a destination of size 4095 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "illegal SAFT command \"%s\", \"%s\" was expected",line,cmd); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c: In function 'linkspeed': sendfile.c:2538:30: warning: '/speeds' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(speeddir),"%s/speeds",userspool); ^~~~~~~ sendfile.c:2538:3: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4095 snprintf(MAXS(speeddir),"%s/speeds",userspool); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:2545:30: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(hostfile),"%s/%s",speeddir,host); ^ sendfile.c:2545:3: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4095 snprintf(MAXS(hostfile),"%s/%s",speeddir,host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c: In function 'notespeed': sendfile.c:2590:30: warning: '/speeds' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(speeddir),"%s/speeds",userspool); ^~~~~~~ sendfile.c:2590:3: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4095 snprintf(MAXS(speeddir),"%s/speeds",userspool); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:2597:30: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(hostfile),"%s/%s",speeddir,host); ^ sendfile.c:2597:3: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4095 snprintf(MAXS(hostfile),"%s/%s",speeddir,host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:654:59: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4063 [-Wformat-truncation=] snprintf(MAXS(tmp),"unsupported compression program %s",force_compress); ^~ ~~~~~~~~~~~~~~ sendfile.c:654:7: note: 'snprintf' output between 33 and 4128 bytes into a destination of size 4095 snprintf(MAXS(tmp),"unsupported compression program %s",force_compress); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:767:29: warning: '@' directive output may be truncated writing 1 byte into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(MAXS(pgprid),"%s@%s",recipient,host); ^ sendfile.c:767:4: note: 'snprintf' output between 2 and 512 bytes into a destination of size 255 snprintf(MAXS(pgprid),"%s@%s",recipient,host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:825:31: warning: '/.sendfile_' directive output may be truncated writing 11 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(outlogtmp),"%s/.sendfile_%d.log",userspool,pid); ^~~~~~~~~~~ sendfile.c:825:3: note: 'snprintf' output between 17 and 4122 bytes into a destination of size 4095 snprintf(MAXS(outlogtmp),"%s/.sendfile_%d.log",userspool,pid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:848:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4066 [-Wformat-truncation=] snprintf(MAXS(tmp),"the user spool directory is: %s",userspool); ^~ ~~~~~~~~~ sendfile.c:848:2: note: 'snprintf' output between 30 and 4125 bytes into a destination of size 4095 snprintf(MAXS(tmp),"the user spool directory is: %s",userspool); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:869:17: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] "tmp-file %s does already exist and cannot be deleted",tartmp); ^~ ~~~~~~ sendfile.c:868:5: note: 'snprintf' output between 51 and 4146 bytes into a destination of size 4095 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "tmp-file %s does already exist and cannot be deleted",tartmp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:874:17: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] "tmp-file %s does already exist and cannot be deleted",ziptmp); ^~ ~~~~~~ sendfile.c:873:5: note: 'snprintf' output between 51 and 4146 bytes into a destination of size 4095 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "tmp-file %s does already exist and cannot be deleted",ziptmp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:879:17: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] "tmp-file %s does already exist and cannot be deleted",texttmp); ^~ ~~~~~~~ sendfile.c:878:5: note: 'snprintf' output between 51 and 4146 bytes into a destination of size 4095 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "tmp-file %s does already exist and cannot be deleted",texttmp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:884:17: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] "tmp-file %s does already exist and cannot be deleted",pgptmp); ^~ ~~~~~~ sendfile.c:883:5: note: 'snprintf' output between 51 and 4146 bytes into a destination of size 4095 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "tmp-file %s does already exist and cannot be deleted",pgptmp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:889:17: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] "tmp-file %s does already exist and cannot be deleted",stdintmp); ^~ ~~~~~~~~ sendfile.c:888:5: note: 'snprintf' output between 51 and 4146 bytes into a destination of size 4095 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "tmp-file %s does already exist and cannot be deleted",stdintmp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:973:48: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4074 [-Wformat-truncation=] snprintf(MAXS(tmp),"cannot open tmp-file %s",stdintmp); ^~ ~~~~~~~~ sendfile.c:973:7: note: 'snprintf' output between 22 and 4117 bytes into a destination of size 4095 snprintf(MAXS(tmp),"cannot open tmp-file %s",stdintmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:980:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4066 [-Wformat-truncation=] snprintf(MAXS(tmp),"error while writing stdin to %s",stdintmp); ^~ ~~~~~~~~ sendfile.c:980:2: note: 'snprintf' output between 30 and 4125 bytes into a destination of size 4095 snprintf(MAXS(tmp),"error while writing stdin to %s",stdintmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1025:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4079 [-Wformat-truncation=] snprintf(MAXS(tmp),"spool directory %s does not exist",outgoing); ^~ ~~~~~~~~ sendfile.c:1025:2: note: 'snprintf' output between 32 and 4127 bytes into a destination of size 4095 snprintf(MAXS(tmp),"spool directory %s does not exist",outgoing); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1032:21: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4079 [-Wformat-truncation=] "spool directory %s has wrong protection (must have 1777)", ^~ outgoing); ~~~~~~~~ sendfile.c:1031:2: note: 'snprintf' output between 55 and 4150 bytes into a destination of size 4095 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "spool directory %s has wrong protection (must have 1777)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ outgoing); ~~~~~~~~~ sendfile.c:1598:27: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4090 [-Wformat-truncation=] snprintf(MAXS(tmp),"FILE %s",utf_name); ^~ ~~~~~~~~ sendfile.c:1598:2: note: 'snprintf' output between 6 and 8197 bytes into a destination of size 4095 snprintf(MAXS(tmp),"FILE %s",utf_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1609:27: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] snprintf(MAXS(tmp),"'%s' deleted",iso_name); ^~ ~~~~~~~~ sendfile.c:1609:6: note: 'snprintf' output between 11 and 4106 bytes into a destination of size 4095 snprintf(MAXS(tmp),"'%s' deleted",iso_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1554:30: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(MAXS(to),"%s@%s",recipient,host); ^ sendfile.c:1554:6: note: 'snprintf' output between 2 and 512 bytes into a destination of size 511 snprintf(MAXS(to),"%s@%s",recipient,host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1564:26: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 510 [-Wformat-truncation=] snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); ^~ sendfile.c:1564:3: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 511 snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1718:24: warning: ' < '' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s < '%s' > %s",zprg,file,ziptmp); ^~~~ sendfile.c:1718:2: note: 'snprintf' output between 9 and 8454 bytes into a destination of size 4095 snprintf(MAXS(cmd),"%s < '%s' > %s",zprg,file,ziptmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1794:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4058 [-Wformat-truncation=] snprintf(MAXS(tmp),"remote site does not support file of %s",line); ^~ ~~~~ sendfile.c:1794:4: note: 'snprintf' output between 38 and 4133 bytes into a destination of size 4095 snprintf(MAXS(tmp),"remote site does not support file of %s",line); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1814:28: warning: ' ' directive output may be truncated writing 2 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(tmp),"%s\r\n%s",line,redirect); ^~~~ sendfile.c:1814:6: note: 'snprintf' output between 3 and 8193 bytes into a destination of size 4095 snprintf(MAXS(tmp),"%s\r\n%s",line,redirect); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1823:33: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4087 [-Wformat-truncation=] snprintf(MAXS(line),"COMMENT %s",tmp); ^~ ~~~ sendfile.c:1823:4: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4095 snprintf(MAXS(line),"COMMENT %s",tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1305:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] snprintf(MAXS(tmp),"shell-call: %s",cmd); ^~ ~~~ sendfile.c:1305:7: note: 'snprintf' output between 13 and 4108 bytes into a destination of size 4095 snprintf(MAXS(tmp),"shell-call: %s",cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1334:29: warning: ' < ' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s < %s > %s",zprg,tartmp,ziptmp); ^~~ sendfile.c:1334:7: note: 'snprintf' output between 7 and 12292 bytes into a destination of size 4095 snprintf(MAXS(cmd),"%s < %s > %s",zprg,tartmp,ziptmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1336:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] snprintf(MAXS(tmp),"shell-call: %s",cmd); ^~ ~~~ sendfile.c:1336:2: note: 'snprintf' output between 13 and 4108 bytes into a destination of size 4095 snprintf(MAXS(tmp),"shell-call: %s",cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1409:32: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4090 [-Wformat-truncation=] snprintf(MAXS(tmp),"FILE %s",utf_name); ^~ ~~~~~~~~ sendfile.c:1409:7: note: 'snprintf' output between 6 and 8197 bytes into a destination of size 4095 snprintf(MAXS(tmp),"FILE %s",utf_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1418:27: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4090 [-Wformat-truncation=] snprintf(MAXS(tmp),"FILE %s",utf_name); ^~ ~~~~~~~~ sendfile.c:1418:2: note: 'snprintf' output between 6 and 8197 bytes into a destination of size 4095 snprintf(MAXS(tmp),"FILE %s",utf_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1427:27: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4090 [-Wformat-truncation=] snprintf(MAXS(tmp),"FILE %s",utf_name); ^~ ~~~~~~~~ sendfile.c:1427:2: note: 'snprintf' output between 6 and 8197 bytes into a destination of size 4095 snprintf(MAXS(tmp),"FILE %s",utf_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1365:28: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(MAXS(to),"%s@%s",recipient,host); ^ sendfile.c:1365:4: note: 'snprintf' output between 2 and 512 bytes into a destination of size 511 snprintf(MAXS(to),"%s@%s",recipient,host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1375:31: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 510 [-Wformat-truncation=] snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); ^~ sendfile.c:1375:8: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 511 snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1466:26: warning: ' ' directive output may be truncated writing 2 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(tmp),"%s\r\n%s",line,redirect); ^~~~ sendfile.c:1466:4: note: 'snprintf' output between 3 and 8193 bytes into a destination of size 4095 snprintf(MAXS(tmp),"%s\r\n%s",line,redirect); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1475:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4087 [-Wformat-truncation=] snprintf(MAXS(line),"COMMENT %s",tmp); ^~ ~~~ sendfile.c:1475:9: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4095 snprintf(MAXS(line),"COMMENT %s",tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1048:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4065 [-Wformat-truncation=] snprintf(MAXS(tmp),"cannot access spool directory %s",userspool); ^~ ~~~~~~~~~ sendfile.c:1048:7: note: 'snprintf' output between 31 and 4126 bytes into a destination of size 4095 snprintf(MAXS(tmp),"cannot access spool directory %s",userspool); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1149:40: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3828 and 4083 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s -dc %s > %s",GZIP,sdfn,ziptmp); ^~ ~~~~~~ sendfile.c:1149:8: note: 'snprintf' output between 13 and 4363 bytes into a destination of size 4095 snprintf(MAXS(cmd),"%s -dc %s > %s",GZIP,sdfn,ziptmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1147:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3826 and 4081 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s -d < %s > %s",BZIP2,sdfn,ziptmp); ^~ ~~~~~~ sendfile.c:1147:3: note: 'snprintf' output between 15 and 4365 bytes into a destination of size 4095 snprintf(MAXS(cmd),"%s -d < %s > %s",BZIP2,sdfn,ziptmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1145:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3824 and 4079 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s -d <%s|%s>%s",BZIP2,sdfn,GZIP,ziptmp); ^~ ~~~~~~ sendfile.c:1145:3: note: 'snprintf' output between 17 and 4367 bytes into a destination of size 4095 snprintf(MAXS(cmd),"%s -d <%s|%s>%s",BZIP2,sdfn,GZIP,ziptmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1175:11: warning: '+AA0ACg-forward+ACA-from+ACAÿ' directive output may be truncated writing 29 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] "%s+AA0ACg-forward+ACA-from+ACA-%s",line,comment); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1174:6: note: 'snprintf' output between 30 and 8220 bytes into a destination of size 4095 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "%s+AA0ACg-forward+ACA-from+ACA-%s",line,comment); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1172:29: warning: '+AA0ACg-' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(line),"%s+AA0ACg-%s",comment,redirect); ^~~~~~~~ sendfile.c:1172:6: note: 'snprintf' output between 9 and 8199 bytes into a destination of size 4095 snprintf(MAXS(line),"%s+AA0ACg-%s",comment,redirect); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1094:28: warning: '+ACA-(' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(tmp),"%s+ACA-(%s)",comment,cp+1); ^~~~~~ sendfile.c:1094:6: note: 'snprintf' output 8 or more bytes (assuming 4103) into a destination of size 4095 snprintf(MAXS(tmp),"%s+ACA-(%s)",comment,cp+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1203:31: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4087 [-Wformat-truncation=] snprintf(MAXS(line),"COMMENT %s%s",tmp,comment); ^~ ~~~ sendfile.c:1203:2: note: 'snprintf' output between 9 and 8199 bytes into a destination of size 4095 snprintf(MAXS(line),"COMMENT %s%s",tmp,comment); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1205:28: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4093 [-Wformat-truncation=] snprintf(MAXS(tmp),"\r\n%s",redirect); ^~ ~~~~~~~~ sendfile.c:1205:4: note: 'snprintf' output between 3 and 4098 bytes into a destination of size 4095 snprintf(MAXS(tmp),"\r\n%s",redirect); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1891:30: warning: ' at ' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(line),"%s at %d byte/s",tmp,(int)thruput); ^~~~ sendfile.c:1891:7: note: 'snprintf' output between 13 and 4118 bytes into a destination of size 4095 snprintf(MAXS(line),"%s at %d byte/s",tmp,(int)thruput); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1889:30: warning: ' at ' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(line),"%s at %.1f kB/s",tmp,thruput/1024); ^~~~ sendfile.c:1889:7: note: 'snprintf' output between 13 and 4417 bytes into a destination of size 4095 snprintf(MAXS(line),"%s at %.1f kB/s",tmp,thruput/1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:503:40: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(tmp,FLEN-1,"%s\n%s",pgpopt,optarg); ^~ sendfile.c:503:17: note: 'snprintf' output 2 or more bytes (assuming 257) into a destination of size 255 snprintf(tmp,FLEN-1,"%s\n%s",pgpopt,optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -DLINUX -c message.c gcc -O2 -Wall -DLINUX -c utf7.c gcc -O2 -Wall -DLINUX -c pstring.c gcc -O2 -Wall -DLINUX -c string.c gcc -O2 -Wall -DLINUX -c io.c gcc -O2 -Wall -DLINUX -c net.c In file included from net.c:87: net.c: In function 'getreply': net.c:536:28: warning: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Wrestrict] if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); ^~~ string.h:86:17: note: in definition of macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ net.c: In function 'send_data': net.c:733:23: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] sscanf(&reply[4],"%lld",&offset); ~~~^ ~~~~~~~ %ld net.c:777:48: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] snprintf(MAXS(tmp),"resuming %s at byte %lld",iso_name,offset); ~~~^ ~~~~~~ %ld net.c:782:54: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] snprintf(MAXS(tmp),"begin transfer of %s with %lld bytes",fname,size); ~~~^ ~~~~ %ld net.c:852:35: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'off_t' {aka 'long int'} [-Wformat=] fprintf(stderr,"%s%s: %3d%% (%lld of %lld kB)\r", ~~~^ %ld net.c:854:3: (bytes+offset-1)/1024+1,(size+offset-1)/1024+1); ~~~~~~~~~~~~~~~~~~~~~~~ net.c:852:43: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'off_t' {aka 'long int'} [-Wformat=] fprintf(stderr,"%s%s: %3d%% (%lld of %lld kB)\r", ~~~^ %ld net.c:854:27: (bytes+offset-1)/1024+1,(size+offset-1)/1024+1); ~~~~~~~~~~~~~~~~~~~~~~ net.c:921:21: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] fprintf(stderr,"%lld kB, ",bytes/1024); ~~~^ ~~~~~~~~~~ %ld net.c:923:21: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] fprintf(stderr,"%lld byte, ",bytes); ~~~^ ~~~~~ %ld net.c: In function 'getreply': net.c:548:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4079 [-Wformat-truncation=] snprintf(MAXS(msg),"corrupt reply: \"%s\"",reply); ^~ ~~~~~ net.c:548:2: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4095 snprintf(MAXS(msg),"corrupt reply: \"%s\"",reply); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c:536:36: warning: ', last data: "' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); ^~~~~~~~~~~~~~~ net.c:536:14: note: 'snprintf' output between 16 and 8206 bytes into a destination of size 4095 if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c:568:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] snprintf(MAXS(msg),"server error: %s",&reply[4]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ net.c:568:5: note: 'snprintf' output between 15 and 4110 bytes into a destination of size 4095 snprintf(MAXS(msg),"server error: %s",&reply[4]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c: In function 'send_data': net.c:782:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] snprintf(MAXS(tmp),"begin transfer of %s with %lld bytes",fname,size); ^~ ~~~~~ net.c:782:5: note: 'snprintf' output between 32 and 4146 bytes into a destination of size 4095 snprintf(MAXS(tmp),"begin transfer of %s with %lld bytes",fname,size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c:914:17: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] "transfer of %s completed: %d byte/s",fname,(int)thruput); ^~ ~~~~~ net.c:913:2: note: 'snprintf' output between 33 and 4138 bytes into a destination of size 4095 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "transfer of %s completed: %d byte/s",fname,(int)thruput); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c:911:17: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] "transfer of %s completed: %.1f kB/s",fname,thruput/1024); ^~ ~~~~~ net.c:910:2: note: 'snprintf' output between 33 and 4437 bytes into a destination of size 4095 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "transfer of %s completed: %.1f kB/s",fname,thruput/1024); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -DLINUX -c address.c address.c: In function 'saft_connect': address.c:726:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ address.c:728:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' needsFree = 0; ^~~~~~~~~ address.c: In function 'destination': address.c:134:28: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] snprintf(user,FLEN-1,"%s %s",pwe->pw_name,gecos); ^~ ~~~~~ address.c:134:3: note: 'snprintf' output 2 or more bytes (assuming 257) into a destination of size 255 snprintf(user,FLEN-1,"%s %s",pwe->pw_name,gecos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ address.c:190:33: warning: '/aliases' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(aliasfile),"%s/aliases",userconfig); ^~~~~~~~ address.c:190:5: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4095 snprintf(MAXS(aliasfile),"%s/aliases",userconfig); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ address.c:145:27: warning: '/msg@' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); ^~~~~ address.c:145:5: note: 'snprintf' output between 6 and 4356 bytes into a destination of size 4095 snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ address.c:152:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] snprintf(recipient,FLEN-1,"%s",line); ^~ ~~~~ address.c:152:7: note: 'snprintf' output between 1 and 4096 bytes into a destination of size 255 snprintf(recipient,FLEN-1,"%s",line); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ address.c: In function 'check_forward': address.c:327:37: warning: ' redirected by ' directive output may be truncated writing 16 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(redirect,MAXLEN-1,"%s\r\nredirected by %s@%s", ^~~~~~~~~~~~~~~~~~ address.c:327:7: note: 'snprintf' output 18 or more bytes (assuming 4113) into a destination of size 4095 snprintf(redirect,MAXLEN-1,"%s\r\nredirected by %s@%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tmp,recipient,host); ~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -DLINUX -c spool.c spool.c: In function 'scanspool': spool.c:314:19: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] sscanf(arg,"%lld %lld",&csize,&osize); ~~~^ ~~~~~~ %ld spool.c:314:24: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type 'off_t *' {aka 'long int *'} [-Wformat=] sscanf(arg,"%lld %lld",&csize,&osize); ~~~^ ~~~~~~ %ld spool.c: In function 'scanoutspool': spool.c:637:24: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] sscanf(arg,"%lld",&size); ~~~^ ~~~~~ %ld In file included from config.h:149, from string.h:25, from spool.c:64: globals.h:17:18: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4066 [-Wformat-truncation=] #define OUTGOING "/var/spool/sendfile/OUTGOING" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spool.c:568:24: note: in expansion of macro 'OUTGOING' snprintf(MAXS(hfn),OUTGOING"/%s",tmp); ^~~~~~~~ spool.c:568:34: note: format string is defined here snprintf(MAXS(hfn),OUTGOING"/%s",tmp); ^~ spool.c:568:5: note: 'snprintf' output between 30 and 4125 bytes into a destination of size 4095 snprintf(MAXS(hfn),OUTGOING"/%s",tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spool.c:575:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4063 [-Wformat-truncation=] snprintf(MAXS(msg),"cannot open outgoing spool file %s",hfn); ^~ ~~~ spool.c:575:9: note: 'snprintf' output between 33 and 4128 bytes into a destination of size 4095 snprintf(MAXS(msg),"cannot open outgoing spool file %s",hfn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spool.c: In function 'delete_sf': spool.c:791:29: warning: ' deleted' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(msg),"%s deleted",fname); ^~~~~~~~ spool.c:791:7: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4095 snprintf(MAXS(msg),"%s deleted",fname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc sendfile.o message.o utf7.o pstring.o string.o io.o net.o address.o spool.o -o sendfile gcc -O2 -Wall -DLINUX -c sendmsg.c sendmsg.c: In function 'main': sendmsg.c:262:33: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] snprintf(MAXS(line),"FROM %s",login); ^~ ~~~~~ sendmsg.c:262:7: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4095 snprintf(MAXS(line),"FROM %s",login); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendmsg.c:265:31: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] snprintf(MAXS(line),"TO %s",login); ^~ ~~~~~ sendmsg.c:265:7: note: 'snprintf' output between 4 and 4099 bytes into a destination of size 4095 snprintf(MAXS(line),"TO %s",login); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendmsg.c:283:29: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 235 [-Wformat-truncation=] snprintf(MAXS(msgcf),"%s/%s/config/tty@%s",SPOOL,login,localhost); ^~ ~~~~~ sendmsg.c:283:4: note: 'snprintf' output between 33 and 4383 bytes into a destination of size 255 snprintf(MAXS(msgcf),"%s/%s/config/tty@%s",SPOOL,login,localhost); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendmsg.c:435:32: warning: '%s' directive output may be truncated writing up to 12287 bytes into a region of size 4091 [-Wformat-truncation=] snprintf(MAXS(line),"MSG %s",utf_msg); ^~ ~~~~~~~ sendmsg.c:435:7: note: 'snprintf' output between 5 and 12292 bytes into a destination of size 4095 snprintf(MAXS(line),"MSG %s",utf_msg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendmsg.c:403:31: warning: '%s' directive output may be truncated writing up to 12287 bytes into a region of size 12283 [-Wformat-truncation=] snprintf(MAXS(tmp),"MSG %s",utf_msg); ^~ ~~~~~~~ sendmsg.c:403:7: note: 'snprintf' output between 5 and 12292 bytes into a destination of size 12287 snprintf(MAXS(tmp),"MSG %s",utf_msg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -DLINUX -c getline.c gcc sendmsg.o message.o utf7.o pstring.o string.o io.o net.o address.o getline.o -o sendmsg -lreadline gcc -O2 -Wall -DLINUX -c receive.c receive.c: In function 'list': receive.c:630:23: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] printf("%3d) %s %9lld kB %s", ~~~~^ %9ld flp->id,flp->rdate,(flp->osize+1023)/1024,show_fname); ~~~~~~~~~~~~~~~~~~~~~~ receive.c: In function 'create_sigfile.part.0': receive.c:1658:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4079 [-Wformat-truncation=] snprintf(MAXS(tmp),"signature file '%s' created",nsigfile); ^~ ~~~~~~~~ receive.c:1658:3: note: 'snprintf' output between 26 and 4121 bytes into a destination of size 4095 snprintf(MAXS(tmp),"signature file '%s' created",nsigfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1651:55: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4065 [-Wformat-truncation=] snprintf(MAXS(tmp),"cannot create signature file '%s' ",nsigfile); ^~ ~~~~~~~~ receive.c:1651:5: note: 'snprintf' output between 33 and 4128 bytes into a destination of size 4095 snprintf(MAXS(tmp),"cannot create signature file '%s' ",nsigfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1643:40: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4080 [-Wformat-truncation=] snprintf(MAXS(tmp),"cannot create '%s' : " ^~ "file does already exist and is not deletable",sigfile); ~~~~~~~ receive.c:1643:5: note: 'snprintf' output between 64 and 4159 bytes into a destination of size 4095 snprintf(MAXS(tmp),"cannot create '%s' : " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "file does already exist and is not deletable",sigfile); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c: In function 'check_signature.part.1': receive.c:1697:27: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] snprintf(MAXS(sigfile),"%s/%d.d.sig",userspool,flp->id); ^~ ~~~~~~~~~ receive.c:1697:3: note: 'snprintf' output between 9 and 4114 bytes into a destination of size 255 snprintf(MAXS(sigfile),"%s/%d.d.sig",userspool,flp->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1717:25: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(tmp),"%s %s %s 2>/dev/null",pgp_bin,pgpopt,sigfile); ^ receive.c:1717:3: note: 'snprintf' output between 15 and 4620 bytes into a destination of size 4095 snprintf(MAXS(tmp),"%s %s %s 2>/dev/null",pgp_bin,pgpopt,sigfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c: In function 'list': receive.c:670:32: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(showtar),"%s %s -f < %s/%d.d | %s tvf -", ^ receive.c:670:6: note: 'snprintf' output 21 or more bytes (assuming 12306) into a destination of size 4095 snprintf(MAXS(showtar),"%s %s -f < %s/%d.d | %s tvf -", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp_bin,pgpvm,userspool,flp->id,tar_bin); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:680:32: warning: ' tvf ' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(showtar),"%s tvf %s/%d.d",tar_bin,userspool,flp->id); ^~~~~ receive.c:680:6: note: 'snprintf' output between 10 and 8210 bytes into a destination of size 4095 snprintf(MAXS(showtar),"%s tvf %s/%d.d",tar_bin,userspool,flp->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:677:34: warning: ' -d < ' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(showtar),"%s -d < %s/%d.d | %s tvf -", ^~~~~~ receive.c:677:8: note: 'snprintf' output between 20 and 12315 bytes into a destination of size 4095 snprintf(MAXS(showtar),"%s -d < %s/%d.d | %s tvf -", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gzip_bin,userspool,flp->id,tar_bin); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:674:34: warning: ' -d < ' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(showtar),"%s -d < %s/%d.d | %s tvf -", ^~~~~~ receive.c:674:8: note: 'snprintf' output between 20 and 12315 bytes into a destination of size 4095 snprintf(MAXS(showtar),"%s -d < %s/%d.d | %s tvf -", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bzip2_bin,userspool,flp->id,tar_bin); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1098:30: warning: '%s' directive writing up to 4095 bytes into a region of size 4088 [-Wformat-overflow=] sprintf(fname,"Rename '%s' to? ",nname); ^~ ~~~~~ receive.c:1098:7: note: 'sprintf' output between 15 and 4110 bytes into a destination of size 4096 sprintf(fname,"Rename '%s' to? ",nname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1131:9: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3956 and 8081 [-Wformat-truncation=] "'%s' has a SOURCE or TEXT attribute, you have to decode it " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1133:28: nname,flp->charset,nname); ~~~~~ receive.c:1132:59: note: format string is defined here "after pgp-decrypting with: recode %s:"CHARSET" '%s'", ^~ receive.c:1130:7: note: 'snprintf' output between 112 and 8332 bytes into a destination of size 8191 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "'%s' has a SOURCE or TEXT attribute, you have to decode it " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "after pgp-decrypting with: recode %s:"CHARSET" '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nname,flp->charset,nname); ~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1276:31: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(sfile),"%s/%d.d",userspool,flp->id); ^ receive.c:1276:7: note: 'snprintf' output between 5 and 4110 bytes into a destination of size 4095 snprintf(MAXS(sfile),"%s/%d.d",userspool,flp->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1194:31: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(sfile),"%s/%d.d",userspool,flp->id); ^ receive.c:1194:7: note: 'snprintf' output between 5 and 4110 bytes into a destination of size 4095 snprintf(MAXS(sfile),"%s/%d.d",userspool,flp->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1217:28: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4095 [-Wformat-truncation=] snprintf(MAXS(tmpfile),"%sreceive-%d.tmp",tmp,(int)getpid()); ^~ ~~~ receive.c:1217:4: note: 'snprintf' output between 14 and 8215 bytes into a destination of size 4095 snprintf(MAXS(tmpfile),"%sreceive-%d.tmp",tmp,(int)getpid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1218:32: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] snprintf(MAXS(tmp),"%s -d < %s > %s",bzip2_bin,sfile,tmpfile); ^~ ~~~~~ receive.c:1218:4: note: 'snprintf' output between 10 and 12295 bytes into a destination of size 8191 snprintf(MAXS(tmp),"%s -d < %s > %s",bzip2_bin,sfile,tmpfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1220:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4063 and 8158 [-Wformat-truncation=] snprintf(MAXS(tmp),"call to %s failed, cannot receive '%s'", ^~ bzip2_bin,nname); ~~~~~ receive.c:1220:6: note: 'snprintf' output between 35 and 8225 bytes into a destination of size 8191 snprintf(MAXS(tmp),"call to %s failed, cannot receive '%s'", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bzip2_bin,nname); ~~~~~~~~~~~~~~~~ receive.c:1254:33: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4089 and 8184 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s %s -f < %s > '%s'",pgp_bin,pgpvm,sfile,fname); ^~ ~~~~~ receive.c:1254:2: note: 'snprintf' output 13 or more bytes (assuming 12298) into a destination of size 8191 snprintf(MAXS(cmd),"%s %s -f < %s > '%s'",pgp_bin,pgpvm,sfile,fname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1168:18: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4089 and 8184 [-Wformat-truncation=] "%s %s -f < %s/%d.d",pgp_bin,pgpvm,userspool,flp->id); ^~ ~~~~~~~~~ receive.c:1167:4: note: 'snprintf' output 12 or more bytes (assuming 8202) into a destination of size 8191 snprintf(MAXS(cmd), ^~~~~~~~~~~~~~~~~~~ "%s %s -f < %s/%d.d",pgp_bin,pgpvm,userspool,flp->id); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1165:32: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); ^~ ~~~~~~~~~ receive.c:1165:4: note: 'snprintf' output between 11 and 8211 bytes into a destination of size 8191 snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1163:32: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); ^~ ~~~~~~~~~ receive.c:1163:4: note: 'snprintf' output between 11 and 8211 bytes into a destination of size 8191 snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1331:64: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4044 and 8139 [-Wformat-truncation=] "call to %s failed, cannot translate character set in '%s'", ^~ recode_bin,nname); ~~~~~ receive.c:1330:7: note: 'snprintf' output between 54 and 8244 bytes into a destination of size 8191 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "call to %s failed, cannot translate character set in '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recode_bin,nname); ~~~~~~~~~~~~~~~~~ receive.c:1363:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4059 and 8154 [-Wformat-truncation=] "call to %s failed, keeping local file '%s'", ^~ metamail_bin,nname); ~~~~~ receive.c:1362:2: note: 'snprintf' output between 39 and 8229 bytes into a destination of size 8191 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "call to %s failed, keeping local file '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ metamail_bin,nname); ~~~~~~~~~~~~~~~~~~~ receive.c:888:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4089 and 8184 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s %s -f < %s/%d.d > %s", ^~ pgp_bin,pgpvm,userspool,flp->id,tartmp); ~~~~~~~~~ receive.c:888:7: note: 'snprintf' output 15 or more bytes (assuming 12300) into a destination of size 8191 snprintf(MAXS(cmd),"%s %s -f < %s/%d.d > %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp_bin,pgpvm,userspool,flp->id,tartmp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:959:33: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4092 and 8187 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s tf %s/%d.d",tar_bin,userspool,flp->id); ^~ ~~~~~~~~~ receive.c:959:7: note: 'snprintf' output between 9 and 8209 bytes into a destination of size 8191 snprintf(MAXS(cmd),"%s tf %s/%d.d",tar_bin,userspool,flp->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:957:33: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4092 and 8187 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s tf %s",tar_bin,tartmp); ^~ ~~~~~~ receive.c:957:7: note: 'snprintf' output between 5 and 8195 bytes into a destination of size 8191 snprintf(MAXS(cmd),"%s tf %s",tar_bin,tartmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:954:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s tf -", ^~ gzip_bin,userspool,flp->id,tar_bin); ~~~~~~~~~ receive.c:954:2: note: 'snprintf' output between 19 and 12314 bytes into a destination of size 8191 snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s tf -", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gzip_bin,userspool,flp->id,tar_bin); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:951:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s tf -", ^~ bzip2_bin,userspool,flp->id,tar_bin); ~~~~~~~~~ receive.c:951:2: note: 'snprintf' output between 19 and 12314 bytes into a destination of size 8191 snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s tf -", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bzip2_bin,userspool,flp->id,tar_bin); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1032:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4091 and 8186 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s xvf %s/%d.d 2>%s", ^~ tar_bin,userspool,flp->id,error_log); ~~~~~~~~~ receive.c:1032:7: note: 'snprintf' output between 13 and 12308 bytes into a destination of size 8191 snprintf(MAXS(cmd),"%s xvf %s/%d.d 2>%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tar_bin,userspool,flp->id,error_log); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1030:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4091 and 8186 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s xvf %s 2>%s",tar_bin,tartmp,error_log); ^~ ~~~~~~ receive.c:1030:7: note: 'snprintf' output between 9 and 12294 bytes into a destination of size 8191 snprintf(MAXS(cmd),"%s xvf %s 2>%s",tar_bin,tartmp,error_log); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1027:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s xvf - 2>%s", ^~ gzip_bin,userspool,flp->id,tar_bin,error_log); ~~~~~~~~~ receive.c:1027:2: note: 'snprintf' output between 23 and 16413 bytes into a destination of size 8191 snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s xvf - 2>%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gzip_bin,userspool,flp->id,tar_bin,error_log); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1024:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s xvf - 2>%s", ^~ bzip2_bin,userspool,flp->id,tar_bin,error_log); ~~~~~~~~~ receive.c:1024:2: note: 'snprintf' output between 23 and 16413 bytes into a destination of size 8191 snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s xvf - 2>%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bzip2_bin,userspool,flp->id,tar_bin,error_log); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:814:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); ^~ ~~~~~~~~~ receive.c:814:2: note: 'snprintf' output between 11 and 8211 bytes into a destination of size 8191 snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:812:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); ^~ ~~~~~~~~~ receive.c:812:2: note: 'snprintf' output between 11 and 8211 bytes into a destination of size 8191 snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:801:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4089 and 8184 [-Wformat-truncation=] snprintf(MAXS(cmd),"%s %s -f < %s/%d.d",pgp_bin,pgpvm,userspool,flp->id); ^~ ~~~~~~~~~ receive.c:801:7: note: 'snprintf' output 12 or more bytes (assuming 8202) into a destination of size 8191 snprintf(MAXS(cmd),"%s %s -f < %s/%d.d",pgp_bin,pgpvm,userspool,flp->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c: In function 'renumber': receive.c:1791:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] snprintf(MAXS(tmp),"cannot change to %s",userspool); ^~ ~~~~~~~~~ receive.c:1791:5: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4095 snprintf(MAXS(tmp),"cannot change to %s",userspool); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -DLINUX -c getdate.c gcc -O2 -Wall -DLINUX -c lock.c gcc receive.o message.o utf7.o pstring.o string.o io.o spool.o getdate.o getline.o lock.o -o receive -lreadline gcc -O2 -Wall -DLINUX -c sendfiled.c sendfiled.c: In function 'main': sendfiled.c:599:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] case 'f': printf("%lld\n",free_space()); exit(0); ~~~^ ~~~~~~~~~~~~ %ld sendfiled.c:1309:21: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] if (sscanf(arg,"%lld",&size) != 1) { ~~~^ ~~~~~ %ld sendfiled.c:1521:21: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] sscanf(tmp,"%lld",&spoolsize); ~~~^ ~~~~~~~~~~ %ld sendfiled.c:1820:31: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] snprintf(MAXS(tmp),"%lld %lld",flp->csize,flp->osize); ~~~^ ~~~~~~~~~~ %ld sendfiled.c:1820:36: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] snprintf(MAXS(tmp),"%lld %lld",flp->csize,flp->osize); ~~~^ ~~~~~~~~~~ %ld sendfiled.c:1834:22: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] printf("230 %lld bytes have already been transmitted.\r\n",transmitted); ~~~^ ~~~~~~~~~~~ %ld sendfiled.c:2091:28: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] printf("250-%d %s %s %lld ",flp->id,flp->fname,tmp,flp->csize); ~~~^ ~~~~~~~~~~ %ld sendfiled.c:2175:17: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] printf("231 %lld bytes will follow.\r\n",size); ~~~^ ~~~~ %ld sendfiled.c:2306:19: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] printf("260 %lld MB free\r\n",f); ~~~^ ~ %ld sendfiled.c: In function 'get_sizes': sendfiled.c:2841:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'rlim_t' {aka 'long unsigned int'} [-Wformat=] if (getrlimit(RLIMIT_FSIZE,&rl)==0) snprintf(MAXS(max),"%llu",rl.rlim_cur); ~~~^ ~~~~~~~~~~~ %lu sendfiled.c:2858:17: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] sscanf(s1,"%lld",size); ~~~^ ~~~~ %ld sendfiled.c:2859:17: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] sscanf(s2,"%lld",osize); ~~~^ ~~~~~ %ld sendfiled.c: In function 'free_space': sendfiled.c:2789:29: warning: '/.' directive output may be truncated writing 2 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(spool),"%s/.",userspool); ^~ sendfiled.c:2789:5: note: 'snprintf' output between 3 and 4098 bytes into a destination of size 4095 snprintf(MAXS(spool),"%s/.",userspool); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'send_msg': sendfiled.c:2921:28: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4091 [-Wformat-truncation=] snprintf(MAXS(line),"MSG %s",tmp); ^~ ~~~ sendfiled.c:2921:3: note: 'snprintf' output between 5 and 4100 bytes into a destination of size 4095 snprintf(MAXS(line),"MSG %s",tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'check_outspool': sendfiled.c:3696:29: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(MAXS(oshfn),"%s",dire->d_name); ^ sendfiled.c:3696:5: note: 'snprintf' output between 1 and 256 bytes into a destination of size 255 snprintf(MAXS(oshfn),"%s",dire->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'send_spooldata': sendfiled.c:3294:33: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4087 [-Wformat-truncation=] snprintf(MAXS(tmp),"sending %s to %s",isoname,to); ^~ ~~~~~~~ sendfiled.c:3294:5: note: 'snprintf' output 13 or more bytes (assuming 4108) into a destination of size 4095 snprintf(MAXS(tmp),"sending %s to %s",isoname,to); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3304:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] snprintf(MAXS(tmp),"cannot access %s",osdfn); ^~ ~~~~~ sendfiled.c:3304:5: note: 'snprintf' output between 15 and 4110 bytes into a destination of size 4095 snprintf(MAXS(tmp),"cannot access %s",osdfn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'saftserver_connect': sendfiled.c:3487:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4073 [-Wformat-truncation=] snprintf(MAXS(tmp),"opening connection to %s:%s",server,SERVICE); ^~ ~~~~~~ sendfiled.c:3487:7: note: 'snprintf' output between 28 and 4123 bytes into a destination of size 4095 snprintf(MAXS(tmp),"opening connection to %s:%s",server,SERVICE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3492:62: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4069 [-Wformat-truncation=] case -2: snprintf(error,MAXLEN-1,"cannot open connection to %s",server); ^~ ~~~~~~ sendfiled.c:3492:11: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4095 case -2: snprintf(error,MAXLEN-1,"cannot open connection to %s",server); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3493:38: warning: ' has no internet-address' directive output may be truncated writing 24 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] case -3: snprintf(error,MAXLEN-1,"%s has no internet-address",server); ^~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3493:11: note: 'snprintf' output between 25 and 4120 bytes into a destination of size 4095 case -3: snprintf(error,MAXLEN-1,"%s has no internet-address",server); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'sfsd': sendfiled.c:3082:35: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4082 [-Wformat-truncation=] snprintf(MAXS(tmp),"connected to %s",hlp->host); ^~ sendfiled.c:3082:2: note: 'snprintf' output between 14 and 4109 bytes into a destination of size 4095 snprintf(MAXS(tmp),"connected to %s",hlp->host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3153:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4082 [-Wformat-truncation=] snprintf(MAXS(tmp),"connected to %s (forward redirection)", ^~ sendfiled.c:3153:3: note: 'snprintf' output between 36 and 4131 bytes into a destination of size 4095 snprintf(MAXS(tmp),"connected to %s (forward redirection)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hlp->host); ~~~~~~~~~~ sendfiled.c:3129:29: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] snprintf(MAXS(line),"TO %s",arecipient); ^~ ~~~~~~~~~~ sendfiled.c:3129:5: note: 'snprintf' output between 4 and 4099 bytes into a destination of size 4095 snprintf(MAXS(line),"TO %s",arecipient); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'msg2tty': sendfiled.c:2540:27: warning: '/config/tty@' directive output may be truncated writing 12 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(msgcf),"%s/config/tty@%s",userspool,localhost); ^~~~~~~~~~~~ sendfiled.c:2540:3: note: 'snprintf' output between 13 and 4363 bytes into a destination of size 4095 snprintf(MAXS(msgcf),"%s/config/tty@%s",userspool,localhost); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'restricted.part.2': sendfiled.c:2733:30: warning: '/config/restrictions' directive output may be truncated writing 20 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(killfile),"%s/config/restrictions",userspool); ^~~~~~~~~~~~~~~~~~~~ sendfiled.c:2733:3: note: 'snprintf' output between 21 and 4116 bytes into a destination of size 4095 snprintf(MAXS(killfile),"%s/config/restrictions",userspool); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'check_userspool': sendfiled.c:3962:32: warning: '/config' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(userconfig),"%s/config",userspool); ^~~~~~~ sendfiled.c:3962:3: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4095 snprintf(MAXS(userconfig),"%s/config",userspool); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'main': sendfiled.c:1957:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4068 and 12258 [-Wformat-truncation=] snprintf(MAXS(tmp),"%s +pubring=config/public.pgp %s %s 2>/dev/null", ^~ pgp_bin,csfile,chfile); ~~~~~~ sendfiled.c:1957:7: note: 'snprintf' output between 42 and 12327 bytes into a destination of size 12287 snprintf(MAXS(tmp),"%s +pubring=config/public.pgp %s %s 2>/dev/null", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp_bin,csfile,chfile); ~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:1737:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4091 and 12281 [-Wformat-truncation=] snprintf(MAXS(tmp),"cat %s/%s %s/%s | %s && rm -f %s/%s %s/%s", ^~ sendfiled.c:1739:6: userspool,sdfile, ~~~~~~~~~ sendfiled.c:1737:4: note: 'snprintf' output between 24 and 36879 bytes into a destination of size 12287 snprintf(MAXS(tmp),"cat %s/%s %s/%s | %s && rm -f %s/%s %s/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userspool,shfile, ~~~~~~~~~~~~~~~~~ userspool,sdfile, ~~~~~~~~~~~~~~~~~ rpipe, ~~~~~~ userspool,shfile, ~~~~~~~~~~~~~~~~~ userspool,sdfile); ~~~~~~~~~~~~~~~~~ sendfiled.c:1405:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4082 [-Wformat-truncation=] snprintf(MAXS(msgh),"Message from %s at %s :",sender,currentdate); ^~ ~~~~~~ sendfiled.c:1405:7: note: 'snprintf' output between 20 and 4370 bytes into a destination of size 4095 snprintf(MAXS(msgh),"Message from %s at %s :",sender,currentdate); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:1041:30: warning: '@' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(utfsender),"%s@%s %s",arg,peer,real); ^ sendfiled.c:1041:2: note: 'snprintf' output 3 or more bytes (assuming 8193) into a destination of size 4095 snprintf(MAXS(utfsender),"%s@%s %s",arg,peer,real); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:1046:32: warning: ' (' directive output may be truncated writing 2 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(logsender),"%s (%s)",utfsender,cp+1); ^~ sendfiled.c:1046:4: note: 'snprintf' output 4 or more bytes (assuming 4099) into a destination of size 4095 snprintf(MAXS(logsender),"%s (%s)",utfsender,cp+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:949:34: warning: '/notify ' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(notification),"%s/notify ",userconfig); ^~~~~~~~ sendfiled.c:949:3: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4095 snprintf(MAXS(notification),"%s/notify ",userconfig); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -DLINUX -c peername.c peername.c: In function 'peername': peername.c:128:23: warning: passing argument 2 of 'getpeername' from incompatible pointer type [-Wincompatible-pointer-types] if ((getpeername(fd,&addrbuf,&len)) < 0) return(defaultName); ^~~~~~~~ In file included from peername.c:41: /usr/include/aarch64-linux-gnu/sys/socket.h:130:50: note: expected 'struct sockaddr * restrict' but argument is of type 'char (*)[1024]' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^ peername.c:128:32: warning: passing argument 3 of 'getpeername' from incompatible pointer type [-Wincompatible-pointer-types] if ((getpeername(fd,&addrbuf,&len)) < 0) return(defaultName); ^~~~ In file included from peername.c:41: /usr/include/aarch64-linux-gnu/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} socklen_t *__restrict __len) __THROW; ~~~~~~~~~~~~~~~~~~~~~~^~~~~ gcc -O2 -Wall -DLINUX -c reply.c gcc sendfiled.o message.o utf7.o pstring.o string.o io.o net.o spool.o peername.o reply.o address.o lock.o -o sendfiled gcc -O2 -Wall -DLINUX -c utf7encode.c gcc utf7encode.o message.o utf7.o pstring.o string.o io.o -o utf7encode ln -s utf7encode utf7decode gcc -O2 -Wall -DLINUX -c fetchfile.c fetchfile.c: In function 'main': fetchfile.c:145:5: warning: variable 'pid' set but not used [-Wunused-but-set-variable] pid, /* current proccess id */ ^~~ fetchfile.c: In function 'rexit': fetchfile.c:754:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4073 [-Wformat-truncation=] snprintf(MAXS(tmp),"cannot change back to %s",swd); ^~ ~~~ fetchfile.c:754:7: note: 'snprintf' output between 23 and 4118 bytes into a destination of size 4095 snprintf(MAXS(tmp),"cannot change back to %s",swd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'get_file': fetchfile.c:1053:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4077 and 4087 [-Wformat-truncation=] snprintf(MAXS(tmp),"file %d (%s) has been already fetched",number,fname); ^~ ~~~~~ fetchfile.c:1053:7: note: 'snprintf' output between 35 and 4140 bytes into a destination of size 4095 snprintf(MAXS(tmp),"file %d (%s) has been already fetched",number,fname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:1058:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4059 and 4069 [-Wformat-truncation=] snprintf(MAXS(tmp),"resuming fetching file %d (%s) with %ld kB", ^~ number,fname,(size+1023)/1024); ~~~~~ fetchfile.c:1058:23: note: directive argument in the range [0, 18014398509481983] snprintf(MAXS(tmp),"resuming fetching file %d (%s) with %ld kB", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:1058:4: note: 'snprintf' output between 38 and 4159 bytes into a destination of size 4095 snprintf(MAXS(tmp),"resuming fetching file %d (%s) with %ld kB", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ number,fname,(size+1023)/1024); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:1061:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4068 and 4078 [-Wformat-truncation=] snprintf(MAXS(tmp),"fetching file %d (%s) with %ld kB", ^~ number,fname,(size+1023)/1024); ~~~~~ fetchfile.c:1061:23: note: directive argument in the range [0, 18014398509481983] snprintf(MAXS(tmp),"fetching file %d (%s) with %ld kB", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:1061:4: note: 'snprintf' output between 29 and 4150 bytes into a destination of size 4095 snprintf(MAXS(tmp),"fetching file %d (%s) with %ld kB", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ number,fname,(size+1023)/1024); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:1161:17: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] "transfer of %s completed: %d byte/s",fname,(int)thruput); ^~ ~~~~~ fetchfile.c:1160:2: note: 'snprintf' output between 33 and 4138 bytes into a destination of size 4095 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "transfer of %s completed: %d byte/s",fname,(int)thruput); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:1158:17: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] "transfer of %s completed: %.1f kB/s",fname,thruput/1024); ^~ ~~~~~ fetchfile.c:1157:2: note: 'snprintf' output between 33 and 4437 bytes into a destination of size 4095 snprintf(MAXS(tmp), ^~~~~~~~~~~~~~~~~~~ "transfer of %s completed: %.1f kB/s",fname,thruput/1024); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'init': fetchfile.c:1201:22: warning: '/config' directive writing 7 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(configf,"%s/config",userconfig); ^~~~~~~ fetchfile.c:1201:3: note: 'sprintf' output between 8 and 4103 bytes into a destination of size 4096 sprintf(configf,"%s/config",userconfig); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:1218:44: warning: '%s' directive writing up to 4095 bytes into a region of size 4072 [-Wformat-overflow=] sprintf(tmp,"cannot create directory %s",userspool); ^~ ~~~~~~~~~ fetchfile.c:1218:7: note: 'sprintf' output between 25 and 4120 bytes into a destination of size 4096 sprintf(tmp,"cannot create directory %s",userspool); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:1225:51: warning: '%s' directive writing up to 4095 bytes into a region of size 4065 [-Wformat-overflow=] sprintf(tmp,"cannot create config directory %s",userconfig); ^~ ~~~~~~~~~~ fetchfile.c:1225:7: note: 'sprintf' output between 32 and 4127 bytes into a destination of size 4096 sprintf(tmp,"cannot create config directory %s",userconfig); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:1231:45: warning: '%s' directive writing up to 4095 bytes into a region of size 4069 [-Wformat-overflow=] sprintf(tmp,"cannot change to directory %s",userconfig); ^~ ~~~~~~~~~~ fetchfile.c:1231:5: note: 'sprintf' output between 28 and 4123 bytes into a destination of size 4096 sprintf(tmp,"cannot change to directory %s",userconfig); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:1236:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] snprintf(MAXS(tmp),"cannot open %s",configf); ^~ ~~~~~~~ fetchfile.c:1236:5: note: 'snprintf' output between 13 and 4108 bytes into a destination of size 4095 snprintf(MAXS(tmp),"cannot open %s",configf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'main': fetchfile.c:337:39: warning: '%s' directive output may be truncated writing up to 12287 bytes into a region of size 4082 [-Wformat-truncation=] snprintf(MAXS(line),"no access to %s (try 'fetchfile -I' first)",tmp); ^~ ~~~ fetchfile.c:337:5: note: 'snprintf' output between 41 and 12328 bytes into a destination of size 4095 snprintf(MAXS(line),"no access to %s (try 'fetchfile -I' first)",tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:342:39: warning: '%s' directive output may be truncated writing up to 12287 bytes into a region of size 4082 [-Wformat-truncation=] snprintf(MAXS(line),"no access to %s (try 'fetchfile -I' first)",tmp); ^~ ~~~ fetchfile.c:342:5: note: 'snprintf' output between 41 and 12328 bytes into a destination of size 4095 snprintf(MAXS(line),"no access to %s (try 'fetchfile -I' first)",tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:389:30: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(listfile),"%s/%s@%s:fetch.lis",userspool,id,server); ^ fetchfile.c:389:3: note: 'snprintf' output between 13 and 4618 bytes into a destination of size 4095 snprintf(MAXS(listfile),"%s/%s@%s:fetch.lis",userspool,id,server); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:457:26: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] snprintf(MAXS(cmd),"cd %s; PGPPATH='.' %s -sbaf " ^~ fetchfile.c:459:5: userconfig,pgp_bin,pgptmp); ~~~~~~~~~~ fetchfile.c:457:3: note: 'snprintf' output between 79 and 12364 bytes into a destination of size 4095 snprintf(MAXS(cmd),"cd %s; PGPPATH='.' %s -sbaf " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "+secring=private.pgp +pubring=public.pgp <%s 2>/dev/null", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userconfig,pgp_bin,pgptmp); ~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:481:33: warning: '%s' directive output may be truncated writing up to 12287 bytes into a region of size 4090 [-Wformat-truncation=] snprintf(MAXS(response),"AUTH %s",tmp); ^~ ~~~ fetchfile.c:481:3: note: 'snprintf' output between 6 and 12293 bytes into a destination of size 4095 snprintf(MAXS(response),"AUTH %s",tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:495:34: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(MAXS(conffile),"%s/%s",swd,tmp); ^ fetchfile.c:495:7: note: 'snprintf' output between 2 and 16384 bytes into a destination of size 4095 snprintf(MAXS(conffile),"%s/%s",swd,tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc fetchfile.o message.o utf7.o pstring.o string.o io.o net.o address.o spool.o getline.o -o fetchfile -lreadline gcc -O2 -Wall -DLINUX -c wlock.c gcc wlock.o string.o -o wlock -rwxr-xr-x 1 pbuilder1 pbuilder1 75520 Aug 6 13:51 fetchfile -rwxr-xr-x 1 pbuilder1 pbuilder1 84848 Aug 6 13:51 receive -rwxr-xr-x 1 pbuilder1 pbuilder1 97280 Aug 6 13:51 sendfile -rwxr-xr-x 1 pbuilder1 pbuilder1 106960 Aug 6 13:51 sendfiled -rwxr-xr-x 1 pbuilder1 pbuilder1 53776 Aug 6 13:51 sendmsg -rwxr-xr-x 1 pbuilder1 pbuilder1 30760 Aug 6 13:51 utf7encode -rwxr-xr-x 1 pbuilder1 pbuilder1 19272 Aug 6 13:51 wlock and now type (as root): make install make[2]: Leaving directory '/build/sendfile-2.1b.20080616/src' make[1]: Leaving directory '/build/sendfile-2.1b.20080616' touch stamp-build fakeroot debian/rules binary rm -rf debian/tmp rm -f debian/{files,substvars} test -f stamp-build || /usr/bin/make -f debian/rules build install -g root -o root -m 755 -d debian/tmp/DEBIAN chown -R root.root debian/tmp chmod -R g-ws debian/tmp install -g root -o root -m 755 debian/{preinst,prerm,postinst,postrm} debian/tmp/DEBIAN install -g root -o root -m 644 debian/conffiles debian/tmp/DEBIAN # install -g root -o root -m 755 -d debian/tmp/usr/share/doc/sendfile{,/german} install -g root -o root -m 644 debian/changelog debian/tmp/usr/share/doc/sendfile/changelog.Debian install -g root -o root -m 644 debian/copyright debian/tmp/usr/share/doc/sendfile printf "Authors:\n\n" >> debian/tmp/usr/share/doc/sendfile/copyright iconv -f latin1 -t utf8 doc/AUTHORS >> debian/tmp/usr/share/doc/sendfile/copyright echo >> debian/tmp/usr/share/doc/sendfile/copyright iconv -f latin1 -t utf8 doc/THANKS >> debian/tmp/usr/share/doc/sendfile/copyright install -g root -o root -m 644 doc/README{,.too,.fetchfile} debian/tmp/usr/share/doc/sendfile install -g root -o root -m 644 doc/ChangeLog debian/tmp/usr/share/doc/sendfile/changelog install -g root -o root -m 644 doc/features debian/tmp/usr/share/doc/sendfile/ gzip -9f debian/tmp/usr/share/doc/sendfile/{changelog.Debian,changelog,README{,.too,.fetchfile},features} install -g root -o root -m 644 doc/LIESMICH{,.auch,.neu,.entwickler,.spool} debian/tmp/usr/share/doc/sendfile/german install -g root -o root -m 644 doc/doc.txt debian/tmp/usr/share/doc/sendfile install -g root -o root -m 644 doc/{doku.txt,vorteile} debian/tmp/usr/share/doc/sendfile/german gzip -9f debian/tmp/usr/share/doc/sendfile/german/LIESMICH{,.auch,.neu,.entwickler} gzip -9f debian/tmp/usr/share/doc/sendfile/doc.txt gzip -9f debian/tmp/usr/share/doc/sendfile/german/{doku.txt,vorteile} # install -g root -o root -m 755 -d debian/tmp/usr/bin install -g root -o root -m 755 -s src/{sendfile,receive,sendmsg,utf7encode,fetchfile,wlock} debian/tmp/usr/bin install -g root -o root -m 755 etc/check_sendfile debian/tmp/usr/bin/check-sendfile cd debian/tmp/usr/bin && ln -sf utf7encode utf7decode install -g root -o root -m 755 -d debian/tmp/usr/sbin install -g root -o root -m 755 -s src/sendfiled debian/tmp/usr/sbin install -g root -o root -m 755 src/pussy debian/tmp/usr/bin install -g root -o root -m 755 etc/sfconf debian/tmp/usr/bin # install -g root -o root -m 755 -d debian/tmp/usr/share/man/man{1,7,8} install -g root -o root -m 644 doc/{sendfile,sendmsg,receive,fetchfile}.1 debian/tmp/usr/share/man/man1 install -g root -o root -m 644 debian/pussy.1 debian/tmp/usr/share/man/man1 install -g root -o root -m 644 debian/sfconf.1 debian/tmp/usr/share/man/man1 install -g root -o root -m 644 debian/check-sendfile.1 debian/tmp/usr/share/man/man1 install -g root -o root -m 644 doc/utf7encode.1 debian/tmp/usr/share/man/man1 install -g root -o root -m 644 doc/wlock.1 debian/tmp/usr/share/man/man1 install -g root -o root -m 644 doc/sendfiled.8 debian/tmp/usr/share/man/man8 install -g root -o root -m 644 doc/fetchfile.7 debian/tmp/usr/share/man/man7 gzip -9f debian/tmp/usr/share/man/man?/* cd debian/tmp/usr/share/man/man1 && ln -s utf7encode.1.gz utf7decode.1.gz # install -g root -o root -m 755 -d debian/tmp/etc/cron.weekly install -g root -o root -m 755 debian/sf_cleanup debian/tmp/etc/cron.weekly/sendfile # install -g root -o root -m 755 -d debian/tmp/etc/profile.d install -g root -o root -m 644 debian/profile.d debian/tmp/etc/profile.d/sendfile # install -g root -o root -m 755 -d debian/tmp/etc/logrotate.d install -g root -o root -m 644 debian/logrotate debian/tmp/etc/logrotate.d/sendfile # install -g root -o root -m 755 -d debian/tmp/etc/csh/login.d install -g root -o root -m 755 debian/csh debian/tmp/etc/csh/login.d/sendfile # install -g root -o root -m 644 debian/sendfile.cf debian/tmp/etc install -g root -o root -m 644 debian/nosendfile debian/tmp/etc/sendfile.deny # install -g root -o root -m 755 -d debian/tmp/var/log/sendfile install -g root -o root -m 755 -d debian/tmp/var/spool/sendfile install -o root -g root -m 1777 -d debian/tmp/var/spool/sendfile/OUTGOING # dpkg-shlibdeps debian/tmp/usr/bin/{sendfile,receive,sendmsg,utf7encode,fetchfile,wlock} dpkg-gencontrol -isp dpkg-gencontrol: warning: -isp is deprecated; it is without effect dpkg --build debian/tmp .. dpkg-deb: building package 'sendfile' in '../sendfile_2.1b.20080616-5.3_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../sendfile_2.1b.20080616-5.3_arm64.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/16962 and its subdirectories I: Current time: Thu Aug 6 13:51:48 -12 2020 I: pbuilder-time-stamp: 1596765108 Fri Aug 7 01:51:51 UTC 2020 I: 1st build successful. Starting 2nd build on remote node codethink-sled15-arm64.debian.net. Fri Aug 7 01:51:51 UTC 2020 I: Preparing to do remote build '2' on codethink-sled15-arm64.debian.net. Fri Aug 7 01:53:12 UTC 2020 I: Deleting $TMPDIR on codethink-sled15-arm64.debian.net. Fri Aug 7 01:53:14 UTC 2020 I: sendfile_2.1b.20080616-5.3_arm64.changes: Format: 1.8 Date: Thu, 05 Jun 2014 16:46:19 +0800 Source: sendfile Binary: sendfile Architecture: arm64 Version: 2.1b.20080616-5.3 Distribution: unstable Urgency: low Maintainer: Martin Schulze Changed-By: Chen Baozi Description: sendfile - Simple Asynchronous File Transfer Closes: 726495 Changes: sendfile (2.1b.20080616-5.3) unstable; urgency=low . * Non-maintainer upload. * Use dh-autoreconf in build to support new architectures (Closes: #726495) Checksums-Sha1: 31e4d305dc00c16f5da506fba63c7f5f5d2ddba2 3552 sendfile_2.1b.20080616-5.3_arm64.buildinfo 1c50ed5eab1769cf0e6d43d89f90f9a85462e9b6 186412 sendfile_2.1b.20080616-5.3_arm64.deb Checksums-Sha256: 9bf1448f7d2342ac90f4664f479bdf78e1f8263bc16a278f6d512af29f92542e 3552 sendfile_2.1b.20080616-5.3_arm64.buildinfo d183a6afbb47804ac82da4c749ad974ea50ae1f65415a9c8dcaf3a9a2a6db208 186412 sendfile_2.1b.20080616-5.3_arm64.deb Files: 99dd8fa50aa3885c7046d76fd8aefd25 3552 net optional sendfile_2.1b.20080616-5.3_arm64.buildinfo f6f9720490579e785c3459a10011b6b0 186412 net optional sendfile_2.1b.20080616-5.3_arm64.deb Fri Aug 7 01:53:15 UTC 2020 I: diffoscope 154 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --html /srv/reproducible-results/rbuild-debian/tmp.xqYE7Lxsx2/sendfile_2.1b.20080616-5.3.diffoscope.html --text /srv/reproducible-results/rbuild-debian/tmp.xqYE7Lxsx2/sendfile_2.1b.20080616-5.3.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/tmp.xqYE7Lxsx2/sendfile_2.1b.20080616-5.3.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/tmp.xqYE7Lxsx2/b1/sendfile_2.1b.20080616-5.3_arm64.changes /srv/reproducible-results/rbuild-debian/tmp.xqYE7Lxsx2/b2/sendfile_2.1b.20080616-5.3_arm64.changes ## close_archive (total time: 0.000s) 0.000s 2 calls diffoscope.comparators.gzip.GzipContainer 0.000s 2 calls diffoscope.comparators.xz.XzContainer 0.000s 2 calls diffoscope.comparators.tar.TarContainer ## command (total time: 1.176s) 0.692s 74 calls diff 0.351s 48 calls gzip 0.082s 4 calls xz 0.047s 6 calls cmp 0.005s 68 calls cmp (internal) ## compare_files (cumulative) (total time: 10.414s) 2.387s 1 call abc.DotChangesFile 2.208s 1 call abc.DebFile 2.137s 1 call abc.XzFile 2.036s 1 call abc.DebDataTarFile 1.645s 24 calls abc.GzipFile ## container_extract (total time: 0.462s) 0.357s 48 calls diffoscope.comparators.gzip.GzipContainer 0.082s 4 calls diffoscope.comparators.xz.XzContainer 0.019s 84 calls diffoscope.comparators.deb.DebTarContainer 0.003s 8 calls diffoscope.comparators.deb.DebContainer ## has_same_content_as (total time: 0.059s) 0.026s 7 calls abc.ElfFile 0.008s 2 calls abc.XzFile 0.007s 1 call abc.DebDataTarFile 0.007s 1 call abc.DebFile 0.006s 36 calls abc.TextFile 0.003s 24 calls abc.GzipFile 0.001s 2 calls diffoscope.comparators.utils.libarchive.LibarchiveSymlink 0.000s 1 call abc.DotChangesFile ## main (total time: 2.861s) 2.849s 2 calls outputs 0.012s 1 call cleanup ## open_archive (total time: 0.001s) 0.001s 48 calls diffoscope.comparators.gzip.GzipContainer 0.000s 4 calls diffoscope.comparators.xz.XzContainer 0.000s 2 calls diffoscope.comparators.deb.DebTarContainer 0.000s 2 calls diffoscope.comparators.deb.DebContainer 0.000s 2 calls diffoscope.comparators.tar.TarContainer ## output (total time: 0.253s) 0.250s 1 call html 0.002s 1 call text 0.001s 1 call json ## recognizes (total time: 0.929s) 0.696s 986 calls diffoscope.comparators.utils.archive.ArchiveMember 0.206s 2862 calls diffoscope.comparators.utils.libarchive.LibarchiveMember 0.024s 10 calls diffoscope.comparators.binary.FilesystemFile 0.002s 42 calls diffoscope.comparators.debian.DebControlMember 0.000s 8 calls abc.DotChangesFile 0.000s 8 calls diffoscope.comparators.utils.libarchive.LibarchiveSymlink Fri Aug 7 01:53:18 UTC 2020 E: sendfile failed to build reproducibly in buster on arm64. Fri Aug 7 01:53:20 UTC 2020 I: Submitting .buildinfo files to external archives: Fri Aug 7 01:53:20 UTC 2020 I: Submitting 8.0K b1/sendfile_2.1b.20080616-5.3_arm64.buildinfo.asc Fri Aug 7 01:53:21 UTC 2020 I: Submitting 8.0K b2/sendfile_2.1b.20080616-5.3_arm64.buildinfo.asc Fri Aug 7 01:53:22 UTC 2020 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Fri Aug 7 01:53:22 UTC 2020 I: Done submitting .buildinfo files. Fri Aug 7 01:53:22 UTC 2020 I: Removing signed sendfile_2.1b.20080616-5.3_arm64.buildinfo.asc files: removed './b1/sendfile_2.1b.20080616-5.3_arm64.buildinfo.asc' removed './b2/sendfile_2.1b.20080616-5.3_arm64.buildinfo.asc'