Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/s/sc/sc_7.16-4.1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/sc-7.16-4.1jdg1b8pe/sc_7.16-4.1_amd64.buildinfo Get source package info: sc=7.16-4.1 Source URL: http://snapshot.notset.fr/mr/package/sc/7.16-4.1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.5-1.1 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=12.2 base-passwd=3.5.52 bash=5.1-6 binutils=2.37.90.20220130-2 binutils-common=2.37.90.20220130-2 binutils-x86-64-linux-gnu=2.37.90.20220130-2 bison=2:3.8.2+dfsg-1 bsdextrautils=2.37.3-1+b1 bsdutils=1:2.37.3-1+b1 build-essential=12.9 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.2.0-16 dash=0.5.11+git20210903+057cd650a4ed-3 debconf=1.5.79 debhelper=13.6 debianutils=5.7-0.1 dh-autoreconf=20 dh-strip-nondeterminism=1.13.0-1 diffutils=1:3.7-5 dpkg=1.21.1 dpkg-dev=1.21.1 dwz=0.14-1 file=1:5.41-2 findutils=4.8.0-1 g++=4:11.2.0-2 g++-11=11.2.0-16 gcc=4:11.2.0-2 gcc-11=11.2.0-16 gcc-11-base=11.2.0-16 gettext=0.21-4 gettext-base=0.21-4 grep=3.7-1 groff-base=1.22.4-8 gzip=1.10-4 hostname=3.23 init-system-helpers=1.61 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.2.0-16 libatomic1=11.2.0-16 libattr1=1:2.5.1-1 libaudit-common=1:3.0.6-1 libaudit1=1:3.0.6-1+b1 libbinutils=2.37.90.20220130-2 libblkid1=2.37.3-1+b1 libbz2-1.0=1.0.8-5 libc-bin=2.33-5 libc-dev-bin=2.33-5 libc6=2.33-5 libc6-dev=2.33-5 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcc1-0=11.2.0-16 libcom-err2=1.46.5-2 libcrypt-dev=1:4.4.27-1.1 libcrypt1=1:4.4.27-1.1 libctf-nobfd0=2.37.90.20220130-2 libctf0=2.37.90.20220130-2 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.261 libdebhelper-perl=13.6 libdpkg-perl=1.21.1 libelf1=0.186-1 libfile-stripnondeterminism-perl=1.13.0-1 libgcc-11-dev=11.2.0-16 libgcc-s1=11.2.0-16 libgcrypt20=1.9.4-5 libgdbm-compat4=1.22-1 libgdbm6=1.22-1 libgmp10=2:6.2.1+dfsg-3 libgomp1=11.2.0-16 libgpg-error0=1.43-3 libgssapi-krb5-2=1.18.3-7 libicu67=67.1-7 libisl23=0.24-2 libitm1=11.2.0-16 libk5crypto3=1.18.3-7 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-7 libkrb5support0=1.18.3-7 liblsan0=11.2.0-16 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.41-2 libmagic1=1:5.41-2 libmount1=2.37.3-1+b1 libmpc3=1.2.1-1 libmpfr6=4.1.0-3 libncurses-dev=6.3-2 libncurses5-dev=6.3-2 libncurses6=6.3-2 libncursesw6=6.3-2 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-11 libpam-modules-bin=1.4.0-11 libpam-runtime=1.4.0-11 libpam0g=1.4.0-11 libpcre2-8-0=10.39-3 libpcre3=2:8.39-13 libperl5.32=5.32.1-6 libpipeline1=1.5.5-1 libquadmath0=11.2.0-16 libseccomp2=2.5.3-2 libselinux1=3.3-1+b1 libsigsegv2=2.14-1 libsmartcols1=2.37.3-1+b1 libssl1.1=1.1.1m-1 libstdc++-11-dev=11.2.0-16 libstdc++6=11.2.0-16 libsub-override-perl=0.09-2 libsystemd0=250.3-2 libtinfo6=6.3-2 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.6-15 libtsan0=11.2.0-16 libubsan1=11.2.0-16 libuchardet0=0.0.7-1 libudev1=250.3-2 libunistring2=0.9.10-6 libuuid1=2.37.3-1+b1 libxml2=2.9.12+dfsg-5+b1 libzstd1=1.4.8+dfsg-3 linux-libc-dev=5.15.15-2 login=1:4.11.1+dfsg1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-4 mawk=1.3.4.20200120-3+b1 ncurses-base=6.3-2 ncurses-bin=6.3-2 patch=2.7.6-7 perl=5.32.1-6 perl-base=5.32.1-6 perl-modules-5.32=5.32.1-6 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=3.01-1 tar=1.34+dfsg-1 util-linux=2.37.3-1+b1 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20220211T025424Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20220211T025424Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220204T152143Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d sc=7.16-4.1 && mkdir -p /build/sc-vLGH6D && dpkg-source --no-check -x /*.dsc /build/sc-vLGH6D/sc-7.16 && chown -R builduser:builduser /build/sc-vLGH6D" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/sc-vLGH6D/sc-7.16 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1643131343" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/sc-vLGH6D /tmp/sc-7.16-4.1jdg1b8pe bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20220204T152143Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.Ap4fzGzqbs as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.Ap4fzGzqbs Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.3-1+b1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 136 kB of archives. After this operation, 406 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20220204T152143Z unstable/main amd64 libfakeroot amd64 1.27-1 [48.5 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220204T152143Z unstable/main amd64 fakeroot amd64 1.27-1 [87.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 136 kB in 0s (765 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4697 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.27-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.27-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.27-1_amd64.deb ... Unpacking fakeroot (1.27-1) ... Setting up libfakeroot:amd64 (1.27-1) ... Setting up fakeroot (1.27-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.33-5) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20220211T025424Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20220211T025424Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220204T152143Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.Ap4fzGzqbs Get:1 http://snapshot.notset.fr/archive/debian/20220211T025424Z bookworm InRelease [129 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20220204T152143Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20220211T025424Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220211T025424Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20220211T025424Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220211T025424Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20220211T025424Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220211T025424Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20220211T025424Z bookworm/main Sources [11.8 MB] Get:4 http://snapshot.notset.fr/archive/debian/20220211T025424Z bookworm/main amd64 Packages [11.2 MB] Fetched 23.2 MB in 20s (1177 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.Ap4fzGzqbs I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d sc=7.16-4.1 && mkdir -p /build/sc-vLGH6D && dpkg-source --no-check -x /*.dsc /build/sc-vLGH6D/sc-7.16 && chown -R builduser:builduser /build/sc-vLGH6D"' exec /tmp/mmdebstrap.Ap4fzGzqbs Reading package lists... NOTICE: 'sc' packaging is maintained in the 'Git' version control system at: git://git.debian.org/collab-maint/sc.git Please use: git clone git://git.debian.org/collab-maint/sc.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 223 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20220211T025424Z bookworm/main sc 7.16-4.1 (dsc) [1803 B] Get:2 http://snapshot.notset.fr/archive/debian/20220211T025424Z bookworm/main sc 7.16-4.1 (tar) [210 kB] Get:3 http://snapshot.notset.fr/archive/debian/20220211T025424Z bookworm/main sc 7.16-4.1 (diff) [11.0 kB] Fetched 223 kB in 0s (1216 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'sc_7.16-4.1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting sc in /build/sc-vLGH6D/sc-7.16 dpkg-source: info: unpacking sc_7.16.orig.tar.gz dpkg-source: info: unpacking sc_7.16-4.1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying use_varadic_macro dpkg-source: info: applying call_function_not_take_its_address dpkg-source: info: applying Upstream-changes-from-old-versions dpkg-source: info: applying function_definitions dpkg-source: info: applying nonotimeout.patch dpkg-source: info: applying hardening I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/sc-vLGH6D/sc-7.16 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1643131343" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.Ap4fzGzqbs dpkg-buildpackage: info: source package sc dpkg-buildpackage: info: source version 7.16-4.1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Ying-Chun Liu (PaulLiu) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/build/sc-vLGH6D/sc-7.16' dh_auto_clean make -j10 distclean make[2]: Entering directory '/build/sc-vLGH6D/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 \ pxmalloc.c pvmtbl.c qhelp.c tags make[2]: Leaving directory '/build/sc-vLGH6D/sc-7.16' find . -name '*~' -exec rm {} \; make[1]: Leaving directory '/build/sc-vLGH6D/sc-7.16' dh_clean debian/rules build-arch dh build-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a debian/rules override_dh_auto_build make[1]: Entering directory '/build/sc-vLGH6D/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-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security" make -j10 "INSTALL=install --strip-program=true" all sc.1 psc.1 CC=gcc "CFLAGS=-Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security" make[2]: Entering directory '/build/sc-vLGH6D/sc-7.16' gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/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-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -DDOBACKUPS -c cmds.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o color.o color.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -DDOBACKUPS -c crypt.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o format.o format.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o frame.o frame.c bison -y -d gram.y gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -c help.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -ffloat-store -DSIGVOID \ -DREGCOMP -c interp.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/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 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o range.o range.c pipe.c: In function ‘getnum’: pipe.c:39:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 39 | if (p) | ^ In file included from pipe.c:12: pipe.c: In function ‘doquery’: pipe.c:311:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] 311 | error(""); | ^~ sc.h:46:101: note: in definition of macro ‘error’ 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ pipe.c: In function ‘getnum’: pipe.c:49:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 49 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function ‘fgetnum’: pipe.c:92:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 92 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function ‘getstring’: pipe.c:117:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 117 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function ‘getexp’: pipe.c:149:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 149 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function ‘getformat’: pipe.c:163:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 163 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function ‘getfmt’: pipe.c:182:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 182 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function ‘getframe’: pipe.c:206:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 206 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function ‘getrange’: pipe.c:249:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 249 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function ‘doeval’: pipe.c:271:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 271 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function ‘doseval’: pipe.c:288:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 288 | write(fd, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~ pipe.c:289:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 289 | write(fd, "\n", 1); | ^~~~~~~~~~~~~~~~~~ pipe.c: In function ‘doquery’: pipe.c:305:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 305 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c:306:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 306 | write(fd, "\n", 1); | ^~~~~~~~~~~~~~~~~~ pipe.c: In function ‘dogetkey’: pipe.c:347:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 347 | write(macrofd, line, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function ‘dostat’: pipe.c:358:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 358 | write(fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cmds.c:31: cmds.c: In function ‘doend’: cmds.c:1394:16: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1394 | error (""); /* clear line */ | ^~ sc.h:46:101: note: in definition of macro ‘error’ 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ cmds.c: In function ‘formatcol’: cmds.c:1471:1: warning: type of ‘arg’ defaults to ‘int’ [-Wimplicit-int] 1471 | formatcol(arg) | ^~~~~~~~~ In file included from cmds.c:31: cmds.c:1569:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1569 | error(""); | ^~ sc.h:46:101: note: in definition of macro ‘error’ 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ cmds.c:1602:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1602 | error(""); | ^~ sc.h:46:101: note: in definition of macro ‘error’ 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ cmds.c: In function ‘ljustify’: cmds.c:1606:1: warning: type of ‘sr’ defaults to ‘int’ [-Wimplicit-int] 1606 | ljustify(sr, sc, er, ec) | ^~~~~~~~ cmds.c:1606:1: warning: type of ‘sc’ defaults to ‘int’ [-Wimplicit-int] cmds.c:1606:1: warning: type of ‘er’ defaults to ‘int’ [-Wimplicit-int] cmds.c:1606:1: warning: type of ‘ec’ defaults to ‘int’ [-Wimplicit-int] cmds.c: In function ‘rjustify’: cmds.c:1635:1: warning: type of ‘sr’ defaults to ‘int’ [-Wimplicit-int] 1635 | rjustify(sr, sc, er, ec) | ^~~~~~~~ cmds.c:1635:1: warning: type of ‘sc’ defaults to ‘int’ [-Wimplicit-int] cmds.c:1635:1: warning: type of ‘er’ defaults to ‘int’ [-Wimplicit-int] cmds.c:1635:1: warning: type of ‘ec’ defaults to ‘int’ [-Wimplicit-int] cmds.c: In function ‘center’: cmds.c:1664:1: warning: type of ‘sr’ defaults to ‘int’ [-Wimplicit-int] 1664 | center(sr, sc, er, ec) | ^~~~~~ cmds.c:1664:1: warning: type of ‘sc’ defaults to ‘int’ [-Wimplicit-int] cmds.c:1664:1: warning: type of ‘er’ defaults to ‘int’ [-Wimplicit-int] cmds.c:1664:1: warning: type of ‘ec’ defaults to ‘int’ [-Wimplicit-int] interp.c: In function ‘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++; | ^~~~~ gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -DDFLT_PAGER=\"less\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c In file included from interp.c:43: interp.c: In function ‘doext’: interp.c:1137:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1137 | error(""); /* erase notice */ | ^~ sc.h:46:101: note: in definition of macro ‘error’ 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ cmds.c: 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 cmds.c:31: 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)) | ^~~~~~ 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: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:2614:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 2614 | linelim--; | ^~~~~~~ cmds.c: In function ‘dotick’: cmds.c:3282:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] 3282 | error(""); | ^~ sc.h:46:101: note: in definition of macro ‘error’ 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ interp.c:2669:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2669 | case NOW: for (s = "@now"; (line[linelim++] = *s++); ); | ^~~ 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: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++); ); | ^~~ interp.c:2701:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 2701 | linelim--; | ^~~~~~~ interp.c:2703:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2703 | case MYCOL: for (s = "@mycol"; (line[linelim++] = *s++); ); | ^~~ interp.c:2704:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 2704 | linelim--; | ^~~~~~~ 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--; | ^~~~~~~ interp.c:2709:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2709 | case LASTCOL: for (s = "@lastcol"; (line[linelim++] = *s++); ); | ^~~ interp.c:2710:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 2710 | linelim--; | ^~~~~~~ interp.c:2714:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2714 | case NUMITER: for (s = "@numiter"; (line[linelim++] = *s++); ); | ^~~ 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++); ); | ^~~ interp.c:2718:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 2718 | linelim--; | ^~~~~~~ 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--; | ^~~~~~~ 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--; | ^~~~~~~ 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--; | ^~~~~~~ interp.c:2729:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2729 | case GREEN: for (s = "@green"; (line[linelim++] = *s++); ); | ^~~ interp.c:2730:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 2730 | linelim--; | ^~~~~~~ interp.c:2732:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2732 | case YELLOW: for (s = "@yellow"; (line[linelim++] = *s++); ); | ^~~ interp.c:2733:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 2733 | linelim--; | ^~~~~~~ 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--; | ^~~~~~~ interp.c:2738:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2738 | case MAGENTA: for (s = "@magenta"; (line[linelim++] = *s++); ); | ^~~ 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++); ); | ^~~ interp.c:2742:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 2742 | linelim--; | ^~~~~~~ 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--; | ^~~~~~~ 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)) | ^~~~~~ 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: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 sc.c:37: 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:1414:57: warning: implicit declaration of function ‘yankrow’; did you mean ‘yankr’? [-Wimplicit-function-declaration] 1414 | if (rcqual == 'r') yankrow(arg); | ^~~~~~~ | yankr sc.c:1415:57: warning: implicit declaration of function ‘yankcol’; did you mean ‘backcol’? [-Wimplicit-function-declaration] 1415 | else yankcol(arg); | ^~~~~~~ | backcol gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -DSIGVOID \ -c screen.c 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); | ^~~~~~~~ sc.c:1611:29: warning: implicit declaration of function ‘center’ [-Wimplicit-function-declaration] 1611 | center(currow, curcol, currow, curcol); | ^~~~~~ In file included from sc.c:37: 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:2018:29: warning: implicit declaration of function ‘gotonote’ [-Wimplicit-function-declaration] 2018 | gotonote(); | ^~~~~~~~ In file included from sc.c:37: 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; | ^~~~ 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 -ffile-prefix-map=/build/sc-vLGH6D/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 -ffile-prefix-map=/build/sc-vLGH6D/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-vLGH6D/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-vLGH6D/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 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xmalloc.o xmalloc.c In file included from vi.c:22: vi.c: In function ‘write_line’: 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; | ^~~~~ vi.c:516:55: warning: implicit declaration of function ‘gotonote’ [-Wimplicit-function-declaration] 516 | case '*': if (nmgetch() == '*') gotonote(); break; | ^~~~~~~~ rm -f pvmtbl.c ln vmtbl.c pvmtbl.c 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: 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); | ^~ ~~~~~~~ In file included from vi.c:22: vi.c: In function ‘for_hist’: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^ In file included from vi.c:22: 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)) | ^~~~~~ rm -f pxmalloc.c ln xmalloc.c pxmalloc.c rm -f qhelp.c ln help.c qhelp.c vi.c: In function ‘dogoto’: vi.c:2005:9: warning: ‘strncpy’ output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 2005 | strncpy(line, "goto ", 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -c -DPSC pvmtbl.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -c -DPSC pxmalloc.c gcc -Wall -DSYSV3 -ffloat-store -g -O2 -ffile-prefix-map=/build/sc-vLGH6D/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 -ffile-prefix-map=/build/sc-vLGH6D/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 -ffile-prefix-map=/build/sc-vLGH6D/sc-7.16=. -fstack-protector-strong -Wformat -Werror=format-security -DUSELOCALE -c gram.c gram.y: In function ‘yyparse’: gram.y:310:63: warning: implicit declaration of function ‘ljustify’ [-Wimplicit-function-declaration] 310 | { ljustify($2.left.vp->row, $2.left.vp->col, | ^~~~~~~~ gram.y:317:63: warning: implicit declaration of function ‘rjustify’ [-Wimplicit-function-declaration] 317 | { rjustify($2.left.vp->row, $2.left.vp->col, | ^~~~~~~~ gram.y:324:63: warning: implicit declaration of function ‘center’ [-Wimplicit-function-declaration] 324 | { center($2.left.vp->row, $2.left.vp->col, | ^~~~~~ gram.y:619:57: warning: implicit declaration of function ‘add_abbr’ [-Wimplicit-function-declaration] 619 | | S_ABBREV STRING { add_abbr($2); } | ^ gram.y:817:43: warning: implicit declaration of function ‘yankrow’; did you mean ‘yankr’? [-Wimplicit-function-declaration] 817 | yankrow(arg); | ^~~~~~~ | yankr gram.y:847:43: warning: implicit declaration of function ‘yankcol’; did you mean ‘backcol’? [-Wimplicit-function-declaration] 847 | yankcol(arg); | ^~~~~~~ | backcol gram.y:960:68: warning: implicit declaration of function ‘getframe’; did you mean ‘getformat’? [-Wimplicit-function-declaration] 960 | | S_GETFRAME { getframe(macrofd); } | ^ | getformat gram.y:962:62: warning: implicit declaration of function ‘getrange’; did you mean ‘sortrange’? [-Wimplicit-function-declaration] 962 | | S_GETRANGE STRING { getrange($2, macrofd); } | ^~~~~ | sortrange gram.y:965:70: warning: implicit declaration of function ‘doeval’; did you mean ‘eval’? [-Wimplicit-function-declaration] 965 | | S_EVAL e { doeval($2, NULL, currow, curcol, | ^~~~~ | eval gram.y:972:69: warning: implicit declaration of function ‘doseval’; did you mean ‘seval’? [-Wimplicit-function-declaration] 972 | | S_SEVAL e { doseval($2, currow, curcol, macrofd); } | ^~~~~~~ | seval gram.y:981:70: warning: implicit declaration of function ‘dogetkey’ [-Wimplicit-function-declaration] 981 | | S_GETKEY { dogetkey(); } | ^ 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-vLGH6D/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-vLGH6D/sc-7.16' make[1]: Leaving directory '/build/sc-vLGH6D/sc-7.16' dh_auto_test -a create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a dh_installdirs -a debian/rules override_dh_auto_install make[1]: Entering directory '/build/sc-vLGH6D/sc-7.16' # dh_auto_install make[1]: Leaving directory '/build/sc-vLGH6D/sc-7.16' dh_install -a dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'sc-dbgsym' in '../sc-dbgsym_7.16-4.1_amd64.deb'. dpkg-deb: building package 'sc' in '../sc_7.16-4.1_amd64.deb'. dpkg-genbuildinfo --build=any -O../sc_7.16-4.1_amd64.buildinfo dpkg-genchanges --build=any -O../sc_7.16-4.1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/sc-vLGH6D /tmp/sc-7.16-4.1jdg1b8pe I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.Ap4fzGzqbs... I: success in 335.0202 seconds md5: sc-dbgsym_7.16-4.1_amd64.deb: OK md5: sc_7.16-4.1_amd64.deb: OK sha1: sc-dbgsym_7.16-4.1_amd64.deb: OK sha1: sc_7.16-4.1_amd64.deb: OK sha256: sc-dbgsym_7.16-4.1_amd64.deb: OK sha256: sc_7.16-4.1_amd64.deb: OK Checksums: OK