I: pbuilder: network access will be disabled during build I: Current time: Fri Jun 6 16:16:19 +14 2025 I: pbuilder-time-stamp: 1749176179 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. 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-10.dsc] I: copying [./sendfile_2.1b.20080616.orig.tar.gz] I: copying [./sendfile_2.1b.20080616-10.debian.tar.xz] I: Extracting source gpgv: Signature made Thu Oct 13 12:36:00 2022 gpgv: using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./sendfile_2.1b.20080616-10.dsc: no acceptable signature found dpkg-source: info: extracting sendfile in sendfile-2.1b.20080616 dpkg-source: info: unpacking sendfile_2.1b.20080616.orig.tar.gz dpkg-source: info: unpacking sendfile_2.1b.20080616-10.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-develop-Update-build-toolchain.patch dpkg-source: info: applying 0002-Manpage-fix.patch dpkg-source: info: applying 0003-fix-source-code.patch dpkg-source: info: applying 0004-use-correct-config-file-path.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/3615377/tmp/hooks/D01_modify_environment starting debug: Running on ionos5-amd64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Jun 6 02:16 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/3615377/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/3615377/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.2.21(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=amd64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' DIRSTACK=() DISTRIBUTION=trixie EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=6cf67973c9644c729af5bbe7be171c1b LANG=C LANGUAGE=et_EE:et LC_ALL=C MACHTYPE=x86_64-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=3615377 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.8XULxoTo/pbuilderrc_ted1 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8XULxoTo/b2 --logfile b2/build.log sendfile_2.1b.20080616-10.dsc' SUDO_GID=110 SUDO_UID=105 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://213.165.73.152:3128 I: uname -a Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 14:45 /bin -> usr/bin I: user script /srv/workspace/pbuilder/3615377/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), 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 ... 19695 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. 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: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libncurses-dev{a} libncurses6{a} libpipeline1{a} libreadline-dev{a} libreadline8t64{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} readline-common{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libgpm2 libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 35 newly installed, 0 to remove and 0 not upgraded. Need to get 19.9 MB of archives. After unpacking 77.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main amd64 readline-common all 8.2-4 [69.3 kB] Get: 2 http://deb.debian.org/debian trixie/main amd64 sensible-utils all 0.0.22 [22.4 kB] Get: 3 http://deb.debian.org/debian trixie/main amd64 libmagic-mgc amd64 1:5.45-3 [314 kB] Get: 4 http://deb.debian.org/debian trixie/main amd64 libmagic1t64 amd64 1:5.45-3 [105 kB] Get: 5 http://deb.debian.org/debian trixie/main amd64 file amd64 1:5.45-3 [42.9 kB] Get: 6 http://deb.debian.org/debian trixie/main amd64 gettext-base amd64 0.21-14+b1 [161 kB] Get: 7 http://deb.debian.org/debian trixie/main amd64 libuchardet0 amd64 0.0.8-1+b1 [68.8 kB] Get: 8 http://deb.debian.org/debian trixie/main amd64 groff-base amd64 1.23.0-3+b1 [1180 kB] Get: 9 http://deb.debian.org/debian trixie/main amd64 bsdextrautils amd64 2.40-8 [92.8 kB] Get: 10 http://deb.debian.org/debian trixie/main amd64 libpipeline1 amd64 1.5.7-2 [38.0 kB] Get: 11 http://deb.debian.org/debian trixie/main amd64 man-db amd64 2.12.1-1 [1411 kB] Get: 12 http://deb.debian.org/debian trixie/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 13 http://deb.debian.org/debian trixie/main amd64 autoconf all 2.71-3 [332 kB] Get: 14 http://deb.debian.org/debian trixie/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 15 http://deb.debian.org/debian trixie/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 16 http://deb.debian.org/debian trixie/main amd64 autopoint all 0.21-14 [496 kB] Get: 17 http://deb.debian.org/debian trixie/main amd64 libdebhelper-perl all 13.15.3 [88.0 kB] Get: 18 http://deb.debian.org/debian trixie/main amd64 libtool all 2.4.7-7 [517 kB] Get: 19 http://deb.debian.org/debian trixie/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian trixie/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian trixie/main amd64 libsub-override-perl all 0.10-1 [10.6 kB] Get: 22 http://deb.debian.org/debian trixie/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 23 http://deb.debian.org/debian trixie/main amd64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 24 http://deb.debian.org/debian trixie/main amd64 libelf1t64 amd64 0.191-1+b1 [189 kB] Get: 25 http://deb.debian.org/debian trixie/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 26 http://deb.debian.org/debian trixie/main amd64 libicu72 amd64 72.1-4+b1 [9395 kB] Get: 27 http://deb.debian.org/debian trixie/main amd64 libxml2 amd64 2.9.14+dfsg-1.3+b3 [692 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 gettext amd64 0.21-14+b1 [1301 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 30 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.15.3 [901 kB] Get: 32 http://deb.debian.org/debian trixie/main amd64 libncurses6 amd64 6.4+20240414-1 [104 kB] Get: 33 http://deb.debian.org/debian trixie/main amd64 libncurses-dev amd64 6.4+20240414-1 [349 kB] Get: 34 http://deb.debian.org/debian trixie/main amd64 libreadline8t64 amd64 8.2-4 [167 kB] Get: 35 http://deb.debian.org/debian trixie/main amd64 libreadline-dev amd64 8.2-4 [152 kB] Fetched 19.9 MB in 1s (18.2 MB/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 ... 19695 files and directories currently installed.) Preparing to unpack .../00-readline-common_8.2-4_all.deb ... Unpacking readline-common (8.2-4) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.45-3_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../03-libmagic1t64_1%3a5.45-3_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.45-3_amd64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../05-gettext-base_0.21-14+b1_amd64.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../06-libuchardet0_0.0.8-1+b1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../07-groff-base_1.23.0-3+b1_amd64.deb ... Unpacking groff-base (1.23.0-3+b1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../08-bsdextrautils_2.40-8_amd64.deb ... Unpacking bsdextrautils (2.40-8) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../09-libpipeline1_1.5.7-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../10-man-db_2.12.1-1_amd64.deb ... Unpacking man-db (2.12.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../20-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../23-libelf1t64_0.191-1+b1_amd64.deb ... Unpacking libelf1t64:amd64 (0.191-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../25-libicu72_72.1-4+b1_amd64.deb ... Unpacking libicu72:amd64 (72.1-4+b1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../26-libxml2_2.9.14+dfsg-1.3+b3_amd64.deb ... Unpacking libxml2:amd64 (2.9.14+dfsg-1.3+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-14+b1_amd64.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../31-libncurses6_6.4+20240414-1_amd64.deb ... Unpacking libncurses6:amd64 (6.4+20240414-1) ... Selecting previously unselected package libncurses-dev:amd64. Preparing to unpack .../32-libncurses-dev_6.4+20240414-1_amd64.deb ... Unpacking libncurses-dev:amd64 (6.4+20240414-1) ... Selecting previously unselected package libreadline8t64:amd64. Preparing to unpack .../33-libreadline8t64_8.2-4_amd64.deb ... Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:amd64 (8.2-4) ... Selecting previously unselected package libreadline-dev:amd64. Preparing to unpack .../34-libreadline-dev_8.2-4_amd64.deb ... Unpacking libreadline-dev:amd64 (8.2-4) ... Setting up libpipeline1:amd64 (1.5.7-2) ... Setting up libicu72:amd64 (72.1-4+b1) ... Setting up bsdextrautils (2.40-8) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libmagic1t64:amd64 (1:5.45-3) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libelf1t64:amd64 (0.191-1+b1) ... Setting up autotools-dev (20220109.1) ... Setting up libncurses6:amd64 (6.4+20240414-1) ... Setting up autopoint (0.21-14) ... Setting up autoconf (2.71-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:amd64 (0.0.8-1+b1) ... Setting up libsub-override-perl (0.10-1) ... Setting up readline-common (8.2-4) ... Setting up libxml2:amd64 (2.9.14+dfsg-1.3+b3) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up libncurses-dev:amd64 (6.4+20240414-1) ... Setting up gettext (0.21-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libreadline8t64:amd64 (8.2-4) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up groff-base (1.23.0-3+b1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libreadline-dev:amd64 (8.2-4) ... Setting up man-db (2.12.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.15.3) ... Processing triggers for libc-bin (2.37-19) ... 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.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/3615377/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for trixie I: user script /srv/workspace/pbuilder/3615377/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/sendfile-2.1b.20080616/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../sendfile_2.1b.20080616-10_source.changes dpkg-buildpackage: info: source package sendfile dpkg-buildpackage: info: source version 2.1b.20080616-10 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jelmer Vernooij dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 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/reproducible-path/sendfile-2.1b.20080616' rm -f *~ */*~ sendfile-*tar.gz ./makeconfig clean cd contrib/xhoppel && make clean make[2]: Entering directory '/build/reproducible-path/sendfile-2.1b.20080616/contrib/xhoppel' rm -f core *~ *.o xhoppel make[2]: Leaving directory '/build/reproducible-path/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/reproducible-path/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/reproducible-path/sendfile-2.1b.20080616/src' make[1]: Leaving directory '/build/reproducible-path/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... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-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... /usr/bin/grep checking for egrep... /usr/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... no 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/reproducible-path/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/reproducible-path/sendfile-2.1b.20080616' cd src; make make[2]: Entering directory '/build/reproducible-path/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] 490 | 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' 490 | else strcpy(force_compress,optarg); break; | ^~~~~ sendfile.c:493:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 493 | 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' 493 | else strcpy(comment,optarg); break; | ^~~~~ sendfile.c:499:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 499 | 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' 499 | else strcpy(where,optarg); break; | ^~~~~ sendfile.c:501:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 501 | 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' 501 | else packet_size=atoi(optarg); break; | ^~~~~ sendfile.c:1165:32: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 1165 | sscanf(line,"SIZE %lld %lld",&size,&orgsize); | ~~~^ ~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfile.c:1165:37: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type 'off_t *' {aka 'long int *'} [-Wformat=] 1165 | sscanf(line,"SIZE %lld %lld",&size,&orgsize); | ~~~^ ~~~~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfile.c:1218:34: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 1218 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c:1218:39: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 1218 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~~~~ | | | | | off_t {aka long int} | long long int | %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=] 1353 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~ | | | | | off_t {aka long int} | long long int | %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=] 1353 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~~~~ | | | | | off_t {aka long int} | long long int | %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=] 1746 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~ | | | | | off_t {aka long int} | long long int | %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=] 1746 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~~~~ | | | | | off_t {aka long int} | long long int | %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=] 2352 | if (str_neq_nocase("SIZE",line,4)) sscanf(arg+1,"%lld",&size); | ~~~^ ~~~~~ | | | | | off_t * {aka long int *} | long long int * | %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=] 2634 | printf("%s@%s : %s (%lld KB)\n", | ~~~^ | | | long long int | %ld 2635 | oflp->to,hlp->host,file,(oflp->size+512)/1024); | ~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long int} sendfile.c: In function 'cleanup': sendfile.c:1955:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3835 and 4090 [-Wformat-truncation=] 1955 | snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); | ^~ ~~~~~~~~~ sendfile.c:1955:9: note: 'snprintf' output between 6 and 4356 bytes into a destination of size 4095 1955 | snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1984:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3835 and 4090 [-Wformat-truncation=] 1984 | snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); | ^~ ~~~~~~~~~ sendfile.c:1984:15: note: 'snprintf' output between 6 and 4356 bytes into a destination of size 4095 1984 | 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=] 2108 | 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 2108 | 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=] 2127 | snprintf(MAXS(sign),"SIGN %s",tmp); | ^~ ~~~ sendfile.c:2127:3: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4095 2127 | snprintf(MAXS(sign),"SIGN %s",tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 2538 | snprintf(MAXS(speeddir),"%s/speeds",userspool); | ^~~~~~~ sendfile.c:2538:3: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4095 2538 | 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=] 2545 | 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 2545 | 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=] 2590 | snprintf(MAXS(speeddir),"%s/speeds",userspool); | ^~~~~~~ sendfile.c:2590:3: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4095 2590 | 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=] 2597 | 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 2597 | snprintf(MAXS(hostfile),"%s/%s",speeddir,host); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': 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=] 825 | 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 825 | snprintf(MAXS(outlogtmp),"%s/.sendfile_%d.log",userspool,pid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:848:58: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4066 [-Wformat-truncation=] 848 | snprintf(MAXS(tmp),"the user spool directory is: %s",userspool); | ^~ ~~~~~~~~~ sendfile.c:848:9: note: 'snprintf' output between 30 and 4125 bytes into a destination of size 4095 848 | snprintf(MAXS(tmp),"the user spool directory is: %s",userspool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:869:24: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] 869 | "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 868 | snprintf(MAXS(tmp), | ^~~~~~~~~~~~~~~~~~~ 869 | "tmp-file %s does already exist and cannot be deleted",tartmp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:874:24: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] 874 | "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 873 | snprintf(MAXS(tmp), | ^~~~~~~~~~~~~~~~~~~ 874 | "tmp-file %s does already exist and cannot be deleted",ziptmp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:879:24: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] 879 | "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 878 | snprintf(MAXS(tmp), | ^~~~~~~~~~~~~~~~~~~ 879 | "tmp-file %s does already exist and cannot be deleted",texttmp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:884:24: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] 884 | "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 883 | snprintf(MAXS(tmp), | ^~~~~~~~~~~~~~~~~~~ 884 | "tmp-file %s does already exist and cannot be deleted",pgptmp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:889:24: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] 889 | "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 888 | snprintf(MAXS(tmp), | ^~~~~~~~~~~~~~~~~~~ 889 | "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=] 973 | 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 973 | snprintf(MAXS(tmp),"cannot open tmp-file %s",stdintmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:980:58: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4066 [-Wformat-truncation=] 980 | snprintf(MAXS(tmp),"error while writing stdin to %s",stdintmp); | ^~ ~~~~~~~~ sendfile.c:980:9: note: 'snprintf' output between 30 and 4125 bytes into a destination of size 4095 980 | snprintf(MAXS(tmp),"error while writing stdin to %s",stdintmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1598:34: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4090 [-Wformat-truncation=] 1598 | snprintf(MAXS(tmp),"FILE %s",utf_name); | ^~ ~~~~~~~~ sendfile.c:1598:9: note: 'snprintf' output between 6 and 8197 bytes into a destination of size 4095 1598 | snprintf(MAXS(tmp),"FILE %s",utf_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1564:40: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 510 [-Wformat-truncation=] 1564 | snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); | ^~ sendfile.c:1564:17: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 511 1564 | snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1718:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4087 [-Wformat-truncation=] 1718 | snprintf(MAXS(cmd),"%s < '%s' > %s",zprg,file,ziptmp); | ^~ ~~~~~~ sendfile.c:1718:9: note: 'snprintf' output 9 or more bytes (assuming 4104) into a destination of size 4095 1718 | snprintf(MAXS(cmd),"%s < '%s' > %s",zprg,file,ziptmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1794:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4058 [-Wformat-truncation=] 1794 | snprintf(MAXS(tmp),"remote site does not support file of %s",line); | ^~ ~~~~ sendfile.c:1794:11: note: 'snprintf' output between 38 and 4133 bytes into a destination of size 4095 1794 | snprintf(MAXS(tmp),"remote site does not support file of %s",line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1305:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 1305 | 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 1305 | snprintf(MAXS(tmp),"shell-call: %s",cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1334:32: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] 1334 | snprintf(MAXS(cmd),"%s < %s > %s",zprg,tartmp,ziptmp); | ^~ ~~~~~~ sendfile.c:1334:7: note: 'snprintf' output 7 or more bytes (assuming 8197) into a destination of size 4095 1334 | snprintf(MAXS(cmd),"%s < %s > %s",zprg,tartmp,ziptmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1336:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 1336 | snprintf(MAXS(tmp),"shell-call: %s",cmd); | ^~ ~~~ sendfile.c:1336:9: note: 'snprintf' output between 13 and 4108 bytes into a destination of size 4095 1336 | 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=] 1409 | 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 1409 | snprintf(MAXS(tmp),"FILE %s",utf_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1418:34: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4090 [-Wformat-truncation=] 1418 | snprintf(MAXS(tmp),"FILE %s",utf_name); | ^~ ~~~~~~~~ sendfile.c:1418:9: note: 'snprintf' output between 6 and 8197 bytes into a destination of size 4095 1418 | snprintf(MAXS(tmp),"FILE %s",utf_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1427:34: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4090 [-Wformat-truncation=] 1427 | snprintf(MAXS(tmp),"FILE %s",utf_name); | ^~ ~~~~~~~~ sendfile.c:1427:9: note: 'snprintf' output between 6 and 8197 bytes into a destination of size 4095 1427 | snprintf(MAXS(tmp),"FILE %s",utf_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1375:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 510 [-Wformat-truncation=] 1375 | snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); | ^~ sendfile.c:1375:15: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 511 1375 | snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1048:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4065 [-Wformat-truncation=] 1048 | 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 1048 | snprintf(MAXS(tmp),"cannot access spool directory %s",userspool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1132:50: warning: '%s' directive output may be truncated writing up to 4091 bytes into a region of size 4080 [-Wformat-truncation=] 1132 | snprintf(MAXS(tmp),"cannot send %s : %s",file,reply+4); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ sendfile.c:1132:13: note: 'snprintf' output 16 or more bytes (assuming 4107) into a destination of size 4095 1132 | snprintf(MAXS(tmp),"cannot send %s : %s",file,reply+4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1149:47: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3828 and 4083 [-Wformat-truncation=] 1149 | snprintf(MAXS(cmd),"%s -dc %s > %s",GZIP,sdfn,ziptmp); | ^~ ~~~~~~ sendfile.c:1149:15: note: 'snprintf' output between 13 and 4363 bytes into a destination of size 4095 1149 | snprintf(MAXS(cmd),"%s -dc %s > %s",GZIP,sdfn,ziptmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1147:50: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3826 and 4081 [-Wformat-truncation=] 1147 | snprintf(MAXS(cmd),"%s -d < %s > %s",BZIP2,sdfn,ziptmp); | ^~ ~~~~~~ sendfile.c:1147:17: note: 'snprintf' output between 15 and 4365 bytes into a destination of size 4095 1147 | snprintf(MAXS(cmd),"%s -d < %s > %s",BZIP2,sdfn,ziptmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfile.c:1145:50: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3824 and 4079 [-Wformat-truncation=] 1145 | snprintf(MAXS(cmd),"%s -d <%s|%s>%s",BZIP2,sdfn,GZIP,ziptmp); | ^~ ~~~~~~ sendfile.c:1145:17: note: 'snprintf' output between 17 and 4367 bytes into a destination of size 4095 1145 | snprintf(MAXS(cmd),"%s -d <%s|%s>%s",BZIP2,sdfn,GZIP,ziptmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 net.c: In function 'send_data': net.c:733:30: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 733 | sscanf(&reply[4],"%lld",&offset); | ~~~^ ~~~~~~~ | | | | | off_t * {aka long int *} | long long int * | %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=] 777 | snprintf(MAXS(tmp),"resuming %s at byte %lld",iso_name,offset); | ~~~^ ~~~~~~ | | | | | off_t {aka long int} | long long int | %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=] 782 | snprintf(MAXS(tmp),"begin transfer of %s with %lld bytes",fname,size); | ~~~^ ~~~~ | | | | long long int off_t {aka long int} | %ld net.c:852:42: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'off_t' {aka 'long int'} [-Wformat=] 852 | fprintf(stderr,"%s%s: %3d%% (%lld of %lld kB)\r", | ~~~^ | | | long long int | %ld 853 | tinfo,thisfile,percent, 854 | (bytes+offset-1)/1024+1,(size+offset-1)/1024+1); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long int} net.c:852:50: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'off_t' {aka 'long int'} [-Wformat=] 852 | fprintf(stderr,"%s%s: %3d%% (%lld of %lld kB)\r", | ~~~^ | | | long long int | %ld 853 | tinfo,thisfile,percent, 854 | (bytes+offset-1)/1024+1,(size+offset-1)/1024+1); | ~~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long int} net.c:921:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 921 | fprintf(stderr,"%lld kB, ",bytes/1024); | ~~~^ ~~~~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld net.c:923:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 923 | fprintf(stderr,"%lld byte, ",bytes); | ~~~^ ~~~~~ | | | | | off_t {aka long int} | long long int | %ld net.c: In function 'getreply': net.c:536:21: warning: 'snprintf' argument 4 overlaps destination object 'msg' [-Wrestrict] 536 | if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c:521:8: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 521 | char msg[MAXLEN]; /* intermediate information/error message */ | ^~~ net.c:568:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 568 | 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 568 | snprintf(MAXS(msg),"server error: %s",&reply[4]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -DLINUX -c address.c address.c: In function 'saft_connect': address.c:726:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 726 | } else | ^~~~ address.c:728:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 728 | 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=] 134 | 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 134 | 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=] 190 | snprintf(MAXS(aliasfile),"%s/aliases",userconfig); | ^~~~~~~~ address.c:190:5: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4095 190 | 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=] 145 | snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); | ^~~~~ address.c:145:5: note: 'snprintf' output 6 or more bytes (assuming 4101) into a destination of size 4095 145 | 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=] 152 | snprintf(recipient,FLEN-1,"%s",line); | ^~ ~~~~ address.c:152:7: note: 'snprintf' output between 1 and 4096 bytes into a destination of size 255 152 | snprintf(recipient,FLEN-1,"%s",line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -DLINUX -c spool.c spool.c: In function 'scanspool': spool.c:314:26: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 314 | sscanf(arg,"%lld %lld",&csize,&osize); | ~~~^ ~~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld spool.c:314:31: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type 'off_t *' {aka 'long int *'} [-Wformat=] 314 | sscanf(arg,"%lld %lld",&csize,&osize); | ~~~^ ~~~~~~ | | | | | off_t * {aka long int *} | long long int * | %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=] 637 | sscanf(arg,"%lld",&size); | ~~~^ ~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld 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=] 791 | snprintf(MAXS(msg),"%s deleted",fname); | ^~~~~~~~ spool.c:791:7: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4095 791 | 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:435:32: warning: '%s' directive output may be truncated writing up to 12287 bytes into a region of size 4091 [-Wformat-truncation=] 435 | 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 435 | snprintf(MAXS(line),"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:30: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 630 | printf("%3d) %s %9lld kB %s", | ~~~~^ | | | long long int | %9ld 631 | flp->id,flp->rdate,(flp->osize+1023)/1024,show_fname); | ~~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long int} receive.c: In function 'check_signature.part.0': receive.c:1697:27: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 1697 | 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 1697 | 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=] 1717 | 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 1717 | snprintf(MAXS(tmp),"%s %s %s 2>/dev/null",pgp_bin,pgpopt,sigfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c: In function 'list': receive.c:670:39: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 670 | snprintf(MAXS(showtar),"%s %s -f < %s/%d.d | %s tvf -", | ^ receive.c:670:13: note: 'snprintf' output 21 or more bytes (assuming 12306) into a destination of size 4095 670 | snprintf(MAXS(showtar),"%s %s -f < %s/%d.d | %s tvf -", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 671 | pgp_bin,pgpvm,userspool,flp->id,tar_bin); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:680:39: warning: ' tvf ' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 680 | snprintf(MAXS(showtar),"%s tvf %s/%d.d",tar_bin,userspool,flp->id); | ^~~~~ receive.c:680:13: note: 'snprintf' output between 10 and 8210 bytes into a destination of size 4095 680 | snprintf(MAXS(showtar),"%s tvf %s/%d.d",tar_bin,userspool,flp->id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:677:41: warning: ' -d < ' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 677 | snprintf(MAXS(showtar),"%s -d < %s/%d.d | %s tvf -", | ^~~~~~ receive.c:677:15: note: 'snprintf' output between 20 and 12315 bytes into a destination of size 4095 677 | snprintf(MAXS(showtar),"%s -d < %s/%d.d | %s tvf -", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 678 | gzip_bin,userspool,flp->id,tar_bin); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:674:41: warning: ' -d < ' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 674 | snprintf(MAXS(showtar),"%s -d < %s/%d.d | %s tvf -", | ^~~~~~ receive.c:674:15: note: 'snprintf' output between 20 and 12315 bytes into a destination of size 4095 674 | snprintf(MAXS(showtar),"%s -d < %s/%d.d | %s tvf -", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 675 | bzip2_bin,userspool,flp->id,tar_bin); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1276:31: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1276 | 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 1276 | 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=] 1194 | 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 1194 | snprintf(MAXS(sfile),"%s/%d.d",userspool,flp->id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1218:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 1218 | snprintf(MAXS(tmp),"%s -d < %s > %s",bzip2_bin,sfile,tmpfile); | ^~ ~~~~~ receive.c:1218:11: note: 'snprintf' output between 10 and 12295 bytes into a destination of size 8191 1218 | snprintf(MAXS(tmp),"%s -d < %s > %s",bzip2_bin,sfile,tmpfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1254:40: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4089 and 8184 [-Wformat-truncation=] 1254 | snprintf(MAXS(cmd),"%s %s -f < %s > '%s'",pgp_bin,pgpvm,sfile,fname); | ^~ ~~~~~ receive.c:1254:9: note: 'snprintf' output 13 or more bytes (assuming 8203) into a destination of size 8191 1254 | snprintf(MAXS(cmd),"%s %s -f < %s > '%s'",pgp_bin,pgpvm,sfile,fname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1168:32: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4089 and 8184 [-Wformat-truncation=] 1168 | "%s %s -f < %s/%d.d",pgp_bin,pgpvm,userspool,flp->id); | ^~ ~~~~~~~~~ receive.c:1167:11: note: 'snprintf' output 12 or more bytes (assuming 8202) into a destination of size 8191 1167 | snprintf(MAXS(cmd), | ^~~~~~~~~~~~~~~~~~~ 1168 | "%s %s -f < %s/%d.d",pgp_bin,pgpvm,userspool,flp->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1165:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 1165 | snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); | ^~ ~~~~~~~~~ receive.c:1165:11: note: 'snprintf' output between 11 and 8211 bytes into a destination of size 8191 1165 | snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1163:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 1163 | snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); | ^~ ~~~~~~~~~ receive.c:1163:11: note: 'snprintf' output between 11 and 8211 bytes into a destination of size 8191 1163 | snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 888 | snprintf(MAXS(cmd),"%s %s -f < %s/%d.d > %s", | ^~ 889 | 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 888 | snprintf(MAXS(cmd),"%s %s -f < %s/%d.d > %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | 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=] 959 | 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 959 | 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=] 957 | 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 957 | snprintf(MAXS(cmd),"%s tf %s",tar_bin,tartmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:954:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 954 | snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s tf -", | ^~ 955 | gzip_bin,userspool,flp->id,tar_bin); | ~~~~~~~~~ receive.c:954:9: note: 'snprintf' output between 19 and 12314 bytes into a destination of size 8191 954 | snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s tf -", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 955 | gzip_bin,userspool,flp->id,tar_bin); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:951:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 951 | snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s tf -", | ^~ 952 | bzip2_bin,userspool,flp->id,tar_bin); | ~~~~~~~~~ receive.c:951:9: note: 'snprintf' output between 19 and 12314 bytes into a destination of size 8191 951 | snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s tf -", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 952 | 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=] 1032 | snprintf(MAXS(cmd),"%s xvf %s/%d.d 2>%s", | ^~ 1033 | 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 1032 | snprintf(MAXS(cmd),"%s xvf %s/%d.d 2>%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1033 | 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=] 1030 | 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 1030 | snprintf(MAXS(cmd),"%s xvf %s 2>%s",tar_bin,tartmp,error_log); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1027:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 1027 | snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s xvf - 2>%s", | ^~ 1028 | gzip_bin,userspool,flp->id,tar_bin,error_log); | ~~~~~~~~~ receive.c:1027:9: note: 'snprintf' output between 23 and 16413 bytes into a destination of size 8191 1027 | snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s xvf - 2>%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1028 | gzip_bin,userspool,flp->id,tar_bin,error_log); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:1024:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 1024 | snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s xvf - 2>%s", | ^~ 1025 | bzip2_bin,userspool,flp->id,tar_bin,error_log); | ~~~~~~~~~ receive.c:1024:9: note: 'snprintf' output between 23 and 16413 bytes into a destination of size 8191 1024 | snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s xvf - 2>%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1025 | bzip2_bin,userspool,flp->id,tar_bin,error_log); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:814:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 814 | snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); | ^~ ~~~~~~~~~ receive.c:814:9: note: 'snprintf' output between 11 and 8211 bytes into a destination of size 8191 814 | snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ receive.c:812:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 812 | snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); | ^~ ~~~~~~~~~ receive.c:812:9: note: 'snprintf' output between 11 and 8211 bytes into a destination of size 8191 812 | 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=] 801 | 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 801 | 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=] 1791 | 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 1791 | 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=] 599 | case 'f': printf("%lld\n",free_space()); exit(0); | ~~~^ ~~~~~~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfiled.c:1309:28: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 1309 | if (sscanf(arg,"%lld",&size) != 1) { | ~~~^ ~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfiled.c:1521:28: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 1521 | sscanf(tmp,"%lld",&spoolsize); | ~~~^ ~~~~~~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfiled.c:1820:38: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 1820 | snprintf(MAXS(tmp),"%lld %lld",flp->csize,flp->osize); | ~~~^ ~~~~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfiled.c:1820:43: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 1820 | snprintf(MAXS(tmp),"%lld %lld",flp->csize,flp->osize); | ~~~^ ~~~~~~~~~~ | | | | long long int off_t {aka long int} | %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=] 1834 | printf("230 %lld bytes have already been transmitted.\r\n",transmitted); | ~~~^ ~~~~~~~~~~~ | | | | long long int off_t {aka long int} | %ld sendfiled.c:2091:35: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 2091 | printf("250-%d %s %s %lld ",flp->id,flp->fname,tmp,flp->csize); | ~~~^ ~~~~~~~~~~ | | | | long long int off_t {aka long int} | %ld sendfiled.c:2175:24: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] 2175 | printf("231 %lld bytes will follow.\r\n",size); | ~~~^ ~~~~ | | | | long long int off_t {aka long int} | %ld sendfiled.c:2306:26: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] 2306 | printf("260 %lld MB free\r\n",f); | ~~~^ ~ | | | | long long int off_t {aka long int} | %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=] 2841 | if (getrlimit(RLIMIT_FSIZE,&rl)==0) snprintf(MAXS(max),"%llu",rl.rlim_cur); | ~~~^ ~~~~~~~~~~~ | | | | | rlim_t {aka long unsigned int} | long long unsigned int | %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=] 2858 | sscanf(s1,"%lld",size); | ~~~^ ~~~~ | | | | | off_t * {aka long int *} | long long int * | %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=] 2859 | sscanf(s2,"%lld",osize); | ~~~^ ~~~~~ | | | | | off_t * {aka long int *} | long long int * | %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=] 2789 | snprintf(MAXS(spool),"%s/.",userspool); | ^~ sendfiled.c:2789:5: note: 'snprintf' output between 3 and 4098 bytes into a destination of size 4095 2789 | 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=] 2921 | snprintf(MAXS(line),"MSG %s",tmp); | ^~ ~~~ sendfiled.c:2921:3: note: 'snprintf' output between 5 and 4100 bytes into a destination of size 4095 2921 | snprintf(MAXS(line),"MSG %s",tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 3294 | 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 3294 | snprintf(MAXS(tmp),"sending %s to %s",isoname,to); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 3487 | 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 3487 | snprintf(MAXS(tmp),"opening connection to %s:%s",server,SERVICE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3492:69: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4069 [-Wformat-truncation=] 3492 | case -2: snprintf(error,MAXLEN-1,"cannot open connection to %s",server); | ^~ ~~~~~~ sendfiled.c:3492:18: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4095 3492 | case -2: snprintf(error,MAXLEN-1,"cannot open connection to %s",server); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3493:45: warning: ' has no internet-address' directive output may be truncated writing 24 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 3493 | case -3: snprintf(error,MAXLEN-1,"%s has no internet-address",server); | ^~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3493:18: note: 'snprintf' output between 25 and 4120 bytes into a destination of size 4095 3493 | case -3: snprintf(error,MAXLEN-1,"%s has no internet-address",server); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'check_outspool': sendfiled.c:3696:29: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 3696 | 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 3696 | snprintf(MAXS(oshfn),"%s",dire->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'sfsd': sendfiled.c:3082:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4082 [-Wformat-truncation=] 3082 | snprintf(MAXS(tmp),"connected to %s",hlp->host); | ^~ sendfiled.c:3082:9: note: 'snprintf' output between 14 and 4109 bytes into a destination of size 4095 3082 | snprintf(MAXS(tmp),"connected to %s",hlp->host); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3153:50: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4082 [-Wformat-truncation=] 3153 | snprintf(MAXS(tmp),"connected to %s (forward redirection)", | ^~ sendfiled.c:3153:17: note: 'snprintf' output between 36 and 4131 bytes into a destination of size 4095 3153 | snprintf(MAXS(tmp),"connected to %s (forward redirection)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3154 | hlp->host); | ~~~~~~~~~~ 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=] 2540 | 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 2540 | snprintf(MAXS(msgcf),"%s/config/tty@%s",userspool,localhost); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'restricted': 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=] 2733 | 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 2733 | 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=] 3962 | snprintf(MAXS(userconfig),"%s/config",userspool); | ^~~~~~~ sendfiled.c:3962:3: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4095 3962 | snprintf(MAXS(userconfig),"%s/config",userspool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'main': sendfiled.c:1737:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4087 and 12277 [-Wformat-truncation=] 1737 | snprintf(MAXS(tmp),"cat %s/%s %s/%s | %s && rm -f %s/%s %s/%s", | ^~ ...... 1740 | rpipe, | ~~~~~ sendfiled.c:1737:11: note: 'snprintf' output 24 or more bytes (assuming 20499) into a destination of size 12287 1737 | snprintf(MAXS(tmp),"cat %s/%s %s/%s | %s && rm -f %s/%s %s/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1738 | userspool,shfile, | ~~~~~~~~~~~~~~~~~ 1739 | userspool,sdfile, | ~~~~~~~~~~~~~~~~~ 1740 | rpipe, | ~~~~~~ 1741 | userspool,shfile, | ~~~~~~~~~~~~~~~~~ 1742 | userspool,sdfile); | ~~~~~~~~~~~~~~~~~ sendfiled.c:1041:37: warning: '@' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1041 | snprintf(MAXS(utfsender),"%s@%s %s",arg,peer,real); | ^ sendfiled.c:1041:9: note: 'snprintf' output 3 or more bytes (assuming 8189) into a destination of size 4095 1041 | snprintf(MAXS(utfsender),"%s@%s %s",arg,peer,real); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:949:48: warning: '/notify ' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 949 | snprintf(MAXS(notification),"%s/notify ",userconfig); | ^~~~~~~~ sendfiled.c:949:17: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4095 949 | 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] 128 | if ((getpeername(fd,&addrbuf,&len)) < 0) return(defaultName); | ^~~~~~~~ | | | char (*)[1024] In file included from peername.c:41: /usr/include/x86_64-linux-gnu/sys/socket.h:130:50: note: expected 'struct sockaddr * restrict' but argument is of type 'char (*)[1024]' 130 | 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] 128 | if ((getpeername(fd,&addrbuf,&len)) < 0) return(defaultName); | ^~~~ | | | size_t * {aka long unsigned int *} /usr/include/x86_64-linux-gnu/sys/socket.h:131:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 131 | 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] 145 | 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=] 754 | 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 754 | snprintf(MAXS(tmp),"cannot change back to %s",swd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'get_list': fetchfile.c:830:55: warning: '%s' directive output may be truncated writing up to 4091 bytes into a region of size 4067 [-Wformat-truncation=] 830 | snprintf(MAXS(tmp),"invalid answer from server: %s",line+4); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ fetchfile.c:830:7: note: 'snprintf' output between 29 and 4120 bytes into a destination of size 4095 830 | snprintf(MAXS(tmp),"invalid answer from server: %s",line+4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 1201 | sprintf(configf,"%s/config",userconfig); | ^~~~~~~ fetchfile.c:1201:3: note: 'sprintf' output between 8 and 4103 bytes into a destination of size 4096 1201 | 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=] 1218 | 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 1218 | 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=] 1225 | 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 1225 | 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=] 1231 | 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 1231 | 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=] 1236 | 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 1236 | 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=] 337 | 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 337 | 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=] 342 | 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 342 | snprintf(MAXS(line),"no access to %s (try 'fetchfile -I' first)",tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:457:26: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] 457 | snprintf(MAXS(cmd),"cd %s; PGPPATH='.' %s -sbaf " | ^~ 458 | "+secring=private.pgp +pubring=public.pgp <%s 2>/dev/null", 459 | userconfig,pgp_bin,pgptmp); | ~~~~~~~~~~ fetchfile.c:457:3: note: 'snprintf' output 79 or more bytes (assuming 8269) into a destination of size 4095 457 | snprintf(MAXS(cmd),"cd %s; PGPPATH='.' %s -sbaf " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | "+secring=private.pgp +pubring=public.pgp <%s 2>/dev/null", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | 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=] 481 | snprintf(MAXS(response),"AUTH %s",tmp); | ^~ ~~~ fetchfile.c:481:3: note: 'snprintf' output between 6 and 12293 bytes into a destination of size 4095 481 | 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=] 495 | snprintf(MAXS(conffile),"%s/%s",swd,tmp); | ^ fetchfile.c:495:7: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4095 495 | 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 -rwxrwxr-x 1 pbuilder2 pbuilder2 77208 Jun 6 02:17 fetchfile -rwxrwxr-x 1 pbuilder2 pbuilder2 86448 Jun 6 02:17 receive -rwxrwxr-x 1 pbuilder2 pbuilder2 94720 Jun 6 02:17 sendfile -rwxrwxr-x 1 pbuilder2 pbuilder2 103848 Jun 6 02:17 sendfiled -rwxrwxr-x 1 pbuilder2 pbuilder2 55552 Jun 6 02:17 sendmsg -rwxrwxr-x 1 pbuilder2 pbuilder2 36912 Jun 6 02:17 utf7encode -rwxrwxr-x 1 pbuilder2 pbuilder2 17600 Jun 6 02:17 wlock and now type (as root): make install make[2]: Leaving directory '/build/reproducible-path/sendfile-2.1b.20080616/src' make[1]: Leaving directory '/build/reproducible-path/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 chown: warning: '.' should be ':': 'root.root' 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 -9nf 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 -9nf debian/tmp/usr/share/doc/sendfile/german/LIESMICH{,.auch,.neu,.entwickler} gzip -9nf debian/tmp/usr/share/doc/sendfile/doc.txt gzip -9nf 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 -9nf 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-shlibdeps: warning: diversions involved - output may be incorrect diversion by libreadline8t64 from: /lib/x86_64-linux-gnu/libreadline.so.8 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libreadline8t64 to: /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged dpkg-gencontrol -isp dpkg-gencontrol: warning: -isp is deprecated; it is without effect dpkg-gencontrol: warning: Depends field of package sendfile: substitution variable ${misc:Depends} used, but is not defined dpkg --build debian/tmp .. dpkg-deb: building package 'sendfile' in '../sendfile_2.1b.20080616-10_amd64.deb'. dpkg-genbuildinfo --build=binary -O../sendfile_2.1b.20080616-10_amd64.buildinfo dpkg-genchanges --build=binary -O../sendfile_2.1b.20080616-10_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/3615377/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/3615377/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/3615377 and its subdirectories I: Current time: Fri Jun 6 16:17:07 +14 2025 I: pbuilder-time-stamp: 1749176227