Diff of the two buildlogs: -- --- b1/build.log 2024-11-05 11:25:40.403057756 +0000 +++ b2/build.log 2024-11-05 11:27:11.075822090 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Nov 4 23:24:19 -12 2024 -I: pbuilder-time-stamp: 1730805859 +I: Current time: Tue Dec 9 07:48:43 +14 2025 +I: pbuilder-time-stamp: 1765216123 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 fix-ssl3.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3397549/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2209017/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-arm64. +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 Dec 8 17:48 /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/2209017/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2209017/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='arm64' - 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]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='87fa94909262472a9c8fb358b43c18ad' - 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='3397549' - PS1='# ' - PS2='> ' + INVOCATION_ID=4c802908e66a494cba3af8d8f7b2a80d + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=2209017 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.iTvw4PYB/pbuilderrc_uOBr --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.iTvw4PYB/b1 --logfile b1/build.log foxeye_0.12.1-5.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' - http_proxy='http://192.168.101.4: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.iTvw4PYB/pbuilderrc_w9Bw --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.iTvw4PYB/b2 --logfile b2/build.log foxeye_0.12.1-5.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' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3397549/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2209017/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -177,7 +209,7 @@ Get: 49 http://deb.debian.org/debian unstable/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1+b1 [917 kB] Get: 50 http://deb.debian.org/debian unstable/main arm64 tcl8.6-dev arm64 8.6.15+dfsg-2 [1009 kB] Get: 51 http://deb.debian.org/debian unstable/main arm64 tcl-dev arm64 8.6.14 [6572 B] -Fetched 27.4 MB in 0s (116 MB/s) +Fetched 27.4 MB in 0s (147 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package tzdata. (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 ... 20087 files and directories currently installed.) @@ -351,8 +383,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Nov 5 11:24:49 UTC 2024. -Universal Time is now: Tue Nov 5 11:24:49 UTC 2024. +Local time is now: Mon Dec 8 17:49:08 UTC 2025. +Universal Time is now: Mon Dec 8 17:49:08 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -406,7 +438,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/foxeye-0.12.1/ && 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 > ../foxeye_0.12.1-5_source.changes +I: user script /srv/workspace/pbuilder/2209017/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2209017/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/foxeye-0.12.1/ && 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 > ../foxeye_0.12.1-5_source.changes dpkg-buildpackage: info: source package foxeye dpkg-buildpackage: info: source version 0.12.1-5 dpkg-buildpackage: info: source distribution unstable @@ -616,7 +652,7 @@ checking for ranlib... ranlib checking whether ln -s works... yes checking for basename... /usr/bin/basename -checking for bash... /bin/bash +checking for bash... /bin/sh checking for gxgettext... no checking for xgettext... /usr/bin/xgettext checking for gcc... gcc @@ -1173,7 +1209,6 @@ gcc -c -pthread -O2 -g -pipe -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/foxeye-0.12.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DHAVE_CONFIG_H -DSCRIPTSDIR=\"/usr/share/foxeye\" -D_STATIC_INIT=modinit_ircd -I../../tree -I../../core -I../../ui -I/usr/include/tcl8.6 -I/usr/include/lua5.3 -fPIC -fno-strict-aliasing -Wextra -fshort-enums -Wno-unused-parameter -Wno-pointer-sign -Wno-long-long -Wno-trigraphs -Wdate-time -D_FORTIFY_SOURCE=2 -o ircd.o ircd.c gcc -c -pthread -O2 -g -pipe -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/foxeye-0.12.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DHAVE_CONFIG_H -DSCRIPTSDIR=\"/usr/share/foxeye\" -D_STATIC_INIT=modinit_ircd -I../../tree -I../../core -I../../ui -I/usr/include/tcl8.6 -I/usr/include/lua5.3 -fPIC -fno-strict-aliasing -Wextra -fshort-enums -Wno-unused-parameter -Wno-pointer-sign -Wno-long-long -Wno-trigraphs -Wdate-time -D_FORTIFY_SOURCE=2 -o management.o management.c gcc -c -pthread -O2 -g -pipe -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/foxeye-0.12.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DHAVE_CONFIG_H -DSCRIPTSDIR=\"/usr/share/foxeye\" -D_STATIC_INIT=modinit_ircd -I../../tree -I../../core -I../../ui -I/usr/include/tcl8.6 -I/usr/include/lua5.3 -fPIC -fno-strict-aliasing -Wextra -fshort-enums -Wno-unused-parameter -Wno-pointer-sign -Wno-long-long -Wno-trigraphs -Wdate-time -D_FORTIFY_SOURCE=2 -o messages.o messages.c -gcc -c -pthread -O2 -g -pipe -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/foxeye-0.12.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DHAVE_CONFIG_H -DSCRIPTSDIR=\"/usr/share/foxeye\" -D_STATIC_INIT=modinit_ircd -I../../tree -I../../core -I../../ui -I/usr/include/tcl8.6 -I/usr/include/lua5.3 -fPIC -fno-strict-aliasing -Wextra -fshort-enums -Wno-unused-parameter -Wno-pointer-sign -Wno-long-long -Wno-trigraphs -Wdate-time -D_FORTIFY_SOURCE=2 -o queries.o queries.c channels.c: In function 'ircd_channels_flush': channels.c:2869:24: warning: cast between incompatible function types from 'Function' {aka 'int (*)()'} to 'char (*)(char)' [-Wcast-function-type] 2869 | if ((ch = (f = (_wch_func_t)b->func) (Ircd_modechar_list[i]))) @@ -1182,6 +1217,36 @@ channels.c:3008:29: warning: cast between incompatible function types from 'Function' {aka 'int (*)()'} to 'void (*)()' [-Wcast-function-type] 3008 | if (!b->name && (ff = (void(*)())b->func)) /* do internal only */ | ^ +gcc -c -pthread -O2 -g -pipe -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/foxeye-0.12.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DHAVE_CONFIG_H -DSCRIPTSDIR=\"/usr/share/foxeye\" -D_STATIC_INIT=modinit_ircd -I../../tree -I../../core -I../../ui -I/usr/include/tcl8.6 -I/usr/include/lua5.3 -fPIC -fno-strict-aliasing -Wextra -fshort-enums -Wno-unused-parameter -Wno-pointer-sign -Wno-long-long -Wno-trigraphs -Wdate-time -D_FORTIFY_SOURCE=2 -o queries.o queries.c +clients.c: In function 'ircd_help_cb': +clients.c:990:40: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size 127 [-Wformat-truncation=] + 990 | snprintf(prefix, sizeof(prefix), ":%s 705 %s index :", me->lcnick, peer->dname); + | ^~ +In file included from /usr/include/stdio.h:970, + from ../../core/foxeye.h:61, + from clients.c:21: +In function 'snprintf', + inlined from 'ircd_help_cb' at clients.c:990:5: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 527) into a destination of size 128 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +clients.c: In function 'ircd_help_cb': +clients.c:977:40: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size 127 [-Wformat-truncation=] + 977 | snprintf(prefix, sizeof(prefix), ":%s 705 %s %s :", me->lcnick, peer->dname, + | ^~ +In function 'snprintf', + inlined from 'ircd_help_cb' at clients.c:977:5: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 522) into a destination of size 128 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ channels.c: In function 'ircd_channel_proto_end': channels.c:3289:35: warning: cast between incompatible function types from 'char (*)(char)' to 'int (*)()' [-Wcast-function-type] 3289 | Delete_Binding ("ircd-whochar", (Function)&iwc_ircd, NULL); @@ -1191,6 +1256,38 @@ 3341 | Add_Binding ("ircd-whochar", "*", 0, 0, (Function)&iwc_ircd, NULL); | ^ gcc -c -pthread -O2 -g -pipe -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/foxeye-0.12.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DHAVE_CONFIG_H -DSCRIPTSDIR=\"/usr/share/foxeye\" -D_STATIC_INIT=modinit_ircd -I../../tree -I../../core -I../../ui -I/usr/include/tcl8.6 -I/usr/include/lua5.3 -fPIC -fno-strict-aliasing -Wextra -fshort-enums -Wno-unused-parameter -Wno-pointer-sign -Wno-long-long -Wno-trigraphs -Wdate-time -D_FORTIFY_SOURCE=2 -o servers.o servers.c +clients.c: In function '_ircd_who_reply': +clients.c:598:45: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size between 434 and 1019 [-Wformat-truncation=] + 598 | snprintf (buf, sizeof(buf), "* %s %s %s %s %c%s :%d %s", tgt->user, + | ^~ +clients.c:598:33: note: directive argument in the range [-1, 65534] + 598 | snprintf (buf, sizeof(buf), "* %s %s %s %s %c%s :%d %s", tgt->user, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'snprintf', + inlined from '_ircd_who_reply' at clients.c:598:5: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 12 and 1914 bytes into a destination of size 1024 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +clients.c: In function '_ircd_who_reply': +clients.c:591:43: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size between 148 and 1021 [-Wformat-truncation=] + 591 | snprintf (buf, sizeof(buf), "%s %s %s %s %s %c%s%s :%d %s", m->chan->name, + | ^~ +clients.c:591:33: note: directive argument in the range [-1, 65534] + 591 | snprintf (buf, sizeof(buf), "%s %s %s %s %s %c%s%s :%d %s", m->chan->name, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'snprintf', + inlined from '_ircd_who_reply' at clients.c:591:5: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 2713) into a destination of size 1024 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ messages.c: In function 'ircd_privmsg_cb': messages.c:547:3: warning: macro expands to multiple statements [-Wmultistatement-macros] 547 | if (s < max_targets) \ @@ -1240,6 +1337,10 @@ 897 | } else | ^~~~ messages.c: In function 'ircd_notice_sb': +queries.c: In function '_ircd_do_whois': +queries.c:1083:11: warning: cast between incompatible function types from 'Function' {aka 'int (*)()'} to 'void (*)()' [-Wcast-function-type] + 1083 | f = (void(*)())b->func; + | ^ messages.c:547:3: warning: macro expands to multiple statements [-Wmultistatement-macros] 547 | if (s < max_targets) \ | ^~ @@ -1250,6 +1351,7 @@ 1007 | } else | ^~~~ messages.c: In function 'ircd_iprivmsg': +ircd.c: In function '_ircd_module_signal': messages.c:547:3: warning: macro expands to multiple statements [-Wmultistatement-macros] 547 | if (s < max_targets) \ | ^~ @@ -1259,35 +1361,9 @@ messages.c:1153:9: note: some parts of macro expansion are not guarded by this 'else' clause 1153 | } else | ^~~~ -clients.c: In function 'ircd_help_cb': -clients.c:990:40: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size 127 [-Wformat-truncation=] - 990 | snprintf(prefix, sizeof(prefix), ":%s 705 %s index :", me->lcnick, peer->dname); - | ^~ -In file included from /usr/include/stdio.h:970, - from ../../core/foxeye.h:61, - from clients.c:21: -In function 'snprintf', - inlined from 'ircd_help_cb' at clients.c:990:5: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 527) into a destination of size 128 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -clients.c: In function 'ircd_help_cb': -clients.c:977:40: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size 127 [-Wformat-truncation=] - 977 | snprintf(prefix, sizeof(prefix), ":%s 705 %s %s :", me->lcnick, peer->dname, - | ^~ -In function 'snprintf', - inlined from 'ircd_help_cb' at clients.c:977:5: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 522) into a destination of size 128 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ +ircd.c:5694:37: warning: cast between incompatible function types from 'void (*)(int)' to 'int (*)()' [-Wcast-function-type] + 5694 | Delete_Binding ("time-shift", (Function)&ts_ircd, NULL); + | ^ messages.c: In function 'ircd_inotice': messages.c:547:3: warning: macro expands to multiple statements [-Wmultistatement-macros] 547 | if (s < max_targets) \ @@ -1295,13 +1371,9 @@ messages.c:1257:9: note: in expansion of macro 'ADD_TO_LIST' 1257 | ADD_TO_LIST(tcl->lcnick); | ^~~~~~~~~~~ -messages.c:1256:9: note: some parts of macro expansion are not guarded by this 'else' clause - 1256 | } else - | ^~~~ -queries.c: In function '_ircd_do_whois': -queries.c:1083:11: warning: cast between incompatible function types from 'Function' {aka 'int (*)()'} to 'void (*)()' [-Wcast-function-type] - 1083 | f = (void(*)())b->func; - | ^ +ircd.c:5702:43: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] + 5702 | Delete_Binding ("ircd-stats-reply", (Function)&_istats_l, NULL); + | ^ queries.c: In function 'ircd_queries_proto_end': queries.c:1752:40: warning: cast between incompatible function types from 'void (*)(INTERFACE *, struct peer_t *, modeflag)' {aka 'void (*)(struct _if_t *, struct peer_t *, modeflag)'} to 'int (*)()' [-Wcast-function-type] 1752 | Delete_Binding ("ircd-local-client", (Function)&_igotc_lu_mo, NULL); @@ -1312,15 +1384,24 @@ queries.c:1754:39: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] 1754 | Delete_Binding ("ircd-stats-reply", (Function)&_istats_o, NULL); | ^ +ircd.c:5703:43: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] + 5703 | Delete_Binding ("ircd-stats-reply", (Function)&_istats_m, NULL); + | ^ queries.c:1755:39: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] 1755 | Delete_Binding ("ircd-stats-reply", (Function)&_istats_u, NULL); | ^ queries.c:1756:39: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] 1756 | Delete_Binding ("ircd-stats-reply", (Function)&_istats_c, NULL); | ^ +messages.c:1256:9: note: some parts of macro expansion are not guarded by this 'else' clause + 1256 | } else + | ^~~~ queries.c:1757:39: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] 1757 | Delete_Binding ("ircd-stats-reply", (Function)&_istats_h, NULL); | ^ +ircd.c:5704:36: warning: cast between incompatible function types from 'void (*)(char *, char *)' to 'int (*)()' [-Wcast-function-type] + 5704 | Delete_Binding ("new-lname", (Function)&_ircd_class_rename, NULL); + | ^ queries.c: In function 'ircd_queries_proto_start': queries.c:1816:48: warning: cast between incompatible function types from 'void (*)(INTERFACE *, struct peer_t *, modeflag)' {aka 'void (*)(struct _if_t *, struct peer_t *, modeflag)'} to 'int (*)()' [-Wcast-function-type] 1816 | Add_Binding ("ircd-local-client", "*", 0, 0, (Function)&_igotc_lu_mo, NULL); @@ -1331,64 +1412,19 @@ queries.c:1818:47: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] 1818 | Add_Binding ("ircd-stats-reply", "o", 0, 0, (Function)&_istats_o, NULL); | ^ +ircd.c: In function 'ModuleInit': queries.c:1819:47: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] 1819 | Add_Binding ("ircd-stats-reply", "u", 0, 0, (Function)&_istats_u, NULL); | ^ queries.c:1820:47: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] 1820 | Add_Binding ("ircd-stats-reply", "c", 0, 0, (Function)&_istats_c, NULL); | ^ -queries.c:1821:47: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] - 1821 | Add_Binding ("ircd-stats-reply", "h", 0, 0, (Function)&_istats_h, NULL); - | ^ -clients.c: In function '_ircd_who_reply': -clients.c:598:45: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size between 434 and 1019 [-Wformat-truncation=] - 598 | snprintf (buf, sizeof(buf), "* %s %s %s %s %c%s :%d %s", tgt->user, - | ^~ -clients.c:598:33: note: directive argument in the range [-1, 65534] - 598 | snprintf (buf, sizeof(buf), "* %s %s %s %s %c%s :%d %s", tgt->user, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'snprintf', - inlined from '_ircd_who_reply' at clients.c:598:5: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 12 and 1914 bytes into a destination of size 1024 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -clients.c: In function '_ircd_who_reply': -clients.c:591:43: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size between 148 and 1021 [-Wformat-truncation=] - 591 | snprintf (buf, sizeof(buf), "%s %s %s %s %s %c%s%s :%d %s", m->chan->name, - | ^~ -clients.c:591:33: note: directive argument in the range [-1, 65534] - 591 | snprintf (buf, sizeof(buf), "%s %s %s %s %s %c%s%s :%d %s", m->chan->name, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'snprintf', - inlined from '_ircd_who_reply' at clients.c:591:5: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 2713) into a destination of size 1024 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -ircd.c: In function '_ircd_module_signal': -ircd.c:5694:37: warning: cast between incompatible function types from 'void (*)(int)' to 'int (*)()' [-Wcast-function-type] - 5694 | Delete_Binding ("time-shift", (Function)&ts_ircd, NULL); - | ^ -ircd.c:5702:43: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] - 5702 | Delete_Binding ("ircd-stats-reply", (Function)&_istats_l, NULL); - | ^ -ircd.c:5703:43: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] - 5703 | Delete_Binding ("ircd-stats-reply", (Function)&_istats_m, NULL); - | ^ -ircd.c:5704:36: warning: cast between incompatible function types from 'void (*)(char *, char *)' to 'int (*)()' [-Wcast-function-type] - 5704 | Delete_Binding ("new-lname", (Function)&_ircd_class_rename, NULL); - | ^ -ircd.c: In function 'ModuleInit': ircd.c:5842:41: warning: cast between incompatible function types from 'void (*)(int)' to 'int (*)()' [-Wcast-function-type] 5842 | Add_Binding ("time-shift", "*", 0, 0, (Function)&ts_ircd, NULL); | ^ +queries.c:1821:47: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] + 1821 | Add_Binding ("ircd-stats-reply", "h", 0, 0, (Function)&_istats_h, NULL); + | ^ ircd.c:5850:47: warning: cast between incompatible function types from 'void (*)(INTERFACE *, const char *, modeflag)' {aka 'void (*)(struct _if_t *, const char *, modeflag)'} to 'int (*)()' [-Wcast-function-type] 5850 | Add_Binding ("ircd-stats-reply", "l", 0, 0, (Function)&_istats_l, NULL); | ^ @@ -1405,10 +1441,6 @@ ircd.c:1632:5: note: here 1632 | case P_LASTWAIT: | ^~~~ -ircd.c: In function '_ircd_client_signal': -ircd.c:1448:11: warning: this statement may fall through [-Wimplicit-fallthrough=] - 1448 | Set_Iface(cli); - | ^~~~~~~~~~~~~~ clients.c: In function 'ircd_servlist_cb': clients.c:564:42: warning: '%s' directive output may be truncated writing up to 1920 bytes into a region of size between 509 and 1022 [-Wformat-truncation=] 564 | snprintf (buf, sizeof(buf), "%s %s %s %d :%s", @@ -1425,6 +1457,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +ircd.c: In function '_ircd_client_signal': +ircd.c:1448:11: warning: this statement may fall through [-Wimplicit-fallthrough=] + 1448 | Set_Iface(cli); + | ^~~~~~~~~~~~~~ ircd.c:1449:9: note: here 1449 | case P_LOGIN: /* isn't registered yet */ | ^~~~ @@ -1698,6 +1734,50 @@ gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DMODULESDIR=\"/usr/lib/aarch64-linux-gnu/foxeye/modules\" -DHELPDIR=\"/usr/lib/aarch64-linux-gnu/foxeye/help\" -I. -I.. -I../tree -I/usr/include/tcl8.6 -I/usr/include/lua5.3 -fPIC -fno-strict-aliasing -Wextra -fshort-enums -Wno-unused-parameter -Wno-pointer-sign -Wno-long-long -Wno-trigraphs -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -O2 -g -pipe -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/foxeye-0.12.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o list.o list.c gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DMODULESDIR=\"/usr/lib/aarch64-linux-gnu/foxeye/modules\" -DHELPDIR=\"/usr/lib/aarch64-linux-gnu/foxeye/help\" -I. -I.. -I../tree -I/usr/include/tcl8.6 -I/usr/include/lua5.3 -fPIC -fno-strict-aliasing -Wextra -fshort-enums -Wno-unused-parameter -Wno-pointer-sign -Wno-long-long -Wno-trigraphs -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -O2 -g -pipe -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/foxeye-0.12.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o wtmp.o wtmp.c gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DMODULESDIR=\"/usr/lib/aarch64-linux-gnu/foxeye/modules\" -DHELPDIR=\"/usr/lib/aarch64-linux-gnu/foxeye/help\" -I. -I.. -I../tree -I/usr/include/tcl8.6 -I/usr/include/lua5.3 -fPIC -fno-strict-aliasing -Wextra -fshort-enums -Wno-unused-parameter -Wno-pointer-sign -Wno-long-long -Wno-trigraphs -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -O2 -g -pipe -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/foxeye-0.12.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o conversion.o conversion.c +init.c: In function '_add_fl': +init.c:1201:12: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] + 1201 | return data->f.ld; + | ^~~~ +init.c:1209:10: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] + 1209 | return data->f.ld; + | ^~~~ +dispatcher.c: In function 'dispatcher': +dispatcher.c:1583:11: warning: this statement may fall through [-Wimplicit-fallthrough=] + 1583 | execv(argv[0], argv); + | ^~~~~~~~~~~~~~~~~~~~ +dispatcher.c:1585:9: note: here + 1585 | case SIGTERM: + | ^~~~ +help.c: In function 'Add_Help_L': +help.c:248:11: warning: this statement may fall through [-Wimplicit-fallthrough=] + 248 | s = 0; + | ~~^~~ +help.c:249:7: note: here + 249 | case ' ': + | ^~~~ +init.c: In function 'Add_Bindtable': +init.c:143:3: warning: 'nonnull' argument 'name' compared to NULL [-Wnonnull-compare] + 143 | dprint (2, "binds: added bindtable with name \"%s\"", NONULL(name)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +init.c: In function 'Add_Binding': +init.c:250:3: warning: 'nonnull' argument 'table' compared to NULL [-Wnonnull-compare] + 250 | dprint (2, "binds: added binding to bindtable \"%s\" with mask \"%s\"%s%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 251 | NONULL(table), NONULL(mask), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 252 | name ? " for interpreter function " : "", NONULL(name)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +init.c:178:7: warning: 'nonnull' argument 'table' compared to NULL [-Wnonnull-compare] + 178 | dprint (2, "binds: added last resort binding to bindtable \"%s\"%s%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 179 | NONULL(table), name ? " for interpreter function " : "", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 180 | NONULL(name)); + | ~~~~~~~~~~~~~ +init.c: In function 'Bindtable_Name': +init.c:593:6: warning: 'nonnull' argument 'bt' compared to NULL [-Wnonnull-compare] + 593 | if (bt == NULL) + | ^ lib.c: In function 'match_it_mb': lib.c:451:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 451 | p++; /* skip one escaped char */ @@ -1732,6 +1812,10 @@ lib.c:712:5: note: here 712 | default: | ^~~~~~~ +direct.c: In function 'session_handler_main': +direct.c:1278:10: warning: cast between incompatible function types from 'Function' {aka 'int (*)()'} to 'void (*)()' [-Wcast-function-type] + 1278 | ff = (void(*)())bind->func; + | ^ lib.c: In function '_try_printl': lib.c:1085:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 1085 | p->i++; @@ -1739,60 +1823,42 @@ lib.c:1086:9: note: here 1086 | default: | ^~~~~~~ -help.c: In function 'Add_Help_L': -help.c:248:11: warning: this statement may fall through [-Wimplicit-fallthrough=] - 248 | s = 0; - | ~~^~~ -help.c:249:7: note: here - 249 | case ' ': - | ^~~~ +socket.c: In function 'SocketError': +socket.c:878:5: warning: ignoring return value of 'strerror_r' declared with attribute 'warn_unused_result' [-Wunused-result] + 878 | strerror_r (E_ERRNO - er, buf, s); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +direct.c: In function 'IFInit_DCC': +direct.c:3157:39: warning: cast between incompatible function types from 'void (*)(const char *, char **)' to 'int (*)()' [-Wcast-function-type] + 3157 | Add_Binding ("passwd", "$$*", 0, 0, (Function)&IntCrypt, NULL); + | ^ +direct.c:3159:48: warning: cast between incompatible function types from 'void (*)(char *, char *, const char *, peer_t *, char *, char **)' to 'int (*)()' [-Wcast-function-type] + 3159 | Add_Binding ("login", "*", U_ACCESS, U_NONE, (Function)&get_chat, NULL); + | ^ +direct.c:3162:41: warning: cast between incompatible function types from 'void (*)(peer_t *, char *, long unsigned int)' to 'int (*)()' [-Wcast-function-type] + 3162 | Add_Binding ("out-filter", "*", 0, 0, (Function)&ConvertColors, NULL); + | ^ list.c: In function '_load_listfile': -direct.c: In function 'session_handler_main': list.c:2071:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 2071 | if (strchr ("#+\\", buff[1])) | ^ list.c:2073:7: note: here 2073 | default: /* new user record */ | ^~~~~~~ -direct.c:1278:10: warning: cast between incompatible function types from 'Function' {aka 'int (*)()'} to 'void (*)()' [-Wcast-function-type] - 1278 | ff = (void(*)())bind->func; +direct.c: In function 'dcc_signal': +direct.c:671:10: warning: this statement may fall through [-Wimplicit-fallthrough=] + 671 | if (dcc->state != P_LASTWAIT) /* has socket died? */ | ^ +direct.c:677:5: note: here + 677 | case S_TERMINATE: + | ^~~~ list.c: In function 'userfile_signal': +gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DMODULESDIR=\"/usr/lib/aarch64-linux-gnu/foxeye/modules\" -DHELPDIR=\"/usr/lib/aarch64-linux-gnu/foxeye/help\" -I. -I.. -I../tree -I/usr/include/tcl8.6 -I/usr/include/lua5.3 -fPIC -fno-strict-aliasing -Wextra -fshort-enums -Wno-unused-parameter -Wno-pointer-sign -Wno-long-long -Wno-trigraphs -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -O2 -g -pipe -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/foxeye-0.12.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o connchain.o connchain.c list.c:2520:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 2520 | iface->ift |= I_DIED; | ~~~~~~~~~~~^~~~~~~~~ list.c:2521:5: note: here 2521 | default: | ^~~~~~~ -socket.c: In function 'SocketError': -socket.c:878:5: warning: ignoring return value of 'strerror_r' declared with attribute 'warn_unused_result' [-Wunused-result] - 878 | strerror_r (E_ERRNO - er, buf, s); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -init.c: In function '_add_fl': -dispatcher.c: In function 'dispatcher': -init.c:1201:12: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] - 1201 | return data->f.ld; - | ^~~~ -gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DMODULESDIR=\"/usr/lib/aarch64-linux-gnu/foxeye/modules\" -DHELPDIR=\"/usr/lib/aarch64-linux-gnu/foxeye/help\" -I. -I.. -I../tree -I/usr/include/tcl8.6 -I/usr/include/lua5.3 -fPIC -fno-strict-aliasing -Wextra -fshort-enums -Wno-unused-parameter -Wno-pointer-sign -Wno-long-long -Wno-trigraphs -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -O2 -g -pipe -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/foxeye-0.12.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o connchain.o connchain.c -init.c:1209:10: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] - 1209 | return data->f.ld; - | ^~~~ -dispatcher.c:1583:11: warning: this statement may fall through [-Wimplicit-fallthrough=] - 1583 | execv(argv[0], argv); - | ^~~~~~~~~~~~~~~~~~~~ -dispatcher.c:1585:9: note: here - 1585 | case SIGTERM: - | ^~~~ -direct.c: In function 'IFInit_DCC': -direct.c:3157:39: warning: cast between incompatible function types from 'void (*)(const char *, char **)' to 'int (*)()' [-Wcast-function-type] - 3157 | Add_Binding ("passwd", "$$*", 0, 0, (Function)&IntCrypt, NULL); - | ^ -direct.c:3159:48: warning: cast between incompatible function types from 'void (*)(char *, char *, const char *, peer_t *, char *, char **)' to 'int (*)()' [-Wcast-function-type] - 3159 | Add_Binding ("login", "*", U_ACCESS, U_NONE, (Function)&get_chat, NULL); - | ^ -direct.c:3162:41: warning: cast between incompatible function types from 'void (*)(peer_t *, char *, long unsigned int)' to 'int (*)()' [-Wcast-function-type] - 3162 | Add_Binding ("out-filter", "*", 0, 0, (Function)&ConvertColors, NULL); - | ^ wtmp.c: In function 'FindEvents': wtmp.c:257:39: warning: '%d' directive output may be truncated writing between 1 and 2 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 257 | snprintf (path, sizeof(path), "%s.%d", wp, ++i); @@ -1827,37 +1893,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -init.c: In function 'Add_Bindtable': -init.c:143:3: warning: 'nonnull' argument 'name' compared to NULL [-Wnonnull-compare] - 143 | dprint (2, "binds: added bindtable with name \"%s\"", NONULL(name)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -init.c: In function 'Add_Binding': -init.c:250:3: warning: 'nonnull' argument 'table' compared to NULL [-Wnonnull-compare] - 250 | dprint (2, "binds: added binding to bindtable \"%s\" with mask \"%s\"%s%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 251 | NONULL(table), NONULL(mask), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 252 | name ? " for interpreter function " : "", NONULL(name)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -init.c:178:7: warning: 'nonnull' argument 'table' compared to NULL [-Wnonnull-compare] - 178 | dprint (2, "binds: added last resort binding to bindtable \"%s\"%s%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 179 | NONULL(table), name ? " for interpreter function " : "", - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 180 | NONULL(name)); - | ~~~~~~~~~~~~~ -init.c: In function 'Bindtable_Name': -init.c:593:6: warning: 'nonnull' argument 'bt' compared to NULL [-Wnonnull-compare] - 593 | if (bt == NULL) - | ^ -direct.c: In function 'dcc_signal': -direct.c:671:10: warning: this statement may fall through [-Wimplicit-fallthrough=] - 671 | if (dcc->state != P_LASTWAIT) /* has socket died? */ - | ^ -direct.c:677:5: note: here - 677 | case S_TERMINATE: - | ^~~~ wtmp.c: In function 'RotateWtmp': +list.c: In function '_check_listfile.constprop': wtmp.c:390:35: warning: '.gone' directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 390 | snprintf (path2, sizeof(path2), "%s." WTMP_GONE_EXT, wfp); | ^~~~~ @@ -1947,6 +1984,9 @@ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ wtmp.c: In function 'RotateWtmp': +list.c:1786:7: warning: 'strncmp' of strings of length 0 and 11 and bound of 11 evaluates to nonzero [-Wstring-compare] + 1786 | if (strncmp (buff, "\n:::::::::\n", 11) || /* file is corrupted? */ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wtmp.c:596:40: warning: '.0' directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 596 | snprintf (path, sizeof(path), "%s.0", wfp); | ^~ @@ -2028,23 +2068,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -list.c: In function '_check_listfile.constprop': -list.c:1786:7: warning: 'strncmp' of strings of length 0 and 11 and bound of 11 evaluates to nonzero [-Wstring-compare] - 1786 | if (strncmp (buff, "\n:::::::::\n", 11) || /* file is corrupted? */ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -lib.c: In function 'foxeye_setlocale': -lib.c:183:46: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] - 183 | snprintf (new_locale, sizeof(new_locale), "%s.%s", locale, Charset); - | ^~ ~~~~~~ -In function 'snprintf', - inlined from 'foxeye_setlocale' at lib.c:183:3: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 2 and 512 bytes into a destination of size 128 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ direct.c: In function 'Dcc_Parse': direct.c:433:35: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 433 | snprintf (to, sizeof(to), ":*:%d", botch); @@ -2084,6 +2107,19 @@ direct.c:2336:21: note: format string is defined here 2336 | DBG ("dc_help for %s on %c%s", fst, dcc->priv->ssbt ? '*' : '!', | ^~ +lib.c: In function 'foxeye_setlocale': +lib.c:183:46: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] + 183 | snprintf (new_locale, sizeof(new_locale), "%s.%s", locale, Charset); + | ^~ ~~~~~~ +In function 'snprintf', + inlined from 'foxeye_setlocale' at lib.c:183:3: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 2 and 512 bytes into a destination of size 128 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ direct.c: In function '_dport_handler': direct.c:2911:49: warning: '%s' directive output may be truncated writing up to 23 bytes into a region of size between 2 and 19 [-Wformat-truncation=] 2911 | snprintf (dcc->start, sizeof(dcc->start), "%s %s", DateString, TimeString); @@ -2371,8 +2407,8 @@ gcc -shared -pthread -O2 -g -pipe -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/foxeye-0.12.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,defs -Wl,-O1 -rdynamic -Wl,-z,relro -Wl,-z,now -o lua.so lua.o -llua5.3 -L../../core -lfoxeye /usr/bin/mkdir -p /build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/lib/aarch64-linux-gnu/foxeye/help /usr/bin/mkdir -p /build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/share/doc/foxeye-0.12.1 - /build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/lib/aarch64-linux-gnu/foxeye/help/lua /build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/share/doc/foxeye-0.12.1/lua.ref + /build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/lib/aarch64-linux-gnu/foxeye/help/lua /usr/bin/mkdir -p /build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/lib/aarch64-linux-gnu/foxeye/modules /build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/lib/aarch64-linux-gnu/foxeye/modules/lua.so make[3]: Leaving directory '/build/reproducible-path/foxeye-0.12.1/modules/lua' @@ -2431,12 +2467,12 @@ Making install in core make[2]: Entering directory '/build/reproducible-path/foxeye-0.12.1/core' make[3]: Entering directory '/build/reproducible-path/foxeye-0.12.1/core' - /usr/bin/mkdir -p '/build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/bin' /usr/bin/mkdir -p /build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/lib/aarch64-linux-gnu/foxeye + /usr/bin/mkdir -p '/build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/bin' Installing the common library and symlinks. /usr/bin/mkdir -p '/build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/include/foxeye' - /usr/bin/install -c foxeye '/build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/bin/./foxeye-0.12.1' /usr/bin/install -c -m 644 direct.h foxeye.h modules.h protos.h sheduler.h socket.h list.h wtmp.h formats.default conversion.h inlines.h init.h '/build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/include/foxeye' + /usr/bin/install -c foxeye '/build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/bin/./foxeye-0.12.1' Copying new 'foxeye' executable and creating symlink. ln -s foxeye-0.12.1 /build/reproducible-path/foxeye-0.12.1/debian/tmp/usr/bin/foxeye make[3]: Leaving directory '/build/reproducible-path/foxeye-0.12.1/core' @@ -2496,8 +2532,8 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'foxeye' in '../foxeye_0.12.1-5_arm64.deb'. -dpkg-deb: building package 'foxeye-dev' in '../foxeye-dev_0.12.1-5_arm64.deb'. dpkg-deb: building package 'foxeye-dbgsym' in '../foxeye-dbgsym_0.12.1-5_arm64.deb'. +dpkg-deb: building package 'foxeye-dev' in '../foxeye-dev_0.12.1-5_arm64.deb'. dpkg-genbuildinfo --build=binary -O../foxeye_0.12.1-5_arm64.buildinfo dpkg-genchanges --build=binary -O../foxeye_0.12.1-5_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2505,12 +2541,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/2209017/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2209017/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/3397549 and its subdirectories -I: Current time: Mon Nov 4 23:25:39 -12 2024 -I: pbuilder-time-stamp: 1730805939 +I: removing directory /srv/workspace/pbuilder/2209017 and its subdirectories +I: Current time: Tue Dec 9 07:50:09 +14 2025 +I: pbuilder-time-stamp: 1765216209