Diff of the two buildlogs: -- --- b1/build.log 2024-04-25 03:39:49.689083527 +0000 +++ b2/build.log 2024-04-25 03:41:10.765621508 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 27 22:02:18 -12 2025 -I: pbuilder-time-stamp: 1748426538 +I: Current time: Thu Apr 25 17:39:54 +14 2024 +I: pbuilder-time-stamp: 1714016394 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -35,54 +35,86 @@ dpkg-source: info: applying gcc10.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2177/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/51202/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +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 25 03:40 /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/51202/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/51202/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='84e8f8dffef84f368e715735168a3fb9' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='2177' - PS1='# ' - PS2='> ' + INVOCATION_ID=ec4479e915d246538834bb3f966c9fb2 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=51202 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.ZeSLaUq7/pbuilderrc_uvqd --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.ZeSLaUq7/b1 --logfile b1/build.log smstools_3.1.21-4.dsc' - SUDO_GID='112' - SUDO_UID='107' - 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.ZeSLaUq7/pbuilderrc_BKvU --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.ZeSLaUq7/b2 --logfile b2/build.log smstools_3.1.21-4.dsc' + SUDO_GID=112 + SUDO_UID=107 + 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 ionos6-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 26 17:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2177/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:13 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/51202/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -159,7 +191,7 @@ Get: 33 http://deb.debian.org/debian trixie/main i386 libmm14 i386 1.4.2-7 [17.0 kB] Get: 34 http://deb.debian.org/debian trixie/main i386 libmm-dev i386 1.4.2-7 [34.1 kB] Get: 35 http://deb.debian.org/debian trixie/main i386 quilt all 0.68-1 [437 kB] -Fetched 19.9 MB in 0s (90.2 MB/s) +Fetched 19.9 MB in 0s (51.2 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 ... 19876 files and directories currently installed.) @@ -319,7 +351,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/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/51202/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/51202/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 @@ -329,11 +365,11 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j22 clean + make -j10 clean make[1]: Entering directory '/build/reproducible-path/smstools-3.1.21' -cd src && make -w -j22 --jobserver-auth=3,4 clean +cd src && make -w -j10 --jobserver-auth=3,4 clean make[2]: Entering directory '/build/reproducible-path/smstools-3.1.21/src' -make[2]: warning: -j22 forced in submake: resetting jobserver mode. +make[2]: warning: -j10 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' @@ -344,11 +380,11 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j22 "INSTALL=install --strip-program=true" + make -j10 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/smstools-3.1.21' -cd src && make -w -j22 --jobserver-auth=3,4 -- INSTALL=install\ --strip-program=true +cd src && make -w -j10 --jobserver-auth=3,4 -- INSTALL=install\ --strip-program=true make[2]: Entering directory '/build/reproducible-path/smstools-3.1.21/src' -make[2]: warning: -j22 forced in submake: resetting jobserver mode. +make[2]: warning: -j10 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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cfgfile.o cfgfile.c @@ -359,9 +395,14 @@ cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o blacklist.o blacklist.c cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o whitelist.o whitelist.c -cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o charshift.o charshift.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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +extras.c: In function 'write_pid': +extras.c:1252:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1252 | write(pidfile, pid, strlen(pid)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c: In function 'writelogfile': logging.c:216:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 216 | write(Filehandle,text2,strlen(text2)); @@ -389,10 +430,9 @@ stats.c:212:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 212 | fread(statistics[i], sizeof(_stats), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o charshift.o charshift.c stats.c: In function 'savestats': stats.c:168:26: warning: '/stats.tmp' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 168 | sprintf(filename, "%s/stats.tmp", d_stats); @@ -421,18 +461,39 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -extras.c: In function 'write_pid': -extras.c:1252:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1252 | write(pidfile, pid, strlen(pid)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 '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); + | ^~~~~~ +In file included from /usr/include/stdio.h:906, + from extras.h:18, + from extras.c:30: +In function 'snprintf', + inlined from 'my_system' at extras.c:1077:2: +/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 4112) into a destination of size 4096 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +extras.c: In function 'my_system': +extras.c:1087:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] + 1087 | snprintf(tmp2, sizeof(tmp2), "2>%s/smsd_%s_2.XXXXXX", tmpdir, info); + | ^~ ~~~~~~ +In function 'snprintf', + inlined from 'my_system' at extras.c:1087:2: +/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 18 or more bytes (assuming 4113) into a destination of size 4096 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ stats.c: In function 'update_message_counter': stats.c:338:29: warning: '.counter' directive writing 8 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 338 | sprintf(filename, "%s/%s.counter", d_stats, modemname); @@ -487,57 +548,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:535, - from pdu.c:15: -In function 'strcpy', - inlined from 'get_remove_concatenation' at pdu.c:567:9: -/usr/include/i386-linux-gnu/bits/string_fortified.h:79:10: warning: '__builtin_strcpy' accessing 1 byte at offsets [-1073741824, 1073741823] and [-1073741824, 1073741823] overlaps 1 byte at offset [-1073741824, 1073741823] [-Wrestrict] - 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~ -In file included from /usr/include/stdio.h:906, - from extras.h:18, - from extras.c:30: -In function 'snprintf', - inlined from 'my_system' at extras.c:1077:2: -/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 4112) into a destination of size 4096 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -extras.c: In function 'my_system': -extras.c:1087:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] - 1087 | snprintf(tmp2, sizeof(tmp2), "2>%s/smsd_%s_2.XXXXXX", tmpdir, info); - | ^~ ~~~~~~ -In function 'snprintf', - inlined from 'my_system' at extras.c:1087:2: -/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 18 or more bytes (assuming 4113) into a destination of size 4096 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -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:906, - from smsd_cfg.c:15: -In function 'sprintf', - inlined from 'apply_modemname' at smsd_cfg.c:762:7: -/usr/include/i386-linux-gnu/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 ()); - | ~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -567,6 +581,41 @@ extras.c:1666:7: note: length computed here 1666 | strncpy(p, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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:906, + from smsd_cfg.c:15: +In function 'sprintf', + inlined from 'apply_modemname' at smsd_cfg.c:762:7: +/usr/include/i386-linux-gnu/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 ()); + | ~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:535, + from pdu.c:15: +In function 'strcpy', + inlined from 'get_remove_concatenation' at pdu.c:567:9: +/usr/include/i386-linux-gnu/bits/string_fortified.h:79:10: warning: '__builtin_strcpy' accessing 1 byte at offsets [-1073741824, 1073741823] and [-1073741824, 1073741823] overlaps 1 byte at offset [-1073741824, 1073741823] [-Wrestrict] + 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +smsd_cfg.c: In function 'readcfg': +smsd_cfg.c:2669:77: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] + 2669 | snprintf(communicate_a_keys[key], sizeof(communicate_a_keys[0]), "%s", value); + | ^~ ~~~~~ +In function 'snprintf', + inlined from 'readcfg' at smsd_cfg.c:2669:11: +/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 256 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ modeminit.c: In function 'initmodem': modeminit.c:2055:34: warning: '%s' directive writing up to 499 bytes into a region of size 90 [-Wformat-overflow=] 2055 | sprintf(command, "AT+CSCA=\"+%s\"\r", answer); @@ -595,19 +644,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -smsd_cfg.c: In function 'readcfg': -smsd_cfg.c:2669:77: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] - 2669 | snprintf(communicate_a_keys[key], sizeof(communicate_a_keys[0]), "%s", value); - | ^~ ~~~~~ -In function 'snprintf', - inlined from 'readcfg' at smsd_cfg.c:2669:11: -/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 256 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'startup_check': smsd_cfg.c:3477:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 16 [-Wformat-truncation=] 3477 | snprintf(queues[x].numbers[y - 1], SIZE_NUM, "%s", tmp); @@ -922,11 +958,11 @@ # Fix permissions chmod 644 scripts/smstest.php dh_auto_install - make -j22 install DESTDIR=/build/reproducible-path/smstools-3.1.21/debian/smstools AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j10 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 -j22 --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 -j10 --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: -j22 forced in submake: resetting jobserver mode. +make[3]: warning: -j10 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 @@ -998,12 +1034,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/51202/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/51202/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/2177 and its subdirectories -I: Current time: Tue May 27 22:02:48 -12 2025 -I: pbuilder-time-stamp: 1748426568 +I: removing directory /srv/workspace/pbuilder/51202 and its subdirectories +I: Current time: Thu Apr 25 17:41:09 +14 2024 +I: pbuilder-time-stamp: 1714016469