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