Diff of the two buildlogs: -- --- b1/build.log 2021-07-22 20:12:10.138117900 +0000 +++ b2/build.log 2021-07-22 20:16:45.559803653 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jul 22 08:02:53 -12 2021 -I: pbuilder-time-stamp: 1626984173 +I: Current time: Thu Aug 25 16:35:11 +14 2022 +I: pbuilder-time-stamp: 1661394911 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./lsh-utils_2.1-13.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.nja9oYuA/trustedkeys.kbx': General error -gpgv: Signature made Wed Jan 6 10:32:58 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.SWHeiMDH/trustedkeys.kbx': General error +gpgv: Signature made Thu Jan 7 12:32:58 2021 +14 gpgv: using RSA key CD2A073B386154170A4082E8D4F219BFEC998489 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./lsh-utils_2.1-13.dsc @@ -39,137 +39,171 @@ dpkg-source: info: applying missing_extern.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/29987/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/64492/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/64492/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/64492/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='578eb0770a7f4cd893cac270343b8df9' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='29987' - PS1='# ' - PS2='> ' + INVOCATION_ID=0a7d30b608bf4a2c8f142b0af21799ab + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=64492 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.NOXvwNPsEU/pbuilderrc_hWJW --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.NOXvwNPsEU/b1 --logfile b1/build.log lsh-utils_2.1-13.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + 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/tmp.NOXvwNPsEU/pbuilderrc_aOar --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.NOXvwNPsEU/b2 --logfile b2/build.log --extrapackages usrmerge lsh-utils_2.1-13.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 4.19.0-17-686-pae #1 SMP Debian 4.19.194-3 (2021-07-18) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux I: ls -l /bin - total 5788 - -rwxr-xr-x 1 root root 1367848 Jun 21 14:25 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 02:38 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 14:25 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 21 21:26 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/29987/tmp/hooks/D02_print_environment finished + total 5776 + -rwxr-xr-x 1 root root 1367848 Jun 22 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 25 16:35 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 25 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/64492/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -301,7 +335,7 @@ Get: 63 http://deb.debian.org/debian bullseye/main i386 nettle-dev i386 3.7.3-1 [1285 kB] Get: 64 http://deb.debian.org/debian bullseye/main i386 texinfo i386 6.7.0.dfsg.2-6 [1766 kB] Get: 65 http://deb.debian.org/debian bullseye/main i386 zlib1g-dev i386 1:1.2.11.dfsg-2 [194 kB] -Fetched 26.0 MB in 3s (10.2 MB/s) +Fetched 26.0 MB in 0s (86.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19675 files and directories currently installed.) @@ -590,9 +624,41 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (4356 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 23819 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/lsh-utils-2.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/lsh-utils-2.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package lsh-utils dpkg-buildpackage: info: source version 2.1-13 dpkg-buildpackage: info: source distribution unstable @@ -631,7 +697,7 @@ CFLAGS="-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security" DFLAGS="-frelease" FCFLAGS="-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong" FFLAGS="-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong" GCJFLAGS="-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong" LDFLAGS="-Wl,-z,defs -Wl,--as-needed -Wl,-z,relro" OBJCFLAGS="-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security" OBJCXXFLAGS="-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security" checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -651,8 +717,8 @@ checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none 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 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/types.h... yes checking for sys/stat.h... yes @@ -884,10 +950,10 @@ config.status: creating config.h config.status: executing depfiles commands === configuring in src/spki (/build/lsh-utils-2.1/src/spki) -configure: running /bin/bash /build/lsh-utils-2.1/src/spki/configure --disable-option-checking '--prefix=/usr' '--build=i686-linux-gnu' '--disable-dependency-tracking' '--enable-pam' '--enable-kerberos' '--enable-srp' '--with-pty' '--enable-tcp-forward' '--enable-x11-forward' '--enable-agent-forward' '--enable-ipv6' '--enable-utmp' '--with-zlib' '--with-tcpwrappers' '--with-sshd1=/usr/sbin/sshd' '--with-x' 'XAUTH_PROGRAM=/usr/bin/xauth' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'DFLAGS=-frelease' 'FCFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'FFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'GCJFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'LDFLAGS=-Wl,-z,defs -Wl,--as-needed -Wl,-z,relro' 'OBJCFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'build_alias=i686-linux-gnu' --cache-file=/dev/null --srcdir=/build/lsh-utils-2.1/src/spki +configure: running /bin/sh /build/lsh-utils-2.1/src/spki/configure --disable-option-checking '--prefix=/usr' '--build=i686-linux-gnu' '--disable-dependency-tracking' '--enable-pam' '--enable-kerberos' '--enable-srp' '--with-pty' '--enable-tcp-forward' '--enable-x11-forward' '--enable-agent-forward' '--enable-ipv6' '--enable-utmp' '--with-zlib' '--with-tcpwrappers' '--with-sshd1=/usr/sbin/sshd' '--with-x' 'XAUTH_PROGRAM=/usr/bin/xauth' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'DFLAGS=-frelease' 'FCFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'FFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'GCJFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'LDFLAGS=-Wl,-z,defs -Wl,--as-needed -Wl,-z,relro' 'OBJCFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'build_alias=i686-linux-gnu' --cache-file=/dev/null --srcdir=/build/lsh-utils-2.1/src/spki checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -922,8 +988,8 @@ checking for an ANSI C-conforming const... yes checking for inline... inline 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 grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for uid_t in sys/types.h... yes checking for ANSI C header files... yes checking for sys/types.h... yes @@ -954,10 +1020,10 @@ config.status: creating config.h config.status: executing depfiles commands === configuring in src/sftp (/build/lsh-utils-2.1/src/sftp) -configure: running /bin/bash /build/lsh-utils-2.1/src/sftp/configure --disable-option-checking '--prefix=/usr' '--build=i686-linux-gnu' '--disable-dependency-tracking' '--enable-pam' '--enable-kerberos' '--enable-srp' '--with-pty' '--enable-tcp-forward' '--enable-x11-forward' '--enable-agent-forward' '--enable-ipv6' '--enable-utmp' '--with-zlib' '--with-tcpwrappers' '--with-sshd1=/usr/sbin/sshd' '--with-x' 'XAUTH_PROGRAM=/usr/bin/xauth' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'DFLAGS=-frelease' 'FCFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'FFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'GCJFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'LDFLAGS=-Wl,-z,defs -Wl,--as-needed -Wl,-z,relro' 'OBJCFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'build_alias=i686-linux-gnu' --cache-file=/dev/null --srcdir=/build/lsh-utils-2.1/src/sftp +configure: running /bin/sh /build/lsh-utils-2.1/src/sftp/configure --disable-option-checking '--prefix=/usr' '--build=i686-linux-gnu' '--disable-dependency-tracking' '--enable-pam' '--enable-kerberos' '--enable-srp' '--with-pty' '--enable-tcp-forward' '--enable-x11-forward' '--enable-agent-forward' '--enable-ipv6' '--enable-utmp' '--with-zlib' '--with-tcpwrappers' '--with-sshd1=/usr/sbin/sshd' '--with-x' 'XAUTH_PROGRAM=/usr/bin/xauth' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'DFLAGS=-frelease' 'FCFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'FFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'GCJFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'LDFLAGS=-Wl,-z,defs -Wl,--as-needed -Wl,-z,relro' 'OBJCFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'build_alias=i686-linux-gnu' --cache-file=/dev/null --srcdir=/build/lsh-utils-2.1/src/sftp checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -978,8 +1044,8 @@ checking for ranlib... ranlib configure: Using ${exec_prefix}/bin/lshg as secsh-client, adding --subsystem=sftp --no-pty in front of arguments and -G after them. 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 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/types.h... yes checking for sys/stat.h... yes @@ -1098,7 +1164,7 @@ config.status: executing depfiles commands dh_testdir # Add here commands to compile the package. -/usr/bin/make -j8 MAKEINFO='makeinfo --enable-encoding' +/usr/bin/make -j15 MAKEINFO='makeinfo --enable-encoding' make[1]: Entering directory '/build/lsh-utils-2.1' /usr/bin/make all-recursive make[2]: Entering directory '/build/lsh-utils-2.1' @@ -1168,6 +1234,86 @@ gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o str_utils.o str_utils.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o dc.o dc.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o gnu_stuff.o gnu_stuff.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o misc_fun.o misc_fun.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o buffer.o buffer.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o io_input.o io_input.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o io_output.o io_output.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o xmalloc.o xmalloc.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o werror.o werror.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o sftp-test-client.o sftp-test-client.c +io_input.c: In function 'sftp_read_packet': +io_input.c:149:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 149 | while (bytesread < sizeof(buf)) + | ^ +misc_fun.c: In function 'mgetenv_init': +misc_fun.c:61:27: warning: unused parameter 'envp' [-Wunused-parameter] + 61 | void mgetenv_init( char** envp ) + | ~~~~~~~^~~~ +misc_fun.c: In function 'massage_fname': +misc_fun.c:68:38: warning: unused parameter 'local' [-Wunused-parameter] + 68 | char* massage_fname(char* fname, int local) + | ~~~~^~~~~ +io_output.c: In function 'sftp_write_packet': +io_output.c:196:17: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] + 196 | while (writteni) + | ^ +buffer.c: In function 'sftp_put_printf': +buffer.c:149:26: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] + 149 | length = vsnprintf(current, needed, format, args); + | ^~~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from /usr/include/features.h:461, + from /usr/include/alloca.h:21, + from config.h:299, + from buffer.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:77:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 77 | __NTH (vsnprintf (char *__restrict __s, size_t __n, + | ^~~~~ +buffer.c: In function 'sftp_put_strftime': +buffer.c:175:25: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign] + 175 | length = strftime(current, needed, format, tm); + | ^~~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from buffer.h:36, + from buffer.c:38: +/usr/include/time.h:88:42: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 88 | extern size_t strftime (char *__restrict __s, size_t __maxsize, + | ~~~~~~~~~~~~~~~~~^~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o client.o client.c +sftp_bind.c: In function 'lsftp_open_connection': +sftp_bind.c:210:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 210 | cur_string = + | ^~~~~~~~~~ +sftp_bind.c:234:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 234 | cur_string = + | ^~~~~~~~~~ +sftp_bind.c: In function 'lsftp_callback': +sftp_bind.c:581:7: warning: variable 'retval' set but not used [-Wunused-but-set-variable] + 581 | int retval; + | ^~~~~~ +sftp_bind.c: In function 'lsftp_do_get': +sftp_bind.c:779:5: warning: pointer targets in passing argument 5 of 'sftp_get_file_init' differ in signedness [-Wpointer-sign] + 779 | tmp, strlen( tmp ), + | ^~~ + | | + | const char * +In file included from sftp_bind.h:61, + from sftp_bind.c:34: +sftp_c.h:280:21: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 280 | const uint8_t *name, + | ~~~~~~~~~~~~~~~^~~~ +sftp_bind.c:780:5: warning: pointer targets in passing argument 7 of 'sftp_get_file_init' differ in signedness [-Wpointer-sign] + 780 | local, strlen( local), + | ^~~~~ + | | + | const char * +In file included from sftp_bind.h:61, + from sftp_bind.c:34: +sftp_c.h:282:21: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 282 | const uint8_t *fname, + | ~~~~~~~~~~~~~~~^~~~~ sftp_c.c: In function 'sftp_get_file_init': sftp_c.c:960:23: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 960 | statret = stat( fname, &st ); @@ -1210,6 +1356,136 @@ sftp_c.c:1239:15: warning: unused parameter 'fnamelen' [-Wunused-parameter] 1239 | uint32_t fnamelen, | ~~~~~~~~~^~~~~~~~ +sftp_bind.c: In function 'lsftp_do_put': +sftp_bind.c:1390:5: warning: pointer targets in passing argument 5 of 'sftp_put_file_init' differ in signedness [-Wpointer-sign] + 1390 | tmp, strlen( tmp ), + | ^~~ + | | + | const char * +In file included from sftp_bind.h:61, + from sftp_bind.c:34: +sftp_c.h:320:21: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 320 | const uint8_t *name, + | ~~~~~~~~~~~~~~~^~~~ +sftp_bind.c:1391:5: warning: pointer targets in passing argument 7 of 'sftp_put_file_init' differ in signedness [-Wpointer-sign] + 1391 | local, strlen( local), + | ^~~~~ + | | + | const char * +In file included from sftp_bind.h:61, + from sftp_bind.c:34: +sftp_c.h:322:21: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 322 | const uint8_t *fname, + | ~~~~~~~~~~~~~~~^~~~~ +sftp-test-client.c: In function 'do_ls': +sftp-test-client.c:168:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] + 168 | sftp_put_string(ctx->o, strlen(name), name); + | ^~~~ + | | + | const char * +In file included from io.h:24, + from sftp-test-client.c:38: +buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); + | ~~~~~~~~~~~~~~~^~~~ +sftp_bind.c: In function 'lsftp_do_ls': +sftp-test-client.c: In function 'do_open': +sftp-test-client.c:278:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] + 278 | sftp_put_string(ctx->o, strlen(name), name ); + | ^~~~ + | | + | const char * +In file included from io.h:24, + from sftp-test-client.c:38: +buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); + | ~~~~~~~~~~~~~~~^~~~ +sftp_bind.c:1529:10: warning: pointer targets in passing argument 5 of 'sftp_ls_init' differ in signedness [-Wpointer-sign] + 1529 | tmp, + | ^~~ + | | + | const char * +In file included from sftp_bind.h:61, + from sftp_bind.c:34: +sftp_c.h:403:22: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 403 | const uint8_t *dir, + | ~~~~~~~~~~~~~~~^~~ +sftp-test-client.c: In function 'do_stat': +sftp_bind.c: In function 'lsftp_handle_ls': +sftp-test-client.c:526:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] + 526 | sftp_put_string(ctx->o, strlen(name), name); + | ^~~~ + | | + | const char * +In file included from io.h:24, + from sftp-test-client.c:38: +buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); + | ~~~~~~~~~~~~~~~^~~~ +sftp_bind.c:1690:46: warning: pointer targets in passing argument 2 of 'lsftp_concat' differ in signedness [-Wpointer-sign] + 1690 | prefixed_fname = lsftp_concat( prefix, fname ); + | ^~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from sftp_bind.h:60, + from sftp_bind.c:34: +misc_fun.h:40:49: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 40 | char* lsftp_concat( const char* s1, const char* s2 ); + | ~~~~~~~~~~~~^~ +sftp_bind.c:1742:7: warning: pointer targets in passing argument 1 of 'lsftp_dc_glob_matches' differ in signedness [-Wpointer-sign] + 1742 | fname, + | ^~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from sftp_bind.h:64, + from sftp_bind.c:34: +dc.h:54:39: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 54 | int lsftp_dc_glob_matches(const char *fname, const char *glob, int period); + | ~~~~~~~~~~~~^~~~~ +sftp_bind.c:1771:23: warning: pointer targets in passing argument 1 of 'lsftp_concat' differ in signedness [-Wpointer-sign] + 1771 | tmp = lsftp_concat( fname, "/" ); /* Add a trailing slash for directories */ + | ^~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from sftp_bind.h:60, + from sftp_bind.c:34: +misc_fun.h:40:33: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 40 | char* lsftp_concat( const char* s1, const char* s2 ); + | ~~~~~~~~~~~~^~ +In file included from /usr/include/string.h:495, + from misc_fun.h:33, + from misc_fun.c:32: +In function 'strncpy', + inlined from 'lsftp_concat' at misc_fun.c:102:3: +/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +misc_fun.c: In function 'lsftp_concat': +misc_fun.c:94:8: note: length computed here + 94 | i1 = strlen( s1 ); + | ^~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from misc_fun.h:33, + from misc_fun.c:32: +In function 'strncpy', + inlined from 'lsftp_concat' at misc_fun.c:103:3: +/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +misc_fun.c: In function 'lsftp_concat': +misc_fun.c:95:8: note: length computed here + 95 | i2 = strlen( s2 ); + | ^~~~~~~~~~~~ +sftp_bind.c:1773:17: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] + 1773 | tmp = strdup( fname ); + | ^~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from sftp_bind.h:58, + from sftp_bind.c:34: +/usr/include/string.h:167:34: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 167 | extern char *strdup (const char *__s) + | ~~~~~~~~~~~~^~~ rl.c: In function 'lsftp_rl_completion': rl.c:222:11: warning: passing argument 2 of 'rl_completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 222 | lsftp_rl_command_generator @@ -1222,6 +1498,16 @@ /usr/include/readline/readline.h:485:37: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 485 | extern char **rl_completion_matches PARAMS((const char *, rl_compentry_func_t *)); | ^~~~~~ +sftp_bind.c:1780:38: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] + 1780 | longstrings[used-1] = strdup( longname ); + | ^~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from sftp_bind.h:58, + from sftp_bind.c:34: +/usr/include/string.h:167:34: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 167 | extern char *strdup (const char *__s) + | ~~~~~~~~~~~~^~~ rl.c:245:7: warning: passing argument 2 of 'rl_completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 245 | lsftp_rl_command_generator | ^~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1269,21 +1555,9 @@ rl.c:205:55: warning: unused parameter 'end' [-Wunused-parameter] 205 | char** lsftp_rl_completion(char* text, int start, int end) | ~~~~^~~ -rl.c: In function 'lsftp_rl_no_generator': -rl.c:457:36: warning: unused parameter 'text' [-Wunused-parameter] - 457 | char* lsftp_rl_no_generator (char* text, int state) - | ~~~~~~^~~~ -rl.c: In function 'lsftp_rl_history_fname': -rl.c:522:9: warning: unused variable 'username' [-Wunused-variable] - 522 | char* username; - | ^~~~~~~~ -sftp_bind.c: In function 'lsftp_open_connection': -sftp_bind.c:210:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 210 | cur_string = - | ^~~~~~~~~~ -sftp_bind.c:234:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 234 | cur_string = - | ^~~~~~~~~~ +sftp_bind.c:1800:6: warning: unused variable 'screenwidth' [-Wunused-variable] + 1800 | int screenwidth = 80; + | ^~~~~~~~~~~ lsftp.c: In function 'lsftp_interactive_mainloop': lsftp.c:142:23: warning: pointer targets in passing argument 1 of 'handle_command' differ in signedness [-Wpointer-sign] 142 | handle_command( current_line ); @@ -1317,6 +1591,7 @@ | ^~~~ | | | char ** +rl.c: In function 'lsftp_rl_no_generator': In file included from commands.h:45, from rl.h:33, from lsftp.h:36, @@ -1324,181 +1599,10 @@ gnu_stuff.h:35:33: note: expected 'const char **' but argument is of type 'char **' 35 | void do_gnu_stuff( const char** argv ); | ~~~~~~~~~~~~~^~~~ -commands.c: In function 'com_lcd': -sftp_bind.c: In function 'lsftp_callback': -sftp_bind.c:581:7: warning: variable 'retval' set but not used [-Wunused-but-set-variable] - 581 | int retval; - | ^~~~~~ -commands.c:1868:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] - 1868 | int ret; - | ^~~ -sftp_bind.c: In function 'lsftp_do_get': -sftp_bind.c:779:5: warning: pointer targets in passing argument 5 of 'sftp_get_file_init' differ in signedness [-Wpointer-sign] - 779 | tmp, strlen( tmp ), - | ^~~ - | | - | const char * -In file included from sftp_bind.h:61, - from sftp_bind.c:34: -sftp_c.h:280:21: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 280 | const uint8_t *name, - | ~~~~~~~~~~~~~~~^~~~ -sftp_bind.c:780:5: warning: pointer targets in passing argument 7 of 'sftp_get_file_init' differ in signedness [-Wpointer-sign] - 780 | local, strlen( local), - | ^~~~~ - | | - | const char * -In file included from sftp_bind.h:61, - from sftp_bind.c:34: -sftp_c.h:282:21: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 282 | const uint8_t *fname, - | ~~~~~~~~~~~~~~~^~~~~ -commands.c: In function 'handle_command': -commands.c:2144:29: warning: pointer targets in initialization of 'const char *' from 'const unsigned char *' differ in signedness [-Wpointer-sign] - 2144 | const char *entered_cmd = s; - | ^ -commands.c:2149:20: warning: pointer targets in passing argument 1 of 'lsftp_s_skip' differ in signedness [-Wpointer-sign] - 2149 | s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ - | ^ - | | - | const unsigned char * -In file included from sftp_bind.h:63, - from commands.h:41, - from commands.c:31: -str_utils.h:42:38: note: expected 'const char *' but argument is of type 'const unsigned char *' - 42 | const char *lsftp_s_skip(const char *s, const char *sep); - | ~~~~~~~~~~~~^ -commands.c:2149:5: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] - 2149 | s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ - | ^ -commands.c:2158:25: warning: pointer targets in passing argument 1 of 'com_escape' differ in signedness [-Wpointer-sign] - 2158 | return com_escape( s+1, entered_cmd ); - | ~^~ - | | - | const unsigned char * -commands.c:352:24: note: expected 'const char *' but argument is of type 'const unsigned char *' - 352 | com_escape(const char *arg, const char *command UNUSED) - | ~~~~~~~~~~~~^~~ -commands.c:2161:27: warning: pointer targets in passing argument 1 of 'com_longhelp' differ in signedness [-Wpointer-sign] - 2161 | return com_longhelp( s+1, entered_cmd ); - | ~^~ - | | - | const unsigned char * -commands.c:244:26: note: expected 'const char *' but argument is of type 'const unsigned char *' - 244 | com_longhelp(const char *arg, const char *command UNUSED) - | ~~~~~~~~~~~~^~~ -commands.c:2165:22: warning: pointer targets in passing argument 1 of 'lsftp_s_strtok' differ in signedness [-Wpointer-sign] - 2165 | s = lsftp_s_strtok(s," \n\t\r", &tmp ); - | ^ - | | - | const unsigned char * -In file included from sftp_bind.h:63, - from commands.h:41, - from commands.c:31: -str_utils.h:39:40: note: expected 'const char *' but argument is of type 'const unsigned char *' - 39 | const char *lsftp_s_strtok(const char *s, const char* tok, - | ~~~~~~~~~~~~^ -sftp_bind.c: In function 'lsftp_do_put': -commands.c:2165:5: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] - 2165 | s = lsftp_s_strtok(s," \n\t\r", &tmp ); - | ^ -sftp_bind.c:1390:5: warning: pointer targets in passing argument 5 of 'sftp_put_file_init' differ in signedness [-Wpointer-sign] - 1390 | tmp, strlen( tmp ), - | ^~~ - | | - | const char * -In file included from sftp_bind.h:61, - from sftp_bind.c:34: -sftp_c.h:320:21: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 320 | const uint8_t *name, - | ~~~~~~~~~~~~~~~^~~~ -sftp_bind.c:1391:5: warning: pointer targets in passing argument 7 of 'sftp_put_file_init' differ in signedness [-Wpointer-sign] - 1391 | local, strlen( local), - | ^~~~~ - | | - | const char * -In file included from sftp_bind.h:61, - from sftp_bind.c:34: -sftp_c.h:322:21: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 322 | const uint8_t *fname, - | ~~~~~~~~~~~~~~~^~~~~ -commands.c:2184:22: warning: pointer targets in passing argument 1 of 'lsftp_s_skip' differ in signedness [-Wpointer-sign] - 2184 | lsftp_s_skip(s," \n\t\r"), - | ^ - | | - | const unsigned char * -In file included from sftp_bind.h:63, - from commands.h:41, - from commands.c:31: -str_utils.h:42:38: note: expected 'const char *' but argument is of type 'const unsigned char *' - 42 | const char *lsftp_s_skip(const char *s, const char *sep); - | ~~~~~~~~~~~~^ -sftp_bind.c: In function 'lsftp_do_ls': -sftp_bind.c:1529:10: warning: pointer targets in passing argument 5 of 'sftp_ls_init' differ in signedness [-Wpointer-sign] - 1529 | tmp, - | ^~~ - | | - | const char * -In file included from sftp_bind.h:61, - from sftp_bind.c:34: -sftp_c.h:403:22: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 403 | const uint8_t *dir, - | ~~~~~~~~~~~~~~~^~~ -sftp_bind.c: In function 'lsftp_handle_ls': -sftp_bind.c:1690:46: warning: pointer targets in passing argument 2 of 'lsftp_concat' differ in signedness [-Wpointer-sign] - 1690 | prefixed_fname = lsftp_concat( prefix, fname ); - | ^~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from sftp_bind.h:60, - from sftp_bind.c:34: -misc_fun.h:40:49: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 40 | char* lsftp_concat( const char* s1, const char* s2 ); - | ~~~~~~~~~~~~^~ -sftp_bind.c:1742:7: warning: pointer targets in passing argument 1 of 'lsftp_dc_glob_matches' differ in signedness [-Wpointer-sign] - 1742 | fname, - | ^~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from sftp_bind.h:64, - from sftp_bind.c:34: -dc.h:54:39: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 54 | int lsftp_dc_glob_matches(const char *fname, const char *glob, int period); - | ~~~~~~~~~~~~^~~~~ -sftp_bind.c:1771:23: warning: pointer targets in passing argument 1 of 'lsftp_concat' differ in signedness [-Wpointer-sign] - 1771 | tmp = lsftp_concat( fname, "/" ); /* Add a trailing slash for directories */ - | ^~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from sftp_bind.h:60, - from sftp_bind.c:34: -misc_fun.h:40:33: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 40 | char* lsftp_concat( const char* s1, const char* s2 ); - | ~~~~~~~~~~~~^~ -sftp_bind.c:1773:17: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] - 1773 | tmp = strdup( fname ); - | ^~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from sftp_bind.h:58, - from sftp_bind.c:34: -/usr/include/string.h:167:34: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 167 | extern char *strdup (const char *__s) - | ~~~~~~~~~~~~^~~ -sftp_bind.c:1780:38: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] - 1780 | longstrings[used-1] = strdup( longname ); - | ^~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from sftp_bind.h:58, - from sftp_bind.c:34: -/usr/include/string.h:167:34: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 167 | extern char *strdup (const char *__s) - | ~~~~~~~~~~~~^~~ -sftp_bind.c:1800:6: warning: unused variable 'screenwidth' [-Wunused-variable] - 1800 | int screenwidth = 80; - | ^~~~~~~~~~~ sftp_bind.c: In function 'lsftp_internal_ls': +rl.c:457:36: warning: unused parameter 'text' [-Wunused-parameter] + 457 | char* lsftp_rl_no_generator (char* text, int state) + | ~~~~~~^~~~ sftp_bind.c:1907:10: warning: pointer targets in passing argument 5 of 'sftp_ls_init' differ in signedness [-Wpointer-sign] 1907 | tmp, | ^~~ @@ -1509,6 +1613,21 @@ sftp_c.h:403:22: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 403 | const uint8_t *dir, | ~~~~~~~~~~~~~~~^~~ +rl.c: In function 'lsftp_rl_history_fname': +rl.c:522:9: warning: unused variable 'username' [-Wunused-variable] + 522 | char* username; + | ^~~~~~~~ +client.c: In function 'sftp_open': +client.c:110:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] + 110 | sftp_put_string(ctx->o, strlen(name), name ); + | ^~~~ + | | + | const char * +In file included from client.h:29, + from client.c:32: +buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); + | ~~~~~~~~~~~~~~~^~~~ sftp_bind.c: In function 'lsftp_handle_internal_ls': sftp_bind.c:2029:46: warning: pointer targets in passing argument 2 of 'lsftp_concat' differ in signedness [-Wpointer-sign] 2029 | prefixed_fname = lsftp_concat( prefix, fname ); @@ -1579,7 +1698,11 @@ sftp_bind.c:2390:9: warning: unused variable 'f' [-Wunused-variable] 2390 | void* f; | ^ +commands.c: In function 'com_lcd': sftp_bind.c: In function 'lsftp_do_mv': +commands.c:1868:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] + 1868 | int ret; + | ^~~ sftp_bind.c:2463:10: warning: pointer targets in passing argument 5 of 'sftp_rename_init' differ in signedness [-Wpointer-sign] 2463 | tmp1, | ^~~~ @@ -1590,6 +1713,7 @@ sftp_c.h:145:19: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 145 | const uint8_t *srcname, | ~~~~~~~~~~~~~~~^~~~~~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o dump-hex.o dump-hex.c sftp_bind.c:2465:10: warning: pointer targets in passing argument 7 of 'sftp_rename_init' differ in signedness [-Wpointer-sign] 2465 | tmp2, | ^~~~ @@ -1633,6 +1757,7 @@ 165 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ sftp_bind.c: In function 'lsftp_do_rmdir': +commands.c: In function 'handle_command': sftp_bind.c:2652:9: warning: pointer targets in passing argument 5 of 'sftp_rmdir_init' differ in signedness [-Wpointer-sign] 2652 | tmp, | ^~~ @@ -1643,7 +1768,21 @@ sftp_c.h:174:18: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 174 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ +commands.c:2144:29: warning: pointer targets in initialization of 'const char *' from 'const unsigned char *' differ in signedness [-Wpointer-sign] + 2144 | const char *entered_cmd = s; + | ^ sftp_bind.c: In function 'lsftp_do_rm': +commands.c:2149:20: warning: pointer targets in passing argument 1 of 'lsftp_s_skip' differ in signedness [-Wpointer-sign] + 2149 | s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ + | ^ + | | + | const unsigned char * +In file included from sftp_bind.h:63, + from commands.h:41, + from commands.c:31: +str_utils.h:42:38: note: expected 'const char *' but argument is of type 'const unsigned char *' + 42 | const char *lsftp_s_skip(const char *s, const char *sep); + | ~~~~~~~~~~~~^ sftp_bind.c:2702:10: warning: pointer targets in passing argument 5 of 'sftp_remove_init' differ in signedness [-Wpointer-sign] 2702 | tmp, | ^~~ @@ -1654,123 +1793,53 @@ sftp_c.h:157:19: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 157 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o misc_fun.o misc_fun.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o buffer.o buffer.c -misc_fun.c: In function 'mgetenv_init': -misc_fun.c:61:27: warning: unused parameter 'envp' [-Wunused-parameter] - 61 | void mgetenv_init( char** envp ) - | ~~~~~~~^~~~ -misc_fun.c: In function 'massage_fname': -misc_fun.c:68:38: warning: unused parameter 'local' [-Wunused-parameter] - 68 | char* massage_fname(char* fname, int local) - | ~~~~^~~~~ -buffer.c: In function 'sftp_put_printf': -buffer.c:149:26: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] - 149 | length = vsnprintf(current, needed, format, args); - | ^~~~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from /usr/include/features.h:461, - from /usr/include/alloca.h:21, - from config.h:299, - from buffer.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:77:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 77 | __NTH (vsnprintf (char *__restrict __s, size_t __n, - | ^~~~~ -buffer.c: In function 'sftp_put_strftime': -buffer.c:175:25: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign] - 175 | length = strftime(current, needed, format, tm); - | ^~~~~~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o sftp-server.o sftp-server.c +commands.c:2149:5: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] + 2149 | s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ + | ^ +commands.c:2158:25: warning: pointer targets in passing argument 1 of 'com_escape' differ in signedness [-Wpointer-sign] + 2158 | return com_escape( s+1, entered_cmd ); + | ~^~ | | - | uint8_t * {aka unsigned char *} -In file included from buffer.h:36, - from buffer.c:38: -/usr/include/time.h:88:42: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 88 | extern size_t strftime (char *__restrict __s, size_t __maxsize, - | ~~~~~~~~~~~~~~~~~^~~ -In file included from /usr/include/string.h:495, - from misc_fun.h:33, - from misc_fun.c:32: -In function 'strncpy', - inlined from 'lsftp_concat' at misc_fun.c:102:3: -/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -misc_fun.c: In function 'lsftp_concat': -misc_fun.c:94:8: note: length computed here - 94 | i1 = strlen( s1 ); - | ^~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from misc_fun.h:33, - from misc_fun.c:32: -In function 'strncpy', - inlined from 'lsftp_concat' at misc_fun.c:103:3: -/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -misc_fun.c: In function 'lsftp_concat': -misc_fun.c:95:8: note: length computed here - 95 | i2 = strlen( s2 ); - | ^~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o io_input.o io_input.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o io_output.o io_output.c -io_input.c: In function 'sftp_read_packet': -io_input.c:149:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 149 | while (bytesread < sizeof(buf)) - | ^ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o xmalloc.o xmalloc.c -io_output.c: In function 'sftp_write_packet': -io_output.c:196:17: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] - 196 | while (writteni) - | ^ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o werror.o werror.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o sftp-test-client.o sftp-test-client.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o client.o client.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o dump-hex.o dump-hex.c -client.c: In function 'sftp_open': -client.c:110:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] - 110 | sftp_put_string(ctx->o, strlen(name), name ); - | ^~~~ - | | - | const char * -In file included from client.h:29, - from client.c:32: -buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); - | ~~~~~~~~~~~~~~~^~~~ -sftp-test-client.c: In function 'do_ls': -sftp-test-client.c:168:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] - 168 | sftp_put_string(ctx->o, strlen(name), name); - | ^~~~ - | | - | const char * -In file included from io.h:24, - from sftp-test-client.c:38: -buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); - | ~~~~~~~~~~~~~~~^~~~ -sftp-test-client.c: In function 'do_open': -sftp-test-client.c:278:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] - 278 | sftp_put_string(ctx->o, strlen(name), name ); - | ^~~~ - | | - | const char * -In file included from io.h:24, - from sftp-test-client.c:38: -buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); - | ~~~~~~~~~~~~~~~^~~~ -sftp-test-client.c: In function 'do_stat': -sftp-test-client.c:526:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] - 526 | sftp_put_string(ctx->o, strlen(name), name); - | ^~~~ - | | - | const char * -In file included from io.h:24, - from sftp-test-client.c:38: -buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); - | ~~~~~~~~~~~~~~~^~~~ + | const unsigned char * +commands.c:352:24: note: expected 'const char *' but argument is of type 'const unsigned char *' + 352 | com_escape(const char *arg, const char *command UNUSED) + | ~~~~~~~~~~~~^~~ +commands.c:2161:27: warning: pointer targets in passing argument 1 of 'com_longhelp' differ in signedness [-Wpointer-sign] + 2161 | return com_longhelp( s+1, entered_cmd ); + | ~^~ + | | + | const unsigned char * +commands.c:244:26: note: expected 'const char *' but argument is of type 'const unsigned char *' + 244 | com_longhelp(const char *arg, const char *command UNUSED) + | ~~~~~~~~~~~~^~~ +commands.c:2165:22: warning: pointer targets in passing argument 1 of 'lsftp_s_strtok' differ in signedness [-Wpointer-sign] + 2165 | s = lsftp_s_strtok(s," \n\t\r", &tmp ); + | ^ + | | + | const unsigned char * +In file included from sftp_bind.h:63, + from commands.h:41, + from commands.c:31: +str_utils.h:39:40: note: expected 'const char *' but argument is of type 'const unsigned char *' + 39 | const char *lsftp_s_strtok(const char *s, const char* tok, + | ~~~~~~~~~~~~^ +commands.c:2165:5: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] + 2165 | s = lsftp_s_strtok(s," \n\t\r", &tmp ); + | ^ +commands.c:2184:22: warning: pointer targets in passing argument 1 of 'lsftp_s_skip' differ in signedness [-Wpointer-sign] + 2184 | lsftp_s_skip(s," \n\t\r"), + | ^ + | | + | const unsigned char * +In file included from sftp_bind.h:63, + from commands.h:41, + from commands.c:31: +str_utils.h:42:38: note: expected 'const char *' but argument is of type 'const unsigned char *' + 42 | const char *lsftp_s_skip(const char *s, const char *sep); + | ~~~~~~~~~~~~^ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o filemode.o filemode.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o idcache.o idcache.c dump-hex.c: In function 'main': dump-hex.c:189:33: warning: pointer targets in passing argument 2 of 'do_read' differ in signedness [-Wpointer-sign] 189 | res = do_read(STDIN_FILENO, buf, left); @@ -1796,9 +1865,6 @@ dump-hex.c:50:30: note: expected 'const char *' but argument is of type 'unsigned char *' 50 | do_write(int fd, const char *data, int length) | ~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o sftp-server.o sftp-server.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o filemode.o filemode.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o idcache.o idcache.c sftp-server.c: In function 'sftp_put_longname_mode': sftp-server.c:229:22: warning: pointer targets in passing argument 2 of 'filemodestring' differ in signedness [-Wpointer-sign] 229 | filemodestring(st, modes); @@ -2254,7 +2320,6 @@ 19 | { 9, "not-after" }, | ^~~~~~~~~~~ spki-type-names.h:19:8: note: (near initialization for 'spki_type_names[13].name') -parse.c: In function 'spki_intern': spki-type-names.h:20:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 20 | { 10, "not-before" }, | ^~~~~~~~~~~~ @@ -2267,19 +2332,10 @@ 22 | { 11, "private-key" }, | ^~~~~~~~~~~~~ spki-type-names.h:22:9: note: (near initialization for 'spki_type_names[16].name') -parse.c:60:22: warning: pointer targets in passing argument 1 of 'spki_gperf' differ in signedness [-Wpointer-sign] - 60 | = spki_gperf(i->sexp.atom, i->sexp.atom_length); - | ~~~~~~~^~~~~ - | | - | const uint8_t * {aka const unsigned char *} spki-type-names.h:23:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 23 | { 10, "public-key" }, | ^~~~~~~~~~~~ spki-type-names.h:23:9: note: (near initialization for 'spki_type_names[17].name') -In file included from parse.c:42: -spki-gperf.h:88:34: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} - 88 | spki_gperf (register const char *str, register unsigned int len) - | ~~~~~~~~~~~~~~~~~~~~~^~~ spki-type-names.h:24:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 24 | { 13, "rsa-pkcs1-md5" }, | ^~~~~~~~~~~~~~~ @@ -2320,6 +2376,16 @@ 33 | { 7, "version" }, | ^~~~~~~~~ spki-type-names.h:33:8: note: (near initialization for 'spki_type_names[27].name') +parse.c: In function 'spki_intern': +parse.c:60:22: warning: pointer targets in passing argument 1 of 'spki_gperf' differ in signedness [-Wpointer-sign] + 60 | = spki_gperf(i->sexp.atom, i->sexp.atom_length); + | ~~~~~~~^~~~~ + | | + | const uint8_t * {aka const unsigned char *} +In file included from parse.c:42: +spki-gperf.h:88:34: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} + 88 | spki_gperf (register const char *str, register unsigned int len) + | ~~~~~~~~~~~~~~~~~~~~~^~~ tag.c: In function 'spki_tag_release': tag.c:426:2: warning: this statement may fall through [-Wimplicit-fallthrough=] 426 | spki_string_release(ctx, realloc, self->upper); @@ -2349,6 +2415,13 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o sign.o sign.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o spki-delegate.o spki-delegate.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o spki-reduce.o spki-reduce.c +misc.c: In function 'hash_file': +misc.c:67:30: warning: pointer targets in passing argument 3 of 'hash->update' differ in signedness [-Wpointer-sign] + 67 | hash->update(ctx, res, buffer); + | ^~~~~~ + | | + | char * +misc.c:67:30: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' spki-check-signature.c: In function 'main': spki-check-signature.c:116:66: warning: pointer targets in passing argument 3 of 'nettle_sexp_transport_iterator_first' differ in signedness [-Wpointer-sign] 116 | if (sexp_transport_iterator_first(&sexp, strlen(o.signature), o.signature) @@ -2366,13 +2439,6 @@ spki-check-signature.c:131:4: note: here 131 | case SPKI_TYPE_MD5: | ^~~~ -misc.c: In function 'hash_file': -misc.c:67:30: warning: pointer targets in passing argument 3 of 'hash->update' differ in signedness [-Wpointer-sign] - 67 | hash->update(ctx, res, buffer); - | ^~~~~~ - | | - | char * -misc.c:67:30: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' spki-check-signature.c: In function 'parse_options': spki-check-signature.c:88:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 88 | die("spki-check-signature --version not implemented\n"); @@ -2411,13 +2477,6 @@ misc.h:48:48: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 48 | write_file(FILE *f, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ -spki-make-signature.c: In function 'parse_options': -spki-make-signature.c:99:4: warning: this statement may fall through [-Wimplicit-fallthrough=] - 99 | die("spki-make-signature --version not implemented\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -spki-make-signature.c:101:2: note: here - 101 | case 's': - | ^~~~ spki-delegate.c: In function 'process_principal': spki-delegate.c:157:55: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] 157 | if (spki_transport_iterator_first(&i, strlen(expr), expr) @@ -2438,12 +2497,19 @@ ../parse.h:67:36: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | unsigned length, uint8_t *expr); | ~~~~~~~~~^~~~ +spki-make-signature.c: In function 'parse_options': spki-delegate.c: In function 'process_tag': +spki-make-signature.c:99:4: warning: this statement may fall through [-Wimplicit-fallthrough=] + 99 | die("spki-make-signature --version not implemented\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spki-delegate.c:207:55: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] 207 | if (spki_transport_iterator_first(&i, strlen(expr), expr) == SPKI_TYPE_TAG) | ^~~~ | | | char * +spki-make-signature.c:101:2: note: here + 101 | case 's': + | ^~~~ In file included from spki-delegate.c:35: ../parse.h:67:36: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | unsigned length, uint8_t *expr); @@ -2451,23 +2517,39 @@ spki-delegate.c:213:12: warning: pointer targets in assignment from 'const uint8_t *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 213 | && (tag = spki_parse_prevexpr(&i, start, &tag_length))) | ^ -spki-reduce.c: In function 'process_acls': spki-delegate.c: In function 'main': -spki-reduce.c:115:48: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] - 115 | && spki_transport_iterator_first(&i, length, data) - | ^~~~ - | | - | char * spki-delegate.c:301:60: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] 301 | if (! (spki_transport_iterator_first(&i, key_length, key) | ^~~ | | | char * -In file included from spki-reduce.c:31: +In file included from spki-delegate.c:35: ../parse.h:67:36: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | unsigned length, uint8_t *expr); | ~~~~~~~~~^~~~ -In file included from spki-delegate.c:35: +spki-delegate.c:319:24: warning: pointer targets in passing argument 3 of 'write_file' differ in signedness [-Wpointer-sign] + 319 | buffer.size, buffer.contents)) + | ~~~~~~^~~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from spki-delegate.c:38: +misc.h:48:48: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 48 | write_file(FILE *f, unsigned size, const char *buffer); + | ~~~~~~~~~~~~^~~~~~ +spki-delegate.c: In function 'parse_options': +spki-delegate.c:114:4: warning: this statement may fall through [-Wimplicit-fallthrough=] + 114 | die("spki-delegate --version not implemented\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +spki-delegate.c:116:2: note: here + 116 | case 'i': + | ^~~~ +spki-reduce.c: In function 'process_acls': +spki-reduce.c:115:48: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] + 115 | && spki_transport_iterator_first(&i, length, data) + | ^~~~ + | | + | char * +In file included from spki-reduce.c:31: ../parse.h:67:36: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | unsigned length, uint8_t *expr); | ~~~~~~~~~^~~~ @@ -2477,19 +2559,10 @@ | ^~~~ | | | char * -spki-delegate.c:319:24: warning: pointer targets in passing argument 3 of 'write_file' differ in signedness [-Wpointer-sign] - 319 | buffer.size, buffer.contents)) - | ~~~~~~^~~~~~~~~ - | | - | uint8_t * {aka unsigned char *} In file included from spki-reduce.c:31: ../parse.h:67:36: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | unsigned length, uint8_t *expr); | ~~~~~~~~~^~~~ -In file included from spki-delegate.c:38: -misc.h:48:48: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 48 | write_file(FILE *f, unsigned size, const char *buffer); - | ~~~~~~~~~~~~^~~~~~ spki-reduce.c: In function 'main': spki-reduce.c:187:46: warning: pointer targets in passing argument 3 of 'write_file' differ in signedness [-Wpointer-sign] 187 | if (!write_file(stdout, buffer.size, buffer.contents)) @@ -2500,13 +2573,6 @@ misc.h:48:48: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 48 | write_file(FILE *f, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ -spki-delegate.c: In function 'parse_options': -spki-delegate.c:114:4: warning: this statement may fall through [-Wimplicit-fallthrough=] - 114 | die("spki-delegate --version not implemented\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -spki-delegate.c:116:2: note: here - 116 | case 'i': - | ^~~~ spki-reduce.c: In function 'parse_options': spki-reduce.c:89:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 89 | die("spki-delegate --version not implemented\n"); @@ -2515,8 +2581,8 @@ 91 | case 'a': | ^~~~ gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o spki-check-signature spki-check-signature.o misc.o getopt.o getopt1.o ../libspki.a -lhogweed -lnettle -lgmp -gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o spki-reduce spki-reduce.o misc.o getopt.o getopt1.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o spki-make-signature spki-make-signature.o sign.o misc.o getopt.o getopt1.o ../libspki.a -lhogweed -lnettle -lgmp +gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o spki-reduce spki-reduce.o misc.o getopt.o getopt1.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o spki-delegate spki-delegate.o sign.o misc.o getopt.o getopt1.o ../libspki.a -lhogweed -lnettle -lgmp make[7]: Leaving directory '/build/lsh-utils-2.1/src/spki/tools' Making all in testsuite @@ -2529,45 +2595,6 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lookup-acl-test.o lookup-acl-test.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o read-cert-test.o read-cert-test.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o cdsa-reduce-test.o cdsa-reduce-test.c -principal-test.c: In function 'test_main': -principal-test.c:11:37: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - 11 | s = spki_principal_by_key(&db, 5, "3:foo"); - | ^~~~~~~ - | | - | char * -In file included from testutils.h:5, - from principal-test.c:1: -../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 221 | unsigned key_length, const uint8_t *key); - | ~~~~~~~~~~~~~~~^~~ -In file included from principal-test.c:1: -principal-test.c:14:40: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - 14 | ASSERT(spki_principal_by_key(&db, 5, "3:foo") == s); - | ^~~~~~~ - | | - | char * -testutils.h:27:30: note: in definition of macro 'ASSERT' - 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) - | ^ -In file included from testutils.h:5, - from principal-test.c:1: -../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 221 | unsigned key_length, const uint8_t *key); - | ~~~~~~~~~~~~~~~^~~ -In file included from principal-test.c:1: -principal-test.c:15:40: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - 15 | ASSERT(spki_principal_by_key(&db, 5, "3:bar") != s); - | ^~~~~~~ - | | - | char * -testutils.h:27:30: note: in definition of macro 'ASSERT' - 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) - | ^ -In file included from testutils.h:5, - from principal-test.c:1: -../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 221 | unsigned key_length, const uint8_t *key); - | ~~~~~~~~~~~~~~~^~~ In file included from tag-test.c:1: tag-test.c: In function 'test_main': tag-test.c:25:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] @@ -2605,6 +2632,19 @@ tag-test.c:5:36: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ +In file included from read-cert-test.c:1: +read-cert-test.c: In function 'test_main': +read-cert-test.c:23:12: warning: pointer targets in passing argument 4 of 'read_cert' differ in signedness [-Wpointer-sign] + 23 | LDATA("(4:cert(6:issuer(10:public-key2:k1))" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:30:35: note: in definition of macro 'LDATA' + 30 | #define LDATA(x) (sizeof(x) - 1), x + | ^ +read-cert-test.c:5:36: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 5 | unsigned length, const uint8_t *data) + | ~~~~~~~~~~~~~~~^~~~ In file included from tag-test.c:1: tag-test.c:28:20: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 28 | ASSERT(!INCLUDES("(3:ftp18:ftp.lysator.liu.se)", @@ -2623,6 +2663,23 @@ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ +In file included from read-cert-test.c:1: +read-cert-test.c:30:36: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + 30 | spki_principal_by_key(&db, LDATA("(10:public-key2:k1)"))); + | ^~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:27:30: note: in definition of macro 'ASSERT' + 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) + | ^ +read-cert-test.c:30:30: note: in expansion of macro 'LDATA' + 30 | spki_principal_by_key(&db, LDATA("(10:public-key2:k1)"))); + | ^~~~~ +In file included from testutils.h:5, + from read-cert-test.c:1: +../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 221 | unsigned key_length, const uint8_t *key); + | ~~~~~~~~~~~~~~~^~~ In file included from tag-test.c:1: tag-test.c:29:6: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 29 | "(4:http18:ftp.lysator.liu.se)")); @@ -2641,6 +2698,23 @@ tag-test.c:5:36: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ +In file included from read-cert-test.c:1: +read-cert-test.c:32:36: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + 32 | spki_principal_by_key(&db, LDATA("(10:public-key2:k2)"))); + | ^~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:27:30: note: in definition of macro 'ASSERT' + 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) + | ^ +read-cert-test.c:32:30: note: in expansion of macro 'LDATA' + 32 | spki_principal_by_key(&db, LDATA("(10:public-key2:k2)"))); + | ^~~~~ +In file included from testutils.h:5, + from read-cert-test.c:1: +../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 221 | unsigned key_length, const uint8_t *key); + | ~~~~~~~~~~~~~~~^~~ In file included from tag-test.c:1: tag-test.c:32:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 32 | ASSERT(INCLUDES("(3:ftp18:ftp.lysator.liu.se)", @@ -2785,16 +2859,6 @@ tag-test.c:5:36: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ -In file included from read-cert-test.c:1: -read-cert-test.c: In function 'test_main': -read-cert-test.c:23:12: warning: pointer targets in passing argument 4 of 'read_cert' differ in signedness [-Wpointer-sign] - 23 | LDATA("(4:cert(6:issuer(10:public-key2:k1))" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:30:35: note: in definition of macro 'LDATA' - 30 | #define LDATA(x) (sizeof(x) - 1), x - | ^ In file included from tag-test.c:1: tag-test.c:41:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 41 | ASSERT(INCLUDES("(1:*)", @@ -2810,9 +2874,6 @@ tag-test.c:41:10: note: in expansion of macro 'INCLUDES' 41 | ASSERT(INCLUDES("(1:*)", | ^~~~~~~~ -read-cert-test.c:5:36: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 5 | unsigned length, const uint8_t *data) - | ~~~~~~~~~~~~~~~^~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ @@ -2834,23 +2895,6 @@ tag-test.c:5:36: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ -In file included from read-cert-test.c:1: -read-cert-test.c:30:36: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - 30 | spki_principal_by_key(&db, LDATA("(10:public-key2:k1)"))); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:27:30: note: in definition of macro 'ASSERT' - 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) - | ^ -read-cert-test.c:30:30: note: in expansion of macro 'LDATA' - 30 | spki_principal_by_key(&db, LDATA("(10:public-key2:k1)"))); - | ^~~~~ -In file included from testutils.h:5, - from read-cert-test.c:1: -../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 221 | unsigned key_length, const uint8_t *key); - | ~~~~~~~~~~~~~~~^~~ In file included from tag-test.c:1: tag-test.c:43:20: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 43 | ASSERT(!INCLUDES("(1:*3:set3:foo3:bar)", @@ -2869,18 +2913,6 @@ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ -In file included from read-cert-test.c:1: -read-cert-test.c:32:36: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - 32 | spki_principal_by_key(&db, LDATA("(10:public-key2:k2)"))); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:27:30: note: in definition of macro 'ASSERT' - 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) - | ^ -read-cert-test.c:32:30: note: in expansion of macro 'LDATA' - 32 | spki_principal_by_key(&db, LDATA("(10:public-key2:k2)"))); - | ^~~~~ In file included from tag-test.c:1: tag-test.c:44:6: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 44 | "(1:*)")); @@ -2896,11 +2928,6 @@ tag-test.c:43:11: note: in expansion of macro 'INCLUDES' 43 | ASSERT(!INCLUDES("(1:*3:set3:foo3:bar)", | ^~~~~~~~ -In file included from testutils.h:5, - from read-cert-test.c:1: -../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 221 | unsigned key_length, const uint8_t *key); - | ~~~~~~~~~~~~~~~^~~ tag-test.c:5:36: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ @@ -3192,6 +3219,88 @@ tag-test.c:5:36: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ +In file included from read-acl-test.c:1: +read-acl-test.c: In function 'test_main': +read-acl-test.c:11:6: warning: pointer targets in passing argument 3 of 'read_acl' differ in signedness [-Wpointer-sign] + 11 | ("(3:acl(7:version1:\0)(5:entry" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:30:35: note: in definition of macro 'LDATA' + 30 | #define LDATA(x) (sizeof(x) - 1), x + | ^ +testutils.h:17:35: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 17 | unsigned length, const uint8_t *data); + | ~~~~~~~~~~~~~~~^~~~ +read-acl-test.c:17:43: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + 17 | ASSERT(spki_principal_by_key(&db, LDATA("k1"))); + | ^~~~ + | | + | char * +testutils.h:27:30: note: in definition of macro 'ASSERT' + 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) + | ^ +read-acl-test.c:17:37: note: in expansion of macro 'LDATA' + 17 | ASSERT(spki_principal_by_key(&db, LDATA("k1"))); + | ^~~~~ +In file included from testutils.h:5, + from read-acl-test.c:1: +../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 221 | unsigned key_length, const uint8_t *key); + | ~~~~~~~~~~~~~~~^~~ +In file included from read-acl-test.c:1: +read-acl-test.c:18:37: warning: pointer targets in passing argument 2 of 'spki_principal_by_md5' differ in signedness [-Wpointer-sign] + 18 | ASSERT(spki_principal_by_md5(&db, "xxxxxxxxxxxxxxxx")); + | ^~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:27:30: note: in definition of macro 'ASSERT' + 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) + | ^ +In file included from testutils.h:5, + from read-acl-test.c:1: +../certificate.h:224:62: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 224 | spki_principal_by_md5(struct spki_acl_db *db, const uint8_t *digest); + | ~~~~~~~~~~~~~~~^~~~~~ +principal-test.c: In function 'test_main': +principal-test.c:11:37: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + 11 | s = spki_principal_by_key(&db, 5, "3:foo"); + | ^~~~~~~ + | | + | char * +In file included from testutils.h:5, + from principal-test.c:1: +../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 221 | unsigned key_length, const uint8_t *key); + | ~~~~~~~~~~~~~~~^~~ +In file included from principal-test.c:1: +principal-test.c:14:40: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + 14 | ASSERT(spki_principal_by_key(&db, 5, "3:foo") == s); + | ^~~~~~~ + | | + | char * +testutils.h:27:30: note: in definition of macro 'ASSERT' + 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) + | ^ +In file included from testutils.h:5, + from principal-test.c:1: +../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 221 | unsigned key_length, const uint8_t *key); + | ~~~~~~~~~~~~~~~^~~ +In file included from principal-test.c:1: +principal-test.c:15:40: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + 15 | ASSERT(spki_principal_by_key(&db, 5, "3:bar") != s); + | ^~~~~~~ + | | + | char * +testutils.h:27:30: note: in definition of macro 'ASSERT' + 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) + | ^ +In file included from testutils.h:5, + from principal-test.c:1: +../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 221 | unsigned key_length, const uint8_t *key); + | ~~~~~~~~~~~~~~~^~~ In file included from lookup-acl-test.c:1: lookup-acl-test.c: In function 'test_main': lookup-acl-test.c:17:6: warning: pointer targets in passing argument 3 of 'read_acl' differ in signedness [-Wpointer-sign] @@ -3213,15 +3322,11 @@ testutils.h:30:35: note: in definition of macro 'LDATA' 30 | #define LDATA(x) (sizeof(x) - 1), x | ^ -cdsa-reduce-test.c: In function 'test_main': In file included from testutils.h:5, from lookup-acl-test.c:1: ../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 221 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ -cdsa-reduce-test.c:140:7: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 140 | data = read_file(srcdir, "cdsa-cases/", i, ".in", - | ^ In file included from lookup-acl-test.c:1: lookup-acl-test.c:25:41: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] 25 | k2 = spki_principal_by_key(&db, LDATA("(10:public-key2:k2)")); @@ -3270,22 +3375,9 @@ testutils.h:30:35: note: in definition of macro 'LDATA' 30 | #define LDATA(x) (sizeof(x) - 1), x | ^ -In file included from read-acl-test.c:1: -read-acl-test.c: In function 'test_main': testutils.h:20:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 20 | make_tag(unsigned length, const uint8_t *expr); | ~~~~~~~~~~~~~~~^~~~ -read-acl-test.c:11:6: warning: pointer targets in passing argument 3 of 'read_acl' differ in signedness [-Wpointer-sign] - 11 | ("(3:acl(7:version1:\0)(5:entry" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:30:35: note: in definition of macro 'LDATA' - 30 | #define LDATA(x) (sizeof(x) - 1), x - | ^ -testutils.h:17:35: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 17 | unsigned length, const uint8_t *data); - | ~~~~~~~~~~~~~~~^~~~ lookup-acl-test.c:57:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] 57 | tag = make_tag(LDATA("(3:ftp2:h5)")); | ^~~~~~~~~~~~~ @@ -3297,22 +3389,6 @@ testutils.h:20:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 20 | make_tag(unsigned length, const uint8_t *expr); | ~~~~~~~~~~~~~~~^~~~ -read-acl-test.c:17:43: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - 17 | ASSERT(spki_principal_by_key(&db, LDATA("k1"))); - | ^~~~ - | | - | char * -testutils.h:27:30: note: in definition of macro 'ASSERT' - 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) - | ^ -read-acl-test.c:17:37: note: in expansion of macro 'LDATA' - 17 | ASSERT(spki_principal_by_key(&db, LDATA("k1"))); - | ^~~~~ -In file included from testutils.h:5, - from read-acl-test.c:1: -../certificate.h:221:45: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 221 | unsigned key_length, const uint8_t *key); - | ~~~~~~~~~~~~~~~^~~ lookup-acl-test.c:62:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] 62 | tag = make_tag(LDATA("(3:ftp2:h1)")); | ^~~~~~~~~~~~~ @@ -3324,20 +3400,6 @@ testutils.h:20:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 20 | make_tag(unsigned length, const uint8_t *expr); | ~~~~~~~~~~~~~~~^~~~ -In file included from read-acl-test.c:1: -read-acl-test.c:18:37: warning: pointer targets in passing argument 2 of 'spki_principal_by_md5' differ in signedness [-Wpointer-sign] - 18 | ASSERT(spki_principal_by_md5(&db, "xxxxxxxxxxxxxxxx")); - | ^~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:27:30: note: in definition of macro 'ASSERT' - 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) - | ^ -In file included from testutils.h:5, - from read-acl-test.c:1: -../certificate.h:224:62: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 224 | spki_principal_by_md5(struct spki_acl_db *db, const uint8_t *digest); - | ~~~~~~~~~~~~~~~^~~~~~ lookup-acl-test.c:72:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] 72 | tag = make_tag(LDATA("(3:ftp2:h2)")); | ^~~~~~~~~~~~~ @@ -3349,10 +3411,14 @@ testutils.h:20:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 20 | make_tag(unsigned length, const uint8_t *expr); | ~~~~~~~~~~~~~~~^~~~ -gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o date-test date-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp -gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o principal-test principal-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp -gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o read-cert-test read-cert-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp +cdsa-reduce-test.c: In function 'test_main': +cdsa-reduce-test.c:140:7: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 140 | data = read_file(srcdir, "cdsa-cases/", i, ".in", + | ^ gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o read-acl-test read-acl-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp +gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o read-cert-test read-cert-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp +gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o principal-test principal-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp +gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o date-test date-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lookup-acl-test lookup-acl-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o tag-test tag-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o cdsa-reduce-test cdsa-reduce-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp @@ -3370,6 +3436,13 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o atoms.o atoms.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o channel.o channel.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o channel_commands.o channel_commands.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o channel_forward.o channel_forward.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o charset.o charset.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client.o client.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_escape.o client_escape.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_keyexchange.o client_keyexchange.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_pty.o client_pty.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_session.o client_session.c In file included from atoms.c:45: atoms_table.c:5:5: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 5 | { { "UNKNOWN", 7 }, {"none", 4}, @@ -3803,10 +3876,7 @@ 111 | {"ssh-ring1", 9}, | ^~~~~~~~~~~ atoms_table.c:111:4: note: (near initialization for 'atom_table[107].name') -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o channel_forward.o channel_forward.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o charset.o charset.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client.o client.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_escape.o client_escape.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_userauth.o client_userauth.c client.c: In function 'do_exit_signal': client.c:321:27: warning: pointer targets in passing argument 2 of 'parse_atom' differ in signedness [-Wpointer-sign] 321 | && parse_atom(args, &signal) @@ -3820,7 +3890,6 @@ parse.h:84:47: note: expected 'int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 84 | parse_atom(struct simple_buffer *buffer, int *result); | ~~~~~^~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_keyexchange.o client_keyexchange.c client.c: In function 'rebuild_command_line': client.c:846:43: warning: pointer targets in passing argument 4 of 'lsh_string_write' differ in signedness [-Wpointer-sign] 846 | lsh_string_write(r, 0, alengths[0], argv[0]); @@ -3840,15 +3909,16 @@ lsh_string.h:110:19: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 110 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_pty.o client_pty.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_session.o client_session.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_userauth.o client_userauth.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_x11.o client_x11.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o combinators.o combinators.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o command.o command.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o compress.o compress.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o parse_config.o parse_config.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o connection.o connection.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o connection_commands.o connection_commands.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o crypto.o crypto.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o daemon.o daemon.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o debug.o debug.c parse_config.c: In function 'next_token': parse_config.c:156:18: warning: pointer targets in assignment from 'const uint8_t *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 156 | self->token = HERE; @@ -3863,10 +3933,6 @@ lsh_string.h:89:77: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 89 | lsh_string_eq_l(const struct lsh_string *a, uint32_t length, const uint8_t *b); | ~~~~~~~~~~~~~~~^ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o connection_commands.o connection_commands.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o crypto.o crypto.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o daemon.o daemon.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o debug.o debug.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dh_exchange.o dh_exchange.c crypto.c: In function 'do_aes_cbc_encrypt': crypto.c:117:5: warning: 'nettle_aes_encrypt' is deprecated [-Wdeprecated-declarations] @@ -3916,6 +3982,8 @@ 158 | aes_set_encrypt_key(struct aes_ctx *ctx, | ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dsa.o dsa.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o exception.o exception.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o format.o format.c dsa.c: In function 'do_dsa_verify': dsa.c:138:30: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 138 | const uint8_t *names[2] = { "r", "s" }; @@ -3934,10 +4002,6 @@ /usr/include/nettle/sexp.h:152:27: note: expected 'const char * const*' but argument is of type 'const uint8_t **' {aka 'const unsigned char **'} 152 | const char * const *keys, | ~~~~~~~~~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o exception.o exception.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o format.o format.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gc.o gc.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gateway.o gateway.c format.c: In function 'ssh_vformat_write': format.c:362:13: warning: pointer targets in assignment from 'const char *' to 'const uint8_t *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 362 | data = va_arg(args, const char *); @@ -3951,7 +4015,11 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gc.o gc.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gateway.o gateway.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gateway_channel.o gateway_channel.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gateway_commands.o gateway_commands.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o handshake.o handshake.c gateway.c: In function 'make_gateway_address': gateway.c:92:20: warning: pointer targets in passing argument 1 of 'check_string' differ in signedness [-Wpointer-sign] 92 | if (check_string(local_user) @@ -3977,21 +4045,11 @@ gateway.c:51:48: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 51 | check_string_l(unsigned length, const uint8_t *s) | ~~~~~~~~~~~~~~~^ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gateway_commands.o gateway_commands.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o handshake.o handshake.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o interact.o interact.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o io.o io.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o io_commands.o io_commands.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o keyexchange.o keyexchange.c -io.c: In function 'do_buffered_read': -io.c:490:2: warning: this statement may fall through [-Wimplicit-fallthrough=] - 490 | werror("Unexpected EPIPE from read.\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -io.c:491:7: note: here - 491 | default: - | ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o list.o list.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lookup_verifier.o lookup_verifier.c In file included from list.c:35: list.c: In function 'lsh_list_alloc': xalloc.h:95:30: warning: statement with no effect [-Wunused-value] @@ -4000,10 +4058,23 @@ list.c:55:3: note: in expansion of macro 'CHECK_SUBTYPE' 55 | CHECK_SUBTYPE(list_header, list); | ^~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lookup_verifier.o lookup_verifier.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lock_file.o lock_file.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh_string.o lsh_string.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o parse.o parse.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o pkcs5.o pkcs5.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o publickey_crypto.o publickey_crypto.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o queue.o queue.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o randomness.o randomness.c +io.c: In function 'do_buffered_read': +io.c:490:2: warning: this statement may fall through [-Wimplicit-fallthrough=] + 490 | werror("Unexpected EPIPE from read.\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +io.c:491:7: note: here + 491 | default: + | ^~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o read_data.o read_data.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o read_file.o read_file.c lsh_string.c: In function 'lsh_get_cstring': lsh_string.c:139:60: warning: pointer targets in returning 'const uint8_t *' {aka 'const unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign] 139 | return (s && !memchr(s->data, '\0', s->length) ? s->data : NULL); @@ -4090,17 +4161,14 @@ /usr/include/nettle/base64.h:107:13: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 107 | char *dst); | ~~~~~~^~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o publickey_crypto.o publickey_crypto.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o queue.o queue.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o randomness.o randomness.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o read_data.o read_data.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o read_file.o read_file.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o read_line.o read_line.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o read_packet.o read_packet.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o reaper.o reaper.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o resource.o resource.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o rsa.o rsa.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server.o server.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_authorization.o server_authorization.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_keyexchange.o server_keyexchange.c read_packet.c: In function 'do_read_packet': read_packet.c:262:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 262 | closure->state = WAIT_CONTENTS; @@ -4114,26 +4182,30 @@ read_packet.c:305:7: note: here 305 | case WAIT_MAC: | ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_authorization.o server_authorization.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_keyexchange.o server_keyexchange.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_password.o server_password.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_publickey.o server_publickey.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_pty.o server_pty.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_session.o server_session.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_userauth.o server_userauth.c server_keyexchange.c: In function 'do_handle_srp_init': server_keyexchange.c:297:29: warning: variable 'e' set but not used [-Wunused-but-set-variable] 297 | struct exception_handler *e; | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_pty.o server_pty.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_session.o server_session.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_userauth.o server_userauth.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_x11.o server_x11.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o sexp.o sexp.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o socks.o socks.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o spki.o spki.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o srp_exchange.o srp_exchange.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o string_buffer.o string_buffer.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o suspend.o suspend.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tcpforward.o tcpforward.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tcpforward_commands.o tcpforward_commands.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o translate_signal.o translate_signal.c srp_exchange.c: In function 'make_srp_entry': srp_exchange.c:72:32: warning: variable 'salt' set but not used [-Wunused-but-set-variable] 72 | const struct lsh_string *salt; | ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tty.o tty.c spki.c: In function 'make_ssh_hostkey_tag': spki.c:76:22: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'const char *' differ in signedness [-Wpointer-sign] 76 | const uint8_t *s = host; @@ -4183,16 +4255,11 @@ /usr/include/nettle/sexp.h:152:27: note: expected 'const char * const*' but argument is of type 'const uint8_t **' {aka 'const unsigned char **'} 152 | const char * const *keys, | ~~~~~~~~~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o string_buffer.o string_buffer.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o suspend.o suspend.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tcpforward.o tcpforward.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tcpforward_commands.o tcpforward_commands.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o translate_signal.o translate_signal.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tty.o tty.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o unix_interact.o unix_interact.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o unix_process.o unix_process.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o unix_random.o unix_random.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o unix_user.o unix_user.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o userauth.o userauth.c unix_interact.c: In function 'unix_get_attributes': unix_interact.c:392:49: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] 392 | if (!tty_getattr(self->tty_fd, &res->ios) < 0) @@ -4202,7 +4269,10 @@ 392 | if (!tty_getattr(self->tty_fd, &res->ios) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o userauth.o userauth.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o werror.o werror.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o write_buffer.o write_buffer.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o write_packet.o write_packet.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o xalloc.o xalloc.c unix_user.c: In function 'do_verify_password': unix_user.c:255:11: warning: pointer targets in assignment from 'const char *' to 'const uint8_t *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 255 | cpasswd = lsh_get_cstring(password); @@ -4219,12 +4289,9 @@ /usr/include/unistd.h:1124:33: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 1124 | extern char *crypt (const char *__key, const char *__salt) | ~~~~~~~~~~~~^~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o werror.o werror.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o write_buffer.o write_buffer.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o write_packet.o write_packet.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o xalloc.o xalloc.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o xauth.o xauth.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o zlib.o zlib.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lshg.o lshg.c werror.c: In function 'werror_cstring': werror.c:294:51: warning: pointer targets in passing argument 2 of 'werror_write' differ in signedness [-Wpointer-sign] 294 | werror_cstring(char *s) { werror_write(strlen(s), s); } @@ -4259,6 +4326,8 @@ werror.c:275:46: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 275 | werror_write(uint32_t length, const uint8_t *msg) | ~~~~~~~~~~~~~~~^~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dummy.o dummy.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-keygen.o lsh-keygen.c werror.c:576:30: warning: pointer targets in passing argument 2 of 'werror_write' differ in signedness [-Wpointer-sign] 576 | werror_write(strlen(type), type); | ^~~~ @@ -4296,14 +4365,20 @@ werror.c:617:1: warning: 'werror_format' defined but not used [-Wunused-function] 617 | werror_format(const char *format, ...) | ^~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lshg.o lshg.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dummy.o dummy.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-keygen.o lsh-keygen.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-writekey.o lsh-writekey.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-decrypt-key.o lsh-decrypt-key.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-decode-key.o lsh-decode-key.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-export-key.o lsh-export-key.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-make-seed.o lsh-make-seed.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o srp-gen.o srp-gen.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lshd.o lshd.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-execuv.o lsh-execuv.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-krb-checkpw.o lsh-krb-checkpw.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-pam-checkpw.o lsh-pam-checkpw.c +lsh-krb-checkpw.c: In function 'main': +lsh-krb-checkpw.c:98:15: warning: unused variable 'ccache' [-Wunused-variable] + 98 | krb5_ccache ccache; + | ^~~~~~ lsh-make-seed.c: In function 'get_dev_random': lsh-make-seed.c:312:51: warning: pointer targets in passing argument 5 of 'nettle_yarrow256_update' differ in signedness [-Wpointer-sign] 312 | yarrow256_update(ctx, source, res * 4, res, buffer); @@ -4321,36 +4396,27 @@ lsh-make-seed.c:363:57: warning: unused parameter 'source' [-Wunused-parameter] 363 | get_dev_mem(struct yarrow256_ctx *ctx, enum source_type source) | ~~~~~~~~~~~~~~~~~^~~~~~ -lsh-make-seed.c: In function 'get_system': -lsh-make-seed.c:1037:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1037 | if (res > linux_proc_sources[i].limit) - | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o srp-gen.o srp-gen.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lshd.o lshd.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-execuv.o lsh-execuv.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-krb-checkpw.o lsh-krb-checkpw.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-pam-checkpw.o lsh-pam-checkpw.c -lsh-krb-checkpw.c: In function 'main': -lsh-krb-checkpw.c:98:15: warning: unused variable 'ccache' [-Wunused-variable] - 98 | krb5_ccache ccache; - | ^~~~~~ lsh-krb-checkpw.c:135:7: warning: 'server' may be used uninitialized in this function [-Wmaybe-uninitialized] 135 | if (krb5_verify_init_creds(context, &creds, server, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | NULL, NULL, NULL)) { | ~~~~~~~~~~~~~~~~~ -rm -f liblsh.a -ar cru liblsh.a abstract_io.o abstract_crypto.o algorithms.o alist.o atoms.o channel.o channel_commands.o channel_forward.o charset.o client.o client_escape.o client_keyexchange.o client_pty.o client_session.o client_userauth.o client_x11.o combinators.o command.o compress.o parse_config.o connection.o connection_commands.o crypto.o daemon.o debug.o dh_exchange.o dsa.o exception.o format.o gc.o gateway.o gateway_channel.o gateway_commands.o handshake.o interact.o io.o io_commands.o keyexchange.o list.o lookup_verifier.o lock_file.o lsh_string.o parse.o pkcs5.o publickey_crypto.o queue.o randomness.o read_data.o read_file.o read_line.o read_packet.o reaper.o resource.o rsa.o server.o server_authorization.o server_keyexchange.o server_password.o server_publickey.o server_pty.o server_session.o server_userauth.o server_x11.o sexp.o socks.o spki.o srp_exchange.o string_buffer.o suspend.o tcpforward.o tcpforward_commands.o translate_signal.o tty.o unix_interact.o unix_process.o unix_random.o unix_user.o userauth.o werror.o write_buffer.o write_packet.o xalloc.o xauth.o zlib.o +lsh-make-seed.c: In function 'get_system': +lsh-make-seed.c:1037:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1037 | if (res > linux_proc_sources[i].limit) + | ^ +gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-krb-checkpw lsh-krb-checkpw.o -lkrb5 -lresolv -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp +gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-execuv lsh-execuv.o -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp lshd.c: In function 'main_argp_parser': lshd.c:699:10: warning: 'host' may be used uninitialized in this function [-Wmaybe-uninitialized] 699 | : io_resolv_address(host, "ssh", 22, &self->local))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +rm -f liblsh.a +ar cru liblsh.a abstract_io.o abstract_crypto.o algorithms.o alist.o atoms.o channel.o channel_commands.o channel_forward.o charset.o client.o client_escape.o client_keyexchange.o client_pty.o client_session.o client_userauth.o client_x11.o combinators.o command.o compress.o parse_config.o connection.o connection_commands.o crypto.o daemon.o debug.o dh_exchange.o dsa.o exception.o format.o gc.o gateway.o gateway_channel.o gateway_commands.o handshake.o interact.o io.o io_commands.o keyexchange.o list.o lookup_verifier.o lock_file.o lsh_string.o parse.o pkcs5.o publickey_crypto.o queue.o randomness.o read_data.o read_file.o read_line.o read_packet.o reaper.o resource.o rsa.o server.o server_authorization.o server_keyexchange.o server_password.o server_publickey.o server_pty.o server_session.o server_userauth.o server_x11.o sexp.o socks.o spki.o srp_exchange.o string_buffer.o suspend.o tcpforward.o tcpforward_commands.o translate_signal.o tty.o unix_interact.o unix_process.o unix_random.o unix_user.o userauth.o werror.o write_buffer.o write_packet.o xalloc.o xauth.o zlib.o ar: `u' modifier ignored since `D' is the default (see `U') -gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-execuv lsh-execuv.o -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp -gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-krb-checkpw lsh-krb-checkpw.o -lkrb5 -lresolv -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp ranlib liblsh.a -gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lshg lshg.o dummy.o liblsh.a -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh lsh.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp +gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lshg lshg.o dummy.o liblsh.a -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-keygen lsh-keygen.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-writekey lsh-writekey.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-decrypt-key lsh-decrypt-key.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp @@ -4371,46 +4437,52 @@ gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o des-test.o des-test.c gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o serpent-test.o serpent-test.c gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o twofish-test.o twofish-test.c -In file included from serpent-test.c:1: -serpent-test.c: In function 'test_main': -serpent-test.c:10:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 10 | H("0123456789ABCDEF FEDCBA9876543210" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:63:25: note: in definition of macro 'H' - 63 | #define H(x) decode_hex(x) - | ^ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ -serpent-test.c:12:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 12 | H("0000000000000000 0000000000000000" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o md5-test.o md5-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o sha1-test.o sha1-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o rsa-test.o rsa-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dsa-test.o dsa-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o spki-tag-test.o spki-tag-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o string-test.o string-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o parse-config-test.o parse-config-test.c +parse-config-test.c: In function 'test_main': +parse-config-test.c:100:48: warning: pointer targets in passing argument 2 of 'config_parse_string' differ in signedness [-Wpointer-sign] + 100 | = config_parse_string(strlen(config_file), config_file); + | ^~~~~~~~~~~ + | | + | const char * +In file included from parse-config-test.c:3: +/build/lsh-utils-2.1/src/testsuite/../parse_config.h:36:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 36 | config_parse_string(uint32_t length, const uint8_t *data); + | ~~~~~~~~~~~~~~~^~~~ +In file included from string-test.c:1: +string-test.c: In function 'test_main': +string-test.c:14:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 14 | s = H("66006f"); + | ^~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -serpent-test.c:14:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 14 | H("c170ed586cfda8fe 084f01ef04475883" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +string-test.c:17:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 17 | s = H("6600"); + | ^~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -serpent-test.c:16:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 16 | H("0011223344556677 8899AABBCCDDEEFF")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +string-test.c:20:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 20 | s = H(""); + | ^~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ @@ -4452,15 +4524,52 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -testutils.c: In function 'decode_hex': -testutils.c:62:39: warning: pointer targets in passing argument 1 of 'decode_hex_length' differ in signedness [-Wpointer-sign] - 62 | uint32_t length = decode_hex_length(hex); - | ^~~ - | | - | const unsigned char * -testutils.c:39:31: note: expected 'const char *' but argument is of type 'const unsigned char *' - 39 | decode_hex_length(const char *h) - | ~~~~~~~~~~~~^ +In file included from aes-test.c:1: +aes-test.c: In function 'test_main': +aes-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 9 | H("603deb1015ca71be2b73aef0857d7781" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:63:25: note: in definition of macro 'H' + 63 | #define H(x) decode_hex(x) + | ^ +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ +aes-test.c:11:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 11 | H("6bc1bee22e409f96e93d7e117393172a" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:63:25: note: in definition of macro 'H' + 63 | #define H(x) decode_hex(x) + | ^ +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ +aes-test.c:15:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 15 | H("f58c4c04d6e5f1ba779eabfb5f7bfbd6" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:63:25: note: in definition of macro 'H' + 63 | #define H(x) decode_hex(x) + | ^ +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ +aes-test.c:19:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 19 | H("000102030405060708090a0b0c0d0e0f")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:63:25: note: in definition of macro 'H' + 63 | #define H(x) decode_hex(x) + | ^ +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ In file included from blowfish-test.c:1: blowfish-test.c: In function 'test_main': blowfish-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] @@ -4509,8 +4618,16 @@ | ^~~~~~~~~~~~~~~~~~~~~ In file included from cast128-test.c:1: cast128-test.c: In function 'test_main': -In file included from twofish-test.c:1: -twofish-test.c: In function 'test_main': +In file included from serpent-test.c:1: +serpent-test.c: In function 'test_main': +serpent-test.c:10:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 10 | H("0123456789ABCDEF FEDCBA9876543210" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:63:25: note: in definition of macro 'H' + 63 | #define H(x) decode_hex(x) + | ^ cast128-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 7 | H("0123456789ABCDEF FEDCBA9876543210"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4522,8 +4639,11 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -twofish-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 7 | H("0123456789ABCDEF FEDCBA9876543210" +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ +serpent-test.c:12:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 12 | H("0000000000000000 0000000000000000" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4544,16 +4664,16 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -twofish-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 9 | H("0000000000000000 0000000000000000" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +cast128-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 9 | H("9a1bf354bca596ad f7b2a2ce5f09a8b2"), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ -cast128-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 9 | H("9a1bf354bca596ad f7b2a2ce5f09a8b2"), +serpent-test.c:14:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 14 | H("c170ed586cfda8fe 084f01ef04475883" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4574,8 +4694,8 @@ testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ -twofish-test.c:11:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 11 | H("7c9cde6d86b1d9f2 9fceb6830c451281" +serpent-test.c:16:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 16 | H("0011223344556677 8899AABBCCDDEEFF")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4588,17 +4708,6 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -twofish-test.c:13:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 13 | H("0011223344556677 8899AABBCCDDEEFF")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:63:25: note: in definition of macro 'H' - 63 | #define H(x) decode_hex(x) - | ^ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ In file included from des-test.c:1: des-test.c: In function 'test_main': des-test.c:7:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] @@ -4645,33 +4754,33 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -In file included from aes-test.c:1: -aes-test.c: In function 'test_main': -aes-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 9 | H("603deb1015ca71be2b73aef0857d7781" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +In file included from twofish-test.c:1: +twofish-test.c: In function 'test_main': +twofish-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 7 | H("0123456789ABCDEF FEDCBA9876543210" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -aes-test.c:11:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 11 | H("6bc1bee22e409f96e93d7e117393172a" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +twofish-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 9 | H("0000000000000000 0000000000000000" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -aes-test.c:15:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 15 | H("f58c4c04d6e5f1ba779eabfb5f7bfbd6" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +twofish-test.c:11:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 11 | H("7c9cde6d86b1d9f2 9fceb6830c451281" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4680,9 +4789,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -aes-test.c:19:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 19 | H("000102030405060708090a0b0c0d0e0f")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +twofish-test.c:13:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 13 | H("0011223344556677 8899AABBCCDDEEFF")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4691,14 +4800,6 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o md5-test.o md5-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o sha1-test.o sha1-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o rsa-test.o rsa-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dsa-test.o dsa-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o spki-tag-test.o spki-tag-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o string-test.o string-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o parse-config-test.o parse-config-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o sockaddr2info-test.o sockaddr2info-test.c In file included from md5-test.c:1: md5-test.c: In function 'test_main': md5-test.c:12:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] @@ -4811,6 +4912,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ +In file included from sha1-test.c:1: +sha1-test.c: In function 'test_main': md5-test.c:51:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 51 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4822,6 +4925,17 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:11:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 11 | H("A9993E364706816A BA3E25717850C26C 9CD0D89D")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:63:25: note: in definition of macro 'H' + 63 | #define H(x) decode_hex(x) + | ^ +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:52:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 52 | H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4841,6 +4955,17 @@ testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ +sha1-test.c:16:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 16 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b"), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:63:25: note: in definition of macro 'H' + 63 | #define H(x) decode_hex(x) + | ^ +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ @@ -4852,12 +4977,9 @@ testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:60:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 60 | H("CDCDCDCDCDCDCDCD CDCDCDCDCDCDCDCD" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:18:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 18 | H("675B0B3A1B4DDF4E 124872DA6C2F632B FED957E9")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4866,19 +4988,11 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:64:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 64 | H("697EAF0ACA3A3AEA 3A75164746FFAA79")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:63:25: note: in definition of macro 'H' - 63 | #define H(x) decode_hex(x) - | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:67:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 67 | H("0C0C0C0C0C0C0C0C 0C0C0C0C0C0C0C0C"), +md5-test.c:60:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 60 | H("CDCDCDCDCDCDCDCD CDCDCDCDCDCDCDCD" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4888,9 +5002,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:69:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 69 | H("56461EF2342EDC00 F9BAB995690EFD4C")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:21:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 21 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b 0b0b0b0b"), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4899,8 +5013,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:72:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 72 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" +md5-test.c:64:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 64 | H("697EAF0ACA3A3AEA 3A75164746FFAA79")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4910,31 +5024,40 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:78:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 78 | H("6b1ab7fe4bd7bf8f0b62e6ce61b9d0cd")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +testutils.c: In function 'decode_hex': +sha1-test.c:23:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 23 | H("B617318655057264 E28BC0B6FB378C8E F146BE00")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ +testutils.c:62:39: warning: pointer targets in passing argument 1 of 'decode_hex_length' differ in signedness [-Wpointer-sign] + 62 | uint32_t length = decode_hex_length(hex); + | ^~~ + | | + | const unsigned char * testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:81:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 81 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" +md5-test.c:67:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 67 | H("0C0C0C0C0C0C0C0C 0C0C0C0C0C0C0C0C"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ +testutils.c:39:31: note: expected 'const char *' but argument is of type 'const unsigned char *' + 39 | decode_hex_length(const char *h) + | ~~~~~~~~~~~~^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:88:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 88 | H("6f630fad67cda0ee1fb1f562db3aa53e")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:69:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 69 | H("56461EF2342EDC00 F9BAB995690EFD4C")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4943,21 +5066,19 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -In file included from sha1-test.c:1: -sha1-test.c: In function 'test_main': -sha1-test.c:11:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 11 | H("A9993E364706816A BA3E25717850C26C 9CD0D89D")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +sha1-test.c:28:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 28 | H("EFFCDF6AE5EB2FA2 D27416D5F184DF9C 259A7C79")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:16:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 16 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b"), +md5-test.c:72:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 72 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4967,9 +5088,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:18:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 18 | H("675B0B3A1B4DDF4E 124872DA6C2F632B FED957E9")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:31:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 31 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4978,20 +5099,17 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:21:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 21 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b 0b0b0b0b"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:32:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 32 | H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:23:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 23 | H("B617318655057264 E28BC0B6FB378C8E F146BE00")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:78:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 78 | H("6b1ab7fe4bd7bf8f0b62e6ce61b9d0cd")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -5000,20 +5118,12 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:28:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 28 | H("EFFCDF6AE5EB2FA2 D27416D5F184DF9C 259A7C79")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:63:25: note: in definition of macro 'H' - 63 | #define H(x) decode_hex(x) - | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:31:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 31 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:36:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 36 | H("D730594D167E35D5 956FD8003D0DB3D3 F46DC7BB")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -5022,8 +5132,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:32:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 32 | H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" +md5-test.c:81:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 81 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -5033,8 +5143,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:36:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 36 | H("D730594D167E35D5 956FD8003D0DB3D3 F46DC7BB")); +sha1-test.c:39:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 39 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA AAAAAAAA"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -5044,9 +5154,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:39:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 39 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA AAAAAAAA"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:88:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 88 | H("6f630fad67cda0ee1fb1f562db3aa53e")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -5176,52 +5286,10 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -parse-config-test.c: In function 'test_main': -parse-config-test.c:100:48: warning: pointer targets in passing argument 2 of 'config_parse_string' differ in signedness [-Wpointer-sign] - 100 | = config_parse_string(strlen(config_file), config_file); - | ^~~~~~~~~~~ - | | - | const char * -In file included from parse-config-test.c:3: -/build/lsh-utils-2.1/src/testsuite/../parse_config.h:36:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 36 | config_parse_string(uint32_t length, const uint8_t *data); - | ~~~~~~~~~~~~~~~^~~~ -In file included from string-test.c:1: -string-test.c: In function 'test_main': -string-test.c:14:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 14 | s = H("66006f"); - | ^~~~~~~~ - | | - | char * -testutils.h:63:25: note: in definition of macro 'H' - 63 | #define H(x) decode_hex(x) - | ^ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ -string-test.c:17:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 17 | s = H("6600"); - | ^~~~~~ - | | - | char * -testutils.h:63:25: note: in definition of macro 'H' - 63 | #define H(x) decode_hex(x) - | ^ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ -string-test.c:20:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 20 | s = H(""); - | ^~ - | | - | char * -testutils.h:63:25: note: in definition of macro 'H' - 63 | #define H(x) decode_hex(x) - | ^ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o sockaddr2info-test.o sockaddr2info-test.c gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o utf8-test.o utf8-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o mini-inetd.o mini-inetd.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tcpconnect.o tcpconnect.c In file included from sockaddr2info-test.c:1: sockaddr2info-test.c: In function 'test_ip_v4': sockaddr2info-test.c:19:50: warning: pointer targets in passing argument 3 of 'lsh_string_eq_l' differ in signedness [-Wpointer-sign] @@ -5252,12 +5320,6 @@ /build/lsh-utils-2.1/src/testsuite/../lsh_string.h:89:77: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 89 | lsh_string_eq_l(const struct lsh_string *a, uint32_t length, const uint8_t *b); | ~~~~~~~~~~~~~~~^ -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o mini-inetd.o mini-inetd.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tcpconnect.o tcpconnect.c -gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o arcfour-test arcfour-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp -gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o aes-test aes-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp -gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o blowfish-test blowfish-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp -gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o cast128-test cast128-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp utf8-test.c: In function 'test_main': utf8-test.c:84:38: warning: pointer targets in passing argument 2 of 'low_utf8_to_local' differ in signedness [-Wpointer-sign] 84 | s = low_utf8_to_local(length, buffer, flags[j]); @@ -5268,6 +5330,10 @@ /build/lsh-utils-2.1/src/testsuite/../charset.h:62:70: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 62 | struct lsh_string *low_utf8_to_local(uint32_t length, const uint8_t *s, enum utf8_flag flags); | ~~~~~~~~~~~~~~~^ +gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o arcfour-test arcfour-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp +gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o aes-test aes-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp +gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o blowfish-test blowfish-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp +gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o cast128-test cast128-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o des-test des-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o serpent-test serpent-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -fdebug-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o twofish-test twofish-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp @@ -5472,39 +5538,39 @@ PASS: conv-3 PASS: export-1 Testing lsh-keygen DSA key generation -xxxxxxxxxqpg(private-key (dsa (p |AMdZKsciOcfEeliu9x8BYKYOKZTkNol7S6Hf+DaGv+i68mkUT1 - Q7G/mozDrgrKvMVsmVUZiCMgqm3cW72b2hjf8kN7xcmHrE/3V3 - p2sD3C/5|) - (q |AODcREM4G5uD0W4weqrNEbXWu3uB|) - (g |e0wOu4M+QJlpZDkc6Jg13+zadF41dklIil4nGtZtEufJgAAKwj - iVms36L2iLXq8gpo7UqCtyiJnt9tF7SGmNXnpXfJ5f9KTwzZWD - xfHg4AQ=|) - (y |YiMG2advO363gfbxJ4C/y3x/2GjPl2It5ndQgwOaruui3/Gzk7 - BJvb9ld2MwO/iqzULl0ft3LfYroNa6bkzxLDFk/9GxoKzElFa0 - kQB63Ys=|) - (x |AIQUcjbBZIX33+O+y5hF473SsYjY|))) +xxxxxxxxxqpg(private-key (dsa (p |ALEDN+kLj+bxuLoVW//On8W+mFDKPtMQYoDLX4bhYm2rs69aBD + Rc88e87cTtpRokVfiNUGs0ZtNcG5n5RF38cgjJLSZ+xhqEru6J + s0HCHma/|) + (q |AMvj35iBi4rTDgZSGyKMm5utMC9x|) + (g |JTrYsH16KyaFnO4yObBe4qwb1OEs/rtXKDnFEUPd1UQG5BlSDR + 2AIS9Y3yjUn0qa5Mhs8B3KnnbkIK4u9RJBVy/ZN0f1lPGD+Mr9 + kUXbXvI=|) + (y |TGihF1IzluMR7Px2PeQRCggbTG9+pi7uOdzKuhAXZHFDwdpSwN + lrOE97xQTZBvD7lSf4Aqp7/15ig0QG/nTLsDbffehrWE6zCs4G + GQYcYiQ=|) + (x |JJqkoRB6/lvUQoxkyZGm6qvMumc=|))) PASS: keygen-1 Testing lsh-keygen RSA key generation xxxxx xxxxx -(private-key (rsa-pkcs1 (n |AYXgV95C3fqT0daIjSrI83NUMuoM5ol3yZOSR51KaP4u - 09p7APT65tKrlA0HFhKa+2yBfKTXxDADOuPOI+Pn9fHs - KKx/6zsYQmebCODfIT5xbvfkuuaz9CuKNdWG5O+ehj0=|) - (e |PGKugw==|) - (d |AOKgghdWPibl3YZ27/7T6KjBymPxjpIQpNGWiMBQYoUv - +6q8dbTGjaEBbeba4GmiUq6OMoSkSCUxnXijcME+c2MS - KgzZy7INI2JBpF9uapn994QUG4txonyl2IjahmwDuOs=|) - (p |HOHr1tYMfWi1W9VTK3+nZJTz1UAy1g+3c92CnKrqbJql - NfDdqS52UPg9MASg77SqlQ==|) - (q |DX+q95ilq3nqg0sPtzOkxTHsuRBy0DdyBKCaIzWAbl52 - xkP4c4JBcZyW5S2pMUerCQ==|) - (a |B4gLyxYkICqYEi4TTFgLmnKb1D6vKDxnZlBA3uCsuAhC - BFv/+3ufhxGROHUSwV+cWw==|) - (b |B47J/A2LVuWvGP2CiA5XzoYxe7SzEjbw87pu4FIUcDF1 - GYrRO/8gexkHi6ZRX92Haw==|) - (c |Fj7o7K22AOHwgEqLA63hWQOQGQ34oFrXNVmXGgxTJY0P - hNhDkgqrszFCnb3tyqk1nw==|))) +(private-key (rsa-pkcs1 (n |AZ/sc++WGbnyXjH8Vt1VCcC7zwPqCG+wbag8pkC97dzm + IIhL5CF2nnrvc6hRq1ql3H5A9Ftv3xdkG7x3UrwtxJ8o + jh6ydRoLoUIt6breuBQGclZ5mCpVrH06wCx6vvMnH4c=|) + (e |NFFuGQ==|) + (d |Zm8Se2SCsXNxWJ1vInWtCKNunhyGetpKELzsDEAOddoQ + xxg+HEwUrYrSDY5XIoF/Z1k+u84AivsWGYn/9t/4DVrB + dFilUnFmqNpA0BaIY0VCt59XXKiX+iUQ8SwPeZz5sQ==|) + (p |HOY5NTu2pkqmJCecOyLyjpzhrkCci79TCjVKPZiP5y1y + EVgQ/XbUYJXrlGU+oQAS9Q==|) + (q |DmRk7O6qPGIVEu26LEebMpHdZSmLRhuEnqRlyhsA/lbY + 37lDiNt1Gce4OMOFsjGzCw==|) + (a |GtQKRS13Pgxh0Yn7ZDyTvJkhaaJFN3lp4zT85+MBT7M6 + KGXi3SVjtqEydJ1+OAFIQQ==|) + (b |B3nu7wx8vIyZiN0qSfV00j/ANfFYk22TDcLWFnpPkqBY + lpIHXw/xSghSORrRUM8zOw==|) + (c |BCGxCuR64R2bVl3h+kNRs1UMGZoCRCS1kOZkK03EO+Yd + I9Ibg5Iq2+qhThAxBJzJXQ==|))) PASS: keygen-2 Testing lsh-writekey PASS: write-key-1 @@ -5514,25 +5580,25 @@ test-seed-1 test-seed-2 differ: char 1, line 1 PASS: seed lsh, test 1 -lshd pid: 1963 +lshd pid: 14366 PASS: lsh-1 lsh, test 2 -lshd pid: 4463 +lshd pid: 14608 Hello world. PASS: lsh-2 lsh, test 3 -lshd pid: 4899 +lshd pid: 14641 Hello world. PASS: lsh-3 lsh, test 4 -lshd pid: 5421 +lshd pid: 14663 Hello world PASS: lsh-4 lsh, test 5, using an RSA hostkey -lshd pid: 5457 +lshd pid: 14683 PASS: lsh-5 lsh, test 6, using various encryption algorithms -lshd pid: 6356 +lshd pid: 14705 Trying encryption flag arcfour Ok Trying encryption flag twofish @@ -5553,62 +5619,60 @@ Ok PASS: lsh-6 lsh, test 7 -lshd pid: 6915 +lshd pid: 14741 PASS: lsh-7 lsh, test 8, unencrypted session -lshd pid: 6934 +lshd pid: 14762 PASS: lsh-8 lsh, test 9, check that LSHFLAGS works. -lshd pid: 6970 +lshd pid: 14784 PASS: lsh-9 lsh, encrypted key test xxxxxx xxxxxx -lshd pid: 7663 +lshd pid: 14814 Hello world PASS: lsh-encrypted-key lsh-decrypt-key-test xxxxxx xxxxxx - PASS: lsh-decrypt-key lsh, cat test -lshd pid: 7719 +lshd pid: 14855 lsh-cat-test: Ok, files match. PASS: lsh-cat lshg test 1 -lshd pid: 7779 +lshd pid: 14888 PASS: lshg-1 lshg, cat test -lshd pid: 7887 +lshd pid: 14914 lshg-cat-test: Ok, files match. PASS: lshg-cat lshg, cat 2 test -lshd pid: 7956 +lshd pid: 15066 lshg-cat-2-test: Ok, files match. PASS: lshg-cat-2 Closed spurious fd 9 -lshd pid: 8028 +lshd pid: 15582 daemon-fd-test: Ok, files match. PASS: daemon-fd -lshd pid: 8076 +lshd pid: 16051 foo PASS: tcpip-local -lshd pid: 8662 +lshd pid: 16286 bar PASS: tcpip-local-in-use -lshd pid: 9241 +lshd pid: 16600 foo PASS: tcpip-remote SKIP: socks5 SKIP: socks4 -lshd pid: 10070 +lshd pid: 21680 foo -./lshg-tcpip-local-test: 1: kill: No such process - +/build/lsh-utils-2.1/src/testsuite/functions.sh: line 44: kill: (21980) - No such process PASS: lshg-tcpip-local testing lcp -lshd pid: 10102 +lshd pid: 22371 bash: line 1: files/lcp-file-1.txt: cannot overwrite existing file bash: line 1: files/lcp-file-1.txt: cannot overwrite existing file /build/lsh-utils-2.1/src/testsuite/../lcp: line 116: ./lcp-file-1.txt: cannot overwrite existing file @@ -6285,7 +6349,7 @@ Test done PASS: rapid7-lsh Testing lshd -lshd pid: 14115 +lshd pid: 25161 Testing /build/lsh-utils-2.1/src/testsuite/rapid7-ssh-pdu/0000001.pdu Testing /build/lsh-utils-2.1/src/testsuite/rapid7-ssh-pdu/0000002.pdu Testing /build/lsh-utils-2.1/src/testsuite/rapid7-ssh-pdu/0000003.pdu @@ -6955,7 +7019,7 @@ Test done PASS: rapid7-lshd lsh, test login, login-auth-mode -lshd pid: 15491 +lshd pid: 26513 lsh-login-test: Ok, files match. PASS: login-auth lshd, no-auth-test @@ -6963,7 +7027,7 @@ Try `lshd --help' or `lshd --usage' for more information. PASS: lshd-no-auth Testing lshd with random input -lshd pid: 15658 +lshd pid: 26545 Trying seed 1 Trying seed 2 Trying seed 3 @@ -7039,13 +7103,13 @@ Making install in . make[5]: Entering directory '/build/lsh-utils-2.1/src/sftp' make[6]: Entering directory '/build/lsh-utils-2.1/src/sftp' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/bin' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/bin' /usr/bin/install -c lsftp '/build/lsh-utils-2.1/debian/tmp/usr/bin' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/sbin' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/sbin' /usr/bin/install -c sftp-server '/build/lsh-utils-2.1/debian/tmp/usr/sbin' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man1' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man1' /usr/bin/install -c -m 644 lsftp.1 '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man1' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man8' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man8' /usr/bin/install -c -m 644 sftp-server.8 '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man8' make[6]: Leaving directory '/build/lsh-utils-2.1/src/sftp' make[5]: Leaving directory '/build/lsh-utils-2.1/src/sftp' @@ -7084,11 +7148,11 @@ Making install in . make[4]: Entering directory '/build/lsh-utils-2.1/src' make[5]: Entering directory '/build/lsh-utils-2.1/src' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/bin' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/bin' /usr/bin/install -c lsh lshg lsh-keygen lsh-writekey lsh-decrypt-key lsh-decode-key lsh-export-key lsh-make-seed srp-gen '/build/lsh-utils-2.1/debian/tmp/usr/bin' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/bin' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/bin' /usr/bin/install -c lsh-authorize ssh-conv lsh-upgrade lsh-upgrade-key lcp '/build/lsh-utils-2.1/debian/tmp/usr/bin' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/sbin' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/sbin' /usr/bin/install -c lshd lsh-execuv lsh-krb-checkpw lsh-pam-checkpw '/build/lsh-utils-2.1/debian/tmp/usr/sbin' make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/build/lsh-utils-2.1/src' @@ -7106,13 +7170,13 @@ make[2]: Entering directory '/build/lsh-utils-2.1/doc' make[3]: Entering directory '/build/lsh-utils-2.1/doc' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/info' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/info' /usr/bin/install -c -m 644 ./lsh.info '/build/lsh-utils-2.1/debian/tmp/usr/share/info' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man1' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man1' /usr/bin/install -c -m 644 lsh.1 lsh-authorize.1 lsh-decode-key.1 lsh-decrypt-key.1 lsh-export-key.1 lshg.1 lsh-keygen.1 lsh-make-seed.1 lsh-upgrade.1 lsh-upgrade-key.1 lsh-writekey.1 ssh-conv.1 '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man1' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man5' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man5' /usr/bin/install -c -m 644 DSA.5 SHA.5 SPKI.5 secsh.5 '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man5' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man8' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man8' /usr/bin/install -c -m 644 lshd.8 '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man8' make[3]: Leaving directory '/build/lsh-utils-2.1/doc' make[2]: Leaving directory '/build/lsh-utils-2.1/doc' @@ -7178,10 +7242,10 @@ dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'lsh-utils' in '../lsh-utils_2.1-13_i386.deb'. -dpkg-deb: building package 'lsh-client' in '../lsh-client_2.1-13_i386.deb'. -dpkg-deb: building package 'lsh-client-dbgsym' in '../lsh-client-dbgsym_2.1-13_i386.deb'. dpkg-deb: building package 'lsh-utils-dbgsym' in '../lsh-utils-dbgsym_2.1-13_i386.deb'. dpkg-deb: building package 'lsh-server-dbgsym' in '../lsh-server-dbgsym_2.1-13_i386.deb'. +dpkg-deb: building package 'lsh-client' in '../lsh-client_2.1-13_i386.deb'. +dpkg-deb: building package 'lsh-client-dbgsym' in '../lsh-client-dbgsym_2.1-13_i386.deb'. dpkg-deb: building package 'lsh-server' in '../lsh-server_2.1-13_i386.deb'. dh_testdir dh_testroot @@ -7214,12 +7278,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/64492/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/64492/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/29987 and its subdirectories -I: Current time: Thu Jul 22 08:12:09 -12 2021 -I: pbuilder-time-stamp: 1626984729 +I: removing directory /srv/workspace/pbuilder/64492 and its subdirectories +I: Current time: Thu Aug 25 16:39:44 +14 2022 +I: pbuilder-time-stamp: 1661395184