Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xyzsh.spec'], chrootPath='/var/lib/mock/f33-build-302441-56966/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xyzsh.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/xyzsh-1.5.8-17.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xyzsh.spec'], chrootPath='/var/lib/mock/f33-build-302441-56966/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xyzsh.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0oidFB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xyzsh-1.5.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/xyzsh-1.5.8.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xyzsh-1.5.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ cat configure.in ++ sed -n -e 's|^SO_VERSION=\([^\.][^\.]*\)\..*$|\1|p' + SOVER=2 + sed -i.soname -e '/[ \t]/s|\( -o libxyzsh\.so\)| -Wl,-soname,libxyzsh.so.2 \1|' Makefile.in + sed -i.strip -e '/INSTALL/s|-s -m |-m |' Makefile.in + touch -r README README.stamp + sed -i -e 's|\r||g' README + touch -r README.stamp README + rm -f README.stamp + sed -i.docdir -e '/^CFLAGS=.*DATAROOTDIR=/s|doc/xyzsh/|doc/xyzsh-1.5.8/|' configure + sed -i.optflags -e 's|-O3|-O2|' configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VnN5OB + umask 022 + cd /builddir/build/BUILD + cd xyzsh-1.5.8 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-15 07:36:49.026771874 -0400 +++ ./configure 2020-08-15 07:36:51.056771817 -0400 @@ -1730,7 +1730,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-migemo --with-system-migemodir=/usr/share/cmigemo/ configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c system-migemodir = /usr/share/cmigemo/ checking Operating System... Linux checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking for main in -lcursesw... yes checking for main in -lncursesw... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for main in -lm... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking oniguruma.h usability... yes checking oniguruma.h presence... yes checking for oniguruma.h... yes checking for main in -lonig... yes checking for main in -ldl... yes checking for nanosleep... yes checking migemo.h usability... yes checking migemo.h presence... yes checking for migemo.h... yes checking for gcc option to accept ISO C99... none needed checking whether ln -s works... yes checking for gawk... gawk checking for tgetent in -ltinfo... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for ncurses.h... (cached) yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for term.h... yes checking for struct dirent.d_namlen... no checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking for u_int32_t... yes checking whether closedir returns void... no checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for endpwent... yes checking for isascii... yes checking for memchr... yes checking for memset... yes checking for re_comp... yes checking for regcomp... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for issetugid... no checking for wcsdup... yes checking for strlcpy... no checking for strlcat... no checking for fgetln... no checking for vis... no checking for strvis... no checking for strunvis... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 -k 'CC=gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' docdir=/usr/share/doc/xyzsh-1.5.8 libxyzsh.so gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_int.o src/obj_int.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/exp.o src/exp.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_alias.o src/obj_alias.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/xfunc.o src/xfunc.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/debug.o src/debug.c src/exp.c: In function 'expression_node': src/exp.c:189:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 189 | if(**p >= '0' && **p <= '9' || **p == '-' || **p == '+') { | ~~~~~~~~~~~^~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/temulator.o src/temulator.c src/exp.c: In function 'run_node': src/exp.c:2066:40: warning: too many arguments for format [-Wformat-extra-args] 2066 | snprintf(buf, 128, "this variable is not value\n", var_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/exp.c:2073:17: warning: enumeration value 'kOpAdd' not handled in switch [-Wswitch] 2073 | switch(node->mOperand) { | ^~~~~~ src/exp.c:2073:17: warning: enumeration value 'kOpSub' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpMult' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpDiv' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpEqual' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpEqualPlus' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpEqualMinus' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpEqualMult' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpEqualDiv' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpEqualMod' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpEqualShiftLeft' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpEqualShiftRight' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpEqualAnd' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpEqualOr' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpEqualXor' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpAndAnd' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpOrOr' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpEqEq' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpNotEqEq' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpGt' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpGte' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpLt' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpLte' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpQuestion' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpOr' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpXor' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpAnd' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpLeftShift' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpRightShift' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpMod' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpTilda' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpExclamation' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpStrAdd' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpStrEqEq' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpStrNotEqEq' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpStrCmp' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpStrLt' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpStrGt' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpStrLe' not handled in switch [-Wswitch] src/exp.c:2073:17: warning: enumeration value 'kOpStrGe' not handled in switch [-Wswitch] src/exp.c:2185:40: warning: too many arguments for format [-Wformat-extra-args] 2185 | snprintf(buf, 128, "this variable is not value\n", var_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/exp.c:2198:17: warning: enumeration value 'kOpAdd' not handled in switch [-Wswitch] 2198 | switch(node->mOperand) { | ^~~~~~ src/exp.c:2198:17: warning: enumeration value 'kOpSub' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpMult' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpDiv' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpEqual' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpAndAnd' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpOrOr' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpEqEq' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpNotEqEq' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpGt' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpGte' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpLt' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpLte' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpQuestion' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpOr' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpXor' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpAnd' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpLeftShift' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpRightShift' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpMod' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpPlusPlus' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpMinusMinus' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpTilda' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpExclamation' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpPlusPlus2' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpMinusMinus2' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpStrAdd' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpStrEqEq' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpStrNotEqEq' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpStrCmp' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpStrLt' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpStrGt' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpStrLe' not handled in switch [-Wswitch] src/exp.c:2198:17: warning: enumeration value 'kOpStrGe' not handled in switch [-Wswitch] gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/env.o src/env.c src/exp.c:1760:32: warning: unused variable 'mvalue' [-Wunused-variable] 1760 | int value, lvalue, rvalue, mvalue; | ^~~~~~ src/exp.c:1760:24: warning: unused variable 'rvalue' [-Wunused-variable] 1760 | int value, lvalue, rvalue, mvalue; | ^~~~~~ src/exp.c:1760:16: warning: unused variable 'lvalue' [-Wunused-variable] 1760 | int value, lvalue, rvalue, mvalue; | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/load.o src/load.c src/env.c: In function 'sString_delete': src/env.c:59:1: warning: no return statement in function returning non-void [-Wreturn-type] 59 | } | ^ src/temulator.c: In function 'temulator_interpret': src/temulator.c:1132:30: warning: pointer targets in passing argument 2 of 'mbrtowc' differ in signedness [-Wpointer-sign] 1132 | mbrtowc(&wc, p, size, NULL); | ^ | | | unsigned char * In file included from src/kanji.h:24, from src/xyzsh.h:15, from src/temulator.c:3: /usr/include/wchar.h:297:33: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 297 | const char *__restrict __s, size_t __n, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ src/env.c: In function 'sCommand_expand_env': src/env.c:387:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 387 | if(object && (STYPE(object) == T_NFUN && nfun_option_with_argument(object, arg) || STYPE(object) == T_CLASS && class_option_with_argument(object,arg) || STYPE(object) == T_FUN && fun_option_with_argument(object, arg))) src/env.c:387:197: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 387 | if(object && (STYPE(object) == T_NFUN && nfun_option_with_argument(object, arg) || STYPE(object) == T_CLASS && class_option_with_argument(object,arg) || STYPE(object) == T_FUN && fun_option_with_argument(object, arg))) src/env.c:466:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 466 | if(object && (STYPE(object) == T_NFUN && nfun_option_with_argument(object, arg) || STYPE(object) == T_CLASS && class_option_with_argument(object,arg) || STYPE(object) == T_FUN && fun_option_with_argument(object, arg) )) src/env.c:466:193: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 466 | if(object && (STYPE(object) == T_NFUN && nfun_option_with_argument(object, arg) || STYPE(object) == T_CLASS && class_option_with_argument(object,arg) || STYPE(object) == T_FUN && fun_option_with_argument(object, arg) )) src/temulator.c:1153:39: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] 1153 | self->mCursorX += wcwidth(wc); | ^~~~~~~ src/temulator.c:1127:21: warning: unused variable 'wc' [-Wunused-variable] 1127 | wchar_t wc; | ^~ src/temulator.c: In function 'run_on_temulator': src/temulator.c:1499:5: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] 1499 | gettimeofday(&next, NULL); | ^~~~~~~~~~~~ src/load.c: In function 'load_file': src/load.c:36:19: warning: unused variable 'command' [-Wunused-variable] 36 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/load.c:80:19: warning: unused variable 'command' [-Wunused-variable] 80 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/load.c: In function 'load_so_file': src/load.c:93:15: warning: unused variable 'command' [-Wunused-variable] 93 | sCommand* command = runinfo->mCommand; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/gc.o src/gc.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/stack.o src/stack.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_string.o src/obj_string.c src/obj_string.c: In function 'string_push_back3': src/obj_string.c:205:11: warning: unused variable 'tmp_str' [-Wunused-variable] 205 | char* tmp_str; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_list.o src/obj_list.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/kanji.o src/kanji.c src/kanji.c: In function 'is_kanji': src/kanji.c:233:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 233 | return c >= 0xA1 && c <= 0xFE || c == 0x8e; | ~~~~~~~~~~^~~~~~~~~~~~ src/kanji.c:237:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 237 | return c >= 0x81 && c <= 0x9f || c >= 0xE0; | ~~~~~~~~~~^~~~~~~~~~~~ src/kanji.c: In function 'str_termlen': src/kanji.c:277:18: warning: implicit declaration of function 'wcswidth' [-Wimplicit-function-declaration] 277 | result = wcswidth(wcs, wcslen(wcs)); | ^~~~~~~~ src/kanji.c: In function 'kanji_convert': src/kanji.c:332:12: warning: unused variable 'result' [-Wunused-variable] 332 | size_t result; | ^~~~~~ src/obj_list.c: In function 'list_it_release': src/obj_list.c:10:1: warning: no return statement in function returning non-void [-Wreturn-type] 10 | } | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_hash.o src/obj_hash.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_vector.o src/obj_vector.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/block.o src/block.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_fun.o src/obj_fun.c src/obj_hash.c: In function 'resize': src/obj_hash.c:157:15: warning: unused variable 'table_size' [-Wunused-variable] 157 | const int table_size = SHASH(self).mTableSize; | ^~~~~~~~~~ src/obj_hash.c: In function 'hash_erase': src/obj_hash.c:234:16: warning: unused variable 'it2' [-Wunused-variable] 234 | hash_it* it2 = SHASH(self).mEntryIt; | ^~~ src/obj_hash.c: In function 'hash_clear': src/obj_hash.c:271:8: warning: unused variable 'max' [-Wunused-variable] 271 | int max; | ^~~ src/obj_hash.c:270:8: warning: unused variable 'i' [-Wunused-variable] 270 | int i; | ^ src/block.c: In function 'sRunInfo_add_arg': src/block.c:164:19: warning: unused variable 'arg_runtime_size' [-Wunused-variable] 164 | const int arg_runtime_size = self->mArgsSizeRuntime; | ^~~~~~~~~~~~~~~~ src/block.c: In function 'sCommand_add_arg': src/block.c:466:19: warning: unused variable 'arg_size' [-Wunused-variable] 466 | const int arg_size = self->mArgsSize; | ^~~~~~~~ src/block.c: In function 'sCommand_add_block': src/block.c:502:23: warning: unused variable 'block_size' [-Wunused-variable] 502 | const int block_size = self->mBlocksSize; | ^~~~~~~~~~ src/block.c: In function 'sCommand_add_message': src/block.c:533:23: warning: unused variable 'message_size' [-Wunused-variable] 533 | const int message_size = self->mMessagesSize; | ^~~~~~~~~~~~ src/block.c: In function 'sCommand_add_env': src/block.c:562:23: warning: unused variable 'env_size' [-Wunused-variable] 562 | const int env_size = self->mEnvsSize; | ^~~~~~~~ src/block.c: In function 'sCommand_add_env_block': src/block.c:590:23: warning: unused variable 'env_size' [-Wunused-variable] 590 | const int env_size = self->mEnvsSize; | ^~~~~~~~ src/block.c: In function 'sCommand_add_redirect': src/block.c:621:23: warning: unused variable 'redirect_size' [-Wunused-variable] 621 | const int redirect_size = self->mRedirectsSize; | ^~~~~~~~~~~~~ src/block.c: In function 'sStatment_new': src/block.c:761:19: warning: unused variable 'statments_size' [-Wunused-variable] 761 | const int statments_size = SBLOCK(block).mStatmentsSize; | ^~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_class.o src/obj_class.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_completion.o src/obj_completion.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/xyzsh.o src/xyzsh.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/parser.o src/parser.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/run.o src/run.c src/xyzsh.c: In function 'xyzsh_read_rc': src/xyzsh.c:73:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 73 | if(home = getenv("HOME")) { | ^~~~ src/parser.c: In function 'read_dollar': src/parser.c:240:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 240 | while(**p >= 'a' && **p <= 'z' || **p >= 'A' && **p <= 'Z' || **p == '_' || **p >= '0' && **p <= '9' || **p == ':') | ~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c:240:100: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 240 | while(**p >= 'a' && **p <= 'z' || **p >= 'A' && **p <= 'Z' || **p == '_' || **p >= '0' && **p <= '9' || **p == ':') | ~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c: In function 'read_one_argument': src/parser.c:492:153: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 492 | else if(**p == '\n' || **p ==' ' || **p == '#' || **p == '&' || **p == '(' || **p == ')' || **p == ';' || **p =='|' || read_until_bracket_close && **p == ']') | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c:532:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 532 | if(**p >='A' && ** p <= 'Z' || **p >='a' && **p <='z' || **p == '_' || **p >= '0' && **p <= '9') | ~~~~~~~~~~^~~~~~~~~~~~~~ src/parser.c:532:99: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 532 | if(**p >='A' && ** p <= 'Z' || **p >='a' && **p <='z' || **p == '_' || **p >= '0' && **p <= '9') | ~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c:595:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 595 | if(**p >='A' && ** p <= 'Z' || **p >='a' && **p <='z' || **p == '_' || **p >= '0' && **p <= '9') | ~~~~~~~~~~^~~~~~~~~~~~~~ src/parser.c:595:107: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 595 | if(**p >='A' && ** p <= 'Z' || **p >='a' && **p <='z' || **p == '_' || **p >= '0' && **p <= '9') | ~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c:572:22: warning: unused variable 'line' [-Wunused-variable] 572 | sObject* line = STRING_NEW_STACK(""); | ^~~~ src/parser.c: In function 'block_parse': src/parser.c:822:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 822 | while(**p == ' ' || **p == '\t' || **p == '\n' && (*sline)++) { (*p)++; } | ~~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c:839:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 839 | while(**p == ' ' || **p == '\t' || **p == '\n' && (*sline)++) { (*p)++; } | ~~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c: In function 'block_parse_until_backquote': src/parser.c:875:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 875 | while(**p == ' ' || **p == '\t' || **p == '\n' && (*sline)++) { (*p)++; } | ~~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c:892:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 892 | while(**p == ' ' || **p == '\t' || **p == '\n' && (*sline)++) { (*p)++; } | ~~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c: In function 'read_statment': src/parser.c:1128:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1128 | while(**p == '-' || **p >= '0' && **p <= '9') { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c:1247:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1247 | else if(**p == ')' || **p == '#' || read_until_backquote && **p == '`') { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c: In function 'parse': src/parser.c:1268:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1268 | while(*p == ' ' || *p == '\t' || *p == '\n' && (*sline)++) { p++; } | ~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c:1289:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1289 | while(*p == ' ' || *p == '\t' || *p == '\n' && (*sline)++) { p++; } | ~~~~~~~~~~~^~~~~~~~~~~~~ src/run.c: In function 'wait_child_program': src/run.c:448:22: warning: unused variable 'job' [-Wunused-variable] 448 | sObject* job = JOB_NEW_GC(title, pid, tty); | ^~~ src/run.c:507:30: warning: unused variable 'job' [-Wunused-variable] 507 | sObject* job = JOB_NEW_GC(title, pid, tty); | ^~~ src/run.c:470:23: warning: unused variable 'pid2' [-Wunused-variable] 470 | pid_t pid2 = waitpid(pid, &status, WUNTRACED); | ^~~~ src/run.c: In function 'run_function': src/run.c:800:18: warning: unused variable 'buf' [-Wunused-variable] 800 | char buf[BUFSIZ]; | ^~~ src/run.c:770:15: warning: unused variable 'command' [-Wunused-variable] 770 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c: In function 'run_block': src/run.c:830:19: warning: unused variable 'command' [-Wunused-variable] 830 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c: In function 'run_alias': src/run.c:874:19: warning: unused variable 'command' [-Wunused-variable] 874 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c: In function 'run_object': src/run.c:925:23: warning: unused variable 'command' [-Wunused-variable] 925 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c:934:23: warning: unused variable 'command' [-Wunused-variable] 934 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c:963:27: warning: unused variable 'command' [-Wunused-variable] 963 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c:969:27: warning: unused variable 'command' [-Wunused-variable] 969 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c:1011:31: warning: unused variable 'command' [-Wunused-variable] 1011 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c:1017:31: warning: unused variable 'command' [-Wunused-variable] 1017 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c:1056:23: warning: unused variable 'command' [-Wunused-variable] 1056 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c:1055:18: warning: unused variable 'buf' [-Wunused-variable] 1055 | char buf[BUFSIZ]; | ^~~ src/run.c: In function 'statment_tree': src/run.c:1279:27: warning: unused variable 'command' [-Wunused-variable] 1279 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c:1308:31: warning: unused variable 'command' [-Wunused-variable] 1308 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c:1320:23: warning: unused variable 'command' [-Wunused-variable] 1320 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/run.c: In function 'run': src/run.c:1506:27: warning: unused variable 'command' [-Wunused-variable] 1506 | sCommand* command = runinfo.mCommand; | ^~~~~~~ src/run.c:1526:27: warning: unused variable 'command' [-Wunused-variable] 1526 | sCommand* command = runinfo.mCommand; | ^~~~~~~ src/run.c:1544:23: warning: unused variable 'command' [-Wunused-variable] 1544 | sCommand* command = runinfo.mCommand; | ^~~~~~~ src/run.c:1560:23: warning: unused variable 'command' [-Wunused-variable] 1560 | sCommand* command = runinfo.mCommand; | ^~~~~~~ src/run.c: In function 'job_new_on_gc': src/run.c:83:1: warning: control reaches end of non-void function [-Wreturn-type] 83 | } | ^ src/xyzsh.c: In function 'xyzsh_init': src/xyzsh.c:116:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 494 [-Wformat-truncation=] 116 | snprintf(ld_library_path2, 512, "%s:%s", EXTDIR, home_library); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from src/editline/sys.h:92, from ./config.h:304, from src/xyzsh.c:1: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 512 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xyzsh.c:110:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 493 [-Wformat-truncation=] 110 | snprintf(ld_library_path2, 512, "%s:%s:%s", ld_library_path, EXTDIR, home_library); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from src/editline/sys.h:92, from ./config.h:304, from src/xyzsh.c:1: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 20 or more bytes (assuming 4115) into a destination of size 512 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline.o src/editline.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/curses.o src/curses.c In file included from src/editline/el.h:50, from src/editline.c:32: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width src/editline.c: In function 'env_completion': src/editline.c:526:14: warning: unused variable 'hash' [-Wunused-variable] 526 | sObject* hash = HASH_NEW_STACK(16); | ^~~~ src/editline.c: In function 'completion_view_clear': src/editline.c:775:33: warning: implicit declaration of function 'wcswidth' [-Wimplicit-function-declaration] 775 | int v = (prompt_h + wcswidth(lf->buffer, wcslen(lf->buffer))) / maxx + 1; | ^~~~~~~~ src/editline.c: In function 'my_initscr': src/editline.c:924:21: warning: unused variable 'item' [-Wunused-variable] 924 | struct sKeyMap* item; | ^~~~ src/editline.c:923:12: warning: unused variable 'j' [-Wunused-variable] 923 | int i, j; | ^ src/editline.c:923:9: warning: unused variable 'i' [-Wunused-variable] 923 | int i, j; | ^ src/editline.c:922:11: warning: unused variable 'y' [-Wunused-variable] 922 | int x,y; | ^ src/editline.c:922:9: warning: unused variable 'x' [-Wunused-variable] 922 | int x,y; | ^ src/editline.c: In function 'completion_core': src/editline.c:1013:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1013 | if(mblen == 0 || mblen <= strlen(candidate) && strncmp(candidate, string_c_str(last_word), mblen) == 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/editline.c:1095:23: warning: unused variable 'maxy' [-Wunused-variable] 1095 | const int maxy = mgetmaxy(); | ^~~~ src/editline.c: In function 'complete': src/editline.c:1568:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1568 | || command->mArgsNum == 1 && SBLOCK(gReadlineBlock).mCompletionFlags & COMPLETION_FLAGS_INPUTING_COMMAND_NAME) src/editline.c: In function 'transform_lf_to_semicolon': src/editline.c:1811:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1811 | if(*p >='A' && * p <= 'Z' || *p >='a' && *p <='z' || *p == '_' || *p >= '0' && *p <= '9') | ~~~~~~~~~^~~~~~~~~~~~~ src/editline.c:1811:93: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1811 | if(*p >='A' && * p <= 'Z' || *p >='a' && *p <='z' || *p == '_' || *p >= '0' && *p <= '9') | ~~~~~~~~~~^~~~~~~~~~~~ src/editline.c: In function 'el_my_wgets': src/editline.c:2160:23: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration] 2160 | (void)nanosleep(&req, NULL); | ^~~~~~~~~ src/editline.c:2135:23: warning: unused variable 'prompt_v' [-Wunused-variable] 2135 | const int prompt_v = el->el_prompt.p_pos.v; | ^~~~~~~~ src/editline.c: In function 'cmd_editline_keybind': src/editline.c:2753:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2753 | if(mode = sRunInfo_option_with_argument(runinfo, "-mode")) { | ^~~~ src/editline.c:2786:18: warning: unused variable 'str' [-Wunused-variable] 2786 | sObject* str = STRING_NEW_STACK(""); | ^~~ src/editline.c: In function 'cmd_editline_point': src/editline.c:2865:23: warning: unused variable 'command' [-Wunused-variable] 2865 | sCommand* command = runinfo->mCommand; | ^~~~~~~ src/editline.c: In function 'editline_signal': src/editline.c:119:1: warning: control reaches end of non-void function [-Wreturn-type] 119 | } | ^ At top level: src/editline.c:1718:20: warning: 'castamized_user_complete' defined but not used [-Wunused-function] 1718 | static el_action_t castamized_user_complete(EditLine *el, int ch) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/editline.c:1647:20: warning: 'null_complete' defined but not used [-Wunused-function] 1647 | static el_action_t null_complete(EditLine *el, int ch) | ^~~~~~~~~~~~~ src/editline.c:309:17: warning: 'gUserCompletionNextout' defined but not used [-Wunused-variable] 309 | static sObject* gUserCompletionNextout; | ^~~~~~~~~~~~~~~~~~~~~~ src/curses.c: In function 'wis_2cols': src/curses.c:44:12: warning: implicit declaration of function 'wcswidth' [-Wimplicit-function-declaration] 44 | return wcswidth(buf, 10) == 2; | ^~~~~~~~ src/curses.c: In function 'write_escape_suqence': src/curses.c:56:1: warning: control reaches end of non-void function [-Wreturn-type] 56 | } | ^ At top level: src/curses.c:71:12: warning: 'mhas_color' defined but not used [-Wunused-function] 71 | static int mhas_color() | ^~~~~~~~~~ src/curses.c:63:15: warning: 'ttyread' defined but not used [-Wunused-function] 63 | static size_t ttyread(void *buf, size_t nbytes) | ^~~~~~~ src/curses.c:58:12: warning: 'ttywritec' defined but not used [-Wunused-function] 58 | static int ttywritec(char c) | ^~~~~~~~~ src/curses.c:37:12: warning: 'wis_2cols' defined but not used [-Wunused-function] 37 | static int wis_2cols(wchar_t c) | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/cmd_base.o src/cmd_base.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/cmd_obj.o src/cmd_obj.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/cmd_file.o src/cmd_file.c src/cmd_base.c: In function 'xyzsh_seek_external_programs': src/cmd_base.c:664:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 664 | while(entry = readdir(dir)) { | ^~~~~ src/cmd_base.c: In function 'xyzsh_rehash': src/cmd_base.c:739:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 739 | if(p2 = strstr(p, ":")) { | ^~ src/cmd_obj.c: In function 'entry_fun': src/cmd_obj.c:478:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 478 | if(type == T_FUN && (STYPE(parent) == T_FUN || STYPE(parent) == T_NFUN) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cmd_obj.c:498:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 498 | if(argument = sRunInfo_option_with_argument(runinfo, "-option-with-argument")) { | ^~~~~~~~ src/cmd_obj.c: In function 'cmd_def': src/cmd_obj.c:563:17: warning: unused variable 'rcode' [-Wunused-variable] 563 | int rcode = 0; | ^~~~~ src/cmd_obj.c: In function 'cmd_class': src/cmd_obj.c:644:17: warning: unused variable 'rcode' [-Wunused-variable] 644 | int rcode = 0; | ^~~~~ src/cmd_file.c: In function 'correct_path': src/cmd_file.c:135:13: warning: unused variable 'i' [-Wunused-variable] 135 | int i; | ^ src/cmd_obj.c: In function 'cmd_ary': src/cmd_obj.c:911:22: warning: unused variable 'object' [-Wunused-variable] 911 | sObject* object = runinfo->mCurrentObject; | ^~~~~~ src/cmd_obj.c:942:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 942 | if(argument = sRunInfo_option_with_argument(runinfo, "-index")) { | ^~~~~~~~ src/cmd_obj.c:943:22: warning: unused variable 'object' [-Wunused-variable] 943 | sObject* object = runinfo->mCurrentObject; | ^~~~~~ src/cmd_obj.c:983:22: warning: unused variable 'object' [-Wunused-variable] 983 | sObject* object = runinfo->mCurrentObject; | ^~~~~~ src/cmd_obj.c: In function 'cmd_hash': src/cmd_obj.c:1183:22: warning: unused variable 'object' [-Wunused-variable] 1183 | sObject* object = runinfo->mCurrentObject; | ^~~~~~ src/cmd_obj.c:1214:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1214 | if(argument = sRunInfo_option_with_argument(runinfo, "-key")) { | ^~~~~~~~ src/cmd_obj.c:1215:22: warning: unused variable 'object' [-Wunused-variable] 1215 | sObject* object = runinfo->mCurrentObject; | ^~~~~~ src/cmd_obj.c:1249:22: warning: unused variable 'object' [-Wunused-variable] 1249 | sObject* object = runinfo->mCurrentObject; | ^~~~~~ src/cmd_obj.c: In function 'cmd_export': src/cmd_obj.c:1863:22: warning: unused variable 'object' [-Wunused-variable] 1863 | sObject* object = runinfo->mCurrentObject; | ^~~~~~ src/cmd_obj.c: In function 'object_info': src/cmd_obj.c:235:1: warning: control reaches end of non-void function [-Wreturn-type] 235 | } | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/cmd_str.o src/cmd_str.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/cmd_ary.o src/cmd_ary.c src/cmd_str.c: In function 'get_onig_regex': src/cmd_str.c:50:5: warning: enumeration value 'kUtf8Mac' not handled in switch [-Wswitch] 50 | switch(code) { | ^~~~~~ src/cmd_str.c:50:5: warning: enumeration value 'kUnknown' not handled in switch [-Wswitch] src/cmd_str.c:77:26: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 77 | return onig_new(reg, regex | ^~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:795:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 795 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/cmd_str.c:78:17: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 78 | , regex + strlen((char*)regex) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:795:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 795 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/cmd_str.c: In function 'cmd_rstrip': src/cmd_str.c:638:14: warning: unused variable 'first' [-Wunused-variable] 638 | BOOL first = TRUE; | ^~~~~ src/cmd_str.c: In function 'cmd_printf': src/cmd_str.c:775:36: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 775 | int size = asprintf(&buf, aformat, atoi(arg)); | ^~~~~~~~ | vsprintf src/cmd_str.c: In function 'cmd_add': src/cmd_str.c:894:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 894 | if(argument = sRunInfo_option_with_argument(runinfo, "-number")) { | ^~~~~~~~ src/cmd_str.c:897:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 897 | else if(argument = sRunInfo_option_with_argument(runinfo, "-index")) { | ^~~~~~~~ src/cmd_str.c: In function 'cmd_del': src/cmd_str.c:976:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 976 | if(argument = sRunInfo_option_with_argument(runinfo, "-number")) { | ^~~~~~~~ src/cmd_str.c: In function 'cmd_rows': src/cmd_str.c:1049:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1049 | if(p = strstr(arg, "..")) { | ^ src/cmd_str.c:1078:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1078 | if(!(first >= kanjilen && second >= kanjilen || first < 0 && second < 0)) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/cmd_str.c: In function 'cmd_count': src/cmd_str.c:1876:37: warning: value computed is not used [-Wunused-value] 1876 | *p3++; | ^~~~~ src/cmd_str.c:1885:29: warning: value computed is not used [-Wunused-value] 1885 | *p2++; | ^~~~~ src/cmd_str.c:1901:29: warning: value computed is not used [-Wunused-value] 1901 | *p3++; | ^~~~~ src/cmd_str.c: In function 'cmd_delete': src/cmd_str.c:2149:37: warning: value computed is not used [-Wunused-value] 2149 | *p3++; | ^~~~~ src/cmd_str.c:2158:29: warning: value computed is not used [-Wunused-value] 2158 | *p2++; | ^~~~~ src/cmd_str.c:2185:29: warning: value computed is not used [-Wunused-value] 2185 | *p3++; | ^~~~~ src/editline.c: In function 'complete': src/editline.c:1603:28: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized] 1603 | return res; | ^~~ src/cmd_str.c: In function 'cmd_squeeze': src/cmd_str.c:2504:41: warning: value computed is not used [-Wunused-value] 2504 | *p3++; | ^~~~~ src/cmd_str.c:2513:33: warning: value computed is not used [-Wunused-value] 2513 | *p2++; | ^~~~~ src/cmd_str.c:2541:33: warning: value computed is not used [-Wunused-value] 2541 | *p3++; | ^~~~~ src/cmd_str.c: In function 'cmd_tr': src/cmd_str.c:3151:29: warning: value computed is not used [-Wunused-value] 3151 | *p2++; | ^~~~~ src/cmd_str.c:3239:29: warning: value computed is not used [-Wunused-value] 3239 | *p2++; | ^~~~~ src/cmd_str.c: In function 'cmd_scan': src/cmd_str.c:3886:43: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 3886 | int r2 = onig_search(reg, target | ^~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:3887:29: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 3887 | , target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:3888:22: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 3888 | , p | ^ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:3889:24: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 3889 | , p + strlen(p) | ~~^~~~~~~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c: In function 'cmd_index': src/cmd_str.c:4126:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4126 | if(number = sRunInfo_option_with_argument(runinfo, "-number")) { | ^~~~~~ src/cmd_str.c:4151:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4151 | if(count = sRunInfo_option_with_argument(runinfo, "-count")) { | ^~~~~ src/cmd_str.c:4174:51: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 4174 | int r2 = onig_search(reg, target | ^~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:4175:37: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 4175 | , target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:4176:30: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 4176 | , p | ^ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:4177:32: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 4177 | , p + strlen(p) | ~~^~~~~~~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:4173:35: warning: unused variable 'point' [-Wunused-variable] 4173 | const int point = p - target; | ^~~~~ src/cmd_str.c:4171:39: warning: unused variable 'err_info' [-Wunused-variable] 4171 | OnigErrorInfo err_info; | ^~~~~~~~ src/cmd_str.c:4252:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4252 | if(number = sRunInfo_option_with_argument(runinfo, "-number")) { | ^~~~~~ src/cmd_str.c:4277:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4277 | if(count = sRunInfo_option_with_argument(runinfo, "-count")) { | ^~~~~ src/cmd_str.c: In function 'cmd_rindex': src/cmd_str.c:4483:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4483 | if(number = sRunInfo_option_with_argument(runinfo, "-number")) { | ^~~~~~ src/cmd_str.c:4503:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4503 | if(count = sRunInfo_option_with_argument(runinfo, "-count")) { | ^~~~~ src/cmd_str.c:4525:51: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 4525 | int r2 = onig_search(reg, target | ^~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:4526:37: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 4526 | , target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:4527:30: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 4527 | , p | ^ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:4528:30: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 4528 | , target | ^~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:4523:39: warning: unused variable 'err_info' [-Wunused-variable] 4523 | OnigErrorInfo err_info; | ^~~~~~~~ src/cmd_str.c:4606:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4606 | if(number = sRunInfo_option_with_argument(runinfo, "-number")) { | ^~~~~~ src/cmd_str.c:4626:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4626 | if(count = sRunInfo_option_with_argument(runinfo, "-count")) { | ^~~~~ src/cmd_str.c: In function 'cmd_sub': src/cmd_str.c:4807:96: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4807 | if(runinfo->mFilter && (runinfo->mArgsNumRuntime == 3 || runinfo->mArgsNumRuntime == 2 && runinfo->mBlocksNum >= 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cmd_str.c:4843:47: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 4843 | int r2 = onig_search(reg, target | ^~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:4844:33: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 4844 | , target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:4845:26: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 4845 | , p | ^ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:4846:28: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 4846 | , p + strlen(p) | ~~^~~~~~~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:4838:35: warning: unused variable 'err_info' [-Wunused-variable] 4838 | OnigErrorInfo err_info; | ^~~~~~~~ src/cmd_str.c: In function 'cmd_split': src/cmd_str.c:5219:47: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 5219 | int r2 = onig_search(reg, target | ^~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:5220:33: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 5220 | , target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:5221:26: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 5221 | , p, p + strlen(p) | ^ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:5221:31: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 5221 | , p, p + strlen(p) | ~~^~~~~~~~~~~ | | | char * In file included from src/cmd_str.c:12: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_str.c:5078:16: warning: variable 'lf' set but not used [-Wunused-but-set-variable] 5078 | eLineField lf = gLineField; | ^~ src/cmd_ary.c: In function 'cmd_lines': src/cmd_ary.c:135:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 135 | if(p = strstr(arg, "..")) { | ^ src/cmd_ary.c:163:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 163 | if(!(first >= max && second >= max || first < 0 && second < 0)) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/cmd_ary.c: In function 'cmd_sort': src/cmd_ary.c:505:26: warning: unused variable 'nextin2' [-Wunused-variable] 505 | sObject* nextin2 = FD_NEW_STACK(); | ^~~~~~~ src/cmd_str.c: In function 'get_onig_regex': src/cmd_str.c:77:12: warning: 'enc' may be used uninitialized in this function [-Wmaybe-uninitialized] 77 | return onig_new(reg, regex | ^~~~~~~~~~~~~~~~~~~ 78 | , regex + strlen((char*)regex) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | , option | ~~~~~~~~ 80 | , enc | ~~~~~ 81 | , ONIG_SYNTAX_DEFAULT | ~~~~~~~~~~~~~~~~~~~~~ 82 | , &err_info); | ~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/cmd_condition.o src/cmd_condition.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/interface.o src/interface.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/object.o src/object.c src/cmd_condition.c: In function 'clear_matching_info_variable': src/cmd_condition.c:558:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] 558 | snprintf(buf, 128, ""); | ^~ src/cmd_condition.c:561:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] 561 | snprintf(buf, 128, ""); | ^~ src/cmd_condition.c:564:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] 564 | snprintf(buf, 128, ""); | ^~ src/cmd_condition.c:567:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] 567 | snprintf(buf, 128, ""); | ^~ src/cmd_condition.c:570:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] 570 | snprintf(buf, 128, ""); | ^~ src/cmd_condition.c: In function 'cmd_condition_re': src/cmd_condition.c:616:39: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 616 | int r2 = onig_search(reg, target | ^~~~~~ | | | char * In file included from src/xyzsh.h:12, from src/cmd_condition.c:26: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_condition.c:617:25: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 617 | , target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * In file included from src/xyzsh.h:12, from src/cmd_condition.c:26: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_condition.c:618:18: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 618 | , target, target + strlen(target) | ^~~~~~ | | | char * In file included from src/xyzsh.h:12, from src/cmd_condition.c:26: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/cmd_condition.c:618:33: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 618 | , target, target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * In file included from src/xyzsh.h:12, from src/cmd_condition.c:26: /usr/include/oniguruma.h:808:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 808 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_user.o src/obj_user.c src/obj_user.c: In function 'resize': src/obj_user.c:19:15: warning: unused variable 'table_size' [-Wunused-variable] 19 | const int table_size = SUOBJECT(self).mTableSize; | ^~~~~~~~~~ src/obj_user.c: In function 'uobject_clear': src/obj_user.c:410:8: warning: unused variable 'max' [-Wunused-variable] 410 | int max; | ^~~ src/obj_user.c:409:8: warning: unused variable 'i' [-Wunused-variable] 409 | int i; | ^ src/obj_user.c: In function 'uobject_erase': src/obj_user.c:484:19: warning: unused variable 'it2' [-Wunused-variable] 484 | uobject_it* it2 = SUOBJECT(self).mEntryIt; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/cmd_num.o src/cmd_num.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/cmd_curses.o src/cmd_curses.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/cmd_loop.o src/cmd_loop.c src/cmd_curses.c: In function 'str_cut': src/cmd_curses.c:46:16: warning: implicit declaration of function 'wcswidth' [-Wimplicit-function-declaration] 46 | if(wcswidth(wcs_tmp, wcslen(wcs_tmp)) > termsize) { | ^~~~~~~~ src/cmd_curses.c: In function 'cmd_selector': src/cmd_curses.c:389:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 389 | else if(key >= ' ' && key <= '~' || key >= 128) { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/cmd_curses.c: In function 'cmd_p': src/cmd_curses.c:696:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 696 | else if(key >= ' ' && key <= '~' || key >= 128) { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/cmd_curses.c: In function 'sort_name': src/cmd_curses.c:886:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 886 | if(!S_ISDIR(l->mStat.st_mode) && !S_ISDIR(r->mStat.st_mode) | ^ src/cmd_curses.c: In function 'select_file_read': src/cmd_curses.c:908:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 908 | while(entry = readdir(dir)) { | ^~~~~ src/cmd_curses.c: In function 'correct_path': src/cmd_curses.c:1059:13: warning: unused variable 'i' [-Wunused-variable] 1059 | int i; | ^ src/cmd_curses.c: In function 'cmd_curses_printw': src/cmd_curses.c:1609:36: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 1609 | int size = asprintf(&buf, aformat, atoi(arg)); | ^~~~~~~~ | vsprintf src/cmd_curses.c:1609:29: warning: unused variable 'size' [-Wunused-variable] 1609 | int size = asprintf(&buf, aformat, atoi(arg)); | ^~~~ src/cmd_curses.c:1630:29: warning: unused variable 'size' [-Wunused-variable] 1630 | int size = asprintf(&buf, aformat, atof(arg)); | ^~~~ src/cmd_curses.c:1650:29: warning: unused variable 'size' [-Wunused-variable] 1650 | int size = asprintf(&buf, aformat, arg); | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_fd.o src/obj_fd.c src/cmd_loop.c: In function 'cmd_each': src/cmd_loop.c:83:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | if(argument = sRunInfo_option_with_argument(runinfo, "-number")) { | ^~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_nfun.o src/obj_nfun.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/obj_extprog.o src/obj_extprog.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/chared.o src/editline/chared.c In file included from src/editline/el.h:50, from src/editline/chared.c:48: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/chartype.o src/editline/chartype.c In file included from src/editline/el.h:50, from src/editline/chartype.c:43: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width src/cmd_curses.c: In function 'cmd_fselector': src/cmd_curses.c:1151:43: warning: array subscript -1 is outside array bounds of 'char[4096]' [-Warray-bounds] 1151 | for(p=path + strlen(path)-2; p != path-1; p--) { | ~~~~^~ src/cmd_curses.c:1188:10: note: while referencing 'current_dir' 1188 | char current_dir[PATH_MAX]; | ^~~~~~~~~~~ src/editline/chartype.c: In function 'ct_encode_char': src/editline/chartype.h:73:30: warning: ignoring return value of 'wctomb' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | #define ct_wctomb_reset wctomb(0,0) | ^~~~~~~~~~~ src/editline/chartype.c:200:3: note: in expansion of macro 'ct_wctomb_reset' 200 | ct_wctomb_reset; | ^~~~~~~~~~~~~~~ src/cmd_str.c: In function 'cmd_scan': src/cmd_str.c:3932:41: warning: 'nextin2' may be used uninitialized in this function [-Wmaybe-uninitialized] 3932 | if(!fd_write(nextin2, field, strlen(field))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/common.o src/editline/common.c In file included from src/editline/el.h:50, from src/editline/common.c:47: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/el.o src/editline/el.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/eln.o src/editline/eln.c In file included from src/editline/el.h:50, from src/editline/el.c:59: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width src/editline/el.c: In function 'el_source': src/editline/el.c:511:10: warning: unused variable 'plen' [-Wunused-variable] 511 | size_t plen = sizeof(elpath); | ^~~~ In file included from src/editline/el.h:50, from src/editline/eln.c:41: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width src/cmd_str.c: In function 'cmd_split': src/cmd_str.c:5209:21: warning: 'regex' may be used uninitialized in this function [-Wmaybe-uninitialized] 5209 | int r = get_onig_regex(®, runinfo, regex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cmd_str.c:5177:32: warning: 'word_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 5177 | p = result + word_len; | ~~~~~~~^~~~~~~~~~ src/cmd_str.c:5149:30: warning: 'word' may be used uninitialized in this function [-Wmaybe-uninitialized] 5149 | result = strstr(p, word); | ^~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/emacs.o src/editline/emacs.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/fcns.o src/editline/fcns.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/fgetln.o src/editline/fgetln.c In file included from src/editline/el.h:50, from src/editline/fcns.c:3: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width In file included from src/editline/el.h:50, from src/editline/emacs.c:47: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/filecomplete.o src/editline/filecomplete.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/help.o src/editline/help.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/hist.o src/editline/hist.c In file included from src/editline/el.h:50, from src/editline/help.c:3: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width In file included from src/editline/el.h:50, from src/editline/filecomplete.c:52: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width In file included from src/editline/el.h:50, from src/editline/hist.c:48: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/history.o src/editline/history.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/historyn.o src/editline/historyn.c In file included from src/editline/history.c:59: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/keymacro.o src/editline/keymacro.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/map.o src/editline/map.c In file included from src/editline/el.h:50, from src/editline/keymacro.c:69: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width In file included from src/editline/el.h:50, from src/editline/map.c:48: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width In file included from /usr/include/string.h:519, from src/editline/./history.c:50, from src/editline/historyn.c:4: In function 'strncat', inlined from 'history_def_add' at src/editline/./history.c:393:9: /usr/include/bits/string_fortified.h:137:10: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/editline/./history.c:59, from src/editline/historyn.c:4: src/editline/./history.c: In function 'history_def_add': src/editline/./chartype.h:155:25: note: length computed here 155 | #define Strlen(x) strlen(x) | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/parse.o src/editline/parse.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/prompt.o src/editline/prompt.c In file included from src/editline/el.h:50, from src/editline/prompt.c:48: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width In file included from src/editline/el.h:50, from src/editline/parse.c:57: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/read.o src/editline/read.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/readline.o src/editline/readline.c In file included from src/editline/el.h:50, from src/editline/read.c:53: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/refresh.o src/editline/refresh.c In file included from src/editline/el.h:50, from src/editline/readline.c:53: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/search.o src/editline/search.c src/editline/readline.c: In function 'history_truncate_file': src/editline/readline.c:1288:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1288 | (void)ftruncate(fileno(fp), off); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/editline/el.h:50, from src/editline/refresh.c:52: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width In file included from src/editline/el.h:50, from src/editline/search.c:54: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/sig.o src/editline/sig.c In file included from src/editline/el.h:50, from src/editline/sig.c:49: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/strlcat.o src/editline/strlcat.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/strlcpy.o src/editline/strlcpy.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/terminal.o src/editline/terminal.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/tokenizer.o src/editline/tokenizer.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/tokenizern.o src/editline/tokenizern.c In file included from src/editline/tokenizer.c:54: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width In file included from src/editline/el.h:50, from src/editline/terminal.c:76: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width src/editline/terminal.c: In function 'terminal_alloc': src/editline/terminal.c:368:28: warning: comparison between pointer and zero character constant [-Wpointer-compare] 368 | if (*tmp != NULL && *tmp != '\0' && *tmp != *str) { | ^~ src/editline/terminal.c:368:23: note: did you mean to dereference the pointer? 368 | if (*tmp != NULL && *tmp != '\0' && *tmp != *str) { | ^ In file included from /usr/include/string.h:519, from src/editline/readline.c:41: In function 'strncpy', inlined from '_rl_compat_sub' at src/editline/readline.c:483:10, inlined from '_history_expand_command' at src/editline/readline.c:861:11, inlined from 'history_expand' at src/editline/readline.c:978:9: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/editline/readline.c: In function 'history_expand': src/editline/readline.c:463:13: note: length computed here 463 | with_len = strlen(with); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:519, from src/editline/readline.c:41: In function 'strncpy', inlined from 'history_expand' at src/editline/readline.c:981:4: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/editline/readline.c: In function 'history_expand': src/editline/readline.c:980:10: note: length computed here 980 | len = strlen(tmp); | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from src/editline/readline.c:41: In function 'strcpy', inlined from 'history_expand' at src/editline/readline.c:941:11: /usr/include/bits/string_fortified.h:90:10: warning: 'strcpy' accessing 1 byte at offsets [-4611686018427387904, 4611686018427387903] and [-4611686018427387904, 4611686018427387903] overlaps 1 byte at offset [-4611686018427387904, 4611686018427387903] [-Wrestrict] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/tty.o src/editline/tty.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/unvis.o src/editline/unvis.c In file included from src/editline/el.h:50, from src/editline/tty.c:51: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/vi.o src/editline/vi.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/vis.o src/editline/vis.c In file included from src/editline/el.h:50, from src/editline/vi.c:52: src/editline/chartype.h: In function 'Width': src/editline/chartype.h:118:10: warning: implicit declaration of function 'wcwidth'; did you mean 'Width'? [-Wimplicit-function-declaration] 118 | int w = wcwidth(c); | ^~~~~~~ | Width src/editline/vi.c: In function 'vi_histedit': src/editline/vi.c:1042:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1042 | write(fd, cp, len); | ^~~~~~~~~~~~~~~~~~ src/editline/vi.c:1043:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1043 | write(fd, "\n", (size_t)1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -c -o src/editline/wcsdup.o src/editline/wcsdup.c gcc -shared -Wl,-soname,libxyzsh.so.2 -o libxyzsh.so.2.0.0 src/obj_int.o src/exp.o src/obj_alias.o src/xfunc.o src/debug.o src/temulator.o src/env.o src/load.o src/gc.o src/stack.o src/obj_string.o src/obj_list.o src/kanji.o src/obj_hash.o src/obj_vector.o src/block.o src/obj_fun.o src/obj_class.o src/obj_completion.o src/xyzsh.o src/parser.o src/run.o src/editline.o src/curses.o src/cmd_base.o src/cmd_obj.o src/cmd_file.o src/cmd_str.o src/cmd_ary.o src/cmd_condition.o src/interface.o src/object.o src/obj_user.o src/cmd_num.o src/cmd_curses.o src/cmd_loop.o src/obj_fd.o src/obj_nfun.o src/obj_extprog.o src/editline/chared.o src/editline/chartype.o src/editline/common.o src/editline/el.o src/editline/eln.o src/editline/emacs.o src/editline/fcns.o src/editline/fgetln.o src/editline/filecomplete.o src/editline/help.o src/editline/hist.o src/editline/history.o src/editline/historyn.o src/editline/keymacro.o src/editline/map.o src/editline/parse.o src/editline/prompt.o src/editline/read.o src/editline/readline.o src/editline/refresh.o src/editline/search.o src/editline/sig.o src/editline/strlcat.o src/editline/strlcpy.o src/editline/terminal.o src/editline/tokenizer.o src/editline/tokenizern.o src/editline/tty.o src/editline/unvis.o src/editline/vi.o src/editline/vis.o src/editline/wcsdup.o -lc -ltinfo -lutil -lcursesw -lncursesw -lm -lonig -ldl -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib In function 'strncat', inlined from 'history_def_add' at src/editline/./history.c:393:9: /usr/include/bits/string_fortified.h:137:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^ src/editline/./history.c: In function 'history_def_add': src/editline/./history.c:385:27: note: length computed here 385 | len = Strlen(evp->str) + Strlen(str) + 1; | ^ In function 'strncpy', inlined from '_rl_compat_sub' at src/editline/readline.c:483:10, inlined from '_history_expand_command' at src/editline/readline.c:861:11, inlined from 'history_expand' at src/editline/readline.c:978:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ src/editline/readline.c: In function 'history_expand': src/editline/readline.c:463:13: note: length computed here 463 | with_len = strlen(with); | ^ ln -s libxyzsh.so.2.0.0 libxyzsh.so.2 ln -s libxyzsh.so.2.0.0 libxyzsh.so + make -j4 -k 'CC=gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' docdir=/usr/share/doc/xyzsh-1.5.8 rm -f install gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o xyzsh src/main.c -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -lxyzsh -ltinfo -lutil -lcursesw -lncursesw -lm -lonig -ldl gcc -shared src/ext/migemo.c -o src/ext/migemo.so -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib -lmigemo -lxyzsh -ltinfo -lutil -lcursesw -lncursesw -lm -lonig -ldl src/main.c: In function 'main': src/main.c:56:23: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 56 | srandom((unsigned)time(NULL)); | ^~~~ At top level: src/main.c:30:13: warning: 'main_xyzsh_job_done' defined but not used [-Wunused-function] 30 | static void main_xyzsh_job_done(int job_num, char* job_title) | ^~~~~~~~~~~~~~~~~~~ rm -f install + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rFZJ3B + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64 + cd xyzsh-1.5.8 + make install DESTDIR=/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64 'INSTALL=install -p' docdir=/usr/share/doc/xyzsh-1.5.8 if [ -z "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64" ]; then make lib-normal-install; else make lib-dest-install; fi make[1]: Entering directory '/builddir/build/BUILD/xyzsh-1.5.8' mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64" if [ "" = libxyzsh.a ]; then install -p -m 644 -s libxyzsh.a "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64"; fi if [ "libxyzsh.so" = libxyzsh.so ]; then if echo -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib | grep -q MDEBUG; then install -p -m 755 libxyzsh.so.2.0.0 "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64"; else install -p -m 755 libxyzsh.so.2.0.0 "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64"; fi; elif [ "libxyzsh.so" = libxyzsh.dylib ]; then install -p -m 755 libxyzsh.2.0.0.dylib "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64"; fi if [ "libxyzsh.so" = libxyzsh.so ]; then ln -s -f libxyzsh.so.2.0.0 "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64"/libxyzsh.so.2; elif [ "libxyzsh.so" = libxyzsh.dylib ]; then ln -s -f libxyzsh.2.0.0.dylib "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64"/libxyzsh.2.dylib; fi if [ "libxyzsh.so" = libxyzsh.so ]; then ln -s -f libxyzsh.so.2.0.0 "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64"/libxyzsh.so; elif [ "libxyzsh.so" = libxyzsh.dylib ]; then ln -s -f libxyzsh.2.0.0.dylib "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64"/libxyzsh.dylib; fi make[1]: Leaving directory '/builddir/build/BUILD/xyzsh-1.5.8' if [ -z "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64" ]; then make normal-install; else make dest-install; fi make[1]: Entering directory '/builddir/build/BUILD/xyzsh-1.5.8' mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/bin"; mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//etc/xyzsh"; mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64" mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/include/xyzsh" mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/share/doc/xyzsh-1.5.8" mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/share/man/man1" install -p -m 644 src/xyzsh.h "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/include/xyzsh" install -p -m 644 src/temulator.h "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/include/xyzsh" install -p -m 644 src/debug.h "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/include/xyzsh" install -p -m 644 src/xfunc.h "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/include/xyzsh" install -p -m 644 src/kanji.h "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/include/xyzsh" install -p -m 644 USAGE "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/share/doc/xyzsh-1.5.8" install -p -m 644 USAGE.ja "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/share/doc/xyzsh-1.5.8" install -p -m 644 README "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/share/doc/xyzsh-1.5.8" install -p -m 644 CHANGELOG "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/share/doc/xyzsh-1.5.8" rm -f "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/bin/xyzsh" if echo -Isrc/editline/ -Isrc/ -I. -L. -I/usr/include -L/usr/lib -fPIC -DSYSCONFDIR="\"/etc/xyzsh/\"" -DDOCDIR="\"/usr/share/doc/xyzsh-1.5.8/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -DEXTDIR="\"/usr/lib64/xyzsh/\"" -I/usr/local/include -L/usr/local/lib | grep -q MDEBUG; then install -p -m 755 xyzsh "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/bin"; else install -p -m 755 xyzsh "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/bin"; fi; install -p -m 644 man/man1/xyzsh.1 "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/share/man/man1" install -p -m 644 xyzsh.xyzsh "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//etc/xyzsh" install -p -m 644 completion.xyzsh "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//etc/xyzsh" install -p -m 644 help.xyzsh "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//etc/xyzsh" mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64/xyzsh/" if test -e src/ext/migemo.so; then install -p -m 755 src/ext/migemo.so "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64/xyzsh/"; fi if test -e src/ext/migemo.so; then install -p -m 644 src/ext/migemo.xyzsh "/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64//usr/lib64/xyzsh/"; fi make[1]: Leaving directory '/builddir/build/BUILD/xyzsh-1.5.8' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.5.8-17.fc33 --unique-debug-suffix -1.5.8-17.fc33.riscv64 --unique-debug-src-base xyzsh-1.5.8-17.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xyzsh-1.5.8 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/lib64/xyzsh/migemo.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/lib64/libxyzsh.so.2.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/bin/xyzsh extracting debug info from /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/lib64/libxyzsh.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/lib64/xyzsh/migemo.so extracting debug info from /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/bin/xyzsh gdb-add-index: No index was created for /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/lib64/xyzsh/migemo.so gdb-add-index: [Was there no debuginfo? Was there already an index?] original debug info size: 5992kB, size after compression: 5668kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 1 CRC32s did match. 3039 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: xyzsh-1.5.8-17.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BBj9MB + umask 022 + cd /builddir/build/BUILD + cd xyzsh-1.5.8 + DOCDIR=/builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/share/doc/xyzsh-1.5.8 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr AUTHORS /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr CHANGELOG /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr LICENSE /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr README /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr README.ja /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr USAGE /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr USAGE.ja /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64/usr/share/doc/xyzsh-1.5.8 + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(xyzsh) = 1.5.8-17.fc33 libxyzsh.so.2()(64bit) xyzsh = 1.5.8-17.fc33 xyzsh(riscv-64) = 1.5.8-17.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libmigemo.so.1()(64bit) libncursesw.so.6()(64bit) libonig.so.5()(64bit) libtinfo.so.6()(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.27)(64bit) libxyzsh.so.2()(64bit) rtld(GNU_HASH) Processing files: xyzsh-devel-1.5.8-17.fc33.riscv64 Provides: xyzsh-devel = 1.5.8-17.fc33 xyzsh-devel(riscv-64) = 1.5.8-17.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libxyzsh.so.2()(64bit) Processing files: xyzsh-debugsource-1.5.8-17.fc33.riscv64 Provides: xyzsh-debugsource = 1.5.8-17.fc33 xyzsh-debugsource(riscv-64) = 1.5.8-17.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xyzsh-debuginfo-1.5.8-17.fc33.riscv64 Provides: debuginfo(build-id) = 20f9e94f2b82e912ba1306a3e79e84c292e29571 debuginfo(build-id) = 345d0758dddf03538462a0b7388fb584cc6dfd32 debuginfo(build-id) = d0ecf20f9b362fab580b3d9f0cf887e6f85792d2 xyzsh-debuginfo = 1.5.8-17.fc33 xyzsh-debuginfo(riscv-64) = 1.5.8-17.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xyzsh-debugsource(riscv-64) = 1.5.8-17.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64 Wrote: /builddir/build/RPMS/xyzsh-devel-1.5.8-17.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xyzsh-1.5.8-17.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xyzsh-debuginfo-1.5.8-17.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xyzsh-debugsource-1.5.8-17.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pOj8QD + umask 022 + cd /builddir/build/BUILD + cd xyzsh-1.5.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xyzsh-1.5.8-17.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0