Diff of the two buildlogs: -- --- b1/build.log 2023-04-23 02:01:52.997828390 +0000 +++ b2/build.log 2023-04-23 02:04:56.757684771 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 24 20:24:30 -12 2024 -I: pbuilder-time-stamp: 1716625470 +I: Current time: Sun Apr 23 16:01:55 +14 2023 +I: pbuilder-time-stamp: 1682215315 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./utalk_1.0.2.orig.tar.gz] I: copying [./utalk_1.0.2-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Oct 15 03:31:20 2021 -12 +gpgv: Signature made Sat Oct 16 05:31:20 2021 +14 gpgv: using RSA key C1B8D13D3DF5DF650C464EEE6856A4A640AF3FD3 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./utalk_1.0.2-2.dsc: no acceptable signature found @@ -28,135 +28,167 @@ dpkg-source: info: applying nostrip.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/432391/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3841522/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 23 16:02 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3841522/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3841522/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='a0fa01085bd547a8866600a50eea2757' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='432391' - PS1='# ' - PS2='> ' + INVOCATION_ID=a03d6df9aa274913b9422dfc44bddd05 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3841522 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/r-b-build.HSJy4nDe/pbuilderrc_uaSP --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.HSJy4nDe/b1 --logfile b1/build.log utalk_1.0.2-2.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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/r-b-build.HSJy4nDe/pbuilderrc_drLz --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.HSJy4nDe/b2 --logfile b2/build.log --extrapackages usrmerge utalk_1.0.2-2.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Feb 12 2023 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 2023 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 2023 more - -rwsr-xr-x 1 root root 59704 Mar 22 2023 mount - -rwxr-xr-x 1 root root 18744 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 2023 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 2023 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 2023 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 2023 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/432391/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Feb 13 10:05 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 00:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 00:02 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 22:35 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 02:40 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 00:02 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 00:02 more + -rwsr-xr-x 1 root root 59704 Mar 24 00:02 mount + -rwxr-xr-x 1 root root 18744 Mar 24 00:02 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 10:05 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 06:31 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Apr 23 16:02 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 00:02 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 14520 Nov 3 06:31 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 22:35 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 00:02 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 00:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/3841522/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -226,7 +258,7 @@ Get: 30 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main amd64 libncurses6 amd64 6.4-2 [103 kB] Get: 32 http://deb.debian.org/debian bookworm/main amd64 libncurses-dev amd64 6.4-2 [348 kB] -Fetched 19.2 MB in 0s (89.3 MB/s) +Fetched 19.2 MB in 1s (30.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19596 files and directories currently installed.) @@ -368,8 +400,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/utalk-1.0.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../utalk_1.0.2-2_source.changes +I: user script /srv/workspace/pbuilder/3841522/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/3841522/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/utalk-1.0.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../utalk_1.0.2-2_source.changes dpkg-buildpackage: info: source package utalk dpkg-buildpackage: info: source version 1.0.2-2 dpkg-buildpackage: info: source distribution unstable @@ -379,7 +422,7 @@ debian/rules clean dh clean dh_auto_clean - make -j16 clean + make -j15 clean make[1]: Entering directory '/build/utalk-1.0.2' rm -f srdp.o utalk.o util.o termcap.o termio.o globals.o signal.o screen.o functions.o kbd.o comm.o rc.o menu.o stest.o stest utalk core make[1]: Leaving directory '/build/utalk-1.0.2' @@ -390,7 +433,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j16 "INSTALL=install --strip-program=true" + make -j15 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/utalk-1.0.2' gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/local/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o srdp.o srdp.c gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/local/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o utalk.o utalk.c @@ -405,78 +448,170 @@ gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/local/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o comm.o comm.c gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/local/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rc.o rc.c gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/local/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o menu.o menu.c +rc.c: In function 'do_rc_line': +rc.c:92:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 92 | r = b + strlen(b); + | ^ + | | + | unsigned char * +In file included from rc.c:16: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +rc.c:112:37: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 112 | } else if (nx == NULL || strcmp(nx, "on") == 0) { + | ^~ + | | + | unsigned char * +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +rc.c:114:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 114 | } else if (strcmp(nx, "off") == 0) { + | ^~ + | | + | unsigned char * +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +rc.c:118:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 118 | if (strcmp(r, t->name) == 0) { + | ^ + | | + | unsigned char * +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +rc.c:130:17: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] + 130 | at = strchr(r, '@'); + | ^ + | | + | unsigned char * +/usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' + 246 | extern char *strchr (const char *__s, int __c) + | ~~~~~~~~~~~~^~~ +rc.c:130:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 130 | at = strchr(r, '@'); + | ^ +rc.c:133:25: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 133 | strncpy(a->from, r+1, 255); + | ~^~ + | | + | unsigned char * +In file included from /usr/include/features.h:489, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from rc.c:13: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +rc.c:135:39: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 135 | strncpy(a->to, (*nx=='@' ? nx+1 : nx), 255); + | ~~~~~~~~~~~~~~~~~^~~~~ + | | + | unsigned char * +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +rc.c:137:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 137 | } else if (at == r + strlen(r) - 1) { + | ^ + | | + | unsigned char * +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +rc.c:140:24: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 140 | strncpy(a->from, r, 255); + | ^ + | | + | unsigned char * +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +rc.c:142:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 142 | strncpy(a->to, nx, 255); + | ^~ + | | + | unsigned char * +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +rc.c:144:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 144 | if ((at = strchr(a->to, '@')) != NULL) + | ^ +rc.c:148:24: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 148 | strncpy(a->from, r, 255); + | ^ + | | + | unsigned char * +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +rc.c:150:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 150 | strncpy(a->to, nx, 255); + | ^~ + | | + | unsigned char * +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +rc.c: In function 'read_rc': +rc.c:180:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 180 | if ((home = (unsigned char *)getenv("HOME")) == NULL) + | ^ +rc.c:198:11: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] + 198 | fgets(b, 300, stdin); + | ^ + | | + | unsigned char * +In file included from /usr/include/stdio.h:906: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' + 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) + | ~~~~~~~~~~~~~~~~~^~~ +menu.c: In function 'menu_keyboard': +menu.c:603:29: warning: pointer targets in passing argument 1 of 'putscreen' differ in signedness [-Wpointer-sign] + 603 | putscreen(&c, 1, 0); + | ^~ + | | + | unsigned char * +In file included from menu.c:17: +termcap.h:38:29: note: expected 'char *' but argument is of type 'unsigned char *' + 38 | extern void putscreen(char *s, int n, char attr); + | ~~~~~~^ +menu.c: In function 'command_callback': +menu.c:735:20: warning: pointer targets in passing argument 1 of 'do_rc_line' differ in signedness [-Wpointer-sign] + 735 | r = do_rc_line(s); + | ^ + | | + | char * +In file included from menu.c:20: +rc.h:22:18: note: expected 'unsigned char *' but argument is of type 'char *' + 22 | char *do_rc_line(unsigned char *); + | ^~~~~~~~~~~~~~~ screen.c: In function 'settopic': screen.c:117:23: warning: pointer targets in passing argument 2 of 'setstatus' differ in signedness [-Wpointer-sign] 117 | setstatus(users[0], s); | ^ | | | unsigned char * +menu.c: In function 'topic_callback': screen.c:86:38: note: expected 'char *' but argument is of type 'unsigned char *' 86 | void setstatus(struct user *u, char *s) { | ~~~~~~^ +menu.c:756:14: warning: pointer targets in passing argument 1 of 'settopic' differ in signedness [-Wpointer-sign] + 756 | settopic(s); + | ^ + | | + | char * +In file included from menu.c:19: +screen.h:22:37: note: expected 'unsigned char *' but argument is of type 'char *' + 22 | extern void settopic(unsigned char *s); + | ~~~~~~~~~~~~~~~^ screen.c: In function 'shorten_lline': screen.c:459:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 459 | if (pos= u->first_visible_pline && | ^ -functions.c: In function 'delete_till': -functions.c:307:40: warning: pointer targets in passing argument 3 of 'c_write_string' differ in signedness [-Wpointer-sign] - 307 | c_write_string(l->number, nl0, nulls, 512); - | ^~~~~ - | | - | char * -termcap.c: In function 'flush_term': -termcap.c:58:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 58 | write(TTYWRITE, termcapbuf, tcb); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from functions.c:19: -comm.h:134:62: note: expected 'unsigned char *' but argument is of type 'char *' - 134 | extern void c_write_string(int line, int col, unsigned char *s, int len); - | ~~~~~~~~~~~~~~~^ -functions.c:311:40: warning: pointer targets in passing argument 3 of 'c_write_string' differ in signedness [-Wpointer-sign] - 311 | c_write_string(l->number, nl0, nulls, n); - | ^~~~~ - | | - | char * -comm.h:134:62: note: expected 'unsigned char *' but argument is of type 'char *' - 134 | extern void c_write_string(int line, int col, unsigned char *s, int len); - | ~~~~~~~~~~~~~~~^ -termcap.c: In function 'myputchar': -termcap.c:40:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 40 | write(TTYWRITE, termcapbuf, tcb); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -functions.c: In function 'f_backspace_word': -functions.c:405:46: warning: pointer targets in passing argument 3 of 'c_write_string' differ in signedness [-Wpointer-sign] - 405 | c_write_string(L->number, nl0-n+1, nulls, 512); - | ^~~~~ - | | - | char * -comm.h:134:62: note: expected 'unsigned char *' but argument is of type 'char *' - 134 | extern void c_write_string(int line, int col, unsigned char *s, int len); - | ~~~~~~~~~~~~~~~^ -functions.c:407:46: warning: pointer targets in passing argument 3 of 'c_write_string' differ in signedness [-Wpointer-sign] - 407 | c_write_string(L->number, nl0-n+1, nulls, n); - | ^~~~~ - | | - | char * -comm.h:134:62: note: expected 'unsigned char *' but argument is of type 'char *' - 134 | extern void c_write_string(int line, int col, unsigned char *s, int len); - | ~~~~~~~~~~~~~~~^ -termcap.c: In function 'mywrite': -termcap.c:49:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 49 | write(TTYWRITE, termcapbuf, tcb); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -srdp.c: In function 'srdp_stufftoread': -srdp.c:250:47: warning: passing argument 6 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] - 250 | (struct sockaddr *)&from, &fromlen); - | ^~~~~~~~ - | | - | size_t * {aka long unsigned int *} -In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343, - from srdpdata.h:17, - from srdp.c:20: -/usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} - 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ kbd.c:36:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 36 | "^i tab", | ^~~~~~~~ @@ -753,7 +888,6 @@ 108 | "dt vi-delete-till-char", | ^~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:108:3: note: (near initialization for 'vi_cmd_bindings[26]') -srdp.c: In function 'srdp_open': kbd.c:109:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 109 | "dT vi-delete-reverse-till-char", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -770,18 +904,10 @@ 112 | "W forward-word", | ^~~~~~~~~~~~~~~~ kbd.c:112:3: note: (near initialization for 'vi_cmd_bindings[30]') -srdp.c:516:59: warning: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] - 516 | if (getsockname(fd, (struct sockaddr *)&(info->myaddr), &length)<0) { - | ^~~~~~~ - | | - | size_t * {aka long unsigned int *} kbd.c:113:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 113 | "e end-of-word", | ^~~~~~~~~~~~~~~ kbd.c:113:3: note: (near initialization for 'vi_cmd_bindings[31]') -/usr/include/x86_64-linux-gnu/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} - 117 | socklen_t *__restrict __len) __THROW; - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ kbd.c:114:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 114 | "b backward-word", | ^~~~~~~~~~~~~~~~~ @@ -794,12 +920,6 @@ 116 | "0 beginning-of-line", | ^~~~~~~~~~~~~~~~~~~~~ kbd.c:116:3: note: (near initialization for 'vi_cmd_bindings[34]') -rc.c: In function 'do_rc_line': -rc.c:92:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 92 | r = b + strlen(b); - | ^ - | | - | unsigned char * kbd.c:117:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 117 | "\\^ beginning-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -808,10 +928,6 @@ 118 | "$ end-of-line", | ^~~~~~~~~~~~~~~ kbd.c:118:3: note: (near initialization for 'vi_cmd_bindings[36]') -In file included from rc.c:16: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ kbd.c:119:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 119 | "^d down-half-page", | ^~~~~~~~~~~~~~~~~~~ @@ -848,26 +964,10 @@ 127 | "\e nop", | ^~~~~~~~ kbd.c:127:3: note: (near initialization for 'vi_cmd_bindings[45]') -rc.c:112:37: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 112 | } else if (nx == NULL || strcmp(nx, "on") == 0) { - | ^~ - | | - | unsigned char * -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ kbd.c:128:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 128 | "^l redisplay", | ^~~~~~~~~~~~~~ kbd.c:128:3: note: (near initialization for 'vi_cmd_bindings[46]') -rc.c:114:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 114 | } else if (strcmp(nx, "off") == 0) { - | ^~ - | | - | unsigned char * -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ kbd.c:129:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 129 | "g next-window", | ^~~~~~~~~~~~~~~ @@ -876,18 +976,10 @@ 130 | "f vi-find-char", | ^~~~~~~~~~~~~~~~ kbd.c:130:3: note: (near initialization for 'vi_cmd_bindings[48]') -rc.c:118:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 118 | if (strcmp(r, t->name) == 0) { - | ^ - | | - | unsigned char * kbd.c:131:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 131 | "F vi-reverse-find-char", | ^~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:131:3: note: (near initialization for 'vi_cmd_bindings[49]') -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ kbd.c:132:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 132 | "t vi-till-char", | ^~~~~~~~~~~~~~~~ @@ -903,31 +995,15 @@ kbd.c:135:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 135 | ", vi-reverse-repeat-find", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -rc.c:130:17: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] - 130 | at = strchr(r, '@'); - | ^ - | | - | unsigned char * kbd.c:135:3: note: (near initialization for 'vi_cmd_bindings[53]') -/usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' - 246 | extern char *strchr (const char *__s, int __c) - | ~~~~~~~~~~~~^~~ kbd.c:136:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 136 | "~ vi-flip-case", | ^~~~~~~~~~~~~~~~ kbd.c:136:3: note: (near initialization for 'vi_cmd_bindings[54]') -rc.c:130:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 130 | at = strchr(r, '@'); - | ^ kbd.c:137:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 137 | "^t set-topic", | ^~~~~~~~~~~~~~ kbd.c:137:3: note: (near initialization for 'vi_cmd_bindings[55]') -rc.c:133:25: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 133 | strncpy(a->from, r+1, 255); - | ~^~ - | | - | unsigned char * kbd.c:138:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 138 | "^r resynch", | ^~~~~~~~~~~~ @@ -935,42 +1011,19 @@ kbd.c:139:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 139 | ": do-command", | ^~~~~~~~~~~~~~ -In file included from /usr/include/features.h:489, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from rc.c:13: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ kbd.c:139:3: note: (near initialization for 'vi_cmd_bindings[57]') kbd.c:140:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 140 | "ZZ quit", | ^~~~~~~~~ kbd.c:140:3: note: (near initialization for 'vi_cmd_bindings[58]') -rc.c:135:39: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 135 | strncpy(a->to, (*nx=='@' ? nx+1 : nx), 255); - | ~~~~~~~~~~~~~~~~~^~~~~ - | | - | unsigned char * kbd.c:141:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 141 | "H do-help", | ^~~~~~~~~~~ kbd.c:141:3: note: (near initialization for 'vi_cmd_bindings[59]') -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ kbd.c:142:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 142 | "[D backward", | ^~~~~~~~~~~~~ kbd.c:142:3: note: (near initialization for 'vi_cmd_bindings[60]') -rc.c:137:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 137 | } else if (at == r + strlen(r) - 1) { - | ^ - | | - | unsigned char * -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ kbd.c:143:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 143 | "[C forward", | ^~~~~~~~~~~~ @@ -979,33 +1032,14 @@ 144 | "[A up", | ^~~~~~~ kbd.c:144:3: note: (near initialization for 'vi_cmd_bindings[62]') -rc.c:140:24: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 140 | strncpy(a->from, r, 255); - | ^ - | | - | unsigned char * -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ kbd.c:145:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 145 | "[B down", | ^~~~~~~~~ kbd.c:145:3: note: (near initialization for 'vi_cmd_bindings[63]') -rc.c:142:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 142 | strncpy(a->to, nx, 255); - | ^~ - | | - | unsigned char * -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ kbd.c:150:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 150 | "\\e vi-escape", | ^~~~~~~~~~~~~~~ kbd.c:150:3: note: (near initialization for 'vi_ins_bindings[0]') -rc.c:144:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 144 | if ((at = strchr(a->to, '@')) != NULL) - | ^ kbd.c:151:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 151 | "^? backspace", | ^~~~~~~~~~~~~~ @@ -1014,30 +1048,14 @@ 152 | "^i tab", | ^~~~~~~~ kbd.c:152:3: note: (near initialization for 'vi_ins_bindings[2]') -rc.c:148:24: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 148 | strncpy(a->from, r, 255); - | ^ - | | - | unsigned char * -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ kbd.c:153:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 153 | "^m new-line", | ^~~~~~~~~~~~~ kbd.c:153:3: note: (near initialization for 'vi_ins_bindings[3]') -rc.c:150:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 150 | strncpy(a->to, nx, 255); - | ^~ - | | - | unsigned char * kbd.c:154:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 154 | "^j new-line", | ^~~~~~~~~~~~~ kbd.c:154:3: note: (near initialization for 'vi_ins_bindings[4]') -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ kbd.c:155:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 155 | "^u delete-line", | ^~~~~~~~~~~~~~~~ @@ -1062,10 +1080,6 @@ 160 | "^v quote-char", | ^~~~~~~~~~~~~~~ kbd.c:160:3: note: (near initialization for 'vi_ins_bindings[10]') -rc.c: In function 'read_rc': -rc.c:180:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 180 | if ((home = (unsigned char *)getenv("HOME")) == NULL) - | ^ kbd.c: In function 'new_binding': kbd.c:201:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 201 | strncpy(s, line, 199); @@ -1079,41 +1093,24 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ -rc.c:198:11: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] - 198 | fgets(b, 300, stdin); - | ^ - | | - | unsigned char * kbd.c:201:14: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 201 | strncpy(s, line, 199); | ^~~~ | | | unsigned char * -In file included from /usr/include/stdio.h:906: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) - | ~~~~~~~~~~~~~~~~~^~~ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ -srdp.c: In function 'srdp_select': -srdp.c:714:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 714 | if (cansend(info) && (now.tv_sec>info->wakeup1.tv_sec || - | ^~ kbd.c: In function 'nb': kbd.c:286:25: warning: pointer targets in passing argument 1 of 'new_binding' differ in signedness [-Wpointer-sign] 286 | char *t = new_binding(s, n); | ^ | | | char * -srdp.c:718:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 718 | if ((info->flags&(SRDP_FL_SELRETURN|SRDP_FL_NOSELECT)) == - | ^~ kbd.c:186:34: note: expected 'unsigned char *' but argument is of type 'char *' 186 | char *new_binding(unsigned char *line, int insmode) { | ~~~~~~~~~~~~~~~^~~~ kbd.c: In function 'kbd_defaults': -functions.c: In function 'f_test_menu': kbd.c:309:8: warning: pointer targets in passing argument 1 of 'nb' differ in signedness [-Wpointer-sign] 309 | nb(*s, 0); | ^~ @@ -1130,10 +1127,6 @@ kbd.c:285:22: note: expected 'char *' but argument is of type 'unsigned char *' 285 | static void nb(char *s, int n) { | ~~~~~~^ -functions.c:1139:3: warning: implicit declaration of function 'test_menu'; did you mean 'f_test_menu'? [-Wimplicit-function-declaration] - 1139 | test_menu(); - | ^~~~~~~~~ - | f_test_menu kbd.c:315:8: warning: pointer targets in passing argument 1 of 'nb' differ in signedness [-Wpointer-sign] 315 | nb(*s, 1); | ^~ @@ -1142,6 +1135,28 @@ kbd.c:285:22: note: expected 'char *' but argument is of type 'unsigned char *' 285 | static void nb(char *s, int n) { | ~~~~~~^ +kbd.c: In function 'keyboard': +kbd.c:369:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 369 | if (strlen(b->sequence) == inseq) { + | ~^~~~~~~~~~ + | | + | unsigned char * +In file included from kbd.c:15: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +termcap.c: In function 'flush_term': +termcap.c:58:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 58 | write(TTYWRITE, termcapbuf, tcb); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +termcap.c: In function 'myputchar': +termcap.c:40:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 40 | write(TTYWRITE, termcapbuf, tcb); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +termcap.c: In function 'mywrite': +termcap.c:49:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 49 | write(TTYWRITE, termcapbuf, tcb); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ comm.c: In function 'drain_socket': comm.c:147:58: warning: passing argument 6 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] 147 | r = recvfrom(fd, buf, 200, 0, (struct sockaddr *)&s, &sz); @@ -1153,17 +1168,7 @@ /usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -rc.c:198:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 198 | fgets(b, 300, stdin); - | ^~~~~~~~~~~~~~~~~~~~ -functions.c: In function 'f_test_entry': -kbd.c: In function 'keyboard': comm.c: In function 'recv_msg': -kbd.c:369:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 369 | if (strlen(b->sequence) == inseq) { - | ~^~~~~~~~~~ - | | - | unsigned char * comm.c:197:83: warning: passing argument 6 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] 197 | n = recvfrom(ofd, (char *)&oansw, sizeof(oansw), 0, (struct sockaddr *)&sa, &sz); | ^~~ @@ -1172,14 +1177,6 @@ /usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -In file included from kbd.c:15: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -functions.c:1144:3: warning: implicit declaration of function 'test_entry'; did you mean 'f_test_entry'? [-Wimplicit-function-declaration] - 1144 | test_entry(); - | ^~~~~~~~~~ - | f_test_entry comm.c:208:83: warning: passing argument 6 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] 208 | n = recvfrom(nfd, (char *)&nansw, sizeof(nansw), 0, (struct sockaddr *)&sa, &sz); | ^~~ @@ -1188,17 +1185,7 @@ /usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -srdp.c: In function 'srdp_close': -functions.c: In function 'f_test_selection': comm.c: In function 'find_daemon': -srdp.c:882:53: warning: passing argument 6 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] - 882 | (struct sockaddr *)&from, &fromlen); - | ^~~~~~~~ - | | - | size_t * {aka long unsigned int *} -/usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} - 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ comm.c:271:85: warning: passing argument 6 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] 271 | r = recvfrom(ofd, (char *)&oansw, sizeof(oansw), 0, (struct sockaddr *)&rs, &sz); | ^~~ @@ -1207,10 +1194,6 @@ /usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -functions.c:1149:3: warning: implicit declaration of function 'test_selection'; did you mean 'f_test_selection'? [-Wimplicit-function-declaration] - 1149 | test_selection(); - | ^~~~~~~~~~~~~~ - | f_test_selection comm.c:287:85: warning: passing argument 6 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] 287 | r = recvfrom(nfd, (char *)&nansw, sizeof(nansw), 0, (struct sockaddr *)&rs, &sz); | ^~~ @@ -1244,36 +1227,96 @@ 33 | #include "comm.h" +++ |+#include 34 | -menu.c: In function 'menu_keyboard': -menu.c:603:29: warning: pointer targets in passing argument 1 of 'putscreen' differ in signedness [-Wpointer-sign] - 603 | putscreen(&c, 1, 0); - | ^~ - | | - | unsigned char * -In file included from menu.c:17: -termcap.h:38:29: note: expected 'char *' but argument is of type 'unsigned char *' - 38 | extern void putscreen(char *s, int n, char attr); - | ~~~~~~^ -menu.c: In function 'command_callback': -menu.c:735:20: warning: pointer targets in passing argument 1 of 'do_rc_line' differ in signedness [-Wpointer-sign] - 735 | r = do_rc_line(s); - | ^ - | | - | char * -In file included from menu.c:20: -rc.h:22:18: note: expected 'unsigned char *' but argument is of type 'char *' - 22 | char *do_rc_line(unsigned char *); - | ^~~~~~~~~~~~~~~ -menu.c: In function 'topic_callback': -menu.c:756:14: warning: pointer targets in passing argument 1 of 'settopic' differ in signedness [-Wpointer-sign] - 756 | settopic(s); - | ^ - | | - | char * -In file included from menu.c:19: -screen.h:22:37: note: expected 'unsigned char *' but argument is of type 'char *' - 22 | extern void settopic(unsigned char *s); - | ~~~~~~~~~~~~~~~^ +functions.c: In function 'delete_till': +functions.c:307:40: warning: pointer targets in passing argument 3 of 'c_write_string' differ in signedness [-Wpointer-sign] + 307 | c_write_string(l->number, nl0, nulls, 512); + | ^~~~~ + | | + | char * +In file included from functions.c:19: +comm.h:134:62: note: expected 'unsigned char *' but argument is of type 'char *' + 134 | extern void c_write_string(int line, int col, unsigned char *s, int len); + | ~~~~~~~~~~~~~~~^ +functions.c:311:40: warning: pointer targets in passing argument 3 of 'c_write_string' differ in signedness [-Wpointer-sign] + 311 | c_write_string(l->number, nl0, nulls, n); + | ^~~~~ + | | + | char * +comm.h:134:62: note: expected 'unsigned char *' but argument is of type 'char *' + 134 | extern void c_write_string(int line, int col, unsigned char *s, int len); + | ~~~~~~~~~~~~~~~^ +functions.c: In function 'f_backspace_word': +functions.c:405:46: warning: pointer targets in passing argument 3 of 'c_write_string' differ in signedness [-Wpointer-sign] + 405 | c_write_string(L->number, nl0-n+1, nulls, 512); + | ^~~~~ + | | + | char * +comm.h:134:62: note: expected 'unsigned char *' but argument is of type 'char *' + 134 | extern void c_write_string(int line, int col, unsigned char *s, int len); + | ~~~~~~~~~~~~~~~^ +functions.c:407:46: warning: pointer targets in passing argument 3 of 'c_write_string' differ in signedness [-Wpointer-sign] + 407 | c_write_string(L->number, nl0-n+1, nulls, n); + | ^~~~~ + | | + | char * +comm.h:134:62: note: expected 'unsigned char *' but argument is of type 'char *' + 134 | extern void c_write_string(int line, int col, unsigned char *s, int len); + | ~~~~~~~~~~~~~~~^ +functions.c: In function 'f_test_menu': +functions.c:1139:3: warning: implicit declaration of function 'test_menu'; did you mean 'f_test_menu'? [-Wimplicit-function-declaration] + 1139 | test_menu(); + | ^~~~~~~~~ + | f_test_menu +functions.c: In function 'f_test_entry': +functions.c:1144:3: warning: implicit declaration of function 'test_entry'; did you mean 'f_test_entry'? [-Wimplicit-function-declaration] + 1144 | test_entry(); + | ^~~~~~~~~~ + | f_test_entry +functions.c: In function 'f_test_selection': +functions.c:1149:3: warning: implicit declaration of function 'test_selection'; did you mean 'f_test_selection'? [-Wimplicit-function-declaration] + 1149 | test_selection(); + | ^~~~~~~~~~~~~~ + | f_test_selection +srdp.c: In function 'srdp_stufftoread': +srdp.c:250:47: warning: passing argument 6 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] + 250 | (struct sockaddr *)&from, &fromlen); + | ^~~~~~~~ + | | + | size_t * {aka long unsigned int *} +In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343, + from srdpdata.h:17, + from srdp.c:20: +/usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} + 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +srdp.c: In function 'srdp_open': +srdp.c:516:59: warning: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] + 516 | if (getsockname(fd, (struct sockaddr *)&(info->myaddr), &length)<0) { + | ^~~~~~~ + | | + | size_t * {aka long unsigned int *} +/usr/include/x86_64-linux-gnu/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} + 117 | socklen_t *__restrict __len) __THROW; + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +srdp.c: In function 'srdp_select': +srdp.c:714:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 714 | if (cansend(info) && (now.tv_sec>info->wakeup1.tv_sec || + | ^~ +srdp.c:718:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 718 | if ((info->flags&(SRDP_FL_SELRETURN|SRDP_FL_NOSELECT)) == + | ^~ +srdp.c: In function 'srdp_close': +srdp.c:882:53: warning: passing argument 6 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] + 882 | (struct sockaddr *)&from, &fromlen); + | ^~~~~~~~ + | | + | size_t * {aka long unsigned int *} +/usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} + 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +rc.c:198:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 198 | fgets(b, 300, stdin); + | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:535, from comm.c:21: In function 'strncpy', @@ -1331,7 +1374,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/utalk-1.0.2' dh_auto_install -- prefix=/usr STRIP=true - make -j16 install DESTDIR=/build/utalk-1.0.2/debian/utalk AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" prefix=/usr STRIP=true + make -j15 install DESTDIR=/build/utalk-1.0.2/debian/utalk AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" prefix=/usr STRIP=true make[2]: Entering directory '/build/utalk-1.0.2' true utalk mkdir -p /build/utalk-1.0.2/debian/utalk/usr/bin @@ -1358,8 +1401,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'utalk' in '../utalk_1.0.2-2_amd64.deb'. dpkg-deb: building package 'utalk-dbgsym' in '../utalk-dbgsym_1.0.2-2_amd64.deb'. +dpkg-deb: building package 'utalk' in '../utalk_1.0.2-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../utalk_1.0.2-2_amd64.buildinfo dpkg-genchanges --build=binary -O../utalk_1.0.2-2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1367,12 +1410,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3841522/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3841522/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/432391 and its subdirectories -I: Current time: Fri May 24 20:24:54 -12 2024 -I: pbuilder-time-stamp: 1716625494 +I: removing directory /srv/workspace/pbuilder/3841522 and its subdirectories +I: Current time: Sun Apr 23 16:04:56 +14 2023 +I: pbuilder-time-stamp: 1682215496