Diff of the two buildlogs: -- --- b1/build.log 2024-11-30 12:30:12.649524329 +0000 +++ b2/build.log 2024-11-30 12:32:08.456292629 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Nov 30 00:28:56 -12 2024 -I: pbuilder-time-stamp: 1732969736 +I: Current time: Sun Dec 1 02:30:26 +14 2024 +I: pbuilder-time-stamp: 1732969826 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -34,52 +34,84 @@ dpkg-source: info: applying gcc10.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/12305/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16789/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +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 Nov 30 12:30 /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/16789/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16789/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='trixie' - 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]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='7e279eb783994d998380810cf3b8332d' - 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='12305' - PS1='# ' - PS2='> ' + INVOCATION_ID=7005a1654aeb49f5a25d7a8a510361ba + 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=16789 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.2E4k8QLJ/pbuilderrc_kHj6 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2E4k8QLJ/b1 --logfile b1/build.log smstools_3.1.21-4.dsc' - SUDO_GID='114' - SUDO_UID='108' - 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.2E4k8QLJ/pbuilderrc_fdyf --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2E4k8QLJ/b2 --logfile b2/build.log smstools_3.1.21-4.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 virt64a 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/12305/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/16789/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -155,7 +187,7 @@ Get: 32 http://deb.debian.org/debian trixie/main armhf libmm14 armhf 1.4.2-7 [15.3 kB] Get: 33 http://deb.debian.org/debian trixie/main armhf libmm-dev armhf 1.4.2-7 [32.3 kB] Get: 34 http://deb.debian.org/debian trixie/main armhf quilt all 0.68-1 [437 kB] -Fetched 19.7 MB in 0s (49.6 MB/s) +Fetched 19.7 MB in 1s (22.4 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 ... 19683 files and directories currently installed.) @@ -311,7 +343,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/smstools-3.1.21/ && 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 > ../smstools_3.1.21-4_source.changes +I: user script /srv/workspace/pbuilder/16789/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/16789/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/smstools-3.1.21/ && 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 > ../smstools_3.1.21-4_source.changes dpkg-buildpackage: info: source package smstools dpkg-buildpackage: info: source version 3.1.21-4 dpkg-buildpackage: info: source distribution unstable @@ -321,11 +357,11 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j3 clean + make -j4 clean make[1]: Entering directory '/build/reproducible-path/smstools-3.1.21' -cd src && make -w -j3 --jobserver-auth=3,4 clean +cd src && make -w -j4 --jobserver-auth=3,4 clean make[2]: Entering directory '/build/reproducible-path/smstools-3.1.21/src' -make[2]: warning: -j3 forced in submake: resetting jobserver mode. +make[2]: warning: -j4 forced in submake: resetting jobserver mode. rm -f *.o smsd *.exe *~ make[2]: Leaving directory '/build/reproducible-path/smstools-3.1.21/src' make[1]: Leaving directory '/build/reproducible-path/smstools-3.1.21' @@ -336,14 +372,15 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j3 "INSTALL=install --strip-program=true" + make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/smstools-3.1.21' -cd src && make -w -j3 --jobserver-auth=3,4 -- INSTALL=install\ --strip-program=true +cd src && make -w -j4 --jobserver-auth=3,4 -- INSTALL=install\ --strip-program=true make[2]: Entering directory '/build/reproducible-path/smstools-3.1.21/src' -make[2]: warning: -j3 forced in submake: resetting jobserver mode. +make[2]: warning: -j4 forced in submake: resetting jobserver mode. cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o extras.o extras.c cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o locking.o locking.c cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cfgfile.o cfgfile.c +cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o logging.o logging.c locking.c: In function 'lockfile': locking.c:52:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | write(lockfile, pid, strlen(pid)); @@ -352,7 +389,6 @@ extras.c:1252:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1252 | write(pidfile, pid, strlen(pid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o logging.o logging.c cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o alarm.o alarm.c logging.c: In function 'writelogfile': logging.c:216:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -369,6 +405,8 @@ 334 | write(Filehandle_trouble, text2, strlen(text2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o smsd_cfg.o smsd_cfg.c +cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o charset.o charset.c +cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stats.o stats.c extras.c: In function 'my_system': extras.c:1077:42: warning: '/smsd_' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 1077 | snprintf(tmp1, sizeof(tmp1), ">%s/smsd_%s_1.XXXXXX", tmpdir, info); @@ -398,61 +436,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o charset.o charset.c smsd_cfg.c: In function 'startup_check': smsd_cfg.c:3737:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3737 | read(fd, tmp, sizeof(tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -extras.c: In function 'make_datetime_string': -extras.c:1670:41: warning: '%03d' directive output may be truncated writing between 3 and 8 bytes into a region of size 7 [-Wformat-truncation=] - 1670 | snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000); - | ^~~~ -extras.c:1670:40: note: directive argument in the range [-2147483, 2147483] - 1670 | snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000); - | ^~~~~~ -In function 'snprintf', - inlined from 'make_datetime_string' at extras.c:1670:7: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 4 and 9 bytes into a destination of size 7 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -extras.c: In function 'make_datetime_string': -extras.c:1671:7: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 1671 | strncpy(p, buffer, strlen(buffer)); - | ^ -extras.c:1671:7: note: length computed here - 1671 | strncpy(p, buffer, strlen(buffer)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -extras.c:1666:7: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 1666 | strncpy(p, buffer, strlen(buffer)); - | ^ -extras.c:1666:7: note: length computed here - 1666 | strncpy(p, buffer, strlen(buffer)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -charset.c: In function 'iso2utf8': -charset.c:790:33: warning: '__builtin_strncpy' output may be truncated copying between 1 and 3 bytes from a string of length 9 [-Wstringop-truncation] - 790 | strncpy(buffer + result, tmp, len); - | ^ -smsd_cfg.c: In function 'apply_modemname': -smsd_cfg.c:762:25: warning: '%s' directive writing up to 4104 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] - 762 | sprintf(tmp, "%.*s%s%s", (int)(p -value), value, device_name, p +9); - | ^~ -In file included from /usr/include/stdio.h:970, - from smsd_cfg.c:15: -In function 'sprintf', - inlined from 'apply_modemname' at smsd_cfg.c:762:7: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 4106) into a destination of size 4096 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stats.o stats.c -cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o blacklist.o blacklist.c stats.c: In function 'loadstats': stats.c:200:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 200 | fread(tmp, strlen(statistics_current_version) +1, 1, fp); @@ -481,7 +468,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o whitelist.o whitelist.c stats.c: In function 'loadstats': stats.c:197:26: warning: '/stats.tmp' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 197 | sprintf(filename, "%s/stats.tmp", d_stats); @@ -508,6 +494,35 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +extras.c: In function 'make_datetime_string': +extras.c:1670:41: warning: '%03d' directive output may be truncated writing between 3 and 8 bytes into a region of size 7 [-Wformat-truncation=] + 1670 | snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000); + | ^~~~ +extras.c:1670:40: note: directive argument in the range [-2147483, 2147483] + 1670 | snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000); + | ^~~~~~ +In function 'snprintf', + inlined from 'make_datetime_string' at extras.c:1670:7: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 4 and 9 bytes into a destination of size 7 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +extras.c: In function 'make_datetime_string': +extras.c:1671:7: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 1671 | strncpy(p, buffer, strlen(buffer)); + | ^ +extras.c:1671:7: note: length computed here + 1671 | strncpy(p, buffer, strlen(buffer)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +extras.c:1666:7: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 1666 | strncpy(p, buffer, strlen(buffer)); + | ^ +extras.c:1666:7: note: length computed here + 1666 | strncpy(p, buffer, strlen(buffer)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'write_status': stats.c:390:29: warning: '/status.tmp' directive writing 11 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 390 | sprintf(fname_tmp, "%s/status.tmp", d_stats); @@ -534,8 +549,30 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o blacklist.o blacklist.c +charset.c: In function 'iso2utf8': +charset.c:790:33: warning: '__builtin_strncpy' output may be truncated copying between 1 and 3 bytes from a string of length 9 [-Wstringop-truncation] + 790 | strncpy(buffer + result, tmp, len); + | ^ +cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o whitelist.o whitelist.c +smsd_cfg.c: In function 'apply_modemname': +smsd_cfg.c:762:25: warning: '%s' directive writing up to 4104 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] + 762 | sprintf(tmp, "%.*s%s%s", (int)(p -value), value, device_name, p +9); + | ^~ +In file included from /usr/include/stdio.h:970, + from smsd_cfg.c:15: +In function 'sprintf', + inlined from 'apply_modemname' at smsd_cfg.c:762:7: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 4106) into a destination of size 4096 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o modeminit.o modeminit.c cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pdu.o pdu.c +cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o charshift.o charshift.c modeminit.c: In function 'talk_with_modem': modeminit.c:2628:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2628 | write(STDOUT_FILENO, tmp, n); @@ -692,7 +729,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o charshift.o charshift.c cc `mm-config --cflags` -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -o smsd smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o charshift.o `mm-config --ldflags --libs` `dpkg-buildflags --get LDFLAGS` -z now -z relro smsd.c: In function 'received2file': smsd.c:3445:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -890,11 +926,11 @@ # Fix permissions chmod 644 scripts/smstest.php dh_auto_install - make -j3 install DESTDIR=/build/reproducible-path/smstools-3.1.21/debian/smstools AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j4 install DESTDIR=/build/reproducible-path/smstools-3.1.21/debian/smstools AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/smstools-3.1.21' -cd src && make -w -j3 --jobserver-auth=3,4 -- INSTALL=install\ --strip-program=true AM_UPDATE_INFO_DIR=no DESTDIR=/build/reproducible-path/smstools-3.1.21/debian/smstools +cd src && make -w -j4 --jobserver-auth=3,4 -- INSTALL=install\ --strip-program=true AM_UPDATE_INFO_DIR=no DESTDIR=/build/reproducible-path/smstools-3.1.21/debian/smstools make[3]: Entering directory '/build/reproducible-path/smstools-3.1.21/src' -make[3]: warning: -j3 forced in submake: resetting jobserver mode. +make[3]: warning: -j4 forced in submake: resetting jobserver mode. make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/reproducible-path/smstools-3.1.21/src' ./install.sh /usr/local/bin @@ -961,8 +997,8 @@ dpkg-gencontrol: warning: package smstools: substitution variable ${misc:Pre-Depends} unused, but is defined dh_md5sums dh_builddeb -dpkg-deb: building package 'smstools-dbgsym' in '../smstools-dbgsym_3.1.21-4_armhf.deb'. dpkg-deb: building package 'smstools' in '../smstools_3.1.21-4_armhf.deb'. +dpkg-deb: building package 'smstools-dbgsym' in '../smstools-dbgsym_3.1.21-4_armhf.deb'. dpkg-genbuildinfo --build=binary -O../smstools_3.1.21-4_armhf.buildinfo dpkg-genchanges --build=binary -O../smstools_3.1.21-4_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -970,12 +1006,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/16789/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16789/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/12305 and its subdirectories -I: Current time: Sat Nov 30 00:30:08 -12 2024 -I: pbuilder-time-stamp: 1732969808 +I: removing directory /srv/workspace/pbuilder/16789 and its subdirectories +I: Current time: Sun Dec 1 02:32:04 +14 2024 +I: pbuilder-time-stamp: 1732969924