Diff of the two buildlogs: -- --- b1/build.log 2024-10-17 21:46:47.064761342 +0000 +++ b2/build.log 2024-10-17 21:47:18.475978894 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Oct 17 09:45:55 -12 2024 -I: pbuilder-time-stamp: 1729201555 +I: Current time: Thu Nov 20 18:09:48 +14 2025 +I: pbuilder-time-stamp: 1763611788 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -36,54 +36,86 @@ dpkg-source: info: applying fix-ftbfs-gcc14.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/39811/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/61146/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-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 Nov 20 04:09 /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/61146/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/61146/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=11 ' - 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]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + 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='94c5f5cd01e043df91d8d0489fbbd407' - 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='39811' - PS1='# ' - PS2='> ' + INVOCATION_ID=9bd271252b4c4580914997f201a88e48 + 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=61146 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.aTCFv5IS/pbuilderrc_vOif --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.aTCFv5IS/b1 --logfile b1/build.log sc_7.16-4.3.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://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.aTCFv5IS/pbuilderrc_CK2o --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.aTCFv5IS/b2 --logfile b2/build.log sc_7.16-4.3.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://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/39811/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/61146/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -155,7 +187,7 @@ Get: 30 http://deb.debian.org/debian trixie/main i386 debhelper all 13.20 [915 kB] Get: 31 http://deb.debian.org/debian trixie/main i386 libncurses6 i386 6.5-2 [111 kB] Get: 32 http://deb.debian.org/debian trixie/main i386 libncurses-dev i386 6.5-2 [380 kB] -Fetched 21.8 MB in 0s (50.9 MB/s) +Fetched 21.8 MB in 1s (25.8 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 ... 19786 files and directories currently installed.) @@ -304,7 +336,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/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.3_source.changes +I: user script /srv/workspace/pbuilder/61146/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/61146/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.3_source.changes dpkg-buildpackage: info: source package sc dpkg-buildpackage: info: source version 7.16-4.3 dpkg-buildpackage: info: source distribution unstable @@ -316,7 +352,7 @@ debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/sc-7.16' dh_auto_clean - make -j11 distclean + make -j21 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 \ @@ -333,7 +369,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 -Wformat -Werror=format-security" - make -j11 "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 -Wformat -Werror=format-security" + make -j21 "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 -Wformat -Werror=format-security" 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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -DDOBACKUPS -c cmds.c @@ -347,21 +383,36 @@ -DREGCOMP -c interp.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -DSIGVOID \ + -c screen.c +gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o version.o version.c +gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xmalloc.o xmalloc.c +rm -f pvmtbl.c +rm -f pxmalloc.c +ln vmtbl.c pvmtbl.c +ln xmalloc.c pxmalloc.c +rm -f qhelp.c +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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -c -DPSC pxmalloc.c +gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -DQREF -DTROFF -DSCNAME=\"SC\" -o scqref qhelp.c +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) + | ^~ pipe.c: In function 'getnum': 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) - | ^~ 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] @@ -370,9 +421,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)) | ^~~~~~ -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++; - | ^~~~~ 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)); @@ -385,11 +433,33 @@ pipe.c:117:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 117 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from vi.c:22: +vi.c: In function 'write_line': +In file included from sc.c:37: +sc.c: In function 'main': 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)) + | ^~~~~~ +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)) + | ^~~~~~ +vi.c:146:33: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 146 | else + | ^~~~ pipe.c: In function 'getformat': +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:163:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 163 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -401,8 +471,6 @@ pipe.c:206:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 206 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from interp.c:43: -interp.c: In function 'doext': 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)); @@ -411,12 +479,6 @@ pipe.c:271:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 271 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)) - | ^~~~~~ 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)); @@ -432,7 +494,6 @@ 306 | write(fd, "\n", 1); | ^~~~~~~~~~~~~~~~~~ pipe.c: In function 'dogetkey': -gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -DDFLT_PAGER=\"less\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c pipe.c:347:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 347 | write(macrofd, line, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -440,6 +501,54 @@ 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: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)) + | ^~~~~~ +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)) + | ^~~~~~ +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)) + | ^~~~~~ +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)) + | ^~~~~~ +sc.c:1350:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1350 | 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:1353:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1353 | 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: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)) + | ^~~~~~ +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 cmds.c:31: cmds.c: In function 'doend': cmds.c:1394:16: warning: zero-length gnu_printf format string [-Wformat-zero-length] @@ -448,19 +557,147 @@ 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)) + | ^~~~~~ +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': +interp.c: In function 'dolmax': +interp.c:691:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 691 | if (!count || v > maxval) + | ^~ +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)) + | ^~~~~~ +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++; + | ^~~~~ cmds.c: In function 'formatcol': +vi.c: In function 'search_again': 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)) | ^~~~~~ +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: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)) + | ^~~~~~ 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)) | ^~~~~~ +vi.c:1610:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 1610 | else + | ^~~~ +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)) + | ^~~~~~ +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); + | ^ +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: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)) + | ^~~~~~ +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)) + | ^~~~~~ +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)) + | ^~~~~~ +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: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)) + | ^~~~~~ +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)) + | ^~~~~~ +sc.c:233:14: warning: unused variable 'home' [-Wunused-variable] + 233 | char *home; + | ^~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o psc psc.c pvmtbl.o pxmalloc.o +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); + | ^ 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++); ); @@ -480,28 +717,50 @@ interp.c:2670:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2670 | linelim--; | ^~~~~~~ -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); - | ^ +cmds.c: In function 'markcell': interp.c:2700:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2700 | case MYROW: for (s = "@myrow"; (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:2701:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2701 | 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)) + | ^~~~~~ interp.c:2703:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2703 | case MYCOL: for (s = "@mycol"; (line[linelim++] = *s++); ); | ^~~ +cmds.c: In function 'dotick': interp.c:2704:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2704 | 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:2706:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2706 | case LASTROW: for (s = "@lastrow"; (line[linelim++] = *s++); ); | ^~~ interp.c:2707:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2707 | 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)) + | ^~~~~~ interp.c:2709:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2709 | case LASTCOL: for (s = "@lastcol"; (line[linelim++] = *s++); ); | ^~~ @@ -532,199 +791,48 @@ interp.c:2724:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2724 | linelim--; | ^~~~~~~ -cmds.c: In function 'markcell': interp.c:2726:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2726 | case RED: for (s = "@red"; (line[linelim++] = *s++); ); | ^~~ interp.c:2727:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2727 | 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:2729:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2729 | case GREEN: for (s = "@green"; (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)) - | ^~~~~~ interp.c:2730:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2730 | linelim--; | ^~~~~~~ -cmds.c: In function 'dotick': interp.c:2732:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | case YELLOW: for (s = "@yellow"; (line[linelim++] = *s++); ); | ^~~ -In file included from sc.c:37: -sc.c: In function 'main': -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)) - | ^~~~~~ -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)) - | ^~~~~~ interp.c:2733:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2733 | 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)) - | ^~~~~~ interp.c:2735:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2735 | case BLUE: for (s = "@blue"; (line[linelim++] = *s++); ); | ^~~ interp.c:2736:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2736 | linelim--; | ^~~~~~~ -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)) - | ^~~~~~ interp.c:2738:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2738 | case MAGENTA: for (s = "@magenta"; (line[linelim++] = *s++); ); | ^~~ -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)) - | ^~~~~~ interp.c:2739:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2739 | linelim--; | ^~~~~~~ interp.c:2741:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2741 | case CYAN: for (s = "@cyan"; (line[linelim++] = *s++); ); | ^~~ -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)) - | ^~~~~~ interp.c:2742:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2742 | linelim--; | ^~~~~~~ -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: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--; | ^~~~~~~ -sc.c:1350:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1350 | 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:1353:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1353 | 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: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)) - | ^~~~~~ -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)) - | ^~~~~~ -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)) - | ^~~~~~ -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)) - | ^~~~~~ -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)) - | ^~~~~~ -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)) - | ^~~~~~ -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)) - | ^~~~~~ -sc.c:233:14: warning: unused variable 'home' [-Wunused-variable] - 233 | char *home; - | ^~~~ -gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -DSIGVOID \ - -c screen.c -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o version.o version.c -gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -DREGCOMP -DHISTORY_FILE=\"~/.sc_history\" -c vi.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); @@ -732,78 +840,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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xmalloc.o xmalloc.c -rm -f pvmtbl.c -ln vmtbl.c pvmtbl.c -rm -f pxmalloc.c -ln xmalloc.c pxmalloc.c -rm -f qhelp.c -In file included from vi.c:22: -vi.c: In function 'write_line': -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; - | ^~~~~ -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 -Wformat -Werror=format-security -c -DPSC pvmtbl.c -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': -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)) - | ^~~~~~ -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)) - | ^~~~~~ -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); - | ^ -gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -c -DPSC pxmalloc.c -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)) - | ^~~~~~ -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)) - | ^~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -DQREF -DTROFF -DSCNAME=\"SC\" -o scqref qhelp.c -gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -DUSELOCALE -c gram.c cmds.c: In function 'deleterow': @@ -884,12 +920,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/61146/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/61146/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/39811 and its subdirectories -I: Current time: Thu Oct 17 09:46:46 -12 2024 -I: pbuilder-time-stamp: 1729201606 +I: removing directory /srv/workspace/pbuilder/61146 and its subdirectories +I: Current time: Thu Nov 20 18:10:14 +14 2025 +I: pbuilder-time-stamp: 1763611814