Diff of the two buildlogs: -- --- b1/build.log 2024-06-06 10:38:45.505086534 +0000 +++ b2/build.log 2024-06-06 10:39:37.682866854 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 5 22:37:41 -12 2024 -I: pbuilder-time-stamp: 1717670261 +I: Current time: Thu Jul 10 07:01:48 +14 2025 +I: pbuilder-time-stamp: 1752080508 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -34,51 +34,83 @@ dpkg-source: info: applying fix-ftbfs-implicit-function-declaration.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3904891/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2868642/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-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 Jul 9 17:01 /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/2868642/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2868642/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' + 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=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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='b392ab761c4146babcfcf89317f369ff' - 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='3904891' - PS1='# ' - PS2='> ' + INVOCATION_ID=49550ad9ce7b4060a465babf595deb61 + 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=2868642 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.VVtoI19F/pbuilderrc_FbtK --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.VVtoI19F/b1 --logfile b1/build.log sc_7.16-4.2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.VVtoI19F/pbuilderrc_9zWw --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.VVtoI19F/b2 --logfile b2/build.log sc_7.16-4.2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom01-amd64 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 6 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3904891/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jul 9 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2868642/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -150,7 +182,7 @@ Get: 30 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.15.3 [901 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 libncurses6 amd64 6.5-2 [104 kB] Get: 32 http://deb.debian.org/debian unstable/main amd64 libncurses-dev amd64 6.5-2 [349 kB] -Fetched 20.6 MB in 2s (8990 kB/s) +Fetched 20.6 MB in 0s (70.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 ... 19705 files and directories currently installed.) @@ -299,7 +331,11 @@ fakeroot is already the newest version (1.35-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/sc-7.16/ && 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 > ../sc_7.16-4.2_source.changes +I: user script /srv/workspace/pbuilder/2868642/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2868642/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/sc-7.16/ && 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 > ../sc_7.16-4.2_source.changes dpkg-buildpackage: info: source package sc dpkg-buildpackage: info: source version 7.16-4.2 dpkg-buildpackage: info: source distribution unstable @@ -343,6 +379,124 @@ gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pipe.o pipe.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o range.o range.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDFLT_PAGER=\"less\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c +gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSIGVOID \ + -c screen.c +pipe.c: In function 'getnum': +pipe.c:39:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] + 39 | if (p) + | ^ +In file included from pipe.c:12: +pipe.c: In function 'doquery': +pipe.c:311:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 311 | error(""); + | ^~ +sc.h:46:101: note: in definition of macro 'error' + 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) + | ^~~~~~ +pipe.c: In function 'getnum': +pipe.c:49:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 49 | write(fd, line, strlen(line)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pipe.c: In function 'fgetnum': +pipe.c:92:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 92 | write(fd, line, strlen(line)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pipe.c: In function 'getstring': +pipe.c:117:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 117 | write(fd, line, strlen(line)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pipe.c: In function 'getexp': +pipe.c:149:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 149 | write(fd, line, strlen(line)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pipe.c: In function 'getformat': +pipe.c:163:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 163 | write(fd, line, strlen(line)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pipe.c: In function 'getfmt': +pipe.c:182:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 182 | write(fd, line, strlen(line)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pipe.c: In function 'getframe': +pipe.c:206:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 206 | write(fd, line, strlen(line)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pipe.c: In function 'getrange': +pipe.c:249:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 249 | write(fd, line, strlen(line)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pipe.c: In function 'doeval': +pipe.c:271:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 271 | write(fd, line, strlen(line)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pipe.c: In function 'doseval': +pipe.c:288:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 288 | write(fd, s, strlen(s)); + | ^~~~~~~~~~~~~~~~~~~~~~~ +pipe.c:289:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 289 | write(fd, "\n", 1); + | ^~~~~~~~~~~~~~~~~~ +pipe.c: In function 'doquery': +pipe.c:305:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 305 | write(fd, line, strlen(line)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pipe.c:306:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 306 | write(fd, "\n", 1); + | ^~~~~~~~~~~~~~~~~~ +pipe.c: In function 'dogetkey': +pipe.c:347:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 347 | write(macrofd, line, len); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +pipe.c: In function 'dostat': +pipe.c:358:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 358 | write(fd, line, strlen(line)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from cmds.c:31: +cmds.c: In function 'doend': +cmds.c:1394:16: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1394 | error (""); /* clear line */ + | ^~ +sc.h:46:101: note: in definition of macro 'error' + 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) + | ^~~~~~ +cmds.c: In function 'formatcol': +cmds.c:1471:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] + 1471 | formatcol(arg) + | ^~~~~~~~~ +cmds.c:1569:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1569 | error(""); + | ^~ +sc.h:46:101: note: in definition of macro 'error' + 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) + | ^~~~~~ +gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sort.o sort.c +cmds.c:1602:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1602 | error(""); + | ^~ +sc.h:46:101: note: in definition of macro 'error' + 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) + | ^~~~~~ +cmds.c: In function 'ljustify': +cmds.c:1606:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] + 1606 | ljustify(sr, sc, er, ec) + | ^~~~~~~~ +cmds.c:1606:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] +cmds.c:1606:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] +cmds.c:1606:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] +cmds.c: In function 'rjustify': +cmds.c:1635:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] + 1635 | rjustify(sr, sc, er, ec) + | ^~~~~~~~ +cmds.c:1635:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] +cmds.c:1635:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] +cmds.c:1635:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] +cmds.c: In function 'center': +cmds.c:1664:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] + 1664 | center(sr, sc, er, ec) + | ^~~~~~ +cmds.c:1664:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] +cmds.c:1664:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] +cmds.c:1664:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] In file included from sc.c:37: sc.c: In function 'main': sc.c:484:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] @@ -351,6 +505,13 @@ sc.h:46:101: note: in definition of macro 'error' 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ +screen.c: In function 'update': +screen.c:457:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 457 | if (fr && strow < fr->or_left->row + ftoprows) + | ^~ +screen.c:459:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 459 | if (currow < strow) + | ^~ sc.c:889:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 889 | error(""); | ^~ @@ -363,18 +524,23 @@ sc.h:46:101: note: in definition of macro 'error' 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ +cmds.c: In function 'openfile': sc.c:1161:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1161 | error(""); | ^~ sc.h:46:101: note: in definition of macro 'error' 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ +cmds.c:2565:9: warning: missing sentinel in function call [-Wformat=] + 2565 | (void) execl("/bin/sh", "sh", "-c", efname, 0); + | ^ sc.c:1228:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1228 | error(""); | ^~ sc.h:46:101: note: in definition of macro 'error' 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ +interp.c: In function 'dolmax': sc.c:1350:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1350 | error(""); | ^~ @@ -393,23 +559,6 @@ sc.h:46:101: note: in definition of macro 'error' 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ -sc.c:1359:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1359 | error(""); - | ^~ -sc.h:46:101: note: in definition of macro 'error' - 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) - | ^~~~~~ -pipe.c: In function 'getnum': -pipe.c:39:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] - 39 | if (p) - | ^ -sc.c:1386:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1386 | error(""); /* clear line */ - | ^~ -sc.h:46:101: note: in definition of macro 'error' - 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) - | ^~~~~~ -interp.c: In function 'dolmax': interp.c:691:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 691 | if (!count || v > maxval) | ^~ @@ -423,10 +572,35 @@ interp.c:710:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | minval = v; count++; | ^~~~~ -In file included from pipe.c:12: -pipe.c: In function 'doquery': -pipe.c:311:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 311 | error(""); +sc.c:1359:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1359 | error(""); + | ^~ +sc.h:46:101: note: in definition of macro 'error' + 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) + | ^~~~~~ +In file included from interp.c:43: +interp.c: In function 'doext': +interp.c:1137:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1137 | error(""); /* erase notice */ + | ^~ +sc.h:46:101: note: in definition of macro 'error' + 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) + | ^~~~~~ +sc.c:1386:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1386 | error(""); /* clear line */ + | ^~ +sc.h:46:101: note: in definition of macro 'error' + 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) + | ^~~~~~ +cmds.c: In function 'markcell': +cmds.c:3259:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 3259 | error(""); + | ^~ +sc.h:46:101: note: in definition of macro 'error' + 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) + | ^~~~~~ +cmds.c:3266:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 3266 | error(""); | ^~ sc.h:46:101: note: in definition of macro 'error' 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) @@ -437,78 +611,25 @@ sc.h:46:101: note: in definition of macro 'error' 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ -pipe.c: In function 'getnum': -pipe.c:49:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 49 | write(fd, line, strlen(line)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cmds.c: In function 'dotick': sc.c:1678:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1678 | error(""); | ^~ sc.h:46:101: note: in definition of macro 'error' 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ -pipe.c: In function 'fgetnum': -pipe.c:92:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 92 | write(fd, line, strlen(line)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pipe.c: In function 'getstring': -pipe.c:117:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 117 | write(fd, line, strlen(line)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pipe.c: In function 'getexp': -pipe.c:149:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 149 | write(fd, line, strlen(line)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pipe.c: In function 'getformat': -pipe.c:163:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 163 | write(fd, line, strlen(line)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from interp.c:43: -interp.c: In function 'doext': -pipe.c: In function 'getfmt': -pipe.c:182:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 182 | write(fd, line, strlen(line)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pipe.c: In function 'getframe': -pipe.c:206:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 206 | write(fd, line, strlen(line)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pipe.c: In function 'getrange': -interp.c:1137:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1137 | error(""); /* erase notice */ - | ^~ +cmds.c:3282:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 3282 | error(""); + | ^~ +sc.h:46:101: note: in definition of macro 'error' + 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) + | ^~~~~~ +cmds.c:3296:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 3296 | error(""); + | ^~ sc.h:46:101: note: in definition of macro 'error' 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ -pipe.c:249:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 249 | write(fd, line, strlen(line)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pipe.c: In function 'doeval': -pipe.c:271:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 271 | write(fd, line, strlen(line)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pipe.c: In function 'doseval': -pipe.c:288:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 288 | write(fd, s, strlen(s)); - | ^~~~~~~~~~~~~~~~~~~~~~~ -pipe.c:289:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 289 | write(fd, "\n", 1); - | ^~~~~~~~~~~~~~~~~~ -pipe.c: In function 'doquery': -pipe.c:305:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 305 | write(fd, line, strlen(line)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pipe.c:306:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 306 | write(fd, "\n", 1); - | ^~~~~~~~~~~~~~~~~~ -pipe.c: In function 'dogetkey': -pipe.c:347:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 347 | write(macrofd, line, len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -pipe.c: In function 'dostat': -pipe.c:358:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 358 | write(fd, line, strlen(line)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sc.c:1929:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1929 | error(""); | ^~ @@ -545,58 +666,15 @@ sc.h:46:101: note: in definition of macro 'error' 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ +gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o version.o version.c sc.c:233:14: warning: unused variable 'home' [-Wunused-variable] 233 | char *home; | ^~~~ -In file included from cmds.c:31: -cmds.c: In function 'doend': -cmds.c:1394:16: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1394 | error (""); /* clear line */ - | ^~ -sc.h:46:101: note: in definition of macro 'error' - 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) - | ^~~~~~ -cmds.c: In function 'formatcol': -cmds.c:1471:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] - 1471 | formatcol(arg) - | ^~~~~~~~~ -cmds.c:1569:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1569 | error(""); - | ^~ -sc.h:46:101: note: in definition of macro 'error' - 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) - | ^~~~~~ -cmds.c:1602:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1602 | error(""); - | ^~ -sc.h:46:101: note: in definition of macro 'error' - 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) - | ^~~~~~ -cmds.c: In function 'ljustify': -cmds.c:1606:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] - 1606 | ljustify(sr, sc, er, ec) - | ^~~~~~~~ -cmds.c:1606:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] -cmds.c:1606:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] -cmds.c:1606:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] -cmds.c: In function 'rjustify': -cmds.c:1635:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] - 1635 | rjustify(sr, sc, er, ec) - | ^~~~~~~~ -cmds.c:1635:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] -cmds.c:1635:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] -cmds.c:1635:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] -cmds.c: In function 'center': -cmds.c:1664:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] - 1664 | center(sr, sc, er, ec) - | ^~~~~~ -cmds.c:1664:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] -cmds.c:1664:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] -cmds.c:1664:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] interp.c: In function 'decompile': interp.c:2609:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2609 | case 'f': for (s="@fixed "; (line[linelim++] = *s++); ); | ^~~ +gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DREGCOMP -DHISTORY_FILE=\"~/.sc_history\" -c vi.c interp.c:2610:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2610 | linelim--; | ^~~~~~~ @@ -636,13 +714,9 @@ interp.c:2710:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2710 | linelim--; | ^~~~~~~ -cmds.c: In function 'openfile': interp.c:2714:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2714 | case NUMITER: for (s = "@numiter"; (line[linelim++] = *s++); ); | ^~~ -cmds.c:2565:9: warning: missing sentinel in function call [-Wformat=] - 2565 | (void) execl("/bin/sh", "sh", "-c", efname, 0); - | ^ interp.c:2715:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2715 | linelim--; | ^~~~~~~ @@ -685,73 +759,28 @@ interp.c:2735:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2735 | case BLUE: for (s = "@blue"; (line[linelim++] = *s++); ); | ^~~ -cmds.c: In function 'markcell': interp.c:2736:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2736 | linelim--; | ^~~~~~~ -cmds.c:3259:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 3259 | error(""); - | ^~ -sc.h:46:101: note: in definition of macro 'error' - 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) - | ^~~~~~ interp.c:2738:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2738 | case MAGENTA: for (s = "@magenta"; (line[linelim++] = *s++); ); | ^~~ -cmds.c:3266:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 3266 | error(""); - | ^~ -sc.h:46:101: note: in definition of macro 'error' - 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) - | ^~~~~~ -cmds.c: In function 'dotick': +gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vmtbl.o vmtbl.c interp.c:2739:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2739 | linelim--; | ^~~~~~~ -cmds.c:3282:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 3282 | error(""); - | ^~ -sc.h:46:101: note: in definition of macro 'error' - 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) - | ^~~~~~ interp.c:2741:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2741 | case CYAN: for (s = "@cyan"; (line[linelim++] = *s++); ); | ^~~ interp.c:2742:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2742 | linelim--; | ^~~~~~~ -cmds.c:3296:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 3296 | error(""); - | ^~ -sc.h:46:101: note: in definition of macro 'error' - 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) - | ^~~~~~ -gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSIGVOID \ - -c screen.c interp.c:2744:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2744 | case WHITE: for (s = "@white"; (line[linelim++] = *s++); ); | ^~~ interp.c:2745:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2745 | linelim--; | ^~~~~~~ -screen.c: In function 'update': -screen.c:457:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 457 | if (fr && strow < fr->or_left->row + ftoprows) - | ^~ -screen.c:459:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 459 | if (currow < strow) - | ^~ -gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sort.o sort.c -gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o version.o version.c -sc.c: In function 'modcheck': -sc.c:2223:36: warning: '%s' directive writing up to 1023 bytes into a region of size 94 [-Wformat-overflow=] - 2223 | (void) sprintf(lin,"File \"%s\" is modified, save%s? ",curfile,endstr); - | ^~ ~~~~~~~ -sc.c:2223:16: note: 'sprintf' output 28 or more bytes (assuming 1051) into a destination of size 100 - 2223 | (void) sprintf(lin,"File \"%s\" is modified, save%s? ",curfile,endstr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DREGCOMP -DHISTORY_FILE=\"~/.sc_history\" -c vi.c -gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vmtbl.o vmtbl.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xmalloc.o xmalloc.c In file included from vi.c:22: vi.c: In function 'write_line': @@ -811,13 +840,20 @@ sc.h:46:101: note: in definition of macro 'error' 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ +rm -f pvmtbl.c +ln vmtbl.c pvmtbl.c vi.c: In function 'dogoto': vi.c:2005:9: warning: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 2005 | strncpy(line, "goto ", 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -rm -f pvmtbl.c -ln vmtbl.c pvmtbl.c +sc.c: In function 'modcheck': rm -f pxmalloc.c +sc.c:2223:36: warning: '%s' directive writing up to 1023 bytes into a region of size 94 [-Wformat-overflow=] + 2223 | (void) sprintf(lin,"File \"%s\" is modified, save%s? ",curfile,endstr); + | ^~ ~~~~~~~ +sc.c:2223:16: note: 'sprintf' output 28 or more bytes (assuming 1051) into a destination of size 100 + 2223 | (void) sprintf(lin,"File \"%s\" is modified, save%s? ",curfile,endstr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ln xmalloc.c pxmalloc.c rm -f qhelp.c ln help.c qhelp.c @@ -917,12 +953,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/2868642/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2868642/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/3904891 and its subdirectories -I: Current time: Wed Jun 5 22:38:44 -12 2024 -I: pbuilder-time-stamp: 1717670324 +I: removing directory /srv/workspace/pbuilder/2868642 and its subdirectories +I: Current time: Thu Jul 10 07:02:36 +14 2025 +I: pbuilder-time-stamp: 1752080556