Diff of the two buildlogs: -- --- b1/build.log 2024-04-16 19:43:18.139375165 +0000 +++ b2/build.log 2024-04-16 19:45:02.750902903 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Apr 16 07:42:32 -12 2024 -I: pbuilder-time-stamp: 1713296552 +I: Current time: Wed Apr 17 09:43:28 +14 2024 +I: pbuilder-time-stamp: 1713296608 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 reproducible-build.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/5496/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/28722/tmp/hooks/D01_modify_environment starting +debug: Running on virt64c. +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 Apr 16 19:43 /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/28722/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/28722/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='083d1bd8d3cf4ae59d1e5f596df6ec29' - 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='5496' - PS1='# ' - PS2='> ' + INVOCATION_ID=8ddc78d30d12414797ddf00f5d713989 + 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=28722 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.XtSRdqOO/pbuilderrc_h286 --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.XtSRdqOO/b1 --logfile b1/build.log cfingerd_1.4.3-8.dsc' - SUDO_GID='110' - SUDO_UID='103' - 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.XtSRdqOO/pbuilderrc_3Y0X --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.XtSRdqOO/b2 --logfile b2/build.log cfingerd_1.4.3-8.dsc' + SUDO_GID=113 + SUDO_UID=107 + 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 virt32z 6.1.0-20-armmp-lpae #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 14 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/5496/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 13 08:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/28722/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -140,7 +172,7 @@ Get: 28 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf debhelper all 13.15.3 [901 kB] -Fetched 18.4 MB in 0s (69.9 MB/s) +Fetched 18.4 MB in 1s (34.7 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 ... 19442 files and directories currently installed.) @@ -280,7 +312,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/cfingerd-1.4.3/ && 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 > ../cfingerd_1.4.3-8_source.changes +I: user script /srv/workspace/pbuilder/28722/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/28722/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/cfingerd-1.4.3/ && 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 > ../cfingerd_1.4.3-8_source.changes dpkg-buildpackage: info: source package cfingerd dpkg-buildpackage: info: source version 1.4.3-8 dpkg-buildpackage: info: source distribution unstable @@ -342,21 +378,22 @@ *** DON'T FORGET TO READ THE FAQ!!! dh_auto_build -- all - make -j3 "INSTALL=install --strip-program=true" all + make -j4 "INSTALL=install --strip-program=true" all make[1]: Entering directory '/build/reproducible-path/cfingerd-1.4.3' Compiling cfingerd, one moment. Compiling userlist, one moment. -cd src ; make cfingerd +cd src ; make cfingerd cd userlist ; make userlist make[2]: Entering directory '/build/reproducible-path/cfingerd-1.4.3/src' cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c +cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c make[2]: Entering directory '/build/reproducible-path/cfingerd-1.4.3/userlist' cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c -cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c +cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o version.o version.c main.c: In function 'main': main.c:114:27: warning: the comparison will always evaluate as 'true' for the address of 'remote_addr' will never be NULL [-Waddress] 114 | if (remote_addr != NULL && *remote_addr) { @@ -404,40 +441,16 @@ main.c:109:5: note: in expansion of macro 'NOBODY_PRIVS' 109 | NOBODY_PRIVS; | ^~~~~~~~~~~~ +cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o initialize.o initialize.c -cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o version.o version.c main.c:92:13: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 92 | strncpy(username, argv[2], sizeof(username)); | ^ main.c:228:13: warning: '__builtin_strncpy' specified bound 46 equals destination size [-Wstringop-truncation] 228 | strncpy(remote_addr, host_ent->h_name, INET6_ADDRSTRLEN); | ^ -initialize.c: In function 'initialize_userlist': -initialize.c:68:13: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 31 [-Wstringop-truncation] - 68 | strncpy(tty_list[times_on].tty, cp, ULIST_TTY); - | ^ -initialize.c:78:13: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 255 [-Wstringop-truncation] - 78 | strncpy(tty_list[times_on].locale, cp, ULIST_LOCALE); - | ^ -initialize.c:79:17: warning: 'strlen' argument 1 declared attribute 'nonstring' [-Wstringop-overread] - 79 | if (strlen ((char *) ut->ut_host) > ULIST_LINE) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/utmp.h:29, - from userlist.h:54, - from initialize.c:6: -/usr/include/arm-linux-gnueabihf/bits/utmp.h:68:8: note: argument 'ut_host' declared here - 68 | char ut_host[UT_HOSTSIZE] - | ^~~~~~~ -cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o errors.o errors.c -cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o display.o display.c -display.c: In function 'process_display': -display.c:95:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 95 | if ((x = index (pwent->pw_gecos, ',')) != NULL) /* username */ - | ^~ -display.c:97:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 97 | if ((username = (char *)malloc (strlen(cp)+1)) != NULL) { - | ^~ +cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o strmcpy.o strmcpy.c util.c: In function 'get_localhost': util.c:463:5: warning: ignoring return value of 'getdomainname' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | getdomainname((char *) domname, (size_t) 80); @@ -474,45 +487,25 @@ util.c:610:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 610 | write (fd[1], line, strlen (line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o strmcpy.o strmcpy.c -cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c +initialize.c: In function 'initialize_userlist': +initialize.c:68:13: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 31 [-Wstringop-truncation] + 68 | strncpy(tty_list[times_on].tty, cp, ULIST_TTY); + | ^ +initialize.c:78:13: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 255 [-Wstringop-truncation] + 78 | strncpy(tty_list[times_on].locale, cp, ULIST_LOCALE); + | ^ +initialize.c:79:17: warning: 'strlen' argument 1 declared attribute 'nonstring' [-Wstringop-overread] + 79 | if (strlen ((char *) ut->ut_host) > ULIST_LINE) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/utmp.h:29, + from userlist.h:54, + from initialize.c:6: +/usr/include/arm-linux-gnueabihf/bits/utmp.h:68:8: note: argument 'ut_host' declared here + 68 | char ut_host[UT_HOSTSIZE] + | ^~~~~~~ +cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o display.o display.c cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parse.o parse.c -In file included from /usr/include/string.h:535, - from cfingerd.h:22, - from util.c:16: -In function 'strncat', - inlined from 'parse_line' at util.c:167:18: -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] - 138 | return __builtin___strncat_chk (__dest, __src, __len, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 139 | __glibc_objsize (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncat', - inlined from 'parse_line' at util.c:212:19: -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] - 138 | return __builtin___strncat_chk (__dest, __src, __len, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 139 | __glibc_objsize (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncat', - inlined from 'parse_line' at util.c:228:19: -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] - 138 | return __builtin___strncat_chk (__dest, __src, __len, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 139 | __glibc_objsize (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncat', - inlined from 'parse_line' at util.c:238:19: -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] - 138 | return __builtin___strncat_chk (__dest, __src, __len, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 139 | __glibc_objsize (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o idle.o idle.c cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o configure.o configure.c -cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o internal.o internal.c -cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ../src/getutent.o ../src/getutent.c -cc -o userlist main.o initialize.o display.o options.o idle.o ../src/getutent.o configure.c: In function 'do_files': configure.c:194:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 194 | fscanf(file, "%[^\r\n]\r\n", line); @@ -578,12 +571,53 @@ configure.c:704:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 704 | fgets(line, 80, file); | ^~~~~~~~~~~~~~~~~~~~~ +display.c: In function 'process_display': configure.c:713:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 713 | fgets(line, 80, file); | ^~~~~~~~~~~~~~~~~~~~~ -make[2]: Leaving directory '/build/reproducible-path/cfingerd-1.4.3/userlist' +display.c:95:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 95 | if ((x = index (pwent->pw_gecos, ',')) != NULL) /* username */ + | ^~ +display.c:97:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 97 | if ((username = (char *)malloc (strlen(cp)+1)) != NULL) { + | ^~ +In file included from /usr/include/string.h:535, + from cfingerd.h:22, + from util.c:16: +In function 'strncat', + inlined from 'parse_line' at util.c:167:18: +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] + 138 | return __builtin___strncat_chk (__dest, __src, __len, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 139 | __glibc_objsize (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncat', + inlined from 'parse_line' at util.c:212:19: +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] + 138 | return __builtin___strncat_chk (__dest, __src, __len, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 139 | __glibc_objsize (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncat', + inlined from 'parse_line' at util.c:228:19: +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] + 138 | return __builtin___strncat_chk (__dest, __src, __len, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 139 | __glibc_objsize (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncat', + inlined from 'parse_line' at util.c:238:19: +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] + 138 | return __builtin___strncat_chk (__dest, __src, __len, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 139 | __glibc_objsize (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c +cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o idle.o idle.c +cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o internal.o internal.c cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o signal.o signal.c cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o standard.o standard.c +cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ../src/getutent.o ../src/getutent.c signal.c: In function 'start_handler': signal.c:136:9: warning: iteration 23 invokes undefined behavior [-Waggressive-loop-optimizations] 136 | signal(signals[i], int_handler); @@ -591,11 +625,15 @@ signal.c:135:19: note: within this loop 135 | for (i = 0; i < sigs; i++) | ~~^~~~~~ +cc -o userlist main.o initialize.o display.o options.o idle.o ../src/getutent.o +cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o userlist.o userlist.c +cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fakeuser.o fakeuser.c +make[2]: Leaving directory '/build/reproducible-path/cfingerd-1.4.3/userlist' +cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o search.o search.c standard.c: In function 'show_lasttime_on': standard.c:248:10: warning: variable 'found' set but not used [-Wunused-but-set-variable] 248 | BOOL found = FALSE, can_show_orig = FALSE; | ^~~~~ -cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o userlist.o userlist.c In file included from standard.c:27: standard.c: In function 'show_pfile': privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -1579,6 +1617,10 @@ standard.c:937:9: note: in expansion of macro 'NOBODY_PRIVS' 937 | NOBODY_PRIVS; | ^~~~~~~~~~~~ +fakeuser.c: In function 'search_fake_pos': +fakeuser.c:44:12: warning: variable 'len' set but not used [-Wunused-but-set-variable] + 44 | int i, len; + | ^~~ In file included from userlist.c:18: userlist.c: In function 'handle_userlist': privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -1617,23 +1659,7 @@ userlist.c:51:9: note: in expansion of macro 'NOBODY_PRIVS' 51 | NOBODY_PRIVS; | ^~~~~~~~~~~~ -cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fakeuser.o fakeuser.c -fakeuser.c: In function 'search_fake_pos': -fakeuser.c:44:12: warning: variable 'len' set but not used [-Wunused-but-set-variable] - 44 | int i, len; - | ^~~ -cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o search.o search.c cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rfc1413.o rfc1413.c -standard.c: In function 'show_login_stats': -standard.c:537:18: warning: 'strlen' argument 1 declared attribute 'nonstring' [-Wstringop-overread] - 537 | (strlen((char *) ut->ut_user) == strlen(user))) { - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/utmp.h:29, - from cfingerd.h:51, - from standard.c:16: -/usr/include/arm-linux-gnueabihf/bits/utmp.h:66:8: note: argument 'ut_user' declared here - 66 | char ut_user[UT_NAMESIZE] - | ^~~~~~~ In file included from search.c:18: search.c: In function 'show_search': privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -1755,21 +1781,6 @@ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wildmat.o wildmat.c -standard.c: In function 'show_fingerinfo': -standard.c:918:25: warning: '%s' directive writing up to 78 bytes into a region of size between 1 and 79 [-Wformat-overflow=] - 918 | sprintf(fn, "%s/%s", pwent->pw_dir, prog_config.no_finger_file); - | ^~ -In file included from /usr/include/stdio.h:906, - from cfingerd.h:19: -In function 'sprintf', - inlined from 'show_fingerinfo' at standard.c:918:9: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 158 bytes into a destination of size 80 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ cc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o log.o log.c In file included from log.c:18: log.c: In function 'userlog': @@ -1893,6 +1904,31 @@ log.c:78:9: note: in expansion of macro 'NOBODY_PRIVS' 78 | NOBODY_PRIVS | ^~~~~~~~~~~~ +standard.c: In function 'show_login_stats': +standard.c:537:18: warning: 'strlen' argument 1 declared attribute 'nonstring' [-Wstringop-overread] + 537 | (strlen((char *) ut->ut_user) == strlen(user))) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/utmp.h:29, + from cfingerd.h:51, + from standard.c:16: +/usr/include/arm-linux-gnueabihf/bits/utmp.h:66:8: note: argument 'ut_user' declared here + 66 | char ut_user[UT_NAMESIZE] + | ^~~~~~~ +standard.c: In function 'show_fingerinfo': +standard.c:918:25: warning: '%s' directive writing up to 78 bytes into a region of size between 1 and 79 [-Wformat-overflow=] + 918 | sprintf(fn, "%s/%s", pwent->pw_dir, prog_config.no_finger_file); + | ^~ +In file included from /usr/include/stdio.h:906, + from cfingerd.h:19: +In function 'sprintf', + inlined from 'show_fingerinfo' at standard.c:918:9: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 158 bytes into a destination of size 80 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ cc -o cfingerd main.o options.o version.o util.o errors.o strmcpy.o parse.o configure.o internal.o signal.o standard.o userlist.o fakeuser.o search.o getutent.o rfc1413.o wildmat.o log.o make[2]: Leaving directory '/build/reproducible-path/cfingerd-1.4.3/src' make[1]: Leaving directory '/build/reproducible-path/cfingerd-1.4.3' @@ -1959,12 +1995,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/28722/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/28722/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/5496 and its subdirectories -I: Current time: Tue Apr 16 07:43:13 -12 2024 -I: pbuilder-time-stamp: 1713296593 +I: removing directory /srv/workspace/pbuilder/28722 and its subdirectories +I: Current time: Wed Apr 17 09:44:57 +14 2024 +I: pbuilder-time-stamp: 1713296697