Diff of the two buildlogs: -- --- b1/build.log 2024-05-01 09:44:36.252562694 +0000 +++ b2/build.log 2024-05-01 09:47:13.729855084 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jun 3 04:07:01 -12 2025 -I: pbuilder-time-stamp: 1748966821 +I: Current time: Wed May 1 23:44:40 +14 2024 +I: pbuilder-time-stamp: 1714556680 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying nostrip.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3572600/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/998977/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-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 May 1 09:45 /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/998977/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/998977/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - 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=42 ' - DISTRIBUTION='trixie' - 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='4ab6b5e66fc6487c940250a9bb93b15d' - 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='3572600' - PS1='# ' - PS2='> ' + INVOCATION_ID=ddb12a5ebc6240e0a97354e5c6cd506b + 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=998977 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.iCBm0fvl/pbuilderrc_iMiG --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.iCBm0fvl/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://213.165.73.152: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.iCBm0fvl/pbuilderrc_fuo6 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.iCBm0fvl/b2 --logfile b2/build.log utalk_1.0.2-2.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 27 17:46 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3572600/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 22 13:10 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/998977/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -86,7 +118,7 @@ Depends: debhelper-compat (= 13), libncurses-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. -(Reading database ... 19725 files and directories currently installed.) +(Reading database ... 19901 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: @@ -143,10 +175,10 @@ Get: 30 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.15.3 [901 kB] Get: 31 http://deb.debian.org/debian trixie/main amd64 libncurses6 amd64 6.4+20240414-1 [104 kB] Get: 32 http://deb.debian.org/debian trixie/main amd64 libncurses-dev amd64 6.4+20240414-1 [349 kB] -Fetched 19.5 MB in 0s (99.3 MB/s) +Fetched 19.5 MB in 1s (13.6 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 ... 19725 files and directories currently installed.) +(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 ... 19901 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. @@ -286,7 +318,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/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/998977/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/998977/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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 @@ -296,7 +332,7 @@ debian/rules clean dh clean dh_auto_clean - make -j42 clean + make -j20 clean make[1]: Entering directory '/build/reproducible-path/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/reproducible-path/utalk-1.0.2' @@ -307,7 +343,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j42 "INSTALL=install --strip-program=true" + make -j20 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/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 @@ -322,50 +358,27 @@ 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 -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); - | ~~~~~~~~~~~~~~~^ -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 * -screen.c:86:38: note: expected 'char *' but argument is of type 'unsigned char *' - 86 | void setstatus(struct user *u, char *s) { - | ~~~~~~^ +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; + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ 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); @@ -378,6 +391,22 @@ 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_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) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ kbd.c:36:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 36 | "^i tab", | ^~~~~~~~ @@ -389,12 +418,6 @@ kbd.c:38:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 38 | "^j new-line", | ^~~~~~~~~~~~~ -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:38:3: note: (near initialization for 'emacs_bindings[2]') kbd.c:39:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 39 | "^q quote-char", /* probably not usable b/c of flow control */ @@ -404,10 +427,6 @@ 40 | "^d delete", | ^~~~~~~~~~~ kbd.c:40:3: note: (near initialization for 'emacs_bindings[4]') -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:41:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 41 | "^k delete-end-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -435,14 +454,6 @@ kbd.c:47:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 47 | "\\ef forward-word", | ^~~~~~~~~~~~~~~~~~~ -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:47:3: note: (near initialization for 'emacs_bindings[11]') kbd.c:48:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 48 | "\\eb backward-word", @@ -456,11 +467,6 @@ 50 | "^e end-of-line", | ^~~~~~~~~~~~~~~~ kbd.c:50:3: note: (near initialization for 'emacs_bindings[14]') -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 * kbd.c:51:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 51 | "^v down-page", | ^~~~~~~~~~~~~~ @@ -468,9 +474,6 @@ kbd.c:52:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 52 | "\\ev up-page", | ^~~~~~~~~~~~~~ -/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:52:3: note: (near initialization for 'emacs_bindings[16]') kbd.c:53:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 53 | "\\e< top", @@ -500,65 +503,30 @@ 59 | "^g next-window", | ^~~~~~~~~~~~~~~~ kbd.c:59:3: note: (near initialization for 'emacs_bindings[23]') -screen.c: In function 'shorten_lline': kbd.c:60:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 60 | "^xc quit", | ^~~~~~~~~~ -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:60:3: note: (near initialization for 'emacs_bindings[24]') -/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:61:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 61 | "^f forward", | ^~~~~~~~~~~~ kbd.c:61:3: note: (near initialization for 'emacs_bindings[25]') -srdp.c: In function 'srdp_stufftoread': kbd.c:62:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 62 | "^b backward", | ^~~~~~~~~~~~~ -screen.c:459:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] - 459 | if (pos= u->first_visible_pline && - | ^ kbd.c:62:3: note: (near initialization for 'emacs_bindings[26]') -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 *} kbd.c:63:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 63 | "^p up", | ^~~~~~~ kbd.c:63:3: note: (near initialization for 'emacs_bindings[27]') -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:64:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 64 | "^n down", | ^~~~~~~~~ -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) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -/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:64:3: note: (near initialization for 'emacs_bindings[28]') kbd.c:65:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 65 | "^t set-topic", | ^~~~~~~~~~~~~~ kbd.c:65:3: note: (near initialization for 'emacs_bindings[29]') -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:66:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 66 | "\\eH do-help", | ^~~~~~~~~~~~~~ @@ -567,22 +535,10 @@ 67 | "\\ex do-command", | ^~~~~~~~~~~~~~~~~ kbd.c:67:3: note: (near initialization for 'emacs_bindings[31]') -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:68:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 68 | "\\e[D backward", | ^~~~~~~~~~~~~~~~ kbd.c:68:3: note: (near initialization for 'emacs_bindings[32]') -In file included from /usr/include/features.h:490, - 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:69:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 69 | "\\e[C forward", | ^~~~~~~~~~~~~~~ @@ -599,30 +555,14 @@ 72 | "\\e[2~ toggle-overwrite", | ^~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:72:3: note: (near initialization for 'emacs_bindings[36]') -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, - | ^~~~~ kbd.c:73:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 73 | "\\e[3~ delete", | ^~~~~~~~~~~~~~~ kbd.c:73:3: note: (near initialization for 'emacs_bindings[37]') -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 * kbd.c:74:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 74 | "\\e[7~ beginning-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:74:3: note: (near initialization for 'emacs_bindings[38]') -/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:75:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 75 | "\\e[8~ end-of-line", | ^~~~~~~~~~~~~~~~~~~~ @@ -631,60 +571,25 @@ 76 | "\\e[5~ up-page", | ^~~~~~~~~~~~~~~~ kbd.c:76:3: note: (near initialization for 'emacs_bindings[40]') -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 * kbd.c:77:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 77 | "\\e[6~ down-page", | ^~~~~~~~~~~~~~~~~~ kbd.c:77:3: note: (near initialization for 'emacs_bindings[41]') -/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:82:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 82 | "\\n new-line", | ^~~~~~~~~~~~~~ -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 * kbd.c:82:3: note: (near initialization for 'vi_cmd_bindings[0]') -/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:83:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 83 | "\\r new-line", | ^~~~~~~~~~~~~~ kbd.c:83:3: note: (near initialization for 'vi_cmd_bindings[1]') -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:84:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 84 | "h backward", | ^~~~~~~~~~~~ kbd.c:84:3: note: (near initialization for 'vi_cmd_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:85:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 85 | "j down", | ^~~~~~~~ -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, - | ^~~~~ kbd.c:85:3: note: (near initialization for 'vi_cmd_bindings[3]') kbd.c:86:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 86 | "k up", @@ -702,14 +607,10 @@ 89 | "a vi-add", | ^~~~~~~~~~ kbd.c:89:3: note: (near initialization for 'vi_cmd_bindings[7]') -rc.c: In function 'read_rc': kbd.c:90:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 90 | "I vi-insert-at-beginning-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:90:3: note: (near initialization for 'vi_cmd_bindings[8]') -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:91:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 91 | "A vi-add-at-end-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -734,15 +635,6 @@ 96 | "x delete", | ^~~~~~~~~~ kbd.c:96:3: note: (near initialization for 'vi_cmd_bindings[14]') -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) - | ~~~~~~~~~~~~~~~~~^~~ kbd.c:97:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 97 | "X backspace", | ^~~~~~~~~~~~~ @@ -778,7 +670,6 @@ kbd.c:105:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 105 | "d\\^ delete-beginning-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -menu.c: In function 'menu_keyboard': kbd.c:105:3: note: (near initialization for 'vi_cmd_bindings[23]') kbd.c:106:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 106 | "df vi-delete-find-char", @@ -788,20 +679,10 @@ 107 | "dF vi-delete-reverse-find-char", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:107:3: note: (near initialization for 'vi_cmd_bindings[25]') -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 * kbd.c:108:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 108 | "dt vi-delete-till-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); - | ~~~~~~^ 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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -818,11 +699,6 @@ 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", | ^~~~~~~~~~~~~~~ @@ -831,9 +707,6 @@ 114 | "b backward-word", | ^~~~~~~~~~~~~~~~~ kbd.c:114:3: note: (near initialization for 'vi_cmd_bindings[32]') -/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:115:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 115 | "B backward-word", | ^~~~~~~~~~~~~~~~~ @@ -918,9 +791,6 @@ 135 | ", vi-reverse-repeat-find", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:135:3: note: (near initialization for 'vi_cmd_bindings[53]') -rc.c:198:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 198 | fgets(b, 300, stdin); - | ^~~~~~~~~~~~~~~~~~~~ kbd.c:136:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 136 | "~ vi-flip-case", | ^~~~~~~~~~~~~~~~ @@ -937,7 +807,6 @@ 139 | ": do-command", | ^~~~~~~~~~~~~~ kbd.c:139:3: note: (near initialization for 'vi_cmd_bindings[57]') -menu.c: In function 'command_callback': kbd.c:140:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 140 | "ZZ quit", | ^~~~~~~~~ @@ -954,19 +823,10 @@ 143 | "[C forward", | ^~~~~~~~~~~~ kbd.c:143:3: note: (near initialization for 'vi_cmd_bindings[61]') -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 * kbd.c:144:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 144 | "[A up", | ^~~~~~~ kbd.c:144:3: note: (near initialization for 'vi_cmd_bindings[62]') -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 *); - | ^~~~~~~~~~~~~~~ kbd.c:145:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 145 | "[B down", | ^~~~~~~~~ @@ -979,7 +839,6 @@ 151 | "^? backspace", | ^~~~~~~~~~~~~~ kbd.c:151:3: note: (near initialization for 'vi_ins_bindings[1]') -menu.c: In function 'topic_callback': kbd.c:152:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 152 | "^i tab", | ^~~~~~~~ @@ -996,19 +855,10 @@ 155 | "^u delete-line", | ^~~~~~~~~~~~~~~~ kbd.c:155:3: note: (near initialization for 'vi_ins_bindings[5]') -menu.c:756:14: warning: pointer targets in passing argument 1 of 'settopic' differ in signedness [-Wpointer-sign] - 756 | settopic(s); - | ^ - | | - | char * kbd.c:156:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 156 | "^h backspace", | ^~~~~~~~~~~~~~ kbd.c:156:3: note: (near initialization for 'vi_ins_bindings[6]') -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); - | ~~~~~~~~~~~~~~~^ kbd.c:157:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 157 | "^w backspace-word", | ^~~~~~~~~~~~~~~~~~~ @@ -1031,7 +881,6 @@ | ^ | | | unsigned char * -functions.c: In function 'f_test_menu': In file included from /usr/include/features.h:490, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -1047,25 +896,15 @@ /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, | ^~~~~ -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: 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 * -functions.c: In function 'f_test_entry': kbd.c:186:34: note: expected 'unsigned char *' but argument is of type 'char *' 186 | char *new_binding(unsigned char *line, int insmode) { | ~~~~~~~~~~~~~~~^~~~ -srdp.c: In function 'srdp_select': -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 kbd.c: In function 'kbd_defaults': kbd.c:309:8: warning: pointer targets in passing argument 1 of 'nb' differ in signedness [-Wpointer-sign] 309 | nb(*s, 0); @@ -1075,21 +914,14 @@ kbd.c:285:22: note: expected 'char *' but argument is of type 'unsigned char *' 285 | static void nb(char *s, int n) { | ~~~~~~^ -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:312:8: warning: pointer targets in passing argument 1 of 'nb' differ in signedness [-Wpointer-sign] 312 | nb(*s, 0); | ^~ | | | unsigned 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:285:22: note: expected 'char *' but argument is of type 'unsigned char *' 285 | static void nb(char *s, int n) { | ~~~~~~^ -functions.c: In function 'f_test_selection': kbd.c:315:8: warning: pointer targets in passing argument 1 of 'nb' differ in signedness [-Wpointer-sign] 315 | nb(*s, 1); | ^~ @@ -1098,10 +930,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:1149:3: warning: implicit declaration of function 'test_selection'; did you mean 'f_test_selection'? [-Wimplicit-function-declaration] - 1149 | test_selection(); - | ^~~~~~~~~~~~~~ - | f_test_selection 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) { @@ -1112,15 +940,6 @@ /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) | ~~~~~~~~~~~~^~~ -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) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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); @@ -1158,6 +977,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) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +menu.c: In function 'menu_keyboard': 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); | ^~~ @@ -1175,10 +995,15 @@ /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; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -rc.c: In function 'resolve_alias': -rc.c:55:7: warning: '__builtin_strncpy' output may be truncated copying 254 bytes from a string of length 255 [-Wstringop-truncation] - 55 | strncpy(uh1, a->to, 255); - | ^ +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); + | ~~~~~~^ comm.c:368:51: warning: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] 368 | if (getsockname(nfd, (struct sockaddr *)&nsock, &len) < 0) | ^~~~ @@ -1187,6 +1012,35 @@ /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; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +menu.c: In function 'command_callback': +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 * +screen.c:86:38: note: expected 'char *' but argument is of type 'unsigned char *' + 86 | void setstatus(struct user *u, char *s) { + | ~~~~~~^ +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); + | ~~~~~~~~~~~~~~~^ comm.c: In function 'init_comm': comm.c:583:12: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 583 | when = time(NULL) + 28; @@ -1195,6 +1049,188 @@ 33 | #include "comm.h" +++ |+#include 34 | +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 && + | ^ +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:490, + 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) + | ~~~~~~~~~~~~~~~~~^~~ +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 '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': +rc.c: In function 'resolve_alias': +rc.c:55:7: warning: '__builtin_strncpy' output may be truncated copying 254 bytes from a string of length 255 [-Wstringop-truncation] + 55 | strncpy(uh1, a->to, 255); + | ^ +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 'make_missing': srdp.c:144:16: warning: 'howmany' may be used uninitialized [-Wmaybe-uninitialized] 144 | howmany++; @@ -1259,7 +1295,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/utalk-1.0.2' dh_auto_install -- prefix=/usr STRIP=true - make -j42 install DESTDIR=/build/reproducible-path/utalk-1.0.2/debian/utalk AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" prefix=/usr STRIP=true + make -j20 install DESTDIR=/build/reproducible-path/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/reproducible-path/utalk-1.0.2' true utalk mkdir -p /build/reproducible-path/utalk-1.0.2/debian/utalk/usr/bin @@ -1295,12 +1331,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/998977/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/998977/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/3572600 and its subdirectories -I: Current time: Tue Jun 3 04:07:34 -12 2025 -I: pbuilder-time-stamp: 1748966854 +I: removing directory /srv/workspace/pbuilder/998977 and its subdirectories +I: Current time: Wed May 1 23:47:12 +14 2024 +I: pbuilder-time-stamp: 1714556832