Diff of the two buildlogs: -- --- b1/build.log 2024-05-17 09:34:18.300301117 +0000 +++ b2/build.log 2024-05-17 09:35:33.401110014 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 16 21:32:34 -12 2024 -I: pbuilder-time-stamp: 1715938354 +I: Current time: Fri Jun 20 05:57:20 +14 2025 +I: pbuilder-time-stamp: 1750348640 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -34,52 +34,84 @@ 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/3037152/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1554646/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-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 Jun 19 15:57 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1554646/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1554646/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + 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='aeb684e35305480a9f564e7a26453118' - 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='3037152' - PS1='# ' - PS2='> ' + INVOCATION_ID=bc2db7c2154f403ca94916480c73957d + 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=1554646 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.6tkWf5sW/pbuilderrc_cgzv --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.6tkWf5sW/b1 --logfile b1/build.log sc_7.16-4.2.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.6tkWf5sW/pbuilderrc_ledu --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.6tkWf5sW/b2 --logfile b2/build.log sc_7.16-4.2.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 17 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3037152/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 19 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1554646/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -152,7 +184,7 @@ Get: 31 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.15.3 [901 kB] Get: 32 http://deb.debian.org/debian unstable/main amd64 libncurses6 amd64 6.5-2 [104 kB] Get: 33 http://deb.debian.org/debian unstable/main amd64 libncurses-dev amd64 6.5-2 [349 kB] -Fetched 20.7 MB in 2s (10.3 MB/s) +Fetched 20.7 MB in 1s (39.3 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 ... 19719 files and directories currently installed.) @@ -305,7 +337,11 @@ fakeroot is already the newest version (1.34-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/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/1554646/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1554646/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 @@ -317,7 +353,7 @@ debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/sc-7.16' dh_auto_clean - make -j20 distclean + make -j42 distclean make[2]: Entering directory '/build/reproducible-path/sc-7.16' rm -f *.o *res.h y.tab.h sc psc debug core gram.c \ sc.1 sc.man psc.man psc.1 y.output scqref \ @@ -334,7 +370,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/sc-7.16' dh_auto_build -- all sc.1 psc.1 CC=gcc CFLAGS="-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" - make -j20 "INSTALL=install --strip-program=true" all sc.1 psc.1 CC=gcc "CFLAGS=-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" + make -j42 "INSTALL=install --strip-program=true" all sc.1 psc.1 CC=gcc "CFLAGS=-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" make[2]: Entering directory '/build/reproducible-path/sc-7.16' 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\" -c abbrev.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 -DDOBACKUPS -c cmds.c @@ -358,11 +394,11 @@ 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 rm -f pvmtbl.c rm -f pxmalloc.c +rm -f qhelp.c ln vmtbl.c pvmtbl.c ln xmalloc.c pxmalloc.c -rm -f qhelp.c -name=sc NAME=SC LIBDIR=/usr/share/doc/sc sh torev sc.doc > sc.1 ln help.c qhelp.c +name=sc NAME=SC LIBDIR=/usr/share/doc/sc sh torev sc.doc > sc.1 name=sc NAME=SC LIBDIR=/usr/share/doc/sc sh torev psc.doc > psc.1 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 -c -DPSC pvmtbl.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 -c -DPSC pxmalloc.c @@ -378,28 +414,8 @@ pipe.c:39:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 39 | if (p) | ^ -interp.c: In function 'dolmax': -interp.c:691:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 691 | if (!count || v > maxval) - | ^~ -interp.c:692:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 692 | maxval = v; count++; - | ^~~~~ -interp.c: In function 'dolmin': -interp.c:709:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 709 | if (!count || v < minval) - | ^~ -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 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)) - | ^~~~~~ +In file included from vi.c:22: +vi.c: In function 'write_line': 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] @@ -408,18 +424,26 @@ 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)) | ^~~~~~ +vi.c:136:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 136 | 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)) + | ^~~~~~ +vi.c:146:33: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 146 | else + | ^~~~ +vi.c:147:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 147 | cr_line(); break; + | ^~~~~ 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 'formatcol': 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cmds.c:1471:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] - 1471 | formatcol(arg) - | ^~~~~~~~~ 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)); @@ -444,48 +468,7 @@ pipe.c:249:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 249 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)) - | ^~~~~~ pipe.c: In function 'doeval': -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)) - | ^~~~~~ -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] pipe.c:271:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 271 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -511,42 +494,127 @@ pipe.c:358:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 358 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +vi.c: In function 'change_case': +vi.c:1122:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] + 1122 | change_case(arg) + | ^~~~~~~~~~~ +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)) + | ^~~~~~ +vi.c: In function 'for_hist': +vi.c:1474:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1474 | 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)) + | ^~~~~~ +vi.c: In function 'back_hist': +cmds.c: In function 'formatcol': +vi.c:1503:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1503 | 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:1471:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] + 1471 | formatcol(arg) + | ^~~~~~~~~ +vi.c: In function 'search_again': +vi.c:1582:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1582 | 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: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)) + | ^~~~~~ In file included from sc.c:37: sc.c: In function 'main': +vi.c:1610:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 1610 | else + | ^~~~ +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)) + | ^~~~~~ sc.c:484:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 484 | 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': +vi.c:1612:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 1612 | (void) strcpy(line, history[histp].histline); + | ^ +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] +vi.c: In function 'query': sc.c:889:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 889 | 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)) | ^~~~~~ +vi.c:2040:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 2040 | 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)) + | ^~~~~~ sc.c:913:43: warning: zero-length gnu_printf format string [-Wformat-zero-length] 913 | 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)) | ^~~~~~ +vi.c:2045:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 2045 | 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)) + | ^~~~~~ 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: In function 'openfile': 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)) | ^~~~~~ -cmds.c:2565:9: warning: missing sentinel in function call [-Wformat=] - 2565 | (void) execl("/bin/sh", "sh", "-c", efname, 0); - | ^ sc.c:1350:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1350 | error(""); | ^~ @@ -559,22 +627,136 @@ 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 'decompile': sc.c:1356:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1356 | 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:2609:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - 2609 | case 'f': for (s="@fixed "; (line[linelim++] = *s++); ); - | ^~~ 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)) | ^~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +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 'openfile': +cmds.c:2565:9: warning: missing sentinel in function call [-Wformat=] + 2565 | (void) execl("/bin/sh", "sh", "-c", efname, 0); + | ^ +sc.c:1671:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1671 | 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)) + | ^~~~~~ +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)) + | ^~~~~~ +interp.c: In function 'dolmax': +interp.c:691:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 691 | if (!count || v > maxval) + | ^~ +interp.c:692:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 692 | maxval = v; count++; + | ^~~~~ +interp.c: In function 'dolmin': +interp.c:709:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 709 | if (!count || v < minval) + | ^~ +sc.c:1929:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1929 | 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:710:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 710 | minval = v; count++; + | ^~~~~ +sc.c:1951:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1951 | 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)) + | ^~~~~~ +sc.c:1988:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1988 | 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)) + | ^~~~~~ +sc.c:1997:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1997 | 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)) + | ^~~~~~ +sc.c:2005:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 2005 | 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 'markcell': +sc.c:2019:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 2019 | 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': +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: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)) + | ^~~~~~ +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)) + | ^~~~~~ +sc.c:233:14: warning: unused variable 'home' [-Wunused-variable] + 233 | char *home; + | ^~~~ +cmds.c: In function 'dotick': +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)) + | ^~~~~~ +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 -Wl,-z,relro -o psc psc.c pvmtbl.o pxmalloc.o +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++); ); + | ^~~ interp.c:2610:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2610 | linelim--; | ^~~~~~~ @@ -584,12 +766,6 @@ interp.c:2614:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2614 | linelim--; | ^~~~~~~ -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:2669:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2669 | case NOW: for (s = "@now"; (line[linelim++] = *s++); ); | ^~~ @@ -608,91 +784,33 @@ interp.c:2704:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2704 | linelim--; | ^~~~~~~ -sc.c:1671:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1671 | 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:2706:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2706 | case LASTROW: for (s = "@lastrow"; (line[linelim++] = *s++); ); | ^~~ -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)) - | ^~~~~~ -In file included from vi.c:22: -vi.c: In function 'write_line': interp.c:2707:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2707 | linelim--; | ^~~~~~~ -vi.c:136:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 136 | 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)) - | ^~~~~~ -vi.c:146:33: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 146 | else - | ^~~~ -vi.c:147:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 147 | cr_line(); break; - | ^~~~~ interp.c:2709:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2709 | case LASTCOL: for (s = "@lastcol"; (line[linelim++] = *s++); ); | ^~~ 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 'markcell': interp.c:2714:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2714 | case NUMITER: for (s = "@numiter"; (line[linelim++] = *s++); ); | ^~~ -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:2715:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2715 | linelim--; | ^~~~~~~ -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': interp.c:2717:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2717 | case ERR_: for (s = "@err"; (line[linelim++] = *s++); ); | ^~~ interp.c:2718:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2718 | 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:2720:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2720 | case PI_: for (s = "@pi"; (line[linelim++] = *s++); ); | ^~~ -sc.c:1929:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1929 | 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)) - | ^~~~~~ interp.c:2721:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2721 | linelim--; | ^~~~~~~ @@ -702,91 +820,27 @@ interp.c:2724:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2724 | linelim--; | ^~~~~~~ -vi.c: In function 'change_case': -vi.c:1122:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] - 1122 | change_case(arg) - | ^~~~~~~~~~~ -sc.c:1951:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1951 | 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:2726:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2726 | case RED: for (s = "@red"; (line[linelim++] = *s++); ); | ^~~ -sc.c:1988:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1988 | 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:2727:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2727 | linelim--; | ^~~~~~~ interp.c:2729:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2729 | case GREEN: for (s = "@green"; (line[linelim++] = *s++); ); | ^~~ -vi.c: In function 'for_hist': interp.c:2730:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2730 | linelim--; | ^~~~~~~ -vi.c:1474:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1474 | 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)) - | ^~~~~~ -sc.c:1997:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1997 | 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)) - | ^~~~~~ -vi.c: In function 'back_hist': -vi.c:1503:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1503 | 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)) - | ^~~~~~ -sc.c:2005:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 2005 | 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:2732:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | case YELLOW: for (s = "@yellow"; (line[linelim++] = *s++); ); | ^~~ -vi.c: In function 'search_again': -sc.c:2019:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 2019 | 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:2733:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2733 | linelim--; | ^~~~~~~ -vi.c:1582:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1582 | 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)) - | ^~~~~~ -sc.c:233:14: warning: unused variable 'home' [-Wunused-variable] - 233 | char *home; - | ^~~~ interp.c:2735:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2735 | case BLUE: for (s = "@blue"; (line[linelim++] = *s++); ); | ^~~ -vi.c:1610:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 1610 | else - | ^~~~ -vi.c:1612:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 1612 | (void) strcpy(line, history[histp].histline); - | ^ interp.c:2736:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2736 | linelim--; | ^~~~~~~ @@ -799,32 +853,15 @@ interp.c:2741:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2741 | case CYAN: for (s = "@cyan"; (line[linelim++] = *s++); ); | ^~~ -vi.c: In function 'query': -vi.c:2040:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 2040 | 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:2742:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2742 | linelim--; | ^~~~~~~ -vi.c:2045:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 2045 | 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: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--; | ^~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -832,7 +869,6 @@ 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 -Wl,-z,relro -o psc psc.c pvmtbl.o pxmalloc.o mv y.tab.c gram.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 -DUSELOCALE -c gram.c gram.y: In function 'yyparse': @@ -863,10 +899,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1214 | (arg != 1 ? "s," : ","), cs, (cs != 1 ? "s" : "")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sed < gram.y > experres.h -f eres.sed -sed < gram.y > statres.h -f sres.sed -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 -DLIBDIR=\"/usr/share/doc/sc\" -DSIGVOID \ - -c lex.c cmds.c: In function 'yankcol': cmds.c:542:64: warning: ' left' directive writing 5 bytes into a region of size between 0 and 21 [-Wformat-overflow=] 542 | (void) sprintf(buf, "Can't yank %d column%s %d column%s left", arg, @@ -876,6 +908,10 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 543 | (arg != 1 ? "s," : ","), cs, (cs != 1 ? "s" : "")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sed < gram.y > experres.h -f eres.sed +sed < gram.y > statres.h -f sres.sed +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 -DLIBDIR=\"/usr/share/doc/sc\" -DSIGVOID \ + -c lex.c cmds.c: In function 'readfile': cmds.c:2991:48: warning: '"' directive writing 1 byte into a region of size between 0 and 1022 [-Wformat-overflow=] 2991 | sprintf(save + strlen(save), " \"%s\"", fname); @@ -923,12 +959,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/1554646/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1554646/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/3037152 and its subdirectories -I: Current time: Thu May 16 21:34:17 -12 2024 -I: pbuilder-time-stamp: 1715938457 +I: removing directory /srv/workspace/pbuilder/1554646 and its subdirectories +I: Current time: Fri Jun 20 05:58:31 +14 2025 +I: pbuilder-time-stamp: 1750348711