Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kitutuki.spec'], chrootPath='/var/lib/mock/f29-build-22253-11536/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/kitutuki-0.9.6-20.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kitutuki.spec'], chrootPath='/var/lib/mock/f29-build-22253-11536/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EhDeMk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kitutuki-0.9.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/kitutuki-0.9.6.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kitutuki-0.9.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (kitutuki-0.9.5-makefile-misc-fix.patch): + echo 'Patch #0 (kitutuki-0.9.5-makefile-misc-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 + echo 'Patch #1 (kitutuki-0.9.1-kitutuki_help.patch):' Patch #1 (kitutuki-0.9.1-kitutuki_help.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .help --fuzz=0 patching file kitutuki.ksh Hunk #1 succeeded at 232 (offset -2 lines). 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 -p1 -b --suffix .cf --fuzz=0 patching file configure.in + autoconf + sed -i.cflags -e '/CFLAGS=/s|-fPIC|-fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cn1M5t + umask 022 + cd /builddir/build/BUILD + cd kitutuki-0.9.6 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c system-migemodir = /usr/share/cmigemo checking Operating System... Linux checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking for main in -lncurses... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for main in -lm... yes checking oniguruma.h usability... yes checking oniguruma.h presence... yes checking for oniguruma.h... yes checking for main in -lonig... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking for main in -lreadline... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking migemo.h usability... yes checking migemo.h presence... yes checking for migemo.h... yes checking for main in -lmigemo... yes configure: creating ./config.status config.status: creating Makefile BUILDSTDERR: config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h BUILDSTDERR: 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o minato_hash.o minato_hash.c BUILDSTDERR: minato_hash.c: In function 'hash_erase': BUILDSTDERR: minato_hash.c:153:16: warning: unused variable 'it2' [-Wunused-variable] BUILDSTDERR: hash_it* it2 = self->mEntryIt; BUILDSTDERR: ^~~ BUILDSTDERR: minato_hash.c: In function 'hash_clear': BUILDSTDERR: minato_hash.c:184:8: warning: unused variable 'max' [-Wunused-variable] BUILDSTDERR: int max; BUILDSTDERR: ^~~ BUILDSTDERR: minato_hash.c:183:8: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o minato_kanji.o minato_kanji.c BUILDSTDERR: minato_extra.c: In function 'correct_path': BUILDSTDERR: minato_extra.c:252:13: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: minato_kanji.c: In function 'is_kanji': BUILDSTDERR: minato_kanji.c:413:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: return c >= 0xA1 && c <= 0xFE || c == 0x8e; BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: minato_kanji.c:417:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: return c >= 0x81 && c <= 0x9f || c >= 0xE0; BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: minato_kanji.c: In function 'str_cut3': BUILDSTDERR: minato_kanji.c:695:15: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: char* buf; BUILDSTDERR: ^~~ BUILDSTDERR: cmdline.c: In function 'is_utf8': BUILDSTDERR: cmdline.c:114:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: minato_kanji.c: In function 'kanji_convert': BUILDSTDERR: minato_kanji.c:751:12: warning: unused variable 'result' [-Wunused-variable] BUILDSTDERR: size_t result; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cmdline.c: In function 'get_terminal_stat': BUILDSTDERR: cmdline.c:136:15: warning: unused variable 'maxy' [-Wunused-variable] BUILDSTDERR: const int maxy = mgetmaxy(); BUILDSTDERR: ^~~~ BUILDSTDERR: cmdline.c: In function 'input': BUILDSTDERR: cmdline.c:280:15: warning: unused variable 'maxy' [-Wunused-variable] BUILDSTDERR: const int maxy = mgetmaxy(); BUILDSTDERR: ^~~~ BUILDSTDERR: cmdline.c: In function 'mread_history': BUILDSTDERR: cmdline.c:454:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: cmdline.c:116:13: warning: 'kanji_continue' defined but not used [-Wunused-function] BUILDSTDERR: static BOOL kanji_continue(char* mbs) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: cmdline.c:112:13: warning: 'is_utf8' defined but not used [-Wunused-function] BUILDSTDERR: static BOOL is_utf8(char* mbs) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cmdline.c:103:13: warning: 'view' defined but not used [-Wunused-function] BUILDSTDERR: static void view() BUILDSTDERR: ^~~~ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o minato_string.o minato_string.c BUILDSTDERR: minato_list.c: In function 'list_it_release': BUILDSTDERR: minato_list.c:24:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: minato_string.c: In function 'string_push_back3': BUILDSTDERR: minato_string.c:122:11: warning: unused variable 'tmp_str' [-Wunused-variable] BUILDSTDERR: char* tmp_str; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: minato_string.c: In function 'string_sub_str': BUILDSTDERR: minato_string.c:261:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o readline.o readline.c BUILDSTDERR: minato_curses.c: In function 'is_kanji': BUILDSTDERR: minato_curses.c:88:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: return c >= 0xA1 && c <= 0xFE || c == 0x8e; BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: minato_curses.c:92:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: return c >= 0x81 && c <= 0x9f || c >= 0xE0; BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: minato_curses.c: In function 'minitscr': BUILDSTDERR: minato_curses.c:265:21: warning: unused variable 'item' [-Wunused-variable] BUILDSTDERR: struct sKeyMap* item; BUILDSTDERR: ^~~~ BUILDSTDERR: minato_curses.c:264:12: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: minato_curses.c:264:9: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: minato_curses.c: In function 'mclear': BUILDSTDERR: minato_curses.c:370:10: warning: unused variable 'space2' [-Wunused-variable] BUILDSTDERR: char space2[1024]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: minato_curses.c: In function 'mmvprintw': BUILDSTDERR: minato_curses.c:500:15: warning: unused variable 'maxy' [-Wunused-variable] BUILDSTDERR: const int maxy = mgetmaxy(); BUILDSTDERR: ^~~~ BUILDSTDERR: minato_curses.c: In function 'mprintw': BUILDSTDERR: minato_curses.c:565:15: warning: unused variable 'maxy' [-Wunused-variable] BUILDSTDERR: const int maxy = mgetmaxy(); BUILDSTDERR: ^~~~ BUILDSTDERR: minato_curses.c: In function 'mgetch_': BUILDSTDERR: minato_curses.c:1249:12: warning: unused variable 'y' [-Wunused-variable] BUILDSTDERR: static int y = 0; BUILDSTDERR: ^ BUILDSTDERR: minato_curses.c:1243:20: warning: unused variable 'tv' [-Wunused-variable] BUILDSTDERR: struct timeval tv; BUILDSTDERR: ^~ BUILDSTDERR: minato_curses.c:1242:12: warning: unused variable 'mask' [-Wunused-variable] BUILDSTDERR: fd_set mask; BUILDSTDERR: ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: minato_curses.c:1249:12: warning: 'y' defined but not used [-Wunused-variable] BUILDSTDERR: static int y = 0; BUILDSTDERR: ^ BUILDSTDERR: minato_curses.c:956:13: warning: 'mrefresh_non_buffer' defined but not used [-Wunused-function] BUILDSTDERR: static void mrefresh_non_buffer() BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: minato_curses.c:130:12: warning: 'mhas_color' defined but not used [-Wunused-function] BUILDSTDERR: static int mhas_color() BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'xclose': BUILDSTDERR: kitutuki.c:228:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: char* key = hash_key(gFileHandles, (char*)fd); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'parse_is_redirect2': BUILDSTDERR: kitutuki.c:299:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: return *p == '2' && *(p+1) == '>' && *(p+2) == '&' && *(p+3) == '1' BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'is_env_name_char': BUILDSTDERR: kitutuki.c:306:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z' BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:307:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: || c >= '0' && c <= '9' BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'sigchld_action': BUILDSTDERR: kitutuki.c:463:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: list_push_back(gSigChldRecieved, (void*)info->si_pid); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'sIf_save': BUILDSTDERR: kitutuki.c:874:19: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: unsigned char c; BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'sCommand_save': BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kSubshell' not handled in switch [-Wswitch] BUILDSTDERR: switch(self->mKind) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kMSleep' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kTrue' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kFalse' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kTest' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kIndex' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kRIndex' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kLength' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kLc' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kUc' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kChomp' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kSubstr' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kEval' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kFg' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kBg' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kCpg' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kJobs' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kRehash' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kKanjiCode' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kLineField' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kVar' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kGlobal' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kCalc' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kExport' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kPrint' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kPuts' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kLoad' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kBreak' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kExit' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kChoise' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kSplit' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kJoin' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kAryNew' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kAryAdd' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kAryErase' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kAryClear' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kMatch' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kSub' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kScan' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kRead' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kClose' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kCd' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kAdd' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kDel' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kSelector' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kMax' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kMin' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kExtName' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kParentName' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kNoExtName' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kCompile' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kRaise' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1035:5: warning: enumeration value 'kCommand' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c: In function 'sCommand_delete': BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kSubshell' not handled in switch [-Wswitch] BUILDSTDERR: switch(self->mKind) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kMSleep' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kTrue' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kFalse' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kTest' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kIndex' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kRIndex' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kLength' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kLc' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kUc' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kChomp' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kSubstr' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kEval' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kFg' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kBg' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kCpg' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kJobs' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kRehash' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kKanjiCode' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kLineField' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kVar' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kGlobal' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kCalc' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kExport' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kPrint' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kPuts' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kLoad' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kBreak' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kExit' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kChoise' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kSplit' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kJoin' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kAryNew' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kAryAdd' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kAryErase' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kAryClear' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kMatch' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kSub' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kScan' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kRead' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kClose' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kCd' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kAdd' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kDel' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kSelector' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kMax' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kMin' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kExtName' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kParentName' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kNoExtName' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kCompile' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kRaise' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:1125:5: warning: enumeration value 'kCommand' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c: In function 'sStatment_save': BUILDSTDERR: kitutuki.c:1272:9: warning: unused variable 'wret' [-Wunused-variable] BUILDSTDERR: int wret = write(fd, string_c_str(self->mFName), n); BUILDSTDERR: ^~~~ BUILDSTDERR: kitutuki.c: In function 'kitutuki_rehash_without_user_fun': BUILDSTDERR: kitutuki.c:1721:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while(entry = readdir(dir)) { BUILDSTDERR: ^~~~~ BUILDSTDERR: kitutuki.c:1775:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while(entry = readdir(dir)) { BUILDSTDERR: ^~~~~ BUILDSTDERR: kitutuki.c: In function 'kitutuki_init': BUILDSTDERR: kitutuki.c:1906:11: warning: unused variable 'user_rc_fname' [-Wunused-variable] BUILDSTDERR: char* user_rc_fname = getenv("KITUTUKI_USERRC"); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'kitutuki_final': BUILDSTDERR: kitutuki.c:2001:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: int fd = (int)hash_loop_item(it); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'expand_env_parse_number': BUILDSTDERR: kitutuki.c:2745:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: while(*p5 >= '0' && *p5 <='9' || *p5 == '-') { BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:2754:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: while(*p5 >= '0' && *p5 <='9' || *p5 == '-') { BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'expand_env': BUILDSTDERR: kitutuki.c:3062:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: && (*p == '$' && *(p+1) == '$' && *(p+2) == '(' BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:3139:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: (*p == '$' && *(p+1) == '$' BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: && (*(p+2) == '{' || is_env_name_char(*(p+2))) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:3410:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: || *p =='[' && (*(p+1) != ' ' BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: && *(p+1) != '\t' && is_line_field(p+1))) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'parse_redirect': BUILDSTDERR: kitutuki.c:3601:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'read_get_block': BUILDSTDERR: kitutuki.c:3611:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: while(**p == ' ' || **p == '\t' || is_line_field(*p) && gLine++) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'read_get_joukensiki': BUILDSTDERR: kitutuki.c:3867:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: else if(**p == ':' || *(*p-1) != '$' && **p=='{') { BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'parse_add_statments': BUILDSTDERR: kitutuki.c:3913:19: warning: unused variable 'last_command' [-Wunused-variable] BUILDSTDERR: sCommand* last_command BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'parse_check_special_statment_continue': BUILDSTDERR: kitutuki.c:4244:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if(**p == '&' && *(*p+1) == '&' BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'parse_get_word': BUILDSTDERR: kitutuki.c:4335:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: && (**p == '$' && *(*p+1) == '$' && *(*p+2) == '(' BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:4362:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: (**p == '$' && *(*p+1) == '$' BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: && (*(*p+2) == '{' || is_env_name_char(*(*p+2))) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:4451:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: || **p =='[' && *(*p+1) != ' ') BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'parse': BUILDSTDERR: kitutuki.c:4686:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: else if(!dquote && *p == '\'' && *(p+1) == '\'' BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:4752:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: else if(!squote && (*p == '$' && *(p+1) == '$' && *(p+2) == '(' BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:4781:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: *p == '$' && *(p+1) == '$' BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: && (*(p+2) == '{' || is_env_name_char(*(p+2))) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:4870:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: || *p =='[' && (*(p+1) != ' ' BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: && *(p+1) != '\t' && is_line_field(p+1))) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:5105:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: || *p == '&' && *(p+1) == '&' BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:5106:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: || *p == '|' && *(p+1) == '|' BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: readline.c: In function 'readline_on_complete': BUILDSTDERR: readline.c:169:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: else if(*p == '*' || *p == '?' || *p =='[' && (*(p+1) != ' ' && *(p+1) != '\t' && *(p+1) == '\n')) BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:5453:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: || is_line_field(p) && gLine++) BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: kitutuki.c:5587:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: while(*p == ' '||*p == '\t'|| is_line_field(p) && gLine++) BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: kitutuki.c:5907:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: while(*p >= 'a' && *p <= 'z' || *p >= 'A' && *p <= 'Z' BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:5908:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: || *p == '_' || *p >= '0' && *p <= '9') BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:5925:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: while(*p >= 'a' && *p <= 'z' || *p >= 'A' && *p <= 'Z' BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:5926:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: || *p == '_' || *p >= '0' && *p <= '9') BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'statment_tree_internal_commands_selector': BUILDSTDERR: kitutuki.c:6374:39: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] BUILDSTDERR: else if(key == 'q' || key == 3 | key == 27 || key == 7) { BUILDSTDERR: ~~~~^~~~ BUILDSTDERR: kitutuki.c: In function 'calculate_number': BUILDSTDERR: kitutuki.c:6464:19: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] BUILDSTDERR: while(**p == ' ' | **p == '\t') (*p)++; BUILDSTDERR: ~~~~^~~~~~ BUILDSTDERR: kitutuki.c: In function 'calculate_node': BUILDSTDERR: kitutuki.c:6526:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: else if(**p == '-' || **p >= '0' && **p <= '9') { BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'statment_tree_internal_commands_test': BUILDSTDERR: kitutuki.c:7086:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if(!reverse && (vector_size(argv) + (input ? 1: 0)) == 4 BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:7268:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] BUILDSTDERR: && !stat_.st_uid == getuid()) BUILDSTDERR: ^~ BUILDSTDERR: kitutuki.c:7268:32: note: add parentheses around left hand side expression to silence this warning BUILDSTDERR: && !stat_.st_uid == getuid()) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ( ) BUILDSTDERR: kitutuki.c:7278:47: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] BUILDSTDERR: && ! stat_.st_gid == getgid()) BUILDSTDERR: ^~ BUILDSTDERR: kitutuki.c:7278:32: note: add parentheses around left hand side expression to silence this warning BUILDSTDERR: && ! stat_.st_gid == getgid()) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: ( ) BUILDSTDERR: kitutuki.c:7307:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: else if(!reverse && (vector_size(argv) + (input ? 1:0)) == 5 BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:7348:40: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] BUILDSTDERR: r = onig_new(®, regex2 BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:769:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: kitutuki.c:7349:38: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] BUILDSTDERR: , regex2 + strlen((char*)regex2) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:769:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: kitutuki.c:7370:47: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: int r2 = onig_search(reg, target BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:7371:33: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , target + strlen(target) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:7372:26: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , target, target + strlen(target) BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:7372:41: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , target, target + strlen(target) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:7443:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if(r2 >= 0 && !reverse || r2 < 0 && reverse) { BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:7000:15: warning: unused variable 'arg5' [-Wunused-variable] BUILDSTDERR: char* arg5; BUILDSTDERR: ^~~~ BUILDSTDERR: kitutuki.c:6999:15: warning: unused variable 'arg4' [-Wunused-variable] BUILDSTDERR: char* arg4; BUILDSTDERR: ^~~~ BUILDSTDERR: kitutuki.c: In function 'statment_tree_internal_commands_match': BUILDSTDERR: kitutuki.c:7646:35: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: int r2 = onig_search(reg, str2 BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:7647:19: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , str2 + strlen(str2) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:7648:14: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , str2, str2 + strlen(str2) BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:7648:25: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , str2, str2 + strlen(str2) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'statment_tree_internal_commands': BUILDSTDERR: kitutuki.c:9070:25: warning: variable 'field_str' set but not used [-Wunused-but-set-variable] BUILDSTDERR: string_obj* field_str = NULL; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: kitutuki.c:9069:18: warning: variable 'field' set but not used [-Wunused-but-set-variable] BUILDSTDERR: BOOL field = FALSE; BUILDSTDERR: ^~~~~ BUILDSTDERR: kitutuki.c:9296:25: warning: variable 'field_str' set but not used [-Wunused-but-set-variable] BUILDSTDERR: string_obj* field_str = NULL; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: kitutuki.c:9295:18: warning: variable 'field' set but not used [-Wunused-but-set-variable] BUILDSTDERR: BOOL field = FALSE; BUILDSTDERR: ^~~~~ BUILDSTDERR: kitutuki.c:9508:25: warning: variable 'field_str' set but not used [-Wunused-but-set-variable] BUILDSTDERR: string_obj* field_str = NULL; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: kitutuki.c:9507:18: warning: variable 'field' set but not used [-Wunused-but-set-variable] BUILDSTDERR: BOOL field = FALSE; BUILDSTDERR: ^~~~~ BUILDSTDERR: kitutuki.c:10396:44: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] BUILDSTDERR: r = onig_new(®, regex2 BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:769:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: kitutuki.c:10397:42: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] BUILDSTDERR: , regex2 + strlen((char*)regex2) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:769:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: kitutuki.c:10421:55: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: int r2 = onig_search(reg, target BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:10422:41: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , target + strlen(target) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:10423:34: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , target, target + strlen(target) BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:10423:49: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , target, target + strlen(target) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:10421:33: warning: unused variable 'r2' [-Wunused-variable] BUILDSTDERR: int r2 = onig_search(reg, target BUILDSTDERR: ^~ BUILDSTDERR: kitutuki.c:11390:48: warning: pointer targets in passing argument 2 of 'statment_tree_internal_commands_match' differ in signedness [-Wpointer-sign] BUILDSTDERR: string_c_str(str), regex2, rcode, nextout BUILDSTDERR: ^~~~~~ BUILDSTDERR: kitutuki.c:7605:13: note: expected 'OnigUChar *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: static BOOL statment_tree_internal_commands_match(char* str2 BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:11430:27: warning: pointer targets in passing argument 2 of 'statment_tree_internal_commands_match' differ in signedness [-Wpointer-sign] BUILDSTDERR: str2, regex2, rcode, nextout, !quit, line_field BUILDSTDERR: ^~~~~~ BUILDSTDERR: kitutuki.c:7605:13: note: expected 'OnigUChar *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: static BOOL statment_tree_internal_commands_match(char* str2 BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:11506:44: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] BUILDSTDERR: r = onig_new(®, regex2 BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:769:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: kitutuki.c:11507:42: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] BUILDSTDERR: , regex2 + strlen((char*)regex2) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:769:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: kitutuki.c:11540:59: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: int r2 = onig_search(reg, str2 BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:11541:43: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , str2 + strlen(str2) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:11542:43: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , str2 + point BUILDSTDERR: ~~~~~^~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:11543:43: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , str2 + strlen(str2) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:11539:47: warning: unused variable 'err_info' [-Wunused-variable] BUILDSTDERR: OnigErrorInfo err_info; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: kitutuki.c:11658:55: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: int r2 = onig_search(reg, str2 BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:11659:39: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , str2 + strlen((char*)str2) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:11660:34: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , str2, str2 + strlen((char*)str2) BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:11660:45: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: , str2, str2 + strlen((char*)str2) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:782:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c:11495:25: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:11826:36: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] BUILDSTDERR: r = onig_new(®, regex2 BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:769:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: kitutuki.c:11827:34: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] BUILDSTDERR: , regex2 + strlen((char*)regex2) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:769:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: kitutuki.c:11851:46: warning: pointer targets in passing argument 2 of 'onig_match' differ in signedness [-Wpointer-sign] BUILDSTDERR: int r2 = onig_match(reg, str2 BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:786:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* at, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: kitutuki.c:11852:31: warning: pointer targets in passing argument 3 of 'onig_match' differ in signedness [-Wpointer-sign] BUILDSTDERR: , str2 + strlen(str2) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:786:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* at, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: kitutuki.c:11853:26: warning: pointer targets in passing argument 4 of 'onig_match' differ in signedness [-Wpointer-sign] BUILDSTDERR: , p BUILDSTDERR: ^ BUILDSTDERR: In file included from kitutuki.c:77: BUILDSTDERR: /usr/include/oniguruma.h:786:5: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* at, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: kitutuki.c:12007:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: fd = (int)hash_item(gFileHandles, fname); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:12018:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: hash_put(gFileHandles, fname, (void*)fd); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:12051:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: fd = (int)hash_item(gFileHandles, fname); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:12062:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: hash_put(gFileHandles, fname, (void*)fd); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:12119:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: int fd = (int)hash_item(gFileHandles, fname); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'statment_tree_redirect': BUILDSTDERR: kitutuki.c:12492:13: warning: enumeration value 'kRedirectErrAndOutput' not handled in switch [-Wswitch] BUILDSTDERR: switch(redirect->mType) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: kitutuki.c:12492:13: warning: enumeration value 'kRedirectGPipeOut' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:12492:13: warning: enumeration value 'kRedirectGPipeIn' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:12513:13: warning: enumeration value 'kRedirectErrAndOutput' not handled in switch [-Wswitch] BUILDSTDERR: switch(redirect->mType) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: kitutuki.c:12513:13: warning: enumeration value 'kRedirectGPipeOut' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:12513:13: warning: enumeration value 'kRedirectGPipeIn' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c: In function 'statment_tree_exec_cprog': BUILDSTDERR: kitutuki.c:12577:13: warning: enumeration value 'kRedirectErrAndOutput' not handled in switch [-Wswitch] BUILDSTDERR: switch(redirect->mType) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: kitutuki.c:12577:13: warning: enumeration value 'kRedirectGPipeOut' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:12577:13: warning: enumeration value 'kRedirectGPipeIn' not handled in switch [-Wswitch] BUILDSTDERR: kitutuki.c:12666:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: int fd = (int)hash_loop_item(it); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'statment_tree_external_command': BUILDSTDERR: kitutuki.c:12845:11: warning: unused variable 'argv0' [-Wunused-variable] BUILDSTDERR: char* argv0 = string_c_str(vector_item(argv, 0)); BUILDSTDERR: ^~~~~ BUILDSTDERR: kitutuki.c: In function 'statment_tree': BUILDSTDERR: kitutuki.c:12983:35: warning: comparison between 'enum eTerminalKanjiCode' and 'enum eKanjiCode' [-Wenum-compare] BUILDSTDERR: if(gTerminalKanjiCode != gKanjiCode) { BUILDSTDERR: ^~ BUILDSTDERR: kitutuki.c: In function 'run_wait_cprogs': BUILDSTDERR: kitutuki.c:13425:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: vector_add(job->mPIDs, (void*)cprog->mPid); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:13473:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: vector_add(job->mPIDs, (void*)cprog->mPid); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:13587:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: vector_add(job->mPIDs, (void*)prog->mPid); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'run': BUILDSTDERR: kitutuki.c:13638:21: warning: unused variable 'r' [-Wunused-variable] BUILDSTDERR: int r = expand_macro(string_c_str(statment->mNotEvaled) BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:13732:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: else if(in_loop && (rcode == SIGINT || gSaphireSigInt) BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'kitutuki_kill_all_jobs': BUILDSTDERR: kitutuki.c:13963:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: int pid = (int)vector_item(job->mPIDs, j); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'kitutuki_kill_job': BUILDSTDERR: kitutuki.c:13983:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: int pid = (int)vector_item(job->mPIDs, i); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'forground_job': BUILDSTDERR: kitutuki.c:14014:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: int pid = (int)vector_item(job->mPIDs, i); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:14023:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: pid_t pid = (pid_t)vector_item(job->mPIDs, 0); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:14026:19: warning: unused variable 'return_pid' [-Wunused-variable] BUILDSTDERR: pid_t return_pid = waitpid(pid, &status, WUNTRACED); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'background_job': BUILDSTDERR: kitutuki.c:14111:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: int pid = (int)vector_item(job->mPIDs, 0); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'kitutuki_wait_background_job': BUILDSTDERR: kitutuki.c:14128:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: pid_t pid = (pid_t)vector_item(job->mPIDs, j); BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:14133:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if(return_pid == pid || return_pid < 0 && errno == ECHILD) { BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'statment_tree_external_command': BUILDSTDERR: kitutuki.c:12954:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c: In function 'read_expand_brace_expansion': BUILDSTDERR: kitutuki.c:2316:13: warning: 'first_alpha' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: sprintf(alpha, "%c", c); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:2145:10: note: 'first_alpha' was declared here BUILDSTDERR: char first_alpha; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'kitutuki_rehash_without_user_fun': BUILDSTDERR: kitutuki.c:1723:40: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] BUILDSTDERR: sprintf(path2, "%s/%s", buf, entry->d_name); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from kitutuki.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'statment_tree_redirect.isra.11': BUILDSTDERR: kitutuki.c:12506:26: warning: 'mode' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int openfd = open(string_c_str(redirect->mFName), mode, 0666); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'expand_env': BUILDSTDERR: kitutuki.c:3046:32: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 127 [-Wformat-overflow=] BUILDSTDERR: sprintf(fname, "%s %d: expand command", gFName, gLine); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from kitutuki.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 156 bytes into a destination of size 128 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:3087:32: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 127 [-Wformat-overflow=] BUILDSTDERR: sprintf(fname, "%s %d: expand command", gFName, gLine); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from kitutuki.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 156 bytes into a destination of size 128 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c: In function 'statment_tree_internal_commands.isra.25': BUILDSTDERR: kitutuki.c:11195:23: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if(n < 0) { BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:10397:42: warning: 'regex' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: , regex2 + strlen((char*)regex2) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:8279:23: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if(match_count <= 0) { BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:8261:31: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: start = str_kanjilen(code, target) + start; BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:8047:23: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if(match_count <= 0) { BUILDSTDERR: ^ BUILDSTDERR: kitutuki.c:8029:31: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: start = str_kanjilen(code, target) + start; BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:7112:24: warning: 'arg1' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if(strcmp(arg1, "-b") == 0) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:6996:15: note: 'arg1' was declared here BUILDSTDERR: char* arg1; BUILDSTDERR: ^~~~ BUILDSTDERR: kitutuki.c: In function 'statment_tree': BUILDSTDERR: kitutuki.c:12591:26: warning: 'mode' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int openfd = open(string_c_str(redirect->mFName), mode, 0666); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kitutuki.c:12576:20: note: 'mode' was declared here BUILDSTDERR: mode_t mode; BUILDSTDERR: ^~~~ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection BUILDSTDERR: main.c: In function 'readline_signal': BUILDSTDERR: main.c:159:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: main.c: In function 'mreadline_signal': BUILDSTDERR: main.c:138:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: main.c:81:13: warning: 'atexit_fun' defined but not used [-Wunused-function] BUILDSTDERR: static void atexit_fun() BUILDSTDERR: ^~~~~~~~~~ env LD_LIBRARY_PATH=/builddir/build/BUILD/kitutuki-0.9.6 ./kitutuki -rn -c 'compile kitutuki.ksh' rm -f install + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rznvMe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64 + cd kitutuki-0.9.6 + rm -rf /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64 + rm -rf ./Trash + echo 'warning: %makeinstall is deprecated, try %make_install instead' BUILDSTDERR: warning: %makeinstall is deprecated, try %make_install instead BUILDSTDERR: ++ pwd + /usr/bin/make prefix=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr exec_prefix=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr bindir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/bin sbindir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/sbin sysconfdir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/etc datadir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/share includedir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/include libdir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/lib64 libexecdir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/libexec localstatedir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/var sharedstatedir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/var/lib mandir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/share/man infodir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/share/info install sysconfdir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/lib64/kitutuki/ includedir=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/include/kitutuki/ docdir=/builddir/build/BUILD/kitutuki-0.9.6/Trash/ mkdir -p "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/bin" mkdir -p "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/lib64/kitutuki/" mkdir -p "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/lib64" mkdir -p "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.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-20.fc29.riscv64/usr/include/kitutuki/" install -p minato_debug.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/include/kitutuki/" install -p minato_extra.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/include/kitutuki/" install -p minato_hash.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/include/kitutuki/" install -p minato_kanji.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/include/kitutuki/" install -p minato_buffer.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/include/kitutuki/" install -p minato_list.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/include/kitutuki/" install -p minato_string.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/include/kitutuki/" install -p minato_vector.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/include/kitutuki/" install -p kitutuki.h -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.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-20.fc29.riscv64/usr/lib64" ln -s -f libkitutuki.so.1.0 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/lib64"/libkitutuki.so.1 ln -s -f libkitutuki.so.1.0 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/lib64"/libkitutuki.so rm -f /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/bin/kitutuki; install -p kitutuki -m 755 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/bin" if [ -e "" ]; then install -p kitutuki.dll -m 644 "/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/lib64"; fi install -p kitutuki.ksh -m 644 /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/lib64/kitutuki/ install -p kitutuki.kio -m 644 /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/lib64/kitutuki/ + mkdir -p /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/etc/kitutuki + mv /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/lib64/kitutuki/kitutuki.ksh /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/etc/kitutuki + ln -sf ../../..//etc/kitutuki/kitutuki.ksh /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/lib64/kitutuki/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.9.6-20.fc29 --unique-debug-suffix -0.9.6-20.fc29.riscv64 --unique-debug-src-base kitutuki-0.9.6-20.fc29.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-20.fc29.riscv64/usr/lib64/libkitutuki.so.1.0 extracting debug info from /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/bin/kitutuki /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1236 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_vector.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_curses.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_hash.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_hash.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_list.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/cmdline.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_curses.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/kitutuki.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_kanji.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_buffer.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_buffer.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_string.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/readline.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_kanji.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/main.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_vector.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_string.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_extra.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_list.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/kitutuki.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/kitutuki-0.9.6-20.fc29.riscv64/minato_extra.h is executable but has empty or no shebang, removing executable bit Processing files: kitutuki-0.9.6-20.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rk91el + umask 022 + cd /builddir/build/BUILD + cd kitutuki-0.9.6 + DOCDIR=/builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.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-20.fc29.riscv64/usr/share/doc/kitutuki + cp -pr AUTHORS /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/share/doc/kitutuki + cp -pr GPL /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/share/doc/kitutuki + cp -pr README.ja.txt /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/share/doc/kitutuki + cp -pr usage.en.txt /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/share/doc/kitutuki + cp -pr usage.ja.txt /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64/usr/share/doc/kitutuki + exit 0 Provides: config(kitutuki) = 0.9.6-20.fc29 kitutuki = 0.9.6-20.fc29 kitutuki(riscv-64) = 0.9.6-20.fc29 libkitutuki.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) 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.7()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: kitutuki-devel-0.9.6-20.fc29.riscv64 Provides: kitutuki-devel = 0.9.6-20.fc29 kitutuki-devel(riscv-64) = 0.9.6-20.fc29 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-20.fc29.riscv64 Provides: kitutuki-debugsource = 0.9.6-20.fc29 kitutuki-debugsource(riscv-64) = 0.9.6-20.fc29 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-20.fc29.riscv64 Provides: debuginfo(build-id) = 61cf3714e775651b5a2feb39a0ed1d27f45cb612 debuginfo(build-id) = 8c1f3c14ad1abb35cc5aecd8eb245b18cbf86d3e kitutuki-debuginfo = 0.9.6-20.fc29 kitutuki-debuginfo(riscv-64) = 0.9.6-20.fc29 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-20.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64 Wrote: /builddir/build/RPMS/kitutuki-0.9.6-20.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/kitutuki-devel-0.9.6-20.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/kitutuki-debugsource-0.9.6-20.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/kitutuki-debuginfo-0.9.6-20.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FpLb9s + umask 022 + cd /builddir/build/BUILD + cd kitutuki-0.9.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/kitutuki-0.9.6-20.fc29.riscv64 + exit 0 Child return code was: 0