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/kitutuki.spec'], chrootPath='/var/lib/mock/f37-build-670078-75035/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/kitutuki.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=1658361600 Wrote: /builddir/build/SRPMS/kitutuki-0.9.6-30.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kitutuki.spec'], chrootPath='/var/lib/mock/f37-build-670078-75035/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/kitutuki.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=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VkQzbL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kitutuki-0.9.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kitutuki-0.9.6.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd kitutuki-0.9.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (kitutuki-0.9.5-makefile-misc-fix.patch):' Patch #0 (kitutuki-0.9.5-makefile-misc-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mk --fuzz=0 patching file Makefile.in + sed -i.strip -e '/install/s| -s | |' Makefile.in + sed -i.stamp -e 's|\([ \t][ \t]*install \)|\1 -p |' Makefile.in Patch #1 (kitutuki-0.9.1-kitutuki_help.patch): + echo 'Patch #1 (kitutuki-0.9.1-kitutuki_help.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .help --fuzz=0 patching file kitutuki.ksh Hunk #1 succeeded at 232 (offset -2 lines). Patch #3 (kitutuki-0.9.6-gcc10-fno-common.patch): + echo 'Patch #3 (kitutuki-0.9.6-gcc10-fno-common.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc10 --fuzz=0 patching file kitutuki.h Patch #2 (kitutuki-0.9.3-configure-migemo.patch): + echo 'Patch #2 (kitutuki-0.9.3-configure-migemo.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cf --fuzz=0 patching file configure.in + autoconf configure.in:3: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.in:3: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:3: the top level configure.in:76: warning: The macro `AC_HAVE_LIBRARY' is obsolete. configure.in:76: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.in:76: the top level configure.in:87: warning: The macro `AC_HAVE_LIBRARY' is obsolete. configure.in:87: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.in:87: the top level configure.in:93: warning: The macro `AC_HAVE_LIBRARY' is obsolete. configure.in:93: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.in:93: the top level configure.in:100: warning: The macro `AC_HAVE_LIBRARY' is obsolete. configure.in:100: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.in:100: the top level configure.in:118: warning: The macro `AC_HAVE_LIBRARY' is obsolete. configure.in:118: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.in:118: the top level configure.in:123: warning: AC_OUTPUT should be used without arguments. configure.in:123: You should run autoupdate. + sed -i.cflags -e '/CFLAGS=/s|-fPIC|-fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection|' configure + iconv -f EUC-JP -t UTF-8 README.ja.txt + touch -r README.ja.txt README.ja.txt.utf8 + mv -f README.ja.txt.utf8 README.ja.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QNalfz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 kitutuki-0.9.6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/usr/lib64/kitutuki --includedir=/usr/include/kitutuki --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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for a BSD-compatible install... /usr/bin/install -c system-migemodir = /usr/share/cmigemo checking Operating System... Linux checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for ncurses.h... yes checking for ncurses/ncurses.h... yes checking for main in -lncurses... yes checking for math.h... yes checking for main in -lm... yes checking for oniguruma.h... yes checking for main in -lonig... yes checking for readline/readline.h... yes checking for readline/history.h... yes checking for main in -lreadline... yes checking for iconv.h... yes checking for migemo.h... yes checking for main in -lmigemo... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 docdir=/usr/share/doc/kitutuki/ gcc -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cmdline.o cmdline.c gcc -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o minato_debug.o minato_debug.c gcc -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o minato_extra.o minato_extra.c gcc -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o minato_hash.o minato_hash.c minato_hash.c: In function 'hash_erase': minato_hash.c:153:16: warning: unused variable 'it2' [-Wunused-variable] 153 | hash_it* it2 = self->mEntryIt; | ^~~ minato_hash.c: In function 'hash_clear': minato_hash.c:184:8: warning: unused variable 'max' [-Wunused-variable] 184 | int max; | ^~~ minato_hash.c:183:8: warning: unused variable 'i' [-Wunused-variable] 183 | int i; | ^ gcc -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o minato_kanji.o minato_kanji.c minato_extra.c: In function 'correct_path': minato_extra.c:252:13: warning: unused variable 'i' [-Wunused-variable] 252 | int i; | ^ cmdline.c: In function 'is_utf8': cmdline.c:114:1: warning: no return statement in function returning non-void [-Wreturn-type] 114 | } | ^ cmdline.c: In function 'get_terminal_stat': cmdline.c:136:15: warning: unused variable 'maxy' [-Wunused-variable] 136 | const int maxy = mgetmaxy(); | ^~~~ cmdline.c: In function 'input': cmdline.c:280:15: warning: unused variable 'maxy' [-Wunused-variable] 280 | const int maxy = mgetmaxy(); | ^~~~ cmdline.c: In function 'mread_history': cmdline.c:454:1: warning: control reaches end of non-void function [-Wreturn-type] 454 | } | ^ minato_kanji.c: In function 'is_kanji': cmdline.c: At top level: cmdline.c:116:13: warning: 'kanji_continue' defined but not used [-Wunused-function] 116 | static BOOL kanji_continue(char* mbs) | ^~~~~~~~~~~~~~ cmdline.c:112:13: warning: 'is_utf8' defined but not used [-Wunused-function] 112 | static BOOL is_utf8(char* mbs) | ^~~~~~~ cmdline.c:103:13: warning: 'view' defined but not used [-Wunused-function] 103 | static void view() | ^~~~ minato_kanji.c:413:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 413 | return c >= 0xA1 && c <= 0xFE || c == 0x8e; | ~~~~~~~~~~^~~~~~~~~~~~ minato_kanji.c:417:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 417 | return c >= 0x81 && c <= 0x9f || c >= 0xE0; | ~~~~~~~~~~^~~~~~~~~~~~ minato_kanji.c: In function 'str_cut3': minato_kanji.c:695:15: warning: unused variable 'buf' [-Wunused-variable] 695 | char* buf; | ^~~ minato_kanji.c: In function 'kanji_convert': minato_kanji.c:751:12: warning: unused variable 'result' [-Wunused-variable] 751 | size_t result; | ^~~~~~ gcc -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o minato_list.o minato_list.c gcc -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o minato_string.o minato_string.c minato_list.c: In function 'list_it_release': minato_list.c:24:1: warning: no return statement in function returning non-void [-Wreturn-type] 24 | } | ^ minato_string.c: In function 'string_push_back3': minato_string.c:122:11: warning: unused variable 'tmp_str' [-Wunused-variable] 122 | char* tmp_str; | ^~~~~~~ minato_string.c: In function 'string_sub_str': minato_string.c:261:1: warning: control reaches end of non-void function [-Wreturn-type] 261 | } | ^ gcc -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o minato_vector.o minato_vector.c gcc -c kitutuki.c -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/usr/lib64/kitutuki\" -DDOCDIR=\"/usr/share/doc/kitutuki/\" -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection gcc -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o minato_curses.o minato_curses.c gcc -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o minato_buffer.o minato_buffer.c gcc -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o readline.o readline.c minato_curses.c: In function 'is_kanji': minato_curses.c:88:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 88 | return c >= 0xA1 && c <= 0xFE || c == 0x8e; | ~~~~~~~~~~^~~~~~~~~~~~ minato_curses.c:92:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 92 | return c >= 0x81 && c <= 0x9f || c >= 0xE0; | ~~~~~~~~~~^~~~~~~~~~~~ minato_curses.c: In function 'minitscr': minato_curses.c:265:21: warning: unused variable 'item' [-Wunused-variable] 265 | struct sKeyMap* item; | ^~~~ minato_curses.c:264:12: warning: unused variable 'j' [-Wunused-variable] 264 | int i, j; | ^ minato_curses.c:264:9: warning: unused variable 'i' [-Wunused-variable] 264 | int i, j; | ^ minato_curses.c: In function 'mclear': minato_curses.c:370:10: warning: unused variable 'space2' [-Wunused-variable] 370 | char space2[1024]; | ^~~~~~ minato_curses.c: In function 'mmvprintw': minato_curses.c:500:15: warning: unused variable 'maxy' [-Wunused-variable] 500 | const int maxy = mgetmaxy(); | ^~~~ minato_curses.c: In function 'mprintw': minato_curses.c:565:15: warning: unused variable 'maxy' [-Wunused-variable] 565 | const int maxy = mgetmaxy(); | ^~~~ kitutuki.c: In function 'xclose': kitutuki.c:228:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 228 | char* key = hash_key(gFileHandles, (char*)fd); | ^ kitutuki.c: In function 'parse_is_redirect2': kitutuki.c:299:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 299 | return *p == '2' && *(p+1) == '>' && *(p+2) == '&' && *(p+3) == '1' | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ kitutuki.c: In function 'is_env_name_char': kitutuki.c:306:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 306 | return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z' | ~~~~~~~~~^~~~~~~~~~~ kitutuki.c:307:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 307 | || c >= '0' && c <= '9' | ~~~~~~~~~^~~~~~~~~~~ minato_curses.c: In function 'mgetch_': kitutuki.c: In function 'sigchld_action': kitutuki.c:463:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 463 | list_push_back(gSigChldRecieved, (void*)info->si_pid); | ^ minato_curses.c:1249:12: warning: unused variable 'y' [-Wunused-variable] 1249 | static int y = 0; | ^ minato_curses.c:1243:20: warning: unused variable 'tv' [-Wunused-variable] 1243 | struct timeval tv; | ^~ minato_curses.c:1242:12: warning: unused variable 'mask' [-Wunused-variable] 1242 | fd_set mask; | ^~~~ kitutuki.c: In function 'sIf_save': kitutuki.c:874:19: warning: unused variable 'c' [-Wunused-variable] 874 | unsigned char c; | ^ kitutuki.c: In function 'sCommand_save': kitutuki.c:1035:5: warning: enumeration value 'kSubshell' not handled in switch [-Wswitch] 1035 | switch(self->mKind) { | ^~~~~~ kitutuki.c:1035:5: warning: enumeration value 'kMSleep' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kTrue' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kFalse' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kTest' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kIndex' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kRIndex' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kLength' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kLc' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kUc' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kChomp' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kSubstr' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kEval' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kFg' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kBg' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kCpg' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kJobs' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kRehash' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kKanjiCode' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kLineField' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kVar' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kGlobal' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kCalc' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kExport' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kPrint' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kPuts' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kLoad' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kBreak' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kExit' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kChoise' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kSplit' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kJoin' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kAryNew' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kAryAdd' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kAryErase' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kAryClear' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kMatch' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kSub' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kScan' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kRead' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kClose' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kCd' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kAdd' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kDel' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kSelector' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kMax' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kMin' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kExtName' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kParentName' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kNoExtName' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kCompile' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kRaise' not handled in switch [-Wswitch] kitutuki.c:1035:5: warning: enumeration value 'kCommand' not handled in switch [-Wswitch] kitutuki.c: In function 'sCommand_delete': kitutuki.c:1125:5: warning: enumeration value 'kSubshell' not handled in switch [-Wswitch] 1125 | switch(self->mKind) { | ^~~~~~ kitutuki.c:1125:5: warning: enumeration value 'kMSleep' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kTrue' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kFalse' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kTest' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kIndex' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kRIndex' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kLength' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kLc' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kUc' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kChomp' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kSubstr' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kEval' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kFg' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kBg' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kCpg' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kJobs' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kRehash' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kKanjiCode' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kLineField' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kVar' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kGlobal' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kCalc' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kExport' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kPrint' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kPuts' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kLoad' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kBreak' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kExit' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kChoise' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kSplit' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kJoin' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kAryNew' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kAryAdd' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kAryErase' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kAryClear' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kMatch' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kSub' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kScan' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kRead' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kClose' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kCd' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kAdd' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kDel' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kSelector' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kMax' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kMin' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kExtName' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kParentName' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kNoExtName' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kCompile' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kRaise' not handled in switch [-Wswitch] kitutuki.c:1125:5: warning: enumeration value 'kCommand' not handled in switch [-Wswitch] kitutuki.c: In function 'sStatment_save': kitutuki.c:1272:9: warning: unused variable 'wret' [-Wunused-variable] 1272 | int wret = write(fd, string_c_str(self->mFName), n); | ^~~~ kitutuki.c: In function 'kitutuki_rehash_without_user_fun': kitutuki.c:1721:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1721 | while(entry = readdir(dir)) { | ^~~~~ kitutuki.c:1775:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1775 | while(entry = readdir(dir)) { | ^~~~~ kitutuki.c: In function 'kitutuki_init': kitutuki.c:1906:11: warning: unused variable 'user_rc_fname' [-Wunused-variable] 1906 | char* user_rc_fname = getenv("KITUTUKI_USERRC"); | ^~~~~~~~~~~~~ kitutuki.c: In function 'kitutuki_final': kitutuki.c:2001:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2001 | int fd = (int)hash_loop_item(it); | ^ kitutuki.c: In function 'expand_env_parse_number': kitutuki.c:2745:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2745 | while(*p5 >= '0' && *p5 <='9' || *p5 == '-') { | ~~~~~~~~~~~^~~~~~~~~~~~ kitutuki.c:2754:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2754 | while(*p5 >= '0' && *p5 <='9' || *p5 == '-') { | ~~~~~~~~~~~^~~~~~~~~~~~ minato_curses.c: At top level: kitutuki.c: In function 'expand_env': minato_curses.c:1249:12: warning: 'y' defined but not used [-Wunused-variable] 1249 | static int y = 0; | ^ kitutuki.c:3062:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3062 | && (*p == '$' && *(p+1) == '$' && *(p+2) == '(' | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ minato_curses.c:956:13: warning: 'mrefresh_non_buffer' defined but not used [-Wunused-function] 956 | static void mrefresh_non_buffer() | ^~~~~~~~~~~~~~~~~~~ minato_curses.c:130:12: warning: 'mhas_color' defined but not used [-Wunused-function] 130 | static int mhas_color() | ^~~~~~~~~~ readline.c: In function 'readline_on_complete': readline.c:169:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 169 | else if(*p == '*' || *p == '?' || *p =='[' && (*(p+1) != ' ' && *(p+1) != '\t' && *(p+1) == '\n')) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c:3139:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3138 | (*p == '$' && *(p+1) == '$' | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 3139 | && (*(p+2) == '{' || is_env_name_char(*(p+2))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c:3410:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3410 | || *p =='[' && (*(p+1) != ' ' | ~~~~~~~~~^~~~~~~~~~~~~~~~~ 3411 | && *(p+1) != '\t' && is_line_field(p+1))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c: In function 'parse_redirect': kitutuki.c:3601:1: warning: no return statement in function returning non-void [-Wreturn-type] 3601 | } | ^ kitutuki.c: In function 'read_get_block': kitutuki.c:3611:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3611 | while(**p == ' ' || **p == '\t' || is_line_field(*p) && gLine++) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ kitutuki.c: In function 'read_get_joukensiki': kitutuki.c:3867:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3867 | else if(**p == ':' || *(*p-1) != '$' && **p=='{') { | ~~~~~~~~~~~~~~~^~~~~~~~~~~ kitutuki.c: In function 'parse_add_statments': kitutuki.c:3913:19: warning: unused variable 'last_command' [-Wunused-variable] 3913 | sCommand* last_command | ^~~~~~~~~~~~ kitutuki.c: In function 'parse_check_special_statment_continue': kitutuki.c:4244:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4244 | if(**p == '&' && *(*p+1) == '&' | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ kitutuki.c: In function 'parse_get_word': kitutuki.c:4335:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4335 | && (**p == '$' && *(*p+1) == '$' && *(*p+2) == '(' | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ kitutuki.c:4362:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4361 | (**p == '$' && *(*p+1) == '$' | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4362 | && (*(*p+2) == '{' || is_env_name_char(*(*p+2))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c:4451:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4451 | || **p =='[' && *(*p+1) != ' ') | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ kitutuki.c: In function 'parse': kitutuki.c:4686:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4686 | else if(!dquote && *p == '\'' && *(p+1) == '\'' | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ kitutuki.c:4752:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4752 | else if(!squote && (*p == '$' && *(p+1) == '$' && *(p+2) == '(' | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ kitutuki.c:4781:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4780 | *p == '$' && *(p+1) == '$' | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 4781 | && (*(p+2) == '{' || is_env_name_char(*(p+2))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c:4870:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4870 | || *p =='[' && (*(p+1) != ' ' | ~~~~~~~~~^~~~~~~~~~~~~~~~~ 4871 | && *(p+1) != '\t' && is_line_field(p+1))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c:5105:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5105 | || *p == '&' && *(p+1) == '&' | ~~~~~~~~~~^~~~~~~~~~~~~~~~ kitutuki.c:5106:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5106 | || *p == '|' && *(p+1) == '|' | ~~~~~~~~~~^~~~~~~~~~~~~~~~ kitutuki.c:5453:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5453 | || is_line_field(p) && gLine++) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ kitutuki.c:5587:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5587 | while(*p == ' '||*p == '\t'|| is_line_field(p) && gLine++) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ kitutuki.c:5907:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5907 | while(*p >= 'a' && *p <= 'z' || *p >= 'A' && *p <= 'Z' | ~~~~~~~~~~^~~~~~~~~~~~ kitutuki.c:5908:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5908 | || *p == '_' || *p >= '0' && *p <= '9') | ~~~~~~~~~~^~~~~~~~~~~~ kitutuki.c:5925:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5925 | while(*p >= 'a' && *p <= 'z' || *p >= 'A' && *p <= 'Z' | ~~~~~~~~~~^~~~~~~~~~~~ kitutuki.c:5926:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5926 | || *p == '_' || *p >= '0' && *p <= '9') | ~~~~~~~~~~^~~~~~~~~~~~ kitutuki.c: In function 'statment_tree_internal_commands_selector': kitutuki.c:6374:39: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 6374 | else if(key == 'q' || key == 3 | key == 27 || key == 7) { | ~~~~^~~~ kitutuki.c: In function 'calculate_number': kitutuki.c:6464:19: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 6464 | while(**p == ' ' | **p == '\t') (*p)++; | ~~~~^~~~~~ kitutuki.c: In function 'calculate_node': kitutuki.c:6526:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 6526 | else if(**p == '-' || **p >= '0' && **p <= '9') { | ~~~~~~~~~~~^~~~~~~~~~~~~ kitutuki.c: In function 'statment_tree_internal_commands_test': kitutuki.c:7086:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 7086 | if(!reverse && (vector_size(argv) + (input ? 1: 0)) == 4 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c:7268:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 7268 | && !stat_.st_uid == getuid()) | ^~ kitutuki.c:7268:32: note: add parentheses around left hand side expression to silence this warning 7268 | && !stat_.st_uid == getuid()) | ^~~~~~~~~~~~~ | ( ) kitutuki.c:7278:47: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 7278 | && ! stat_.st_gid == getgid()) | ^~ kitutuki.c:7278:32: note: add parentheses around left hand side expression to silence this warning 7278 | && ! stat_.st_gid == getgid()) | ^~~~~~~~~~~~~~ | ( ) kitutuki.c:7307:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 7307 | else if(!reverse && (vector_size(argv) + (input ? 1:0)) == 5 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c:7348:40: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 7348 | r = onig_new(®, regex2 | ^~~~~~ | | | char * In file included from kitutuki.c:77: /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)); | ^~ kitutuki.c:7349:38: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 7349 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | 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)); | ^~ kitutuki.c:7370:47: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 7370 | 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)); | ^~ kitutuki.c:7371:33: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 7371 | , 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)); | ^~ kitutuki.c:7372:26: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 7372 | , 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)); | ^~ kitutuki.c:7372:41: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 7372 | , 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)); | ^~ kitutuki.c:7443:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 7443 | if(r2 >= 0 && !reverse || r2 < 0 && reverse) { | ~~~~~~~~^~~~~~~~~~~ kitutuki.c:7000:15: warning: unused variable 'arg5' [-Wunused-variable] 7000 | char* arg5; | ^~~~ kitutuki.c:6999:15: warning: unused variable 'arg4' [-Wunused-variable] 6999 | char* arg4; | ^~~~ kitutuki.c: In function 'statment_tree_internal_commands_match': kitutuki.c:7646:35: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 7646 | int r2 = onig_search(reg, str2 | ^~~~ | | | 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)); | ^~ kitutuki.c:7647:19: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 7647 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | 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)); | ^~ kitutuki.c:7648:14: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 7648 | , str2, str2 + strlen(str2) | ^~~~ | | | 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)); | ^~ kitutuki.c:7648:25: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 7648 | , str2, str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | 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)); | ^~ kitutuki.c: In function 'statment_tree_internal_commands': kitutuki.c:9070:25: warning: variable 'field_str' set but not used [-Wunused-but-set-variable] 9070 | string_obj* field_str = NULL; | ^~~~~~~~~ kitutuki.c:9069:18: warning: variable 'field' set but not used [-Wunused-but-set-variable] 9069 | BOOL field = FALSE; | ^~~~~ kitutuki.c:9296:25: warning: variable 'field_str' set but not used [-Wunused-but-set-variable] 9296 | string_obj* field_str = NULL; | ^~~~~~~~~ kitutuki.c:9295:18: warning: variable 'field' set but not used [-Wunused-but-set-variable] 9295 | BOOL field = FALSE; | ^~~~~ kitutuki.c:9508:25: warning: variable 'field_str' set but not used [-Wunused-but-set-variable] 9508 | string_obj* field_str = NULL; | ^~~~~~~~~ kitutuki.c:9507:18: warning: variable 'field' set but not used [-Wunused-but-set-variable] 9507 | BOOL field = FALSE; | ^~~~~ kitutuki.c:10396:44: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 10396 | r = onig_new(®, regex2 | ^~~~~~ | | | 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)); | ^~ kitutuki.c:10397:42: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 10397 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | 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)); | ^~ kitutuki.c:10421:55: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 10421 | 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)); | ^~ kitutuki.c:10422:41: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 10422 | , 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)); | ^~ kitutuki.c:10423:34: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 10423 | , 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)); | ^~ kitutuki.c:10423:49: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 10423 | , 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)); | ^~ kitutuki.c:10421:33: warning: unused variable 'r2' [-Wunused-variable] 10421 | int r2 = onig_search(reg, target | ^~ kitutuki.c:11390:48: warning: pointer targets in passing argument 2 of 'statment_tree_internal_commands_match' differ in signedness [-Wpointer-sign] 11390 | string_c_str(str), regex2, rcode, nextout | ^~~~~~ | | | char * kitutuki.c:7606:12: note: expected 'OnigUChar *' {aka 'unsigned char *'} but argument is of type 'char *' 7606 | , UChar* regex2, int* rcode, int nextout, BOOL print, BOOL line_field | ^ kitutuki.c:11430:27: warning: pointer targets in passing argument 2 of 'statment_tree_internal_commands_match' differ in signedness [-Wpointer-sign] 11430 | str2, regex2, rcode, nextout, !quit, line_field | ^~~~~~ | | | char * kitutuki.c:7606:12: note: expected 'OnigUChar *' {aka 'unsigned char *'} but argument is of type 'char *' 7606 | , UChar* regex2, int* rcode, int nextout, BOOL print, BOOL line_field | ^ kitutuki.c:11506:44: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 11506 | r = onig_new(®, regex2 | ^~~~~~ | | | 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)); | ^~ kitutuki.c:11507:42: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 11507 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | 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)); | ^~ kitutuki.c:11540:59: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 11540 | int r2 = onig_search(reg, str2 | ^~~~ | | | 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)); | ^~ kitutuki.c:11541:43: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 11541 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | 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)); | ^~ kitutuki.c:11542:43: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 11542 | , str2 + point | ~~~~~^~~~~~~ | | | 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)); | ^~ kitutuki.c:11543:43: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 11543 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | 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)); | ^~ kitutuki.c:11539:47: warning: unused variable 'err_info' [-Wunused-variable] 11539 | OnigErrorInfo err_info; | ^~~~~~~~ kitutuki.c:11658:55: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 11658 | int r2 = onig_search(reg, str2 | ^~~~ | | | 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)); | ^~ kitutuki.c:11659:39: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 11659 | , str2 + strlen((char*)str2) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ | | | 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)); | ^~ kitutuki.c:11660:34: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 11660 | , str2, str2 + strlen((char*)str2) | ^~~~ | | | 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)); | ^~ kitutuki.c:11660:45: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 11660 | , str2, str2 + strlen((char*)str2) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ | | | 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)); | ^~ kitutuki.c:11495:25: warning: unused variable 'i' [-Wunused-variable] 11495 | int i; | ^ kitutuki.c:11826:36: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 11826 | r = onig_new(®, regex2 | ^~~~~~ | | | 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)); | ^~ kitutuki.c:11827:34: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 11827 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | 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)); | ^~ kitutuki.c:11851:46: warning: pointer targets in passing argument 2 of 'onig_match' differ in signedness [-Wpointer-sign] 11851 | int r2 = onig_match(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:833:16: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 833 | int onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* at, OnigRegion* region, OnigOptionType option)); | ^~ kitutuki.c:11852:31: warning: pointer targets in passing argument 3 of 'onig_match' differ in signedness [-Wpointer-sign] 11852 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:833:16: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 833 | int onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* at, OnigRegion* region, OnigOptionType option)); | ^~ kitutuki.c:11853:26: warning: pointer targets in passing argument 4 of 'onig_match' differ in signedness [-Wpointer-sign] 11853 | , p | ^ | | | char * /usr/include/oniguruma.h:833:16: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 833 | int onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* at, OnigRegion* region, OnigOptionType option)); | ^~ kitutuki.c:12007:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 12007 | fd = (int)hash_item(gFileHandles, fname); | ^ kitutuki.c:12018:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 12018 | hash_put(gFileHandles, fname, (void*)fd); | ^ kitutuki.c:12051:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 12051 | fd = (int)hash_item(gFileHandles, fname); | ^ kitutuki.c:12062:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 12062 | hash_put(gFileHandles, fname, (void*)fd); | ^ kitutuki.c:12119:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 12119 | int fd = (int)hash_item(gFileHandles, fname); | ^ kitutuki.c: In function 'statment_tree_redirect': kitutuki.c:12492:13: warning: enumeration value 'kRedirectErrAndOutput' not handled in switch [-Wswitch] 12492 | switch(redirect->mType) { | ^~~~~~ kitutuki.c:12492:13: warning: enumeration value 'kRedirectGPipeOut' not handled in switch [-Wswitch] kitutuki.c:12492:13: warning: enumeration value 'kRedirectGPipeIn' not handled in switch [-Wswitch] kitutuki.c:12513:13: warning: enumeration value 'kRedirectErrAndOutput' not handled in switch [-Wswitch] 12513 | switch(redirect->mType) { | ^~~~~~ kitutuki.c:12513:13: warning: enumeration value 'kRedirectGPipeOut' not handled in switch [-Wswitch] kitutuki.c:12513:13: warning: enumeration value 'kRedirectGPipeIn' not handled in switch [-Wswitch] kitutuki.c: In function 'statment_tree_exec_cprog': kitutuki.c:12577:13: warning: enumeration value 'kRedirectErrAndOutput' not handled in switch [-Wswitch] 12577 | switch(redirect->mType) { | ^~~~~~ kitutuki.c:12577:13: warning: enumeration value 'kRedirectGPipeOut' not handled in switch [-Wswitch] kitutuki.c:12577:13: warning: enumeration value 'kRedirectGPipeIn' not handled in switch [-Wswitch] kitutuki.c:12666:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 12666 | int fd = (int)hash_loop_item(it); | ^ kitutuki.c: In function 'statment_tree_external_command': kitutuki.c:12845:11: warning: unused variable 'argv0' [-Wunused-variable] 12845 | char* argv0 = string_c_str(vector_item(argv, 0)); | ^~~~~ kitutuki.c: In function 'statment_tree': kitutuki.c:12983:35: warning: comparison between 'enum eTerminalKanjiCode' and 'enum eKanjiCode' [-Wenum-compare] 12983 | if(gTerminalKanjiCode != gKanjiCode) { | ^~ kitutuki.c: In function 'run_wait_cprogs': kitutuki.c:13425:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 13425 | vector_add(job->mPIDs, (void*)cprog->mPid); | ^ kitutuki.c:13473:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 13473 | vector_add(job->mPIDs, (void*)cprog->mPid); | ^ kitutuki.c:13587:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 13587 | vector_add(job->mPIDs, (void*)prog->mPid); | ^ kitutuki.c: In function 'run': kitutuki.c:13638:21: warning: unused variable 'r' [-Wunused-variable] 13638 | int r = expand_macro(string_c_str(statment->mNotEvaled) | ^ kitutuki.c:13732:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 13732 | else if(in_loop && (rcode == SIGINT || gSaphireSigInt) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c: In function 'kitutuki_kill_all_jobs': kitutuki.c:13963:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 13963 | int pid = (int)vector_item(job->mPIDs, j); | ^ kitutuki.c: In function 'kitutuki_kill_job': kitutuki.c:13983:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 13983 | int pid = (int)vector_item(job->mPIDs, i); | ^ kitutuki.c: In function 'forground_job': kitutuki.c:14014:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 14014 | int pid = (int)vector_item(job->mPIDs, i); | ^ kitutuki.c:14023:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 14023 | pid_t pid = (pid_t)vector_item(job->mPIDs, 0); | ^ kitutuki.c:14026:19: warning: unused variable 'return_pid' [-Wunused-variable] 14026 | pid_t return_pid = waitpid(pid, &status, WUNTRACED); | ^~~~~~~~~~ kitutuki.c: In function 'background_job': kitutuki.c:14111:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 14111 | int pid = (int)vector_item(job->mPIDs, 0); | ^ kitutuki.c: In function 'kitutuki_wait_background_job': kitutuki.c:14128:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 14128 | pid_t pid = (pid_t)vector_item(job->mPIDs, j); | ^ kitutuki.c:14133:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 14133 | if(return_pid == pid || return_pid < 0 && errno == ECHILD) { | ^ kitutuki.c: In function 'statment_tree_external_command': kitutuki.c:12954:1: warning: control reaches end of non-void function [-Wreturn-type] 12954 | } | ^ kitutuki.c: In function 'statment_tree_redirect': kitutuki.c:12506:26: warning: 'mode' may be used uninitialized [-Wmaybe-uninitialized] 12506 | int openfd = open(string_c_str(redirect->mFName), mode, 0666); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c:12491:20: note: 'mode' was declared here 12491 | mode_t mode; | ^~~~ kitutuki.c: In function 'kitutuki_rehash_without_user_fun': kitutuki.c:1723:40: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 1723 | sprintf(path2, "%s/%s", buf, entry->d_name); | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/curses.h:232, from kitutuki.c:11: In function 'sprintf', inlined from 'kitutuki_rehash_without_user_fun' at kitutuki.c:1723:21: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'expand_brace_expasion_expand_brace_expasion', inlined from 'read_expand_brace_expansion' at kitutuki.c:2627:17: kitutuki.c:2312:29: warning: 'first_alpha' may be used uninitialized [-Wmaybe-uninitialized] 2312 | for(c=first_alpha; c<=last_alpha; c++) { | ~^~~~~~~~~~~~ kitutuki.c: In function 'read_expand_brace_expansion': kitutuki.c:2145:10: note: 'first_alpha' was declared here 2145 | char first_alpha; | ^~~~~~~~~~~ kitutuki.c: In function 'statment_tree_internal_commands_match': kitutuki.c:7699:21: warning: pointer 'tmp_140' may be used after 'free' [-Wuse-after-free] 7699 | kitutuki_set_local_var("POSTMATCH", tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from kitutuki.h:15, from kitutuki.c:36: minato_debug.h:19:20: note: call to 'free' here 19 | # define FREE(o) free(o) | ^~~~~~~ kitutuki.c: In function 'expand_env': kitutuki.c:3046:32: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 3046 | sprintf(fname, "%s %d: expand command", gFName, gLine); | ^~ In function 'sprintf', inlined from 'expand_env' at kitutuki.c:3046:13: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 19 and 156 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ kitutuki.c: In function 'expand_env': kitutuki.c:3087:32: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 3087 | sprintf(fname, "%s %d: expand command", gFName, gLine); | ^~ In function 'sprintf', inlined from 'expand_env' at kitutuki.c:3087:13: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 19 and 156 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ kitutuki.c: In function 'statment_tree_internal_commands.constprop.0': kitutuki.c:11134:39: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 11134 | n = n + vector_size(v) + 1; kitutuki.c:10982:17: note: 'n' was declared here 10982 | int n; | ^ kitutuki.c:10389:36: warning: 'regex' may be used uninitialized [-Wmaybe-uninitialized] 10389 | regex_t* reg = hash_item(gRegexs, regex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c:10371:23: note: 'regex' was declared here 10371 | char* regex; | ^~~~~ kitutuki.c:8233:23: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 8233 | if(match_count <= 0) { | ^ kitutuki.c:8114:17: note: 'c' was declared here 8114 | int c; | ^ kitutuki.c:8216:31: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 8216 | start = str_kanjilen(code, target) + start; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c:8112:17: note: 'n' was declared here 8112 | int n; | ^ kitutuki.c:8001:23: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 8001 | if(match_count <= 0) { | ^ kitutuki.c:7881:17: note: 'c' was declared here 7881 | int c; | ^ kitutuki.c:7983:31: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 7983 | start = str_kanjilen(code, target) + start; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c:7879:17: note: 'n' was declared here 7879 | int n; | ^ In function 'statment_tree_exec_cprog', inlined from 'statment_tree_external_command' at kitutuki.c:12920:9, inlined from 'statment_tree.constprop.0' at kitutuki.c:13377:13: kitutuki.c:12591:26: warning: 'mode' may be used uninitialized [-Wmaybe-uninitialized] 12591 | int openfd = open(string_c_str(redirect->mFName), mode, 0666); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kitutuki.c: In function 'statment_tree.constprop.0': kitutuki.c:12576:20: note: 'mode' was declared here 12576 | mode_t mode; | ^~~~ gcc -shared -Wl,-soname,libkitutuki.so.1 -o libkitutuki.so.1.0 minato_debug.o minato_extra.o minato_hash.o minato_kanji.o minato_list.o minato_string.o minato_vector.o kitutuki.o minato_curses.o minato_buffer.o readline.o -lc -lncurses -lm -lonig -lreadline -lmigemo ln -sf libkitutuki.so.1.0 libkitutuki.so.1 ln -sf libkitutuki.so.1.0 libkitutuki.so gcc -o kitutuki main.c cmdline.o -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/usr/lib64/kitutuki\" -DSYSTEM_MIGEMODIR=\"/usr/share/cmigemo\" -L. -lkitutuki -lncurses -lm -lonig -lreadline -lmigemo -std=c99 -I /include -L /lib -I /usr/include -L /usr/lib -I . -I/usr/local/include -L/usr/local/lib -O -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection main.c: In function 'readline_signal': main.c:159:1: warning: control reaches end of non-void function [-Wreturn-type] 159 | } | ^ main.c: In function 'mreadline_signal': main.c:138:1: warning: control reaches end of non-void function [-Wreturn-type] 138 | } | ^ main.c: At top level: main.c:81:13: warning: 'atexit_fun' defined but not used [-Wunused-function] 81 | static void atexit_fun() | ^~~~~~~~~~ env LD_LIBRARY_PATH=/builddir/build/BUILD/kitutuki-0.9.6 ./kitutuki -rn -c 'compile kitutuki.ksh' rm -f install + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZrP8n6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 kitutuki-0.9.6 + rm -rf /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64 + rm -rf ./Trash + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead ++ pwd + /usr/bin/make prefix=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr exec_prefix=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr bindir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/bin sbindir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/sbin sysconfdir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/etc datadir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/share includedir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include libdir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64 libexecdir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/libexec localstatedir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/var sharedstatedir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/var/lib mandir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/share/man infodir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/share/info install sysconfdir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64/kitutuki/ includedir=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include/kitutuki/ docdir=/builddir/build/BUILD/kitutuki-0.9.6/Trash/ mkdir -p "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/bin" mkdir -p "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64/kitutuki/" mkdir -p "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64" mkdir -p "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include/kitutuki/" mkdir -p "/builddir/build/BUILD/kitutuki-0.9.6/Trash/" install -p minato_curses.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include/kitutuki/" install -p minato_debug.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include/kitutuki/" install -p minato_extra.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include/kitutuki/" install -p minato_hash.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include/kitutuki/" install -p minato_kanji.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include/kitutuki/" install -p minato_buffer.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include/kitutuki/" install -p minato_list.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include/kitutuki/" install -p minato_string.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include/kitutuki/" install -p minato_vector.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include/kitutuki/" install -p kitutuki.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/include/kitutuki/" install -p usage.ja.txt -m 644 "/builddir/build/BUILD/kitutuki-0.9.6/Trash/" install -p usage.en.txt -m 644 "/builddir/build/BUILD/kitutuki-0.9.6/Trash/" install -p libkitutuki.so.1.0 -m 755 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64" ln -s -f libkitutuki.so.1.0 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64"/libkitutuki.so.1 ln -s -f libkitutuki.so.1.0 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64"/libkitutuki.so rm -f /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/bin/kitutuki; install -p kitutuki -m 755 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/bin" if [ -e "" ]; then install -p kitutuki.dll -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64"; fi install -p kitutuki.ksh -m 644 /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64/kitutuki/ install -p kitutuki.kio -m 644 /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64/kitutuki/ + mkdir -p /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/etc/kitutuki + mv /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64/kitutuki/kitutuki.ksh /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/etc/kitutuki + ln -sf ../../..//etc/kitutuki/kitutuki.ksh /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64/kitutuki/ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.9.6-30.fc37 --unique-debug-suffix -0.9.6-30.fc37.riscv64 --unique-debug-src-base kitutuki-0.9.6-30.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/kitutuki-0.9.6 extracting debug info from /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/lib64/libkitutuki.so.1.0 extracting debug info from /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/bin/kitutuki original debug info size: 2068kB, size after compression: 2048kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 1248 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 *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_curses.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_list.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_list.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_buffer.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_vector.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_extra.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_curses.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/readline.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_string.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_kanji.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_hash.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_debug.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_string.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_buffer.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/kitutuki.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/kitutuki.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_extra.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_vector.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_kanji.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/cmdline.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/main.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/kitutuki-0.9.6-30.fc37.riscv64/minato_hash.h is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: kitutuki-0.9.6-30.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.h1agsl + umask 022 + cd /builddir/build/BUILD + cd kitutuki-0.9.6 + DOCDIR=/builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/share/doc/kitutuki + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/share/doc/kitutuki + cp -pr AUTHORS /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/share/doc/kitutuki + cp -pr GPL /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/share/doc/kitutuki + cp -pr README.ja.txt /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/share/doc/kitutuki + cp -pr usage.en.txt /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/share/doc/kitutuki + cp -pr usage.ja.txt /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64/usr/share/doc/kitutuki + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(kitutuki) = 0.9.6-30.fc37 kitutuki = 0.9.6-30.fc37 kitutuki(riscv-64) = 0.9.6-30.fc37 libkitutuki.so.1()(64bit) 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) libkitutuki.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libmigemo.so.1()(64bit) libncurses.so.6()(64bit) libonig.so.5()(64bit) libreadline.so.8()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: kitutuki-devel-0.9.6-30.fc37.riscv64 Provides: kitutuki-devel = 0.9.6-30.fc37 kitutuki-devel(riscv-64) = 0.9.6-30.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libkitutuki.so.1()(64bit) Processing files: kitutuki-debugsource-0.9.6-30.fc37.riscv64 Provides: kitutuki-debugsource = 0.9.6-30.fc37 kitutuki-debugsource(riscv-64) = 0.9.6-30.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: kitutuki-debuginfo-0.9.6-30.fc37.riscv64 Provides: debuginfo(build-id) = 7e7beb92b8f856189ffd8d911c657973043ba9f6 debuginfo(build-id) = b5f80cbd67435c1fc1f11ebadb31157ca32be0b2 kitutuki-debuginfo = 0.9.6-30.fc37 kitutuki-debuginfo(riscv-64) = 0.9.6-30.fc37 libkitutuki.so.1.0-0.9.6-30.fc37.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: kitutuki-debugsource(riscv-64) = 0.9.6-30.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64 Wrote: /builddir/build/RPMS/kitutuki-devel-0.9.6-30.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/kitutuki-0.9.6-30.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/kitutuki-debuginfo-0.9.6-30.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/kitutuki-debugsource-0.9.6-30.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YtlYAI + umask 022 + cd /builddir/build/BUILD + cd kitutuki-0.9.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/kitutuki-0.9.6-30.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.iR4mnt + umask 022 + cd /builddir/build/BUILD + rm -rf kitutuki-0.9.6 kitutuki-0.9.6.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0