Diff of the two buildlogs: -- --- b1/build.log 2024-06-03 08:41:59.219428547 +0000 +++ b2/build.log 2024-06-03 08:42:38.601752913 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jul 6 03:04:28 -12 2025 -I: pbuilder-time-stamp: 1751814268 +I: Current time: Mon Jun 3 22:42:01 +14 2024 +I: pbuilder-time-stamp: 1717404121 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,51 +28,83 @@ dpkg-source: info: applying nostrip.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/277669/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1438064/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 3 08:42 /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/1438064/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1438064/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' + 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=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='f82c3d3e7a44400daa5851c56a6514de' - 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='277669' - PS1='# ' - PS2='> ' + INVOCATION_ID=70d5e69af5434d22a977c2e795d58648 + 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=1438064 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.dtOESLqG/pbuilderrc_puLX --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dtOESLqG/b1 --logfile b1/build.log utalk_1.0.2-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.dtOESLqG/pbuilderrc_pO2R --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dtOESLqG/b2 --logfile b2/build.log utalk_1.0.2-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jul 5 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/277669/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 2 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1438064/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -141,7 +173,7 @@ Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.15.3 [901 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 libncurses6 amd64 6.5-2 [104 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 libncurses-dev amd64 6.5-2 [349 kB] -Fetched 19.5 MB in 0s (87.7 MB/s) +Fetched 19.5 MB in 0s (95.5 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 ... 19705 files and directories currently installed.) @@ -280,7 +312,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/1438064/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1438064/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 @@ -316,18 +352,6 @@ 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 -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -616,7 +640,6 @@ 99 | "db backspace-word", | ^~~~~~~~~~~~~~~~~~~ kbd.c:99:3: note: (near initialization for 'vi_cmd_bindings[17]') -functions.c: In function 'f_test_menu': kbd.c:100:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 100 | "dw delete-word", | ^~~~~~~~~~~~~~~~ @@ -657,10 +680,6 @@ 109 | "dT vi-delete-reverse-till-char", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:109:3: note: (near initialization for 'vi_cmd_bindings[27]') -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:110:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 110 | "D delete-end-of-line", | ^~~~~~~~~~~~~~~~~~~~~~ @@ -688,7 +707,6 @@ kbd.c:116:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 116 | "0 beginning-of-line", | ^~~~~~~~~~~~~~~~~~~~~ -functions.c: In function 'f_test_entry': kbd.c:116:3: note: (near initialization for 'vi_cmd_bindings[34]') kbd.c:117:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 117 | "\\^ beginning-of-line", @@ -725,10 +743,6 @@ kbd.c:125:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 125 | "L bottom-of-screen", | ^~~~~~~~~~~~~~~~~~~~ -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:125:3: note: (near initialization for 'vi_cmd_bindings[43]') kbd.c:126:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 126 | "G vi-goto-line", @@ -769,7 +783,11 @@ kbd.c:135:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 135 | ", vi-reverse-repeat-find", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +termcap.c: In function 'flush_term': kbd.c:135:3: note: (near initialization for 'vi_cmd_bindings[53]') +termcap.c:58:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 58 | write(TTYWRITE, termcapbuf, tcb); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:136:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 136 | "~ vi-flip-case", | ^~~~~~~~~~~~~~~~ @@ -782,9 +800,13 @@ 138 | "^r resynch", | ^~~~~~~~~~~~ kbd.c:138:3: note: (near initialization for 'vi_cmd_bindings[56]') +termcap.c: In function 'myputchar': kbd.c:139:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 139 | ": do-command", | ^~~~~~~~~~~~~~ +termcap.c:40:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 40 | write(TTYWRITE, termcapbuf, tcb); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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", @@ -825,7 +847,6 @@ kbd.c:153:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 153 | "^m new-line", | ^~~~~~~~~~~~~ -functions.c: In function 'f_test_selection': kbd.c:153:3: note: (near initialization for 'vi_ins_bindings[3]') kbd.c:154:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 154 | "^j new-line", @@ -855,10 +876,6 @@ 160 | "^v quote-char", | ^~~~~~~~~~~~~~~ kbd.c:160:3: note: (near initialization for 'vi_ins_bindings[10]') -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 '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); @@ -872,6 +889,10 @@ /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, | ^~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:201:14: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 201 | strncpy(s, line, 199); | ^~~~ @@ -889,6 +910,7 @@ kbd.c:186:34: note: expected 'unsigned char *' but argument is of type 'char *' 186 | char *new_binding(unsigned char *line, int insmode) { | ~~~~~~~~~~~~~~~^~~~ +functions.c: In function 'f_test_menu': 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); @@ -898,7 +920,6 @@ kbd.c:285:22: note: expected 'char *' but argument is of type 'unsigned char *' 285 | static void nb(char *s, int n) { | ~~~~~~^ -srdp.c: In function 'srdp_stufftoread': kbd.c:312:8: warning: pointer targets in passing argument 1 of 'nb' differ in signedness [-Wpointer-sign] 312 | nb(*s, 0); | ^~ @@ -907,17 +928,10 @@ kbd.c:285:22: note: expected 'char *' but argument is of type 'unsigned char *' 285 | static void nb(char *s, int n) { | ~~~~~~^ -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) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +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); | ^~ @@ -932,10 +946,32 @@ | ~^~~~~~~~~~ | | | unsigned char * +functions.c: In function 'f_test_entry': 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 +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) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +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_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) { @@ -945,83 +981,13 @@ /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; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -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); - | ^~~ - | | - | size_t * {aka long unsigned int *} -In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343, - from comm.c:16: -/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 'recv_msg': -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); - | ^~~ - | | - | 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: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); - | ^~~ - | | - | 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 'find_daemon': -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); - | ^~~ - | | - | 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: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); - | ^~~ - | | - | 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 'init_talkd': -comm.c:356:51: warning: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] - 356 | if (getsockname(ofd, (struct sockaddr *)&osock, &len) < 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; - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -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) - | ^~~~ - | | - | 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 || | ^~ -comm.c: In function 'init_comm': 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)) == | ^~ -comm.c:583:12: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] - 583 | when = time(NULL) + 28; - | ^~~~ -comm.c:34:1: note: 'time' is defined in header ''; did you forget to '#include '? - 33 | #include "comm.h" - +++ |+#include - 34 | 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); @@ -1155,6 +1121,76 @@ rc.c:198:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 198 | fgets(b, 300, stdin); | ^~~~~~~~~~~~~~~~~~~~ +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); + | ^~~ + | | + | size_t * {aka long unsigned int *} +In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343, + from comm.c:16: +/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 'recv_msg': +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); + | ^~~ + | | + | 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: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); + | ^~~ + | | + | 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 'find_daemon': +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); + | ^~~ + | | + | 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: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); + | ^~~ + | | + | 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 'init_talkd': +comm.c:356:51: warning: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] + 356 | if (getsockname(ofd, (struct sockaddr *)&osock, &len) < 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; + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +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) + | ^~~~ + | | + | 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; + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +comm.c: In function 'init_comm': +comm.c:583:12: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] + 583 | when = time(NULL) + 28; + | ^~~~ +comm.c:34:1: note: 'time' is defined in header ''; did you forget to '#include '? + 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); @@ -1189,6 +1225,13 @@ 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); | ^ +srdp.c: In function 'make_missing': +srdp.c:144:16: warning: 'howmany' may be used uninitialized [-Wmaybe-uninitialized] + 144 | howmany++; + | ~~~~~~~^~ +srdp.c:126:60: note: 'howmany' was declared here + 126 | srdp_u8 *where = packbuf+sofar, *wlen = packbuf+sofar+4, howmany; + | ^~~~~~~ In file included from /usr/include/string.h:548, from comm.c:21: In function 'strncpy', @@ -1198,13 +1241,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -srdp.c: In function 'make_missing': -srdp.c:144:16: warning: 'howmany' may be used uninitialized [-Wmaybe-uninitialized] - 144 | howmany++; - | ~~~~~~~^~ -srdp.c:126:60: note: 'howmany' was declared here - 126 | srdp_u8 *where = packbuf+sofar, *wlen = packbuf+sofar+4, howmany; - | ^~~~~~~ comm.c: In function 'find_daemon': comm.c:237:5: warning: '__builtin_strncpy' specified bound 9 equals destination size [-Wstringop-truncation] 237 | strncpy(msg.remote_name, him, NAME_SIZE); @@ -1280,8 +1316,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) @@ -1289,12 +1325,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/1438064/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1438064/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/277669 and its subdirectories -I: Current time: Sun Jul 6 03:04:58 -12 2025 -I: pbuilder-time-stamp: 1751814298 +I: removing directory /srv/workspace/pbuilder/1438064 and its subdirectories +I: Current time: Mon Jun 3 22:42:37 +14 2024 +I: pbuilder-time-stamp: 1717404157