+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xyzsh.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yLvSoD + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lTFa4D + umask 022 + cd /builddir/build/BUILD + cd xyzsh-1.5.8 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-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... no checking for 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' docdir=/usr/share/doc/xyzsh-1.5.8 libxyzsh.so gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 'expression_node': src/exp.c:189:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(**p >= '0' && **p <= '9' || **p == '-' || **p == '+') { ~~~~~~~~~~~^~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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: In function 'run_node': src/exp.c:2066:40: warning: too many arguments for format [-Wformat-extra-args] 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] 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] gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/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] 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] 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] src/exp.c:1760:32: warning: unused variable 'mvalue' [-Wunused-variable] int value, lvalue, rvalue, mvalue; ^~~~~~ src/exp.c:1760:24: warning: unused variable 'rvalue' [-Wunused-variable] int value, lvalue, rvalue, mvalue; ^~~~~~ src/exp.c:1760:16: warning: unused variable 'lvalue' [-Wunused-variable] int value, lvalue, rvalue, mvalue; ^~~~~~ src/env.c: In function 'sString_delete': src/env.c:59:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ src/env.c: In function 'sCommand_expand_env': src/env.c:387:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] 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] 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: In function 'temulator_interpret': src/temulator.c:1132:30: warning: pointer targets in passing argument 2 of 'mbrtowc' differ in signedness [-Wpointer-sign] mbrtowc(&wc, p, size, NULL); ^ In file included from src/kanji.h:24:0, from src/xyzsh.h:15, from src/temulator.c:3: /usr/include/wchar.h:296:15: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern size_t mbrtowc (wchar_t *__restrict __pwc, ^~~~~~~ src/temulator.c:1153:39: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] self->mCursorX += wcwidth(wc); ^~~~~~~ src/temulator.c:1127:21: warning: unused variable 'wc' [-Wunused-variable] wchar_t wc; ^~ src/temulator.c: In function 'run_on_temulator': src/temulator.c:1499:5: warning: implicit declaration of function 'gettimeofday'; did you mean 'gettmode'? [-Wimplicit-function-declaration] gettimeofday(&next, NULL); ^~~~~~~~~~~~ gettmode src/load.c: In function 'load_file': src/load.c:36:19: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/load.c:80:19: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/load.c: In function 'load_so_file': src/load.c:93:15: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] char* tmp_str; ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 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] } ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 src/kanji.c: In function 'is_kanji': src/kanji.c:233:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return c >= 0xA1 && c <= 0xFE || c == 0x8e; ~~~~~~~~~~^~~~~~~~~~~~ src/kanji.c:237:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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'; did you mean 'wcstod'? [-Wimplicit-function-declaration] result = wcswidth(wcs, wcslen(wcs)); ^~~~~~~~ wcstod src/kanji.c: In function 'kanji_convert': src/kanji.c:332:12: warning: unused variable 'result' [-Wunused-variable] size_t result; ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 src/obj_hash.c: In function 'resize': src/obj_hash.c:157:15: warning: unused variable 'table_size' [-Wunused-variable] 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] 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] int max; ^~~ src/obj_hash.c:270:8: warning: unused variable 'i' [-Wunused-variable] int i; ^ src/block.c: In function 'sRunInfo_add_arg': src/block.c:164:19: warning: unused variable 'arg_runtime_size' [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] const int statments_size = SBLOCK(block).mStatmentsSize; ^~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] if(home = getenv("HOME")) { ^~~~ src/parser.c: In function 'read_dollar': src/parser.c:240:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] 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] 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] 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] 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] 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] sObject* line = STRING_NEW_STACK(""); ^~~~ src/parser.c: In function 'block_parse': src/parser.c:822:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while(**p == ' ' || **p == '\t' || **p == '\n' && (*sline)++) { (*p)++; } ~~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c:839:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] while(**p == ' ' || **p == '\t' || **p == '\n' && (*sline)++) { (*p)++; } ~~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c:892:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] while(**p == '-' || **p >= '0' && **p <= '9') { ~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c:1247:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] while(*p == ' ' || *p == '\t' || *p == '\n' && (*sline)++) { p++; } ~~~~~~~~~~~^~~~~~~~~~~~~ src/parser.c:1289:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] sObject* job = JOB_NEW_GC(title, pid, tty); ^~~ src/run.c:507:30: warning: unused variable 'job' [-Wunused-variable] sObject* job = JOB_NEW_GC(title, pid, tty); ^~~ src/run.c:470:23: warning: unused variable 'pid2' [-Wunused-variable] 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] char buf[BUFSIZ]; ^~~ src/run.c:770:15: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c: In function 'run_block': src/run.c:830:19: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c: In function 'run_alias': src/run.c:874:19: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c: In function 'run_object': src/run.c:925:23: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c:934:23: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c:963:27: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c:969:27: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c:1011:31: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c:1017:31: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c:1056:23: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c:1055:18: warning: unused variable 'buf' [-Wunused-variable] char buf[BUFSIZ]; ^~~ src/run.c: In function 'statment_tree': src/run.c:1279:27: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c:1308:31: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c:1320:23: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo->mCommand; ^~~~~~~ src/run.c: In function 'run': src/run.c:1506:27: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo.mCommand; ^~~~~~~ src/run.c:1526:27: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo.mCommand; ^~~~~~~ src/run.c:1544:23: warning: unused variable 'command' [-Wunused-variable] sCommand* command = runinfo.mCommand; ^~~~~~~ src/run.c:1560:23: warning: unused variable 'command' [-Wunused-variable] 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] } ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 src/curses.c: In function 'wis_2cols': src/curses.c:44:12: warning: implicit declaration of function 'wcswidth'; did you mean 'wcstod'? [-Wimplicit-function-declaration] return wcswidth(buf, 10) == 2; ^~~~~~~~ wcstod In file included from src/editline/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width src/curses.c: In function 'write_escape_suqence': src/curses.c:56:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: src/curses.c:71:12: warning: 'mhas_color' defined but not used [-Wunused-function] static int mhas_color() ^~~~~~~~~~ src/curses.c:63:15: warning: 'ttyread' defined but not used [-Wunused-function] static size_t ttyread(void *buf, size_t nbytes) ^~~~~~~ src/curses.c:58:12: warning: 'ttywritec' defined but not used [-Wunused-function] static int ttywritec(char c) ^~~~~~~~~ src/curses.c:37:12: warning: 'wis_2cols' defined but not used [-Wunused-function] static int wis_2cols(wchar_t c) ^~~~~~~~~ src/editline.c: In function 'env_completion': src/editline.c:526:14: warning: unused variable 'hash' [-Wunused-variable] 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'; did you mean 'Width'? [-Wimplicit-function-declaration] int v = (prompt_h + wcswidth(lf->buffer, wcslen(lf->buffer))) / maxx + 1; ^~~~~~~~ Width src/editline.c: In function 'my_initscr': src/editline.c:924:21: warning: unused variable 'item' [-Wunused-variable] struct sKeyMap* item; ^~~~ src/editline.c:923:12: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ src/editline.c:923:9: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ src/editline.c:922:11: warning: unused variable 'y' [-Wunused-variable] int x,y; ^ src/editline.c:922:9: warning: unused variable 'x' [-Wunused-variable] int x,y; ^ src/editline.c: In function 'completion_core': src/editline.c:1013:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] const int maxy = mgetmaxy(); ^~~~ src/editline.c: In function 'complete': src/editline.c:1568:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || 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] 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] 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'; did you mean 'usleep'? [-Wimplicit-function-declaration] (void)nanosleep(&req, NULL); ^~~~~~~~~ usleep src/editline.c:2135:23: warning: unused variable 'prompt_v' [-Wunused-variable] 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] if(mode = sRunInfo_option_with_argument(runinfo, "-mode")) { ^~~~ src/editline.c:2786:18: warning: unused variable 'str' [-Wunused-variable] sObject* str = STRING_NEW_STACK(""); ^~~ src/editline.c: In function 'cmd_editline_point': src/editline.c:2865:23: warning: unused variable 'command' [-Wunused-variable] 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] } ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 At top level: src/editline.c:1718:20: warning: 'castamized_user_complete' defined but not used [-Wunused-function] 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] static el_action_t null_complete(EditLine *el, int ch) ^~~~~~~~~~~~~ src/editline.c:309:17: warning: 'gUserCompletionNextout' defined but not used [-Wunused-variable] static sObject* gUserCompletionNextout; ^~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 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] 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] if(p2 = strstr(p, ":")) { ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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_obj.c: In function 'entry_fun': src/cmd_obj.c:478:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] int rcode = 0; ^~~~~ src/cmd_obj.c: In function 'cmd_class': src/cmd_obj.c:644:17: warning: unused variable 'rcode' [-Wunused-variable] int rcode = 0; ^~~~~ src/cmd_obj.c: In function 'cmd_ary': src/cmd_obj.c:911:22: warning: unused variable 'object' [-Wunused-variable] sObject* object = runinfo->mCurrentObject; ^~~~~~ src/cmd_obj.c:942:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(argument = sRunInfo_option_with_argument(runinfo, "-index")) { ^~~~~~~~ src/cmd_obj.c:943:22: warning: unused variable 'object' [-Wunused-variable] sObject* object = runinfo->mCurrentObject; ^~~~~~ src/cmd_obj.c:983:22: warning: unused variable 'object' [-Wunused-variable] sObject* object = runinfo->mCurrentObject; ^~~~~~ src/cmd_obj.c: In function 'cmd_hash': src/cmd_obj.c:1183:22: warning: unused variable 'object' [-Wunused-variable] sObject* object = runinfo->mCurrentObject; ^~~~~~ src/cmd_obj.c:1214:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(argument = sRunInfo_option_with_argument(runinfo, "-key")) { ^~~~~~~~ src/cmd_obj.c:1215:22: warning: unused variable 'object' [-Wunused-variable] sObject* object = runinfo->mCurrentObject; ^~~~~~ src/cmd_obj.c:1249:22: warning: unused variable 'object' [-Wunused-variable] sObject* object = runinfo->mCurrentObject; ^~~~~~ src/cmd_obj.c: In function 'cmd_export': src/cmd_obj.c:1863:22: warning: unused variable 'object' [-Wunused-variable] 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] } ^ src/cmd_file.c: In function 'correct_path': src/cmd_file.c:135:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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] return onig_new(reg, regex ^~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:11: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] , regex + strlen((char*)regex) ^~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/editline.c: In function 'complete': src/editline.c:1603:28: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized] return res; ^~~ src/cmd_str.c: In function 'cmd_rstrip': src/cmd_str.c:638:14: warning: unused variable 'first' [-Wunused-variable] 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] 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] if(argument = sRunInfo_option_with_argument(runinfo, "-number")) { ^~~~~~~~ src/cmd_str.c:897:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] 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] if(p = strstr(arg, "..")) { ^ src/cmd_str.c:1078:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] *p3++; ^~~~~ src/cmd_str.c:1885:29: warning: value computed is not used [-Wunused-value] *p2++; ^~~~~ src/cmd_str.c:1901:29: warning: value computed is not used [-Wunused-value] *p3++; ^~~~~ src/cmd_str.c: In function 'cmd_delete': src/cmd_str.c:2149:37: warning: value computed is not used [-Wunused-value] *p3++; ^~~~~ src/cmd_str.c:2158:29: warning: value computed is not used [-Wunused-value] *p2++; ^~~~~ src/cmd_str.c:2185:29: warning: value computed is not used [-Wunused-value] *p3++; ^~~~~ src/cmd_str.c: In function 'cmd_squeeze': src/cmd_str.c:2504:41: warning: value computed is not used [-Wunused-value] *p3++; ^~~~~ src/cmd_str.c:2513:33: warning: value computed is not used [-Wunused-value] *p2++; ^~~~~ src/cmd_str.c:2541:33: warning: value computed is not used [-Wunused-value] *p3++; ^~~~~ src/cmd_ary.c: In function 'cmd_lines': src/cmd_ary.c:135:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p = strstr(arg, "..")) { ^ src/cmd_ary.c:163:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] sObject* nextin2 = FD_NEW_STACK(); ^~~~~~~ src/cmd_str.c: In function 'cmd_tr': src/cmd_str.c:3151:29: warning: value computed is not used [-Wunused-value] *p2++; ^~~~~ src/cmd_str.c:3239:29: warning: value computed is not used [-Wunused-value] *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] int r2 = onig_search(reg, target ^~~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:22: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , target + strlen(target) ^~~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] , p ^ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:22: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , p + strlen(p) ^ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] if(number = sRunInfo_option_with_argument(runinfo, "-number")) { ^~~~~~ src/cmd_str.c:4151:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] int r2 = onig_search(reg, target ^~~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:30: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , target + strlen(target) ^~~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] , p ^ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:30: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , p + strlen(p) ^ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] const int point = p - target; ^~~~~ src/cmd_str.c:4171:39: warning: unused variable 'err_info' [-Wunused-variable] OnigErrorInfo err_info; ^~~~~~~~ src/cmd_str.c:4252:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(number = sRunInfo_option_with_argument(runinfo, "-number")) { ^~~~~~ src/cmd_str.c:4277:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if(number = sRunInfo_option_with_argument(runinfo, "-number")) { ^~~~~~ src/cmd_str.c:4503:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] int r2 = onig_search(reg, target ^~~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:30: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , target + strlen(target) ^~~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] , p ^ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] , target ^~~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] OnigErrorInfo err_info; ^~~~~~~~ src/cmd_str.c:4606:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(number = sRunInfo_option_with_argument(runinfo, "-number")) { ^~~~~~ src/cmd_str.c:4626:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] 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] int r2 = onig_search(reg, target ^~~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:26: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , target + strlen(target) ^~~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] , p ^ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:26: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , p + strlen(p) ^ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] 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] int r2 = onig_search(reg, target ^~~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:26: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , target + strlen(target) ^~~~~~ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] , p, p + strlen(p) ^ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:29: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , p, p + strlen(p) ^ In file included from src/cmd_str.c:12:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] eLineField lf = gLineField; ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 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] return onig_new(reg, regex ^~~~~~~~~~~~~~~~~~~ , regex + strlen((char*)regex) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ , option ~~~~~~~~ , enc ~~~~~ , ONIG_SYNTAX_DEFAULT ~~~~~~~~~~~~~~~~~~~~~ , &err_info); ~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] snprintf(buf, 128, ""); ^~ src/cmd_condition.c:561:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] snprintf(buf, 128, ""); ^~ src/cmd_condition.c:564:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] snprintf(buf, 128, ""); ^~ src/cmd_condition.c:567:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] snprintf(buf, 128, ""); ^~ src/cmd_condition.c:570:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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] int r2 = onig_search(reg, target ^~~~~~ In file included from src/xyzsh.h:12:0, from src/cmd_condition.c:26: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:18: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , target + strlen(target) ^~~~~~ In file included from src/xyzsh.h:12:0, from src/cmd_condition.c:26: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] , target, target + strlen(target) ^~~~~~ In file included from src/xyzsh.h:12:0, from src/cmd_condition.c:26: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:26: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , target, target + strlen(target) ^~~~~~ In file included from src/xyzsh.h:12:0, from src/cmd_condition.c:26: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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] int max; ^~~ src/obj_user.c:409:8: warning: unused variable 'i' [-Wunused-variable] int i; ^ src/obj_user.c: In function 'uobject_erase': src/obj_user.c:484:19: warning: unused variable 'it2' [-Wunused-variable] uobject_it* it2 = SUOBJECT(self).mEntryIt; ^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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'; did you mean 'wcstod'? [-Wimplicit-function-declaration] if(wcswidth(wcs_tmp, wcslen(wcs_tmp)) > termsize) { ^~~~~~~~ wcstod src/cmd_curses.c: In function 'cmd_selector': src/cmd_curses.c:389:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] 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] while(entry = readdir(dir)) { ^~~~~ src/cmd_curses.c: In function 'correct_path': src/cmd_curses.c:1059:13: warning: unused variable 'i' [-Wunused-variable] 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] int size = asprintf(&buf, aformat, atoi(arg)); ^~~~~~~~ vsprintf src/cmd_curses.c:1609:29: warning: unused variable 'size' [-Wunused-variable] int size = asprintf(&buf, aformat, atoi(arg)); ^~~~ src/cmd_curses.c:1630:29: warning: unused variable 'size' [-Wunused-variable] int size = asprintf(&buf, aformat, atof(arg)); ^~~~ src/cmd_curses.c:1650:29: warning: unused variable 'size' [-Wunused-variable] int size = asprintf(&buf, aformat, arg); ^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] if(argument = sRunInfo_option_with_argument(runinfo, "-number")) { ^~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:0, 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] int w = wcwidth(c); ^~~~~~~ Width gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 src/cmd_curses.c: In function 'cmd_fselector': src/cmd_curses.c:1151:43: warning: array subscript is below array bounds [-Warray-bounds] for(p=path + strlen(path)-2; p != path-1; p--) { ~~~~^~ In file included from src/editline/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width In file included from src/editline/el.h:50:0, from src/editline/chartype.c:43: 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] #define ct_wctomb_reset wctomb(0,0) ^~~~~~~~~~~ src/editline/chartype.c:200:3: note: in expansion of macro 'ct_wctomb_reset' 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] if(!fd_write(nextin2, field, strlen(field))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:0, 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] int w = wcwidth(c); ^~~~~~~ Width In file included from src/editline/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width In file included from src/editline/el.h:50:0, 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] 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] size_t plen = sizeof(elpath); ^~~~ src/cmd_str.c: In function 'cmd_split': src/cmd_str.c:5209:17: warning: 'regex' may be used uninitialized in this function [-Wmaybe-uninitialized] 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] p = result + word_len; ~~~~~~~^~~~~~~~~~ src/cmd_str.c:5149:28: warning: 'word' may be used uninitialized in this function [-Wmaybe-uninitialized] result = strstr(p, word); ~~~~~~~^~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 In file included from src/editline/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:0, 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] int w = wcwidth(c); ^~~~~~~ Width gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:0, 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] int w = wcwidth(c); ^~~~~~~ Width gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 In file included from src/editline/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width In file included from src/editline/history.c:59:0: 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] int w = wcwidth(c); ^~~~~~~ Width gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:0, 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] int w = wcwidth(c); ^~~~~~~ Width In file included from src/editline/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 In file included from src/editline/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 In file included from src/editline/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:0, 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] int w = wcwidth(c); ^~~~~~~ Width gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 In file included from src/editline/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width In file included from src/editline/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width In file included from src/editline/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width src/editline/readline.c: In function 'history_truncate_file': src/editline/readline.c:1288:3: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] (void)ftruncate(fileno(fp), off); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:0, 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] int w = wcwidth(c); ^~~~~~~ Width gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/el.h:50:0, 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] int w = wcwidth(c); ^~~~~~~ Width In file included from src/editline/tokenizer.c:54:0: 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] 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] if (*tmp != NULL && *tmp != '\0' && *tmp != *str) { ^~ src/editline/terminal.c:368:23: note: did you mean to dereference the pointer? if (*tmp != NULL && *tmp != '\0' && *tmp != *str) { ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:0, 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] int w = wcwidth(c); ^~~~~~~ Width gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:0, 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] 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] write(fd, cp, len); ^~~~~~~~~~~~~~~~~~ src/editline/vi.c:1043:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "\n", (size_t)1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' docdir=/usr/share/doc/xyzsh-1.5.8 rm -f install gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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'; did you mean 'nice'? [-Wimplicit-function-declaration] srandom((unsigned)time(NULL)); ^~~~ nice At top level: src/main.c:30:13: warning: 'main_xyzsh_job_done' defined but not used [-Wunused-function] static void main_xyzsh_job_done(int job_num, char* job_title) ^~~~~~~~~~~~~~~~~~~ rm -f install + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sYqwKK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64 + cd xyzsh-1.5.8 + make install DESTDIR=/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64 'INSTALL=install -p' docdir=/usr/share/doc/xyzsh-1.5.8 if [ -z "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.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-10.fc28.riscv64//usr/lib64" if [ "" = libxyzsh.a ]; then install -p -m 644 -s libxyzsh.a "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.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-10.fc28.riscv64//usr/lib64"; else install -p -m 755 libxyzsh.so.2.0.0 "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.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-10.fc28.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-10.fc28.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-10.fc28.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-10.fc28.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-10.fc28.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-10.fc28.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-10.fc28.riscv64//usr/bin"; mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//etc/xyzsh"; mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/lib64" mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/include/xyzsh" mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/share/doc/xyzsh-1.5.8" mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/share/man/man1" install -p -m 644 src/xyzsh.h "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/include/xyzsh" install -p -m 644 src/temulator.h "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/include/xyzsh" install -p -m 644 src/debug.h "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/include/xyzsh" install -p -m 644 src/xfunc.h "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/include/xyzsh" install -p -m 644 src/kanji.h "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/include/xyzsh" install -p -m 644 USAGE "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/share/doc/xyzsh-1.5.8" install -p -m 644 USAGE.ja "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/share/doc/xyzsh-1.5.8" install -p -m 644 README "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/share/doc/xyzsh-1.5.8" install -p -m 644 CHANGELOG "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/share/doc/xyzsh-1.5.8" rm -f "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.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-10.fc28.riscv64//usr/bin"; else install -p -m 755 xyzsh "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/bin"; fi; install -p -m 644 man/man1/xyzsh.1 "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//usr/share/man/man1" install -p -m 644 xyzsh.xyzsh "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//etc/xyzsh" install -p -m 644 completion.xyzsh "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//etc/xyzsh" install -p -m 644 help.xyzsh "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64//etc/xyzsh" mkdir -p "/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.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-10.fc28.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-10.fc28.riscv64//usr/lib64/xyzsh/"; fi make[1]: Leaving directory '/builddir/build/BUILD/xyzsh-1.5.8' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: xyzsh-1.5.8-10.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1cAP5S + umask 022 + cd /builddir/build/BUILD + cd xyzsh-1.5.8 + DOCDIR=/builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.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-10.fc28.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr AUTHORS /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr CHANGELOG /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr LICENSE /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr README /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr README.ja /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr USAGE /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64/usr/share/doc/xyzsh-1.5.8 + cp -pr USAGE.ja /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64/usr/share/doc/xyzsh-1.5.8 + exit 0 Provides: config(xyzsh) = 1.5.8-10.fc28 libxyzsh.so.2()(64bit) xyzsh = 1.5.8-10.fc28 xyzsh(riscv-64) = 1.5.8-10.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libmigemo.so.1()(64bit) libncursesw.so.6()(64bit) libonig.so.4()(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-10.fc28.riscv64 Provides: xyzsh-devel = 1.5.8-10.fc28 xyzsh-devel(riscv-64) = 1.5.8-10.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libxyzsh.so.2()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64 Wrote: /builddir/build/SRPMS/xyzsh-1.5.8-10.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xyzsh-1.5.8-10.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/xyzsh-devel-1.5.8-10.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VCX1oy + umask 022 + cd /builddir/build/BUILD + cd xyzsh-1.5.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xyzsh-1.5.8-10.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff