Diff of the two buildlogs: -- --- b1/build.log 2024-05-13 14:57:34.934219399 +0000 +++ b2/build.log 2024-05-13 15:07:52.235940474 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jun 15 09:17:02 -12 2025 -I: pbuilder-time-stamp: 1750022222 +I: Current time: Tue May 14 04:57:37 +14 2024 +I: pbuilder-time-stamp: 1715612257 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking iptraf-ng_1.2.1-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3114187/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2403168/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 13 14:57 /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/2403168/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2403168/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='c811cb30e0f44b0a8933c7cfaf73ce55' - 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='3114187' - PS1='# ' - PS2='> ' + INVOCATION_ID=64a5f375d79b44afb6e250f5e6e8e6d2 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2403168 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.nkngFsCh/pbuilderrc_tZPP --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.nkngFsCh/b1 --logfile b1/build.log iptraf-ng_1.2.1-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.nkngFsCh/pbuilderrc_Hina --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.nkngFsCh/b2 --logfile b2/build.log iptraf-ng_1.2.1-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 14 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3114187/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 13 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2403168/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -233,7 +265,7 @@ Get: 119 http://deb.debian.org/debian unstable/main amd64 docbook-utils all 0.6.14-4 [64.5 kB] Get: 120 http://deb.debian.org/debian unstable/main amd64 libncurses6 amd64 6.5-2 [104 kB] Get: 121 http://deb.debian.org/debian unstable/main amd64 libncurses-dev amd64 6.5-2 [349 kB] -Fetched 186 MB in 3s (58.3 MB/s) +Fetched 186 MB in 12s (15.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (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 ... 19699 files and directories currently installed.) @@ -636,8 +668,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Jun 15 21:18:20 UTC 2025. -Universal Time is now: Sun Jun 15 21:18:20 UTC 2025. +Local time is now: Mon May 13 15:01:09 UTC 2024. +Universal Time is now: Mon May 13 15:01:09 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -773,7 +805,11 @@ fakeroot is already the newest version (1.34-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/iptraf-ng-1.2.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 > ../iptraf-ng_1.2.1-1_source.changes +I: user script /srv/workspace/pbuilder/2403168/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2403168/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/iptraf-ng-1.2.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 > ../iptraf-ng_1.2.1-1_source.changes dpkg-buildpackage: info: source package iptraf-ng dpkg-buildpackage: info: source version 1:1.2.1-1 dpkg-buildpackage: info: source distribution unstable @@ -783,7 +819,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j42 distclean + make -j20 distclean make[1]: Entering directory '/build/reproducible-path/iptraf-ng-1.2.1' rm -f Documentation/manual.sgml rm -f Documentation/manual.pdf @@ -803,7 +839,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/iptraf-ng-1.2.1' dh_auto_build V=1 - make -j42 + make -j20 make[2]: Entering directory '/build/reproducible-path/iptraf-ng-1.2.1' IPTRAF_VERSION = 1.2.1 CC src/tui/input.o @@ -826,77 +862,7 @@ CC src/revname.o CC src/pktsize.o CC src/landesc.o - CC src/options.o - CC src/promisc.o - CC src/ifaces.o - CC src/usage.o - CC src/iptraf.o - CC src/itrafmon.o - CC src/wrapper.o - CC src/parse-options.o - CC src/packet.o - CC src/tcptable.o - CC src/othptab.o - CC src/ifstats.o - CC src/detstats.o - CC src/deskman.o - CC src/hostmon.o - CC src/fltedit.o - CC src/cidr.o - CC src/counters.o - CC src/rate.o - CC src/capture-pkt.o - CC src/sockaddr.o - CC src/capt.o -src/ifaces.c: In function 'open_procnetdev': -src/ifaces.c:32:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 32 | fgets(buf, 160, fd); - | ^~~~~~~~~~~~~~~~~~~ -src/ifaces.c:33:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 33 | fgets(buf, 160, fd); - | ^~~~~~~~~~~~~~~~~~~ -src/ifaces.c: In function 'get_next_iface': -src/ifaces.c:50:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 50 | fgets(buf, 160, fd); - | ^~~~~~~~~~~~~~~~~~~ -src/hostmon.c: In function 'addethentry': -src/hostmon.c:293:54: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] - 293 | mvwprintw(table->borderwin, LINES - 3, 1, " %u entries ", - | ~^ - | | - | unsigned int - | %lu - 294 | table->entcount); - | ~~~~~~~~~~~~~~~ - | | - | long unsigned int -src/iptraf.c: In function 'main': -src/iptraf.c:448:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] - 448 | freopen("/dev/null", "w", stdout); /* redirect std output */ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/detstats.c: In function 'printdetails': -src/iptraf.c:449:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] - 449 | freopen("/dev/null", "r", stdin); /* redirect std input */ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/iptraf.c:450:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] - 450 | freopen("/dev/null", "w", stderr); /* redirect std error */ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/detstats.c:409:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] - 409 | mvwprintw(win, 19, 65, "%8lu", ifcounts->bad.pc_packets); - | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | | long long unsigned int - | long unsigned int - | %8llu -src/iptraf.c: In function 'create_pidfile': -src/iptraf.c:315:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 315 | write(fd, buf, len); - | ^~~~~~~~~~~~~~~~~~~ -src/iptraf.c:316:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] - 316 | ftruncate(fd, len); - | ^~~~~~~~~~~~~~~~~~ src/serv.c: In function 'saveportlist': -src/options.c: In function 'updatetimes': src/serv.c:1129:22: warning: 'write' reading 4 bytes from a region of size 2 [-Wstringop-overread] 1129 | bw = write(fd, &(ptmp->port_min), sizeof(unsigned int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -904,30 +870,6 @@ src/serv.h:11:19: note: source object 'port_min' of size 2 11 | in_port_t port_min; | ^~~~~~~~ -src/options.c:182:35: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] - 182 | mvwprintw(win, 10, 25, "%3u mins", options.timeout); - | ~~^ ~~~~~~~~~~~~~~~ - | | | - | unsigned int time_t {aka long int} - | %3lu -src/options.c:183:35: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] - 183 | mvwprintw(win, 11, 25, "%3u mins", options.logspan / 60); - | ~~^ ~~~~~~~~~~~~~~~~~~~~ - | | | - | unsigned int time_t {aka long int} - | %3lu -src/options.c:184:35: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] - 184 | mvwprintw(win, 12, 25, "%3u secs", options.updrate); - | ~~^ ~~~~~~~~~~~~~~~ - | | | - | unsigned int time_t {aka long int} - | %3lu -src/options.c:185:35: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] - 185 | mvwprintw(win, 13, 25, "%3u mins", options.closedint); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | unsigned int time_t {aka long int} - | %3lu In file included from src/iptraf-ng-compat.h:5, from src/serv.c:10: /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' @@ -962,46 +904,59 @@ /usr/include/x86_64-linux-gnu/bits/unistd.h:26:1: note: in a call to function 'read' declared with attribute 'access (write_only, 2, 3)' 26 | read (int __fd, void *__buf, size_t __nbytes) | ^~~~ - CC src/capt-recvmsg.o + CC src/options.o + CC src/promisc.o + CC src/ifaces.o + CC src/usage.o + CC src/iptraf.o + CC src/itrafmon.o + CC src/wrapper.o + CC src/parse-options.o +src/options.c: In function 'updatetimes': +src/options.c:182:35: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] + 182 | mvwprintw(win, 10, 25, "%3u mins", options.timeout); + | ~~^ ~~~~~~~~~~~~~~~ + | | | + | unsigned int time_t {aka long int} + | %3lu +src/options.c:183:35: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] + 183 | mvwprintw(win, 11, 25, "%3u mins", options.logspan / 60); + | ~~^ ~~~~~~~~~~~~~~~~~~~~ + | | | + | unsigned int time_t {aka long int} + | %3lu +src/options.c:184:35: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] + 184 | mvwprintw(win, 12, 25, "%3u secs", options.updrate); + | ~~^ ~~~~~~~~~~~~~~~ + | | | + | unsigned int time_t {aka long int} + | %3lu +src/options.c:185:35: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] + 185 | mvwprintw(win, 13, 25, "%3u mins", options.closedint); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | unsigned int time_t {aka long int} + | %3lu src/options.c: In function 'loadoptions': src/options.c:174:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 174 | read(fd, &options, sizeof(struct OPTIONS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - CC src/capt-recvmmsg.o - CC src/capt-mmap-v2.o - CC src/capt-mmap-v3.o - CC src/rvnamed.o -src/tcptable.c: In function 'write_timeout_log.part.0': -src/tcptable.c:484:140: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 0 and 225 [-Wformat-truncation=] - 483 | snprintf(msgstring, MSGSTRING_MAX, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 484 | "TCP; Connection %s:%s to %s:%s timed out, %lu packets, %lu bytes, %s; opposite direction %lu packets, %lu bytes, %s", - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ - 485 | tcpnode->s_fqdn, tcpnode->s_sname, tcpnode->d_fqdn, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 486 | tcpnode->d_sname, tcpnode->pcount, tcpnode->bcount, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 487 | tcplog_flowrate_msg(tcpnode, flowrate1, sizeof(flowrate1)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 488 | tcpnode->oth_connection->pcount, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 489 | tcpnode->oth_connection->bcount, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 490 | tcplog_flowrate_msg(tcpnode->oth_connection, flowrate2, sizeof(flowrate2))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:964, - from /usr/include/curses.h:246, - from src/iptraf-ng-compat.h:15, - from src/tcptable.c:10: -In function 'snprintf', - inlined from 'write_timeout_log.part.0' at src/tcptable.c:483:3: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 96 and 406 bytes into a destination of size 320 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ + CC src/packet.o + CC src/tcptable.o + CC src/othptab.o + CC src/ifstats.o + CC src/detstats.o +src/ifaces.c: In function 'open_procnetdev': +src/ifaces.c:32:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 32 | fgets(buf, 160, fd); + | ^~~~~~~~~~~~~~~~~~~ +src/ifaces.c:33:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 33 | fgets(buf, 160, fd); + | ^~~~~~~~~~~~~~~~~~~ +src/ifaces.c: In function 'get_next_iface': +src/ifaces.c:50:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 50 | fgets(buf, 160, fd); + | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:502, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, @@ -1055,6 +1010,87 @@ /usr/include/x86_64-linux-gnu/bits/unistd-decl.h:26:16: note: in a call to function '__read_chk' declared with attribute 'access (write_only, 2, 3)' 26 | extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, | ^~~~~~~~~~ +src/detstats.c: In function 'printdetails': +src/detstats.c:409:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] + 409 | mvwprintw(win, 19, 65, "%8lu", ifcounts->bad.pc_packets); + | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | | long long unsigned int + | long unsigned int + | %8llu +src/iptraf.c: In function 'main': +src/iptraf.c:448:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] + 448 | freopen("/dev/null", "w", stdout); /* redirect std output */ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/iptraf.c:449:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] + 449 | freopen("/dev/null", "r", stdin); /* redirect std input */ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/iptraf.c:450:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] + 450 | freopen("/dev/null", "w", stderr); /* redirect std error */ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/iptraf.c: In function 'create_pidfile': +src/iptraf.c:315:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 315 | write(fd, buf, len); + | ^~~~~~~~~~~~~~~~~~~ +src/iptraf.c:316:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] + 316 | ftruncate(fd, len); + | ^~~~~~~~~~~~~~~~~~ + CC src/deskman.o + CC src/hostmon.o + CC src/fltedit.o + CC src/cidr.o + CC src/counters.o + CC src/rate.o + CC src/capture-pkt.o + CC src/sockaddr.o + CC src/capt.o +src/tcptable.c: In function 'write_timeout_log.part.0': +src/tcptable.c:484:140: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 0 and 225 [-Wformat-truncation=] + 483 | snprintf(msgstring, MSGSTRING_MAX, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 484 | "TCP; Connection %s:%s to %s:%s timed out, %lu packets, %lu bytes, %s; opposite direction %lu packets, %lu bytes, %s", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ + 485 | tcpnode->s_fqdn, tcpnode->s_sname, tcpnode->d_fqdn, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 486 | tcpnode->d_sname, tcpnode->pcount, tcpnode->bcount, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 487 | tcplog_flowrate_msg(tcpnode, flowrate1, sizeof(flowrate1)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 488 | tcpnode->oth_connection->pcount, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 489 | tcpnode->oth_connection->bcount, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 490 | tcplog_flowrate_msg(tcpnode->oth_connection, flowrate2, sizeof(flowrate2))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:964, + from /usr/include/curses.h:246, + from src/iptraf-ng-compat.h:15, + from src/tcptable.c:10: +In function 'snprintf', + inlined from 'write_timeout_log.part.0' at src/tcptable.c:483:3: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 96 and 406 bytes into a destination of size 320 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +src/hostmon.c: In function 'addethentry': +src/hostmon.c:293:54: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] + 293 | mvwprintw(table->borderwin, LINES - 3, 1, " %u entries ", + | ~^ + | | + | unsigned int + | %lu + 294 | table->entcount); + | ~~~~~~~~~~~~~~~ + | | + | long unsigned int + CC src/capt-recvmsg.o + CC src/capt-recvmmsg.o + CC src/capt-mmap-v2.o + CC src/rvnamed.o + CC src/capt-mmap-v3.o LINK iptraf-ng make[2]: Leaving directory '/build/reproducible-path/iptraf-ng-1.2.1' make html @@ -1099,8 +1135,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'iptraf-ng' in '../iptraf-ng_1.2.1-1_amd64.deb'. dpkg-deb: building package 'iptraf-ng-dbgsym' in '../iptraf-ng-dbgsym_1.2.1-1_amd64.deb'. +dpkg-deb: building package 'iptraf-ng' in '../iptraf-ng_1.2.1-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../iptraf-ng_1.2.1-1_amd64.buildinfo dpkg-genchanges --build=binary -O../iptraf-ng_1.2.1-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1108,12 +1144,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2403168/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2403168/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/3114187 and its subdirectories -I: Current time: Sun Jun 15 09:20:34 -12 2025 -I: pbuilder-time-stamp: 1750022434 +I: removing directory /srv/workspace/pbuilder/2403168 and its subdirectories +I: Current time: Tue May 14 05:07:51 +14 2024 +I: pbuilder-time-stamp: 1715612871