Diff of the two buildlogs: -- --- b1/build.log 2024-06-14 08:41:00.394273922 +0000 +++ b2/build.log 2024-06-14 08:42:09.547324153 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 13 20:37:36 -12 2024 -I: pbuilder-time-stamp: 1718354256 +I: Current time: Fri Jun 14 22:41:09 +14 2024 +I: pbuilder-time-stamp: 1718354469 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying missing-prototypes.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/30376/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/15788/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 14 08:41 /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/15788/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/15788/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='62ae45ca1dba4dc5a33616f15dd72a7a' - 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='30376' - PS1='# ' - PS2='> ' + INVOCATION_ID=447f6479e8b74885bdb7dde8edd9421a + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=15788 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.0k58Be20/pbuilderrc_PpUp --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.0k58Be20/b1 --logfile b1/build.log tinydyndns_0.4.2.debian1-3.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.0k58Be20/pbuilderrc_XkFS --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.0k58Be20/b2 --logfile b2/build.log tinydyndns_0.4.2.debian1-3.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff4a 6.1.0-21-armmp-lpae #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/30376/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/15788/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -139,7 +171,7 @@ Get: 27 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf debhelper all 13.15.3 [901 kB] -Fetched 18.4 MB in 2s (8655 kB/s) +Fetched 18.4 MB in 0s (85.9 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 ... 19460 files and directories currently installed.) @@ -270,7 +302,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/tinydyndns-0.4.2.debian1/ && 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 > ../tinydyndns_0.4.2.debian1-3_source.changes +I: user script /srv/workspace/pbuilder/15788/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/15788/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/tinydyndns-0.4.2.debian1/ && 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 > ../tinydyndns_0.4.2.debian1-3_source.changes dpkg-buildpackage: info: source package tinydyndns dpkg-buildpackage: info: source version 0.4.2.debian1-3 dpkg-buildpackage: info: source distribution unstable @@ -282,7 +318,7 @@ debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/tinydyndns-0.4.2.debian1' dh_auto_clean - make -j3 clean + make -j4 clean make[2]: Entering directory '/build/reproducible-path/tinydyndns-0.4.2.debian1' rm -f `cat TARGETS` \ tinydyndns-update tinydyndns-update.o \ @@ -312,7 +348,7 @@ echo '/usr' > conf-home # Finally, make target all dh_auto_build - make -j3 "INSTALL=install --strip-program=true" + make -j4 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/tinydyndns-0.4.2.debian1' ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ @@ -325,17 +361,141 @@ cat warn-auto.sh choose.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > choose -chmod 755 load -chmod 755 compile -chmod 755 choose ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\'; \ cat find-systype.sh; \ ) | sh > systype +chmod 755 load +chmod 755 compile +chmod 755 choose +./choose clr trypoll iopause.h1 iopause.h2 > iopause.h +./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h +( ( ./compile tryulong32.c && ./load tryulong32 && \ +./tryulong32 ) >/dev/null 2>&1 \ +&& cat uint32.h2 || cat uint32.h1 ) > uint32.h +rm -f tryulong32.o tryulong32 ./compile env.c +./compile cdb.c +./compile cdb_hash.c +./compile cdb_make.c +./compile dns_dfd.c +cdb.c: In function 'cdb_init': +cdb.c:37:11: warning: the comparison will always evaluate as 'true' for the pointer operand in 'x + 1' must not be NULL [-Waddress] + 37 | if (x + 1) { + | ^ +./compile dns_domain.c +dns_domain.c: In function 'dns_domain_length': +dns_domain.c:13:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 13 | while (c = *x++) + | ^ +./compile dns_dtda.c +./compile dns_ip.c +./compile dns_ipq.c +./compile dns_mx.c +./compile dns_name.c +./compile dns_nd.c +dns_name.c:38:40: warning: argument 2 of type 'const char[4]' with mismatched bound [-Warray-parameter=] + 38 | int dns_name4(stralloc *out,const char ip[4]) + | ~~~~~~~~~~~^~~~~ +In file included from dns_name.c:4: +dns.h:74:33: note: previously declared as 'const char *' + 74 | extern int dns_name4(stralloc *,const char *); + | ^~~~~~~~~~~~ +./compile dns_packet.c +dns_nd.c:5:28: warning: argument 1 of type 'char[31]' with mismatched bound [-Warray-parameter=] + 5 | void dns_name4_domain(char name[DNS_NAME4_DOMAIN],const char ip[4]) + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +In file included from dns_nd.c:3: +dns.h:72:30: note: previously declared as 'char *' + 72 | extern void dns_name4_domain(char *,const char *); + | ^~~~~~ +dns_nd.c:5:62: warning: argument 2 of type 'const char[4]' with mismatched bound [-Warray-parameter=] + 5 | void dns_name4_domain(char name[DNS_NAME4_DOMAIN],const char ip[4]) + | ~~~~~~~~~~~^~~~~ +dns.h:72:37: note: previously declared as 'const char *' + 72 | extern void dns_name4_domain(char *,const char *); + | ^~~~~~~~~~~~ +./compile dns_random.c +./compile dns_rcip.c +dns_packet.c: In function 'dns_packet_getname': +dns_packet.c:46:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 46 | if (pos >= len) goto PROTO; ch = buf[pos++]; + | ^~ +dns_packet.c:46:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 46 | if (pos >= len) goto PROTO; ch = buf[pos++]; + | ^~ +dns_packet.c:50:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 50 | if (namelen + 1 > sizeof name) goto PROTO; name[namelen++] = ch; + | ^~ +dns_packet.c:50:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 50 | if (namelen + 1 > sizeof name) goto PROTO; name[namelen++] = ch; + | ^~~~ +dns_packet.c:56:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 56 | if (pos >= len) goto PROTO; ch = buf[pos++]; + | ^~ +dns_packet.c:56:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 56 | if (pos >= len) goto PROTO; ch = buf[pos++]; + | ^~ +dns_packet.c:59:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 59 | if (pos >= len) goto PROTO; ch = buf[pos++]; + | ^~ +dns_packet.c:59:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 59 | if (pos >= len) goto PROTO; ch = buf[pos++]; + | ^~ +dns_packet.c:63:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 63 | if (namelen + 1 > sizeof name) goto PROTO; name[namelen++] = ch; + | ^~ +dns_packet.c:63:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 63 | if (namelen + 1 > sizeof name) goto PROTO; name[namelen++] = ch; + | ^~~~ +./compile dns_rcrw.c +dns_random.c:33:33: warning: argument 1 of type 'const char[128]' with mismatched bound [-Warray-parameter=] + 33 | void dns_random_init(const char data[128]) + | ~~~~~~~~~~~^~~~~~~~~ +In file included from dns_random.c:2: +dns.h:42:29: note: previously declared as 'const char *' + 42 | extern void dns_random_init(const char *); + | ^~~~~~~~~~~~ +dns_rcip.c:67:27: warning: argument 1 of type 'char[64]' with mismatched bound [-Warray-parameter=] + 67 | int dns_resolvconfip(char s[64]) + | ~~~~~^~~~~ +In file included from dns_rcip.c:6: +dns.h:65:29: note: previously declared as 'char *' + 65 | extern int dns_resolvconfip(char *); + | ^~~~~~ +./compile dns_resolve.c +dns_resolve.c:8:42: warning: argument 2 of type 'const char[2]' with mismatched bound [-Warray-parameter=] + 8 | int dns_resolve(const char *q,const char qtype[2]) + | ~~~~~~~~~~~^~~~~~~~ +In file included from dns_resolve.c:4: +dns.h:66:37: note: previously declared as 'const char *' + 66 | extern int dns_resolve(const char *,const char *); + | ^~~~~~~~~~~~ +./compile dns_sortip.c +./compile dns_transmit.c +./compile dns_txt.c ./compile alloc.c ./compile alloc_re.c +dns_transmit.c:196:58: warning: argument 2 of type 'const char[64]' with mismatched bound [-Warray-parameter=] + 196 | int dns_transmit_start(struct dns_transmit *d,const char servers[64],int flagrecursive,const char *q,const char qtype[2],const char localip[4]) + | ~~~~~~~~~~~^~~~~~~~~~~ +In file included from dns_transmit.c:9: +dns.h:60:53: note: previously declared as 'const char *' + 60 | extern int dns_transmit_start(struct dns_transmit *,const char *,int,const char *,const char *,const char *); + | ^~~~~~~~~~~~ +dns_transmit.c:196:113: warning: argument 5 of type 'const char[2]' with mismatched bound [-Warray-parameter=] + 196 | int dns_transmit_start(struct dns_transmit *d,const char servers[64],int flagrecursive,const char *q,const char qtype[2],const char localip[4]) + | ~~~~~~~~~~~^~~~~~~~ +dns.h:60:83: note: previously declared as 'const char *' + 60 | extern int dns_transmit_start(struct dns_transmit *,const char *,int,const char *,const char *,const char *); + | ^~~~~~~~~~~~ +dns_transmit.c:196:133: warning: argument 6 of type 'const char[4]' with mismatched bound [-Warray-parameter=] + 196 | int dns_transmit_start(struct dns_transmit *d,const char servers[64],int flagrecursive,const char *q,const char qtype[2],const char localip[4]) + | ~~~~~~~~~~~^~~~~~~~~~ +dns.h:60:96: note: previously declared as 'const char *' + 60 | extern int dns_transmit_start(struct dns_transmit *,const char *,int,const char *,const char *,const char *); + | ^~~~~~~~~~~~ ./compile getln.c ./compile getln2.c ./compile stralloc_cat.c @@ -386,10 +546,10 @@ /usr/include/arm-linux-gnueabihf/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +./compile socket_listen.c socket_bind.c:8:29: warning: argument 2 of type 'char[4]' with mismatched bound [-Warray-parameter=] 8 | int socket_bind4(int s,char ip[4],uint16 port) | ~~~~~^~~~~ -./compile socket_listen.c In file included from socket_bind.c:6: socket.h:11:29: note: previously declared as 'char *' 11 | extern int socket_bind4(int,char *,uint16); @@ -400,6 +560,7 @@ socket.h:12:35: note: previously declared as 'char *' 12 | extern int socket_bind4_reuse(int,char *,uint16); | ^~~~~~ +./compile socket_recv.c socket_conn.c:9:38: warning: argument 2 of type 'const char[4]' with mismatched bound [-Warray-parameter=] 9 | int socket_connect4(int s,const char ip[4],uint16 port) | ~~~~~~~~~~~^~~~~ @@ -420,9 +581,7 @@ socket_conn.c:29:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | read(s,&ch,1); /* sets errno */ | ^~~~~~~~~~~~~ -./compile socket_recv.c ./compile socket_send.c -./compile socket_tcp.c socket_recv.c:8:47: warning: argument 4 of type 'char[4]' with mismatched bound [-Warray-parameter=] 8 | int socket_recv4(int s,char *buf,int len,char ip[4],uint16 *port) | ~~~~~^~~~~ @@ -441,6 +600,7 @@ /usr/include/arm-linux-gnueabihf/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +./compile socket_tcp.c socket_send.c:8:59: warning: argument 4 of type 'const char[4]' with mismatched bound [-Warray-parameter=] 8 | int socket_send4(int s,const char *buf,int len,const char ip[4],uint16 port) | ~~~~~~~~~~~^~~~~ @@ -450,6 +610,7 @@ | ^~~~~~~~~~~~ ./compile socket_udp.c ./compile byte_chr.c +./compile byte_copy.c byte_chr.c: In function 'byte_chr': byte_chr.c:14:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 14 | if (!n) break; if (*t == ch) break; ++t; --n; @@ -475,8 +636,8 @@ byte_chr.c:17:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 17 | if (!n) break; if (*t == ch) break; ++t; --n; | ^~ -./compile byte_copy.c ./compile byte_cr.c +./compile byte_diff.c byte_copy.c: In function 'byte_copy': byte_copy.c:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9 | if (!n) return; *to++ = *from++; --n; @@ -502,32 +663,6 @@ byte_copy.c:12:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 12 | if (!n) return; *to++ = *from++; --n; | ^ -./compile byte_diff.c -byte_diff.c: In function 'byte_diff': -byte_diff.c:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 9 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; - | ^~ -byte_diff.c:9:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 9 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; - | ^~ -byte_diff.c:10:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 10 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; - | ^~ -byte_diff.c:10:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 10 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; - | ^~ -byte_diff.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 11 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; - | ^~ -byte_diff.c:11:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 11 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; - | ^~ -byte_diff.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 12 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; - | ^~ -byte_diff.c:12:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 12 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; - | ^~ byte_cr.c: In function 'byte_copyr': byte_cr.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 11 | if (!n) return; *--to = *--from; --n; @@ -553,8 +688,35 @@ byte_cr.c:14:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 14 | if (!n) return; *--to = *--from; --n; | ^ +byte_diff.c: In function 'byte_diff': +byte_diff.c:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 9 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; + | ^~ +byte_diff.c:9:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 9 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; + | ^~ +byte_diff.c:10:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 10 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; + | ^~ +byte_diff.c:10:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 10 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; + | ^~ +byte_diff.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 11 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; + | ^~ +byte_diff.c:11:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 11 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; + | ^~ +byte_diff.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 12 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; + | ^~ +byte_diff.c:12:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 12 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; + | ^~ ./compile byte_zero.c ./compile case_diffb.c +./compile case_diffs.c +./compile case_lowerb.c byte_zero.c: In function 'byte_zero': byte_zero.c:8:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 8 | if (!n) break; *s++ = 0; --n; @@ -580,38 +742,11 @@ byte_zero.c:11:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 11 | if (!n) break; *s++ = 0; --n; | ^ -./compile case_diffs.c -./compile case_lowerb.c ./compile fmt_ulong.c ./compile ip4_fmt.c ./compile ip4_scan.c -ip4_fmt.c:4:41: warning: argument 2 of type 'const char[4]' with mismatched bound [-Warray-parameter=] - 4 | unsigned int ip4_fmt(char *s,const char ip[4]) - | ~~~~~~~~~~~^~~~~ -In file included from ip4_fmt.c:2: -ip4.h:5:36: note: previously declared as 'const char *' - 5 | extern unsigned int ip4_fmt(char *,const char *); - | ^~~~~~~~~~~~ -ip4_fmt.c: In function 'ip4_fmt': -ip4_fmt.c:11:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 11 | if (s) *s++ = '.'; ++len; - | ^~ -ip4_fmt.c:11:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 11 | if (s) *s++ = '.'; ++len; - | ^~ -ip4_fmt.c:13:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 13 | if (s) *s++ = '.'; ++len; - | ^~ -ip4_fmt.c:13:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 13 | if (s) *s++ = '.'; ++len; - | ^~ -ip4_fmt.c:15:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 15 | if (s) *s++ = '.'; ++len; - | ^~ -ip4_fmt.c:15:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 15 | if (s) *s++ = '.'; ++len; - | ^~ ./compile scan_ulong.c +./compile str_chr.c ip4_scan.c:4:42: warning: argument 2 of type 'char[4]' with mismatched bound [-Warray-parameter=] 4 | unsigned int ip4_scan(const char *s,char ip[4]) | ~~~~~^~~~~ @@ -638,8 +773,32 @@ ip4_scan.c:16:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 16 | if (*s != '.') return 0; ++s; ++len; | ^~ -./compile str_chr.c -./compile str_diff.c +ip4_fmt.c:4:41: warning: argument 2 of type 'const char[4]' with mismatched bound [-Warray-parameter=] + 4 | unsigned int ip4_fmt(char *s,const char ip[4]) + | ~~~~~~~~~~~^~~~~ +In file included from ip4_fmt.c:2: +ip4.h:5:36: note: previously declared as 'const char *' + 5 | extern unsigned int ip4_fmt(char *,const char *); + | ^~~~~~~~~~~~ +ip4_fmt.c: In function 'ip4_fmt': +ip4_fmt.c:11:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 11 | if (s) *s++ = '.'; ++len; + | ^~ +ip4_fmt.c:11:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 11 | if (s) *s++ = '.'; ++len; + | ^~ +ip4_fmt.c:13:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 13 | if (s) *s++ = '.'; ++len; + | ^~ +ip4_fmt.c:13:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 13 | if (s) *s++ = '.'; ++len; + | ^~ +ip4_fmt.c:15:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 15 | if (s) *s++ = '.'; ++len; + | ^~ +ip4_fmt.c:15:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 15 | if (s) *s++ = '.'; ++len; + | ^~ str_chr.c: In function 'str_chr': str_chr.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 11 | if (!*t) break; if (*t == ch) break; ++t; @@ -665,8 +824,10 @@ str_chr.c:14:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 14 | if (!*t) break; if (*t == ch) break; ++t; | ^~ +./compile str_diff.c ./compile str_len.c ./compile str_rchr.c +./compile str_start.c str_len.c: In function 'str_len': str_len.c:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9 | if (!*t) return t - s; ++t; @@ -692,7 +853,6 @@ str_len.c:12:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 12 | if (!*t) return t - s; ++t; | ^~ -./compile str_start.c str_rchr.c: In function 'str_rchr': str_rchr.c:13:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 13 | if (!*t) break; if (*t == ch) u = t; ++t; @@ -719,10 +879,11 @@ 16 | if (!*t) break; if (*t == ch) u = t; ++t; | ^~ ./compile uint16_pack.c +./compile uint16_unpack.c +./compile uint32_pack.c uint16_pack.c:3:23: warning: argument 1 of type 'char[2]' with mismatched bound [-Warray-parameter=] 3 | void uint16_pack(char s[2],uint16 u) | ~~~~~^~~~ -./compile uint16_unpack.c In file included from uint16_pack.c:1: uint16.h:6:25: note: previously declared as 'char *' 6 | extern void uint16_pack(char *,uint16); @@ -733,8 +894,8 @@ uint16.h:7:29: note: previously declared as 'char *' 7 | extern void uint16_pack_big(char *,uint16); | ^~~~~~ -./choose clr trypoll iopause.h1 iopause.h2 > iopause.h -./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h +./compile uint32_unpack.c +./compile tinydyndns-data.c uint16_unpack.c:3:31: warning: argument 1 of type 'const char[2]' with mismatched bound [-Warray-parameter=] 3 | void uint16_unpack(const char s[2],uint16 *u) | ~~~~~~~~~~~^~~~ @@ -748,9 +909,33 @@ uint16.h:9:31: note: previously declared as 'const char *' 9 | extern void uint16_unpack_big(const char *,uint16 *); | ^~~~~~~~~~~~ -( ( ./compile tryulong32.c && ./load tryulong32 && \ -./tryulong32 ) >/dev/null 2>&1 \ -&& cat uint32.h2 || cat uint32.h1 ) > uint32.h +uint32_pack.c:3:23: warning: argument 1 of type 'char[4]' with mismatched bound [-Warray-parameter=] + 3 | void uint32_pack(char s[4],uint32 u) + | ~~~~~^~~~ +In file included from uint32_pack.c:1: +uint32.h:6:25: note: previously declared as 'char *' + 6 | extern void uint32_pack(char *,uint32); + | ^~~~~~ +uint32_pack.c:13:27: warning: argument 1 of type 'char[4]' with mismatched bound [-Warray-parameter=] + 13 | void uint32_pack_big(char s[4],uint32 u) + | ~~~~~^~~~ +uint32.h:7:29: note: previously declared as 'char *' + 7 | extern void uint32_pack_big(char *,uint32); + | ^~~~~~ +uint32_unpack.c:3:31: warning: argument 1 of type 'const char[4]' with mismatched bound [-Warray-parameter=] + 3 | void uint32_unpack(const char s[4],uint32 *u) + | ~~~~~~~~~~~^~~~ +In file included from uint32_unpack.c:1: +uint32.h:8:27: note: previously declared as 'const char *' + 8 | extern void uint32_unpack(const char *,uint32 *); + | ^~~~~~~~~~~~ +uint32_unpack.c:18:35: warning: argument 1 of type 'const char[4]' with mismatched bound [-Warray-parameter=] + 18 | void uint32_unpack_big(const char s[4],uint32 *u) + | ~~~~~~~~~~~^~~~ +uint32.h:9:31: note: previously declared as 'const char *' + 9 | extern void uint32_unpack_big(const char *,uint32 *); + | ^~~~~~~~~~~~ +./compile tinydyndns-update.c ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo 'rm -f "$main"'; \ @@ -769,7 +954,6 @@ chmod 755 makelib ./compile tai_add.c ./compile tai_now.c -rm -f tryulong32.o tryulong32 ./compile tai_pack.c ./compile tai_sub.c ./compile tai_uint.c @@ -784,124 +968,11 @@ ./compile taia_tai.c ./compile taia_uint.c ./makelib env.a env.o -./compile cdb.c -./compile cdb_hash.c -./compile cdb_make.c -./compile dns_dfd.c -cdb.c: In function 'cdb_init': -cdb.c:37:11: warning: the comparison will always evaluate as 'true' for the pointer operand in 'x + 1' must not be NULL [-Waddress] - 37 | if (x + 1) { - | ^ -./compile dns_domain.c -dns_domain.c: In function 'dns_domain_length': -dns_domain.c:13:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 13 | while (c = *x++) - | ^ -./compile dns_dtda.c -./compile dns_ip.c -./compile dns_ipq.c -./compile dns_mx.c -./compile dns_name.c -dns_name.c:38:40: warning: argument 2 of type 'const char[4]' with mismatched bound [-Warray-parameter=] - 38 | int dns_name4(stralloc *out,const char ip[4]) - | ~~~~~~~~~~~^~~~~ -In file included from dns_name.c:4: -dns.h:74:33: note: previously declared as 'const char *' - 74 | extern int dns_name4(stralloc *,const char *); - | ^~~~~~~~~~~~ -./compile dns_nd.c -./compile dns_packet.c -./compile dns_random.c -dns_nd.c:5:28: warning: argument 1 of type 'char[31]' with mismatched bound [-Warray-parameter=] - 5 | void dns_name4_domain(char name[DNS_NAME4_DOMAIN],const char ip[4]) - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -In file included from dns_nd.c:3: -dns.h:72:30: note: previously declared as 'char *' - 72 | extern void dns_name4_domain(char *,const char *); - | ^~~~~~ -dns_nd.c:5:62: warning: argument 2 of type 'const char[4]' with mismatched bound [-Warray-parameter=] - 5 | void dns_name4_domain(char name[DNS_NAME4_DOMAIN],const char ip[4]) - | ~~~~~~~~~~~^~~~~ -dns.h:72:37: note: previously declared as 'const char *' - 72 | extern void dns_name4_domain(char *,const char *); - | ^~~~~~~~~~~~ -dns_packet.c: In function 'dns_packet_getname': -dns_packet.c:46:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 46 | if (pos >= len) goto PROTO; ch = buf[pos++]; - | ^~ -dns_packet.c:46:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 46 | if (pos >= len) goto PROTO; ch = buf[pos++]; - | ^~ -dns_packet.c:50:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 50 | if (namelen + 1 > sizeof name) goto PROTO; name[namelen++] = ch; - | ^~ -dns_packet.c:50:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 50 | if (namelen + 1 > sizeof name) goto PROTO; name[namelen++] = ch; - | ^~~~ -dns_packet.c:56:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 56 | if (pos >= len) goto PROTO; ch = buf[pos++]; - | ^~ -dns_packet.c:56:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 56 | if (pos >= len) goto PROTO; ch = buf[pos++]; - | ^~ -dns_packet.c:59:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 59 | if (pos >= len) goto PROTO; ch = buf[pos++]; - | ^~ -dns_packet.c:59:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 59 | if (pos >= len) goto PROTO; ch = buf[pos++]; - | ^~ -dns_packet.c:63:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 63 | if (namelen + 1 > sizeof name) goto PROTO; name[namelen++] = ch; - | ^~ -dns_packet.c:63:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 63 | if (namelen + 1 > sizeof name) goto PROTO; name[namelen++] = ch; - | ^~~~ -./compile dns_rcip.c -dns_random.c:33:33: warning: argument 1 of type 'const char[128]' with mismatched bound [-Warray-parameter=] - 33 | void dns_random_init(const char data[128]) - | ~~~~~~~~~~~^~~~~~~~~ -In file included from dns_random.c:2: -dns.h:42:29: note: previously declared as 'const char *' - 42 | extern void dns_random_init(const char *); - | ^~~~~~~~~~~~ -dns_rcip.c:67:27: warning: argument 1 of type 'char[64]' with mismatched bound [-Warray-parameter=] - 67 | int dns_resolvconfip(char s[64]) - | ~~~~~^~~~~ -In file included from dns_rcip.c:6: -dns.h:65:29: note: previously declared as 'char *' - 65 | extern int dns_resolvconfip(char *); - | ^~~~~~ -./compile dns_rcrw.c -./compile dns_resolve.c -./compile dns_sortip.c -dns_resolve.c:8:42: warning: argument 2 of type 'const char[2]' with mismatched bound [-Warray-parameter=] - 8 | int dns_resolve(const char *q,const char qtype[2]) - | ~~~~~~~~~~~^~~~~~~~ -In file included from dns_resolve.c:4: -dns.h:66:37: note: previously declared as 'const char *' - 66 | extern int dns_resolve(const char *,const char *); - | ^~~~~~~~~~~~ -./compile dns_transmit.c -./compile dns_txt.c -dns_transmit.c:196:58: warning: argument 2 of type 'const char[64]' with mismatched bound [-Warray-parameter=] - 196 | int dns_transmit_start(struct dns_transmit *d,const char servers[64],int flagrecursive,const char *q,const char qtype[2],const char localip[4]) - | ~~~~~~~~~~~^~~~~~~~~~~ -In file included from dns_transmit.c:9: -dns.h:60:53: note: previously declared as 'const char *' - 60 | extern int dns_transmit_start(struct dns_transmit *,const char *,int,const char *,const char *,const char *); - | ^~~~~~~~~~~~ -dns_transmit.c:196:113: warning: argument 5 of type 'const char[2]' with mismatched bound [-Warray-parameter=] - 196 | int dns_transmit_start(struct dns_transmit *d,const char servers[64],int flagrecursive,const char *q,const char qtype[2],const char localip[4]) - | ~~~~~~~~~~~^~~~~~~~ -dns.h:60:83: note: previously declared as 'const char *' - 60 | extern int dns_transmit_start(struct dns_transmit *,const char *,int,const char *,const char *,const char *); - | ^~~~~~~~~~~~ -dns_transmit.c:196:133: warning: argument 6 of type 'const char[4]' with mismatched bound [-Warray-parameter=] - 196 | int dns_transmit_start(struct dns_transmit *d,const char servers[64],int flagrecursive,const char *q,const char qtype[2],const char localip[4]) - | ~~~~~~~~~~~^~~~~~~~~~ -dns.h:60:96: note: previously declared as 'const char *' - 60 | extern int dns_transmit_start(struct dns_transmit *,const char *,int,const char *,const char *,const char *); - | ^~~~~~~~~~~~ +./makelib cdb.a cdb.o cdb_hash.o cdb_make.o +./makelib dns.a dns_dfd.o dns_domain.o dns_dtda.o dns_ip.o \ +dns_ipq.o dns_mx.o dns_name.o dns_nd.o dns_packet.o \ +dns_random.o dns_rcip.o dns_rcrw.o dns_resolve.o \ +dns_sortip.o dns_transmit.o dns_txt.o ./makelib alloc.a alloc.o alloc_re.o getln.o getln2.o \ stralloc_cat.o stralloc_catb.o stralloc_cats.o \ stralloc_copy.o stralloc_eady.o stralloc_num.o \ @@ -914,58 +985,23 @@ open_trunc.o openreadclose.o readclose.o seek_set.o \ socket_accept.o socket_bind.o socket_conn.o socket_listen.o \ socket_recv.o socket_send.o socket_tcp.o socket_udp.o -./compile uint32_pack.c -uint32_pack.c:3:23: warning: argument 1 of type 'char[4]' with mismatched bound [-Warray-parameter=] - 3 | void uint32_pack(char s[4],uint32 u) - | ~~~~~^~~~ -In file included from uint32_pack.c:1: -uint32.h:6:25: note: previously declared as 'char *' - 6 | extern void uint32_pack(char *,uint32); - | ^~~~~~ -uint32_pack.c:13:27: warning: argument 1 of type 'char[4]' with mismatched bound [-Warray-parameter=] - 13 | void uint32_pack_big(char s[4],uint32 u) - | ~~~~~^~~~ -uint32.h:7:29: note: previously declared as 'char *' - 7 | extern void uint32_pack_big(char *,uint32); - | ^~~~~~ -./compile uint32_unpack.c -./compile tinydyndns-data.c -uint32_unpack.c:3:31: warning: argument 1 of type 'const char[4]' with mismatched bound [-Warray-parameter=] - 3 | void uint32_unpack(const char s[4],uint32 *u) - | ~~~~~~~~~~~^~~~ -In file included from uint32_unpack.c:1: -uint32.h:8:27: note: previously declared as 'const char *' - 8 | extern void uint32_unpack(const char *,uint32 *); - | ^~~~~~~~~~~~ -uint32_unpack.c:18:35: warning: argument 1 of type 'const char[4]' with mismatched bound [-Warray-parameter=] - 18 | void uint32_unpack_big(const char s[4],uint32 *u) - | ~~~~~~~~~~~^~~~ -uint32.h:9:31: note: previously declared as 'const char *' - 9 | extern void uint32_unpack_big(const char *,uint32 *); - | ^~~~~~~~~~~~ -./compile tinydyndns-update.c -./makelib libtai.a tai_add.o tai_now.o tai_pack.o \ -tai_sub.o tai_uint.o tai_unpack.o taia_add.o taia_approx.o \ -taia_frac.o taia_less.o taia_now.o taia_pack.o taia_sub.o \ -taia_tai.o taia_uint.o -./makelib cdb.a cdb.o cdb_hash.o cdb_make.o -./makelib dns.a dns_dfd.o dns_domain.o dns_dtda.o dns_ip.o \ -dns_ipq.o dns_mx.o dns_name.o dns_nd.o dns_packet.o \ -dns_random.o dns_rcip.o dns_rcrw.o dns_resolve.o \ -dns_sortip.o dns_transmit.o dns_txt.o ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o \ byte_diff.o byte_zero.o case_diffb.o case_diffs.o \ case_lowerb.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o \ str_chr.o str_diff.o str_len.o str_rchr.o str_start.o \ uint16_pack.o uint16_unpack.o uint32_pack.o uint32_unpack.o -./load tinydyndns-data strerr_sys.o strerr_die.o libtai.a env.a \ -cdb.a dns.a alloc.a buffer.a unix.a byte.a +./makelib libtai.a tai_add.o tai_now.o tai_pack.o \ +tai_sub.o tai_uint.o tai_unpack.o taia_add.o taia_approx.o \ +taia_frac.o taia_less.o taia_now.o taia_pack.o taia_sub.o \ +taia_tai.o taia_uint.o ./load tinydyndns-update strerr_sys.o strerr_die.o libtai.a env.a \ cdb.a dns.a alloc.a buffer.a unix.a byte.a +./load tinydyndns-data strerr_sys.o strerr_die.o libtai.a env.a \ +cdb.a dns.a alloc.a buffer.a unix.a byte.a make[2]: Leaving directory '/build/reproducible-path/tinydyndns-0.4.2.debian1' make[1]: Leaving directory '/build/reproducible-path/tinydyndns-0.4.2.debian1' dh_auto_test - make -j3 check + make -j4 check make[1]: Entering directory '/build/reproducible-path/tinydyndns-0.4.2.debian1' ( case "`cat systype`" in \ sunos-5.*) cat hasdevtcp.h2 ;; \ @@ -974,15 +1010,11 @@ ./compile generic-conf.c ./compile auto-str.c ./compile dnscache.c +./compile droproot.c auto-str.c: In function 'main': auto-str.c:28:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 28 | while (ch = *value++) { | ^~ -./compile droproot.c -dnscache.c: In function 'main': -dnscache.c:417:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 417 | read(0,seed,sizeof seed); - | ^~~~~~~~~~~~~~~~~~~~~~~~ ./compile okclient.c okclient.c:9:19: warning: argument 1 of type 'char[4]' with mismatched bound [-Warray-parameter=] 9 | int okclient(char ip[4]) @@ -991,8 +1023,11 @@ okclient.h:4:21: note: previously declared as 'char *' 4 | extern int okclient(char *); | ^~~~~~ +dnscache.c: In function 'main': +dnscache.c:417:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 417 | read(0,seed,sizeof seed); + | ^~~~~~~~~~~~~~~~~~~~~~~~ ./compile log.c -./compile cache.c log.c: In function 'name': log.c:79:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 79 | while (state = *q++) { @@ -1125,6 +1160,7 @@ log.h:32:75: note: previously declared as 'const char *' 32 | extern void log_rrsoa(const char *,const char *,const char *,const char *,const char *,unsigned int); | ^~~~~~~~~~~~ +./compile cache.c ./compile query.c query.c: In function 'doit': query.c:275:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] @@ -1192,16 +1228,17 @@ dd.c:4:44: warning: argument 3 of type 'char[4]' with mismatched bound [-Warray-parameter=] 4 | int dd(const char *q,const char *base,char ip[4]) | ~~~~~^~~~~ +./choose c trydrent direntry.h1 direntry.h2 > direntry.h In file included from dd.c:2: dd.h:4:41: note: previously declared as 'char *' 4 | extern int dd(const char *,const char *,char *); | ^~~~~~ -./choose c trydrent direntry.h1 direntry.h2 > direntry.h ./choose c trysysel select.h1 select.h2 > select.h ./compile chkshsgr.c ( ( ./compile trylsock.c && \ ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \ && echo -lsocket -lnsl || exit 0 ) > socket.lib +./compile walldns-conf.c chkshsgr.c: In function 'main': chkshsgr.c:10:19: warning: passing argument 2 of 'getgroups' from incompatible pointer type [-Wincompatible-pointer-types] 10 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); @@ -1223,11 +1260,11 @@ /usr/include/grp.h:180:50: note: expected 'const __gid_t *' {aka 'const unsigned int *'} but argument is of type 'short int *' 180 | extern int setgroups (size_t __n, const __gid_t *__groups) __THROW; | ~~~~~~~~~~~~~~~^~~~~~~~ -./compile walldns-conf.c -rm -f trylsock.o trylsock ./compile walldns.c +rm -f trylsock.o trylsock ./compile server.c ./compile qlog.c +./compile rbldns-conf.c qlog.c:23:22: warning: argument 1 of type 'const char[4]' with mismatched bound [-Warray-parameter=] 23 | void qlog(const char ip[4],uint16 port,const char id[2],const char *q,const char qtype[2],const char *result) | ~~~~~~~~~~~^~~~~ @@ -1247,7 +1284,6 @@ qlog.h:6:64: note: previously declared as 'const char *' 6 | extern void qlog(const char *,uint16,const char *,const char *,const char *,const char *); | ^~~~~~~~~~~~ -./compile rbldns-conf.c ./compile rbldns.c ./compile rbldns-data.c ./compile pickdns-conf.c @@ -1332,6 +1368,7 @@ 7 | extern unsigned int printrecord(stralloc *,const char *,unsigned int,unsigned int,const char *,const char *); | ^~~~~~~~~~~~ ./compile parsetype.c +./compile tinydns-edit.c parsetype.c:8:28: warning: argument 2 of type 'char[2]' with mismatched bound [-Warray-parameter=] 8 | int parsetype(char *s,char type[2]) | ~~~~~^~~~~~~ @@ -1339,7 +1376,6 @@ parsetype.h:4:29: note: previously declared as 'char *' 4 | extern int parsetype(char *,char *); | ^~~~~~ -./compile tinydns-edit.c ./compile axfr-get.c axfr-get.c: In function 'doit': axfr-get.c:232:34: warning: pointer targets in passing argument 2 of 'stralloc_catb' differ in signedness [-Wpointer-sign] @@ -1391,6 +1427,9 @@ ./compile dnsqr.c ./compile dnsq.c ./compile dnstrace.c +cat warn-auto.sh dnstracesort.sh \ +| sed s}HOME}"`head -1 conf-home`"}g \ +> dnstracesort dnstrace.c: In function 'parsepacket': dnstrace.c:288:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 288 | if (byte_equal(header + 2,2,DNS_C_IN)) @@ -1401,16 +1440,18 @@ dnstrace.c:256:16: warning: variable 'posauthority' set but not used [-Wunused-but-set-variable] 256 | unsigned int posauthority; | ^~~~~~~~~~~~ -cat warn-auto.sh dnstracesort.sh \ -| sed s}HOME}"`head -1 conf-home`"}g \ -> dnstracesort -chmod 755 dnstracesort ./compile cachetest.c +chmod 755 dnstracesort ./compile utime.c cachetest.c: In function 'main': cachetest.c:18:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 18 | while (x = *argv++) { | ^ +cat warn-auto.sh rts.sh \ +| sed s}HOME}"`head -1 conf-home`"}g \ +> rts +./compile install.c +chmod 755 rts utime.c: In function 'main': utime.c:23:16: warning: passing argument 2 of 'utime' from incompatible pointer type [-Wincompatible-pointer-types] 23 | if (utime(fn,ut) == -1) _exit(111); @@ -1423,12 +1464,8 @@ /usr/include/utime.h:56:12: note: expected 'const struct utimbuf *' but argument is of type 'time_t *' {aka 'long long int *'} 56 | extern int __REDIRECT_NTH (utime, (const char *__file, | ^~~~~~~~~~~~~~ -cat warn-auto.sh rts.sh \ -| sed s}HOME}"`head -1 conf-home`"}g \ -> rts -chmod 755 rts -./compile install.c ./compile hier.c +./compile instcheck.c hier.c: In function 'hier': hier.c:11:5: warning: passing argument 1 of 'h' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11 | h(auto_home,-1,-1,02755); @@ -1616,11 +1653,11 @@ hier.c:5:14: note: expected 'char *' but argument is of type 'const char *' 5 | void c(char *home, char *subdir, char *file, int uid, int gid, int mode); | ~~~~~~^~~~ -./compile instcheck.c ./compile dnscache-conf.c ./load auto-str buffer.a unix.a byte.a ./compile roots.c ./compile iopause.c +./load chkshsgr roots.c:43:16: warning: argument 1 of type 'char[64]' with mismatched bound [-Warray-parameter=] 43 | int roots(char servers[64],char *q) | ~~~~~^~~~~~~~~~~ @@ -1628,7 +1665,6 @@ roots.h:4:18: note: previously declared as 'char *' 4 | extern int roots(char *,char *); | ^~~~~~ -./load chkshsgr ./load rbldns-data cdb.a alloc.a buffer.a unix.a byte.a ./load pickdns-data cdb.a dns.a alloc.a buffer.a unix.a \ byte.a @@ -1777,8 +1813,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'tinydyndns-dbgsym' in '../tinydyndns-dbgsym_0.4.2.debian1-3_armhf.deb'. dpkg-deb: building package 'tinydyndns' in '../tinydyndns_0.4.2.debian1-3_armhf.deb'. +dpkg-deb: building package 'tinydyndns-dbgsym' in '../tinydyndns-dbgsym_0.4.2.debian1-3_armhf.deb'. dpkg-genbuildinfo --build=binary -O../tinydyndns_0.4.2.debian1-3_armhf.buildinfo dpkg-genchanges --build=binary -O../tinydyndns_0.4.2.debian1-3_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1786,12 +1822,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/15788/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/15788/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/30376 and its subdirectories -I: Current time: Thu Jun 13 20:40:55 -12 2024 -I: pbuilder-time-stamp: 1718354455 +I: removing directory /srv/workspace/pbuilder/15788 and its subdirectories +I: Current time: Fri Jun 14 22:42:05 +14 2024 +I: pbuilder-time-stamp: 1718354525