Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/sc.spec'], chrootPath='/var/lib/mock/f42-build-56692646-6545562/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgpttnjv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgpttnjv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1251675e17f84dd2940023968b248cdc', '-D', '/var/lib/mock/f42-build-56692646-6545562/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgpttnjv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/sc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/sc-7.16-25.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/sc.spec'], chrootPath='/var/lib/mock/f42-build-56692646-6545562/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgpttnjv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgpttnjv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd65d064b3f3f4f7485acdc3267d8088b', '-D', '/var/lib/mock/f42-build-56692646-6545562/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgpttnjv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/sc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.JxfhR1 + umask 022 + cd /builddir/build/BUILD/sc-7.16-build + test -d /builddir/build/BUILD/sc-7.16-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/sc-7.16-build + /usr/bin/rm -rf /builddir/build/BUILD/sc-7.16-build + /usr/bin/mkdir -p /builddir/build/BUILD/sc-7.16-build + /usr/bin/mkdir -p /builddir/build/BUILD/sc-7.16-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OposCB + umask 022 + cd /builddir/build/BUILD/sc-7.16-build + cd /builddir/build/BUILD/sc-7.16-build + rm -rf sc-7.16 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sc-7.16.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sc-7.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Upstream-changes-from-old-versions.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/function_definitions.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/call_function_not_take_its_address.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/format_security_fixes.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/nonotimeout-ncurses6.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2Ujiqd + umask 022 + cd /builddir/build/BUILD/sc-7.16-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sc-7.16 + make all sc.1 psc.1 -j8 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DSYSV3' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DSYSV3 -DDFLT_PAGER=\"less\" -c abbrev.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DSYSV3 -DDOBACKUPS -c cmds.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DSYSV3 -c -o color.o color.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DSYSV3 -DDOBACKUPS -c crypt.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DSYSV3 -c -o format.o format.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DSYSV3 -c -o frame.o frame.c bison -y -d gram.y gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DSYSV3 -c help.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DSYSV3 -ffloat-store -DSIGVOID \ -DREGCOMP -c interp.c format.c: In function ‘engformat’: format.c:504:21: warning: conflicting types for built-in function ‘pow’; expected ‘double(double, double)’ [-Wbuiltin-declaration-mismatch] 504 | double engmant, pow(), engabs, engexp; | ^~~ format.c:97:1: note: ‘pow’ is declared in header ‘’ 96 | #include "sc.h" +++ |+#include 97 | format.c:537:31: error: too many arguments to function ‘pow’; expected 0, have 2 537 | engmant = val/pow(10.0e0,engexp); | ^~~ ~~~~~~ format.c:504:21: note: declared here 504 | double engmant, pow(), engabs, engexp; | ^~~ make: *** [: format.o] Error 1 make: *** Waiting for unfinished jobs.... interp.c: In function ‘finfunc’: interp.c:125:22: warning: passing argument 1 of ‘fn2_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 125 | p = fn2_eval(pow, 1 + v2, v3); | ^~~ | | | double (*)(double, double) interp.c:97:27: note: expected ‘double (*)(void)’ but argument is of type ‘double (*)(double, double)’ 97 | double fn2_eval(double (*fn)(), double arg1, double arg2); | ~~~~~~~~~^~~~~ In file included from /usr/include/features.h:524, from /usr/include/sys/types.h:25, from interp.c:13: /usr/include/bits/mathcalls.h:173:1: note: ‘pow’ declared here 173 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y)); | ^~~~~~~~~~~~~~ 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++; | ^~~~~ interp.c: In function ‘eval’: interp.c:758:42: warning: passing argument 1 of ‘fn2_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 758 | case '^': return (fn2_eval(pow,eval(e->e.o.left),eval(e->e.o.right))); | ^~~ | | | double (*)(double, double) interp.c:97:27: note: expected ‘double (*)(void)’ but argument is of type ‘double (*)(double, double)’ 97 | double fn2_eval(double (*fn)(), double arg1, double arg2); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:173:1: note: ‘pow’ declared here 173 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y)); | ^~~~~~~~~~~~~~ interp.c:876:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 876 | case ABS: return (fn1_eval( fabs, eval(e->e.o.left))); | ^~~~ | | | __attribute__((const)) double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘__attribute__((const)) double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:195:1: note: ‘fabs’ declared here 195 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | ^~~~~~~~~~~ interp.c:877:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 877 | case ACOS: return (fn1_eval( acos, eval(e->e.o.left))); | ^~~~ | | | double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:53:1: note: ‘acos’ declared here 53 | __MATHCALL_VEC (acos,, (_Mdouble_ __x)); | ^~~~~~~~~~~~~~ interp.c:878:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 878 | case ASIN: return (fn1_eval( asin, eval(e->e.o.left))); | ^~~~ | | | double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:55:1: note: ‘asin’ declared here 55 | __MATHCALL_VEC (asin,, (_Mdouble_ __x)); | ^~~~~~~~~~~~~~ interp.c:879:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 879 | case ATAN: return (fn1_eval( atan, eval(e->e.o.left))); | ^~~~ | | | __attribute__((const)) double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘__attribute__((const)) double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:57:1: note: ‘atan’ declared here 57 | __MATHCALL_VEC (atan,, (_Mdouble_ __x)); | ^~~~~~~~~~~~~~ interp.c:880:44: warning: passing argument 1 of ‘fn2_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 880 | case ATAN2: return (fn2_eval( atan2, eval(e->e.o.left), eval(e->e.o.right))); | ^~~~~ | | | double (*)(double, double) interp.c:97:27: note: expected ‘double (*)(void)’ but argument is of type ‘double (*)(double, double)’ 97 | double fn2_eval(double (*fn)(), double arg1, double arg2); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:59:1: note: ‘atan2’ declared here 59 | __MATHCALL_VEC (atan2,, (_Mdouble_ __y, _Mdouble_ __x)); | ^~~~~~~~~~~~~~ interp.c:881:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 881 | case CEIL: return (fn1_eval( ceil, eval(e->e.o.left))); | ^~~~ | | | __attribute__((const)) double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘__attribute__((const)) double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:192:1: note: ‘ceil’ declared here 192 | __MATHCALLX (ceil,, (_Mdouble_ __x), (__const__)); | ^~~~~~~~~~~ interp.c:882:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 882 | case COS: return (fn1_eval( cos, eval(e->e.o.left))); | ^~~ | | | __attribute__((const)) double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘__attribute__((const)) double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:62:1: note: ‘cos’ declared here 62 | __MATHCALL_VEC (cos,, (_Mdouble_ __x)); | ^~~~~~~~~~~~~~ interp.c:883:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 883 | case EXP: return (fn1_eval( exp, eval(e->e.o.left))); | ^~~ | | | double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:113:1: note: ‘exp’ declared here 113 | __MATHCALL_VEC (exp,, (_Mdouble_ __x)); | ^~~~~~~~~~~~~~ interp.c:884:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 884 | case FABS: return (fn1_eval( fabs, eval(e->e.o.left))); | ^~~~ | | | __attribute__((const)) double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘__attribute__((const)) double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:195:1: note: ‘fabs’ declared here 195 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | ^~~~~~~~~~~ interp.c:885:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 885 | case FLOOR: return (fn1_eval( floor, eval(e->e.o.left))); | ^~~~~ | | | __attribute__((const)) double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘__attribute__((const)) double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:198:1: note: ‘floor’ declared here 198 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__)); | ^~~~~~~~~~~ interp.c:886:44: warning: passing argument 1 of ‘fn2_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 886 | case HYPOT: return (fn2_eval( hypot, eval(e->e.o.left), eval(e->e.o.right))); | ^~~~~ | | | double (*)(double, double) interp.c:97:27: note: expected ‘double (*)(void)’ but argument is of type ‘double (*)(double, double)’ 97 | double fn2_eval(double (*fn)(), double arg1, double arg2); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:180:1: note: ‘hypot’ declared here 180 | __MATHCALL_VEC (hypot,, (_Mdouble_ __x, _Mdouble_ __y)); | ^~~~~~~~~~~~~~ interp.c:887:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 887 | case LOG: return (fn1_eval( log, eval(e->e.o.left))); | ^~~ | | | double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:122:1: note: ‘log’ declared here 122 | __MATHCALL_VEC (log,, (_Mdouble_ __x)); | ^~~~~~~~~~~~~~ interp.c:888:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 888 | case LOG10: return (fn1_eval( log10, eval(e->e.o.left))); | ^~~~~ | | | double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:125:1: note: ‘log10’ declared here 125 | __MATHCALL_VEC (log10,, (_Mdouble_ __x)); | ^~~~~~~~~~~~~~ interp.c:889:44: warning: passing argument 1 of ‘fn2_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 889 | case POW: return (fn2_eval( pow, eval(e->e.o.left), eval(e->e.o.right))); | ^~~ | | | double (*)(double, double) interp.c:97:27: note: expected ‘double (*)(void)’ but argument is of type ‘double (*)(double, double)’ 97 | double fn2_eval(double (*fn)(), double arg1, double arg2); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:173:1: note: ‘pow’ declared here 173 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y)); | ^~~~~~~~~~~~~~ interp.c:890:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 890 | case SIN: return (fn1_eval( sin, eval(e->e.o.left))); | ^~~ | | | __attribute__((const)) double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘__attribute__((const)) double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:64:1: note: ‘sin’ declared here 64 | __MATHCALL_VEC (sin,, (_Mdouble_ __x)); | ^~~~~~~~~~~~~~ interp.c:891:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 891 | case SQRT: return (fn1_eval( sqrt, eval(e->e.o.left))); | ^~~~ | | | double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:176:1: note: ‘sqrt’ declared here 176 | __MATHCALL (sqrt,, (_Mdouble_ __x)); | ^~~~~~~~~~ interp.c:892:44: warning: passing argument 1 of ‘fn1_eval’ from incompatible pointer type [-Wincompatible-pointer-types] 892 | case TAN: return (fn1_eval( tan, eval(e->e.o.left))); | ^~~ | | | __attribute__((const)) double (*)(double) interp.c:96:27: note: expected ‘double (*)(void)’ but argument is of type ‘__attribute__((const)) double (*)(double)’ 96 | double fn1_eval(double (*fn)(), double arg); | ~~~~~~~~~^~~~~ /usr/include/bits/mathcalls.h:66:1: note: ‘tan’ declared here 66 | __MATHCALL_VEC (tan,, (_Mdouble_ __x)); | ^~~~~~~~~~~~~~ interp.c: In function ‘eval_fpe’: interp.c:989:27: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 989 | (void) signal(SIGFPE, eval_fpe); | ^~~~~~~~ | | | void (*)(void) In file included from interp.c:23: /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ interp.c:975:1: note: ‘eval_fpe’ declared here 975 | eval_fpe() /* Trap for FPE errors in eval */ | ^~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ interp.c: In function ‘fn1_eval’: interp.c:998:12: error: too many arguments to function ‘fn’; expected 0, have 1 998 | res = (*fn)(arg); | ~^~~~ ~~~ interp.c: In function ‘fn2_eval’: interp.c:1010:12: error: too many arguments to function ‘fn’; expected 0, have 2 1010 | res = (*fn)(arg1, arg2); | ~^~~~ ~~~~ 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)) | ^~~~~~ interp.c: In function ‘EvalAll’: interp.c:1388:27: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 1388 | (void) signal(SIGFPE, eval_fpe); | ^~~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ interp.c:975:1: note: ‘eval_fpe’ declared here 975 | eval_fpe() /* Trap for FPE errors in eval */ | ^~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ interp.c:1415:27: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 1415 | (void) signal(SIGFPE, doquit); | ^~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ interp.c:62:10: note: ‘doquit’ declared here 62 | void doquit(); | ^~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ interp.c: In function ‘let’: interp.c:2249:31: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 2249 | (void) signal(SIGFPE, eval_fpe); | ^~~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ interp.c:975:1: note: ‘eval_fpe’ declared here 975 | eval_fpe() /* Trap for FPE errors in eval */ | ^~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ interp.c:2265:31: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 2265 | (void) signal(SIGFPE, doquit); | ^~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ interp.c:62:10: note: ‘doquit’ declared here 62 | void doquit(); | ^~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ interp.c: In function ‘slet’: interp.c:2321:27: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 2321 | (void) signal(SIGFPE, eval_fpe); | ^~~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ interp.c:975:1: note: ‘eval_fpe’ declared here 975 | eval_fpe() /* Trap for FPE errors in eval */ | ^~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ interp.c:2336:27: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 2336 | (void) signal(SIGFPE, doquit); | ^~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ interp.c:62:10: note: ‘doquit’ declared here 62 | void doquit(); | ^~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ interp.c: In function ‘decompile’: In file included from cmds.c:31: cmds.c: In function ‘doend’: interp.c:2609:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2609 | case 'f': for (s="@fixed "; (line[linelim++] = *s++); ); | ^~~ 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)) | ^~~~~~ 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++); ); | ^~~ 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 ‘formatcol’: cmds.c:1471:1: warning: old-style function definition [-Wold-style-definition] 1471 | formatcol(arg) | ^~~~~~~~~ interp.c:2669:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2669 | case NOW: for (s = "@now"; (line[linelim++] = *s++); ); | ^~~ cmds.c:1471:1: warning: type of ‘arg’ defaults to ‘int’ [-Wimplicit-int] 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: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)) | ^~~~~~ 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--; | ^~~~~~~ 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)) | ^~~~~~ interp.c:2703:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2703 | case MYCOL: for (s = "@mycol"; (line[linelim++] = *s++); ); | ^~~ cmds.c: In function ‘ljustify’: interp.c:2704:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 2704 | linelim--; | ^~~~~~~ cmds.c:1606:1: warning: old-style function definition [-Wold-style-definition] 1606 | ljustify(sr, sc, er, ec) | ^~~~~~~~ cmds.c:1606:1: warning: type of ‘sr’ defaults to ‘int’ [-Wimplicit-int] 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: old-style function definition [-Wold-style-definition] 1635 | rjustify(sr, sc, er, ec) | ^~~~~~~~ interp.c:2706:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2706 | case LASTROW: for (s = "@lastrow"; (line[linelim++] = *s++); ); | ^~~ cmds.c:1635:1: warning: type of ‘sr’ defaults to ‘int’ [-Wimplicit-int] 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’: interp.c:2707:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 2707 | linelim--; | ^~~~~~~ cmds.c:1664:1: warning: old-style function definition [-Wold-style-definition] 1664 | center(sr, sc, er, ec) | ^~~~~~ cmds.c:1664:1: warning: type of ‘sr’ defaults to ‘int’ [-Wimplicit-int] 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: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--; | ^~~~~~~ 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); | ^ make: *** [Makefile:426: interp.o] Error 1 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(""); | ^~ sc.h:46:101: note: in definition of macro ‘error’ 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ cmds.c:3296:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] 3296 | error(""); | ^~ sc.h:46:101: note: in definition of macro ‘error’ 46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw(format, ## msg)) | ^~~~~~ cmds.c: In function ‘openfile’: cmds.c:2558:16: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2558 | (void) dup(pipefd[0]); /* connect to first pipe */ | ^~~~~~~~~~~~~~ cmds.c:2562:20: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2562 | (void) dup(pipefd[3]); /* connect to second pipe */ | ^~~~~~~~~~~~~~ cmds.c: In function ‘readfile’: cmds.c:3069:9: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3069 | freopen("/dev/tty", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds.c: In function ‘backup_file’: cmds.c:3586:9: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3586 | chown(tpath, statbuf.st_uid, statbuf.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv y.tab.c gram.c cmds.c: In function ‘deleterow’: cmds.c:325:60: warning: ‘ left’ directive writing 5 bytes into a region of size between 4 and 25 [-Wformat-overflow=] 325 | (void) sprintf(buf, "Can't delete %d row%s %d row%s left", arg, | ^~~~~ In file included from /usr/include/stdio.h:970, from /usr/include/curses.h:246, from cmds.c:23: In function ‘*__sprintfieee128’, inlined from ‘deleterow’ at cmds.c:325:9: /usr/include/bits/stdio2.h:30:10: note: ‘*__sprintf_chkieee128’ output between 31 and 52 bytes into a destination of size 50 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmds.c: In function ‘closecol’: cmds.c:1213:57: warning: ‘ column’ directive writing 7 bytes into a region of size between 6 and 26 [-Wformat-overflow=] 1213 | (void) sprintf(buf, "Can't delete %d column%s %d column%s left", arg, | ^~~~~~~ In function ‘*__sprintfieee128’, inlined from ‘closecol’ at cmds.c:1213:9: /usr/include/bits/stdio2.h:30:10: note: ‘*__sprintf_chkieee128’ output between 37 and 58 bytes into a destination of size 50 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmds.c: In function ‘yankcol’: cmds.c:542:64: warning: ‘ left’ directive writing 5 bytes into a region of size between 0 and 21 [-Wformat-overflow=] 542 | (void) sprintf(buf, "Can't yank %d column%s %d column%s left", arg, | ^~~~~ In function ‘*__sprintfieee128’, inlined from ‘yankcol’ at cmds.c:542:9: /usr/include/bits/stdio2.h:30:10: note: ‘*__sprintf_chkieee128’ output between 35 and 56 bytes into a destination of size 50 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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); | ^~ In function ‘*__sprintfieee128’, inlined from ‘readfile’ at cmds.c:2991:6: /usr/include/bits/stdio2.h:30:10: note: ‘*__sprintf_chkieee128’ output between 4 and 1026 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.2Ujiqd (%build) Bad exit status from /var/tmp/rpm-tmp.2Ujiqd (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M d65d064b3f3f4f7485acdc3267d8088b -D /var/lib/mock/f42-build-56692646-6545562/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zgpttnjv:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/sc.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M d65d064b3f3f4f7485acdc3267d8088b -D /var/lib/mock/f42-build-56692646-6545562/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zgpttnjv:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/sc.spec'