Diff of the two buildlogs: -- --- b1/build.log 2023-04-13 15:54:52.829862978 +0000 +++ b2/build.log 2023-04-13 15:55:21.796577250 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 13 03:53:42 -12 2023 -I: pbuilder-time-stamp: 1681401222 +I: Current time: Thu May 16 12:17:54 +14 2024 +I: pbuilder-time-stamp: 1715811474 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./sc_7.16.orig.tar.gz] I: copying [./sc_7.16-4.1.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Feb 3 07:59:05 2022 -12 +gpgv: Signature made Fri Feb 4 09:59:05 2022 +14 gpgv: using RSA key A36878F464108681600CB64844173FA13D058888 gpgv: issuer "paulliu@debian.org" gpgv: Can't check signature: No public key @@ -33,135 +33,144 @@ dpkg-source: info: applying hardening I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2070049/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2822520/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 +lrwxrwxrwx 1 root root 4 Jan 6 2023 /bin/sh -> dash +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/2822520/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2822520/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' + 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=15' + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='amd64' IFS=' ' - INVOCATION_ID='08b49db79aea4bfcac7c030a710515c8' + INVOCATION_ID='c20c1b6ce36f49d98ba517628d260810' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='et_EE:et' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + 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' - PPID='2070049' + PPID='2822520' PS1='# ' PS2='> ' 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.0zmriEeg/pbuilderrc_jFe0 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0zmriEeg/b1 --logfile b1/build.log sc_7.16-4.1.dsc' + 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.0zmriEeg/pbuilderrc_ER2u --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0zmriEeg/b2 --logfile b2/build.log --extrapackages usrmerge sc_7.16-4.1.dsc' SUDO_GID='110' SUDO_UID='105' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + http_proxy='http://85.184.249.68:3128' I: uname -a - Linux ionos1-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Feb 12 08:05 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 18 05:00 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 08:05 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/2070049/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Feb 13 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 19 2022 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 4 Jan 6 2023 sh -> dash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/2822520/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -235,7 +244,7 @@ Get: 32 http://deb.debian.org/debian bookworm/main amd64 libncurses6 amd64 6.4-2 [103 kB] Get: 33 http://deb.debian.org/debian bookworm/main amd64 libncurses-dev amd64 6.4-2 [348 kB] Get: 34 http://deb.debian.org/debian bookworm/main amd64 libncurses5-dev amd64 6.4-2 [932 B] -Fetched 20.4 MB in 1s (36.6 MB/s) +Fetched 20.4 MB in 0s (91.0 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 ... 19596 files and directories currently installed.) @@ -389,10 +398,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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.1_source.changes +I: user script /srv/workspace/pbuilder/2822520/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/2822520/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/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.1_source.changes dpkg-buildpackage: info: source package sc dpkg-buildpackage: info: source version 7.16-4.1 dpkg-buildpackage: info: source distribution unstable @@ -404,7 +420,7 @@ debian/rules override_dh_auto_clean make[1]: Entering directory '/build/sc-7.16' dh_auto_clean - make -j15 distclean + make -j16 distclean make[2]: Entering directory '/build/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 \ @@ -421,7 +437,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/sc-7.16' dh_auto_build -- all sc.1 psc.1 CC=gcc CFLAGS="-Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security" - make -j15 "INSTALL=install --strip-program=true" all sc.1 psc.1 CC=gcc "CFLAGS=-Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security" + make -j16 "INSTALL=install --strip-program=true" all sc.1 psc.1 CC=gcc "CFLAGS=-Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security" make[2]: Entering directory '/build/sc-7.16' gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -DDFLT_PAGER=\"less\" -c abbrev.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -DDOBACKUPS -c cmds.c @@ -442,51 +458,14 @@ gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vmtbl.o vmtbl.c -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] +gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xmalloc.o xmalloc.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) @@ -511,6 +490,14 @@ 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 sc.c:37: +sc.c: In function 'main': +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)) + | ^~~~~~ 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)); @@ -557,47 +544,6 @@ pipe.c:358:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 358 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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) - | ^~ -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++; - | ^~~~~ -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); - | ^ -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] - 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)) - | ^~~~~~ -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:889:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 889 | error(""); | ^~ @@ -610,46 +556,36 @@ 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 -ffile-prefix-map=/build/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xmalloc.o xmalloc.c 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)) | ^~~~~~ -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; - | ^~~~~ 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)) | ^~~~~~ -vi.c:516:55: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] - 516 | case '*': if (nmgetch() == '*') gotonote(); break; - | ^~~~~~~~ sc.c:1301:46: warning: implicit declaration of function 'list_frames'; did you mean 'list_ranges'? [-Wimplicit-function-declaration] 1301 | if (!brokenpipe) list_frames(f); | ^~~~~~~~~~~ | list_ranges +In file included from cmds.c:31: +cmds.c: In function 'doend': 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)) | ^~~~~~ +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)) + | ^~~~~~ sc.c:1353:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1353 | error(""); | ^~ @@ -668,50 +604,169 @@ 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) + | ^~~~~~~~~ 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)) - | ^~~~~~ -cmds.c: In function 'dotick': -cmds.c:3282:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 3282 | error(""); - | ^~ +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: In function 'change_case': -vi.c:1122:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] - 1122 | change_case(arg) - | ^~~~~~~~~~~ sc.c:1414:57: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration] 1414 | if (rcqual == 'r') yankrow(arg); | ^~~~~~~ | yankr +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] sc.c:1415:57: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration] 1415 | else yankcol(arg); | ^~~~~~~ | backcol -cmds.c:3296:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 3296 | error(""); +cmds.c: In function 'center': +interp.c: In function 'dolmax': +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] +interp.c:691:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 691 | if (!count || v > maxval) + | ^~ +cmds.c:1664:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] +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++; + | ^~~~~ +sc.c:1591:29: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration] + 1591 | ljustify(currow, curcol, currow, curcol); + | ^~~~~~~~ +sc.c:1601:29: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] + 1601 | rjustify(currow, curcol, currow, curcol); + | ^~~~~~~~ +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; + | ^~~~~ +sc.c:1611:29: warning: implicit declaration of function 'center' [-Wimplicit-function-declaration] + 1611 | center(currow, curcol, currow, curcol); + | ^~~~~~ +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: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)) + | ^~~~~~ +vi.c:516:55: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] + 516 | case '*': if (nmgetch() == '*') gotonote(); break; + | ^~~~~~~~ +rm -f pvmtbl.c +sc.c:2018:29: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] + 2018 | gotonote(); + | ^~~~~~~~ +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; + | ^~~~ +ln vmtbl.c pvmtbl.c +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); + | ^ +vi.c: In function 'change_case': +vi.c:1122:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] + 1122 | change_case(arg) + | ^~~~~~~~~~~ vi.c: In function 'for_hist': vi.c:1474:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1474 | error(""); @@ -719,17 +774,7 @@ 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:1591:29: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration] - 1591 | ljustify(currow, curcol, currow, curcol); - | ^~~~~~~~ -interp.c:2609:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - 2609 | case 'f': for (s="@fixed "; (line[linelim++] = *s++); ); - | ^~~ vi.c: In function 'back_hist': -interp.c:2610:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' - 2610 | linelim--; - | ^~~~~~~ vi.c:1503:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1503 | error(""); | ^~ @@ -737,36 +782,77 @@ 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ vi.c: In function 'search_again': -interp.c:2613:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - 2613 | case 'F': for (s="(@fixed)"; (line[linelim++] = *s++); ); - | ^~~ 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 + | ^~~~ +rm -f pxmalloc.c +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: 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--; + | ^~~~~~~ +interp.c:2613:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + 2613 | case 'F': for (s="(@fixed)"; (line[linelim++] = *s++); ); + | ^~~ +cmds.c: In function 'markcell': +vi.c: In function 'query': 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:1601:29: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] - 1601 | rjustify(currow, curcol, currow, curcol); - | ^~~~~~~~ +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)) + | ^~~~~~ +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)) + | ^~~~~~ +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)) + | ^~~~~~ +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:2669:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2669 | case NOW: for (s = "@now"; (line[linelim++] = *s++); ); | ^~~ -sc.c:1611:29: warning: implicit declaration of function 'center' [-Wimplicit-function-declaration] - 1611 | center(currow, curcol, currow, curcol); - | ^~~~~~ +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:2670:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2670 | linelim--; | ^~~~~~~ -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); - | ^ +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:2700:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2700 | case MYROW: for (s = "@myrow"; (line[linelim++] = *s++); ); | ^~~ @@ -776,21 +862,10 @@ interp.c:2703:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2703 | case MYCOL: for (s = "@mycol"; (line[linelim++] = *s++); ); | ^~~ -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)) - | ^~~~~~ +ln xmalloc.c pxmalloc.c 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: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:2706:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2706 | case LASTROW: for (s = "@lastrow"; (line[linelim++] = *s++); ); | ^~~ @@ -803,73 +878,35 @@ interp.c:2710:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2710 | linelim--; | ^~~~~~~ -vi.c: In function 'query': -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:2714:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2714 | case NUMITER: for (s = "@numiter"; (line[linelim++] = *s++); ); | ^~~ -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:2715:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2715 | linelim--; | ^~~~~~~ interp.c:2717:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2717 | case ERR_: for (s = "@err"; (line[linelim++] = *s++); ); | ^~~ -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: In function 'dogoto': interp.c:2718:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2718 | 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)) - | ^~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ interp.c:2720:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2720 | case PI_: for (s = "@pi"; (line[linelim++] = *s++); ); | ^~~ interp.c:2721:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2721 | linelim--; | ^~~~~~~ -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)) - | ^~~~~~ interp.c:2723:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2723 | case BLACK: for (s = "@black"; (line[linelim++] = *s++); ); | ^~~ interp.c:2724:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2724 | linelim--; | ^~~~~~~ +rm -f qhelp.c interp.c:2726:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2726 | case RED: for (s = "@red"; (line[linelim++] = *s++); ); | ^~~ @@ -885,25 +922,12 @@ interp.c:2732:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2732 | case YELLOW: for (s = "@yellow"; (line[linelim++] = *s++); ); | ^~~ -sc.c:2018:29: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] - 2018 | gotonote(); - | ^~~~~~~~ interp.c:2733:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2733 | linelim--; | ^~~~~~~ -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:2735:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2735 | case BLUE: for (s = "@blue"; (line[linelim++] = *s++); ); | ^~~ -sc.c:233:14: warning: unused variable 'home' [-Wunused-variable] - 233 | char *home; - | ^~~~ -rm -f pvmtbl.c interp.c:2736:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2736 | linelim--; | ^~~~~~~ @@ -922,17 +946,9 @@ interp.c:2744:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2744 | case WHITE: for (s = "@white"; (line[linelim++] = *s++); ); | ^~~ -ln vmtbl.c pvmtbl.c 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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -rm -f pxmalloc.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 @@ -1007,6 +1023,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 -ffile-prefix-map=/build/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -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); @@ -1014,10 +1034,6 @@ cmds.c:2991:13: note: 'sprintf' output between 4 and 1026 bytes into a destination of size 1024 2991 | sprintf(save + strlen(save), " \"%s\"", fname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sed < gram.y > experres.h -f eres.sed -sed < gram.y > statres.h -f sres.sed -gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBDIR=\"/usr/share/doc/sc\" -DSIGVOID \ - -c lex.c gcc -Wl,-z,relro abbrev.o cmds.o color.o crypt.o format.o frame.o gram.o help.o interp.o lex.o pipe.o range.o sc.o screen.o sort.o version.o vi.o vmtbl.o xmalloc.o -lm -lncurses -o sc make[2]: Leaving directory '/build/sc-7.16' make[1]: Leaving directory '/build/sc-7.16' @@ -1058,12 +1074,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/2822520/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2822520/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/2070049 and its subdirectories -I: Current time: Thu Apr 13 03:54:51 -12 2023 -I: pbuilder-time-stamp: 1681401291 +I: removing directory /srv/workspace/pbuilder/2822520 and its subdirectories +I: Current time: Thu May 16 12:18:21 +14 2024 +I: pbuilder-time-stamp: 1715811501