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/mfiler3.spec'], chrootPath='/var/lib/mock/f40-build-802777-144059/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/mfiler3.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=1706140800 Wrote: /builddir/build/SRPMS/mfiler3-4.4.9-30.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mfiler3.spec'], chrootPath='/var/lib/mock/f40-build-802777-144059/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/mfiler3.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=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.113vHg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mfiler3-4.4.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mfiler3-4.4.9.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd mfiler3-4.4.9 + rm -rf /builddir/build/BUILD/mfiler3-4.4.9-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/mfiler3-4.4.9-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/sed -i.strip -e 's| -s -m| -m|' Makefile.in + /usr/bin/sed -i.stamp -e 's|\([ \t][ \t]*install \)|\1 -p |' Makefile.in + /usr/bin/sed -i.sao -e 's|saphire -c|saphire -rn -c|' Makefile.in + /usr/bin/rm -f '*.o' + sed -i.pager -e 's| lv| less|' -e 's|lv |less |' mfiler3.sa + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mAnlFK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 mfiler3-4.4.9 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 + '[' x '!=' x ']' + '[' 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-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CC=gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE' --sysconfdir=/usr/lib64/mfiler3 --bindir=/usr/libexec/mfiler3 --with-migemo --with-system-migemodir=/usr/share/cmigemo configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE 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 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE accepts -g... yes checking for gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE 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 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -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 math.h usability... yes checking math.h presence... yes checking for math.h... yes checking oniguruma.h usability... yes checking oniguruma.h presence... yes checking for oniguruma.h... yes checking saphire/saphire.h usability... yes checking saphire/saphire.h presence... yes checking for saphire/saphire.h... 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 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -k docdir=/usr/share/doc/mfiler3/ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -I/usr/include -L/usr/lib -I . -I/usr/local/include -L/usr/local/lib -c -o filer.o filer.c filer.c: In function ‘sDir_mask’: filer.c:206:54: warning: pointer targets in passing argument 2 of ‘onig_search’ differ in signedness [-Wpointer-sign] 206 | int r2 = onig_search(self->mMaskReg, fname | ^~~~~ | | | char * In file included from filer.h:4, from common.h:60, from filer.c:1: /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ filer.c:207:28: warning: pointer targets in passing argument 3 of ‘onig_search’ differ in signedness [-Wpointer-sign] 207 | , fname + strlen(fname) | ~~~~~~^~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ filer.c:208:22: warning: pointer targets in passing argument 4 of ‘onig_search’ differ in signedness [-Wpointer-sign] 208 | , fname, fname + strlen(fname) | ^~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ filer.c:208:35: warning: pointer targets in passing argument 5 of ‘onig_search’ differ in signedness [-Wpointer-sign] 208 | , fname, fname + strlen(fname) | ~~~~~~^~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ filer.c: In function ‘sDir_read’: filer.c:381:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 381 | while(entry = readdir(dir)) { | ^~~~~ filer.c: In function ‘adir’: filer.c:1422:11: warning: unused variable ‘dir1’ [-Wunused-variable] 1422 | sDir* dir1 = (sDir*)vector_item(gDirs, 1); | ^~~~ filer.c: In function ‘sdir’: filer.c:1433:11: warning: unused variable ‘dir1’ [-Wunused-variable] 1433 | sDir* dir1 = (sDir*)vector_item(gDirs, 1); | ^~~~ filer.c: In function ‘filer_make_size_str’: filer.c:1780:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘__off64_t’ {aka ‘long int’} [-Wformat=] 1780 | snprintf(tmp, 256, "%lld", size2); | ~~~^ ~~~~~ | | | | | __off64_t {aka long int} | long long int | %ld filer.c:1805:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘__off64_t’ {aka ‘long int’} [-Wformat=] 1805 | snprintf(tmp, 256, "%lld", size2); | ~~~^ ~~~~~ | | | | | __off64_t {aka long int} | long long int | %ld filer.c:1831:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘__off64_t’ {aka ‘long int’} [-Wformat=] 1831 | snprintf(tmp, 256, "%lld", size2); | ~~~^ ~~~~~ | | | | | __off64_t {aka long int} | long long int | %ld filer.c:1857:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘__off64_t’ {aka ‘long int’} [-Wformat=] 1857 | snprintf(tmp, 256, "%lld", size2); | ~~~^ ~~~~~ | | | | | __off64_t {aka long int} | long long int | %ld filer.c:1887:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘__off64_t’ {aka ‘long int’} [-Wformat=] 1887 | snprintf(tmp, 256, "%lld", size); | ~~~^ ~~~~ | | | | | __off64_t {aka long int} | long long int | %ld filer.c:1912:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘__off64_t’ {aka ‘long int’} [-Wformat=] 1912 | snprintf(tmp, 256, "%lld", size); | ~~~^ ~~~~ | | | | | __off64_t {aka long int} | long long int | %ld filer.c:1939:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘__off64_t’ {aka ‘long int’} [-Wformat=] 1939 | snprintf(tmp, 256, "%lld", size); | ~~~^ ~~~~ | | | | | __off64_t {aka long int} | long long int | %ld filer.c: In function ‘make_size_str2’: filer.c:1979:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘__off64_t’ {aka ‘long int’} [-Wformat=] 1979 | snprintf(tmp, 256, "%lld", size); | ~~~^ ~~~~ | | | | | __off64_t {aka long int} | long long int | %ld filer.c: In function ‘filer_view’: filer.c:2343:21: warning: unused variable ‘blue’ [-Wunused-variable] 2343 | int blue = -1; | ^~~~ filer.c:2342:21: warning: unused variable ‘green’ [-Wunused-variable] 2342 | int green = -1; | ^~~~~ filer.c:2341:21: warning: unused variable ‘red’ [-Wunused-variable] 2341 | int red = -1; | ^~~ filer.c:2469:21: warning: unused variable ‘blue’ [-Wunused-variable] 2469 | int blue = -1; | ^~~~ filer.c:2468:21: warning: unused variable ‘green’ [-Wunused-variable] 2468 | int green = -1; | ^~~~~ filer.c:2467:21: warning: unused variable ‘red’ [-Wunused-variable] 2467 | int red = -1; | ^~~ filer.c:2647:26: warning: statement with no effect [-Wunused-value] 2647 | attr != kCABold; | ^ filer.c:2604:21: warning: unused variable ‘blue’ [-Wunused-variable] 2604 | int blue = -1; | ^~~~ filer.c:2603:21: warning: unused variable ‘green’ [-Wunused-variable] 2603 | int green = -1; | ^~~~~ filer.c:2602:21: warning: unused variable ‘red’ [-Wunused-variable] 2602 | int red = -1; | ^~~ filer.c:2774:26: warning: statement with no effect [-Wunused-value] 2774 | attr != kCABold; | ^ filer.c:2739:21: warning: unused variable ‘blue’ [-Wunused-variable] 2739 | int blue = -1; | ^~~~ filer.c:2738:21: warning: unused variable ‘green’ [-Wunused-variable] 2738 | int green = -1; | ^~~~~ filer.c:2737:21: warning: unused variable ‘red’ [-Wunused-variable] 2737 | int red = -1; | ^~~ filer.c:2889:21: warning: unused variable ‘blue’ [-Wunused-variable] 2889 | int blue = -1; | ^~~~ filer.c:2888:21: warning: unused variable ‘green’ [-Wunused-variable] 2888 | int green = -1; | ^~~~~ filer.c:2887:21: warning: unused variable ‘red’ [-Wunused-variable] 2887 | int red = -1; | ^~~ filer.c:2835:13: warning: unused variable ‘line’ [-Wunused-variable] 2835 | int line = 0; | ^~~~ filer.c: In function ‘filer_line’: filer.c:3014:15: warning: unused variable ‘maxx’ [-Wunused-variable] 3014 | const int maxx = mgetmaxx(); | ^~~~ filer.c: In function ‘filer_row’: filer.c:3056:15: warning: unused variable ‘maxx’ [-Wunused-variable] 3056 | const int maxx = mgetmaxx(); | ^~~~ filer.c: In function ‘filer_row_max’: filer.c:3089:15: warning: unused variable ‘maxx’ [-Wunused-variable] 3089 | const int maxx = mgetmaxx(); | ^~~~ filer.c: In function ‘sort_name’: filer.c:3147:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3147 | if(!S_ISDIR(l->mStat.st_mode) && !S_ISDIR(r->mStat.st_mode) | ^ filer.c: In function ‘sort_name_reverse’: filer.c:3192:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3192 | if(!S_ISDIR(l->mStat.st_mode) && !S_ISDIR(r->mStat.st_mode) | ^ filer.c: In function ‘sort_random’: filer.c:3867:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3867 | if(!S_ISDIR(l->mStat.st_mode) && !S_ISDIR(r->mStat.st_mode) | ^ filer.c: In function ‘str_cut3’: filer.c:4167:15: warning: unused variable ‘buf’ [-Wunused-variable] 4167 | char* buf; | ^~~ filer.c: In function ‘filer_history_forward’: filer.c:870:1: warning: control reaches end of non-void function [-Wreturn-type] 870 | } | ^ filer.c: In function ‘filer_history_back’: filer.c:884:1: warning: control reaches end of non-void function [-Wreturn-type] 884 | } | ^ filer.c: In function ‘filer_reread’: filer.c:921:1: warning: control reaches end of non-void function [-Wreturn-type] 921 | } | ^ filer.c: In function ‘filer_mask’: filer.c:945:1: warning: control reaches end of non-void function [-Wreturn-type] 945 | } | ^ filer.c: In function ‘filer_dotdir_mask’: filer.c:3969:1: warning: control reaches end of non-void function [-Wreturn-type] 3969 | } | ^ filer.c: In function ‘filer_input’: filer.c:1172:32: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 1172 | snprintf(extension, 256, ".%s", tmp); | ^~ ~~~ In file included from /usr/include/stdio.h:980, from common.h:64: In function ‘snprintf’, inlined from ‘filer_input’ at filer.c:1172:5: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 2 and 4097 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ filer.c: In function ‘filer_input’: filer.c:1188:53: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] 1188 | snprintf(marked_extension, 1024, ".mark-%s", tmp); | ^~ ~~~ In function ‘snprintf’, inlined from ‘filer_input’ at filer.c:1188:13: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 7 and 1030 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ filer.c: In function ‘sDir_cd’: filer.c:816:9: warning: ‘dir’ may be used uninitialized [-Wmaybe-uninitialized] 816 | filer_reset_marks(dir); | ^~~~~~~~~~~~~~~~~~~~~~ filer.c:795:9: note: ‘dir’ was declared here 795 | int dir; | ^~~ filer.c: In function ‘str_cut3’: filer.c:4188:21: warning: ‘*’ may be used uninitialized [-Wmaybe-uninitialized] 4188 | if(kanji[len-termsize-1]) { | ~~~~~^~~~~~~~~~~~~~~~ filer.c: In function ‘filer_view’: filer.c:3001:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 244 and 253 [-Wformat-truncation=] 3001 | snprintf(buf, 256, "[%d.%s]", i, buf2); | ^~ ~~~~ In function ‘snprintf’, inlined from ‘filer_view’ at filer.c:3001:13: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 5 and 269 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -I/usr/include -L/usr/lib -I . -I/usr/local/include -L/usr/local/lib -c -o file.o file.c file.c: In function ‘file_copy’: file.c:381:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 381 | while(entry = readdir(dir)) { | ^~~~~ file.c:772:34: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 771 | int result = mknod(dfile, stat_.st_mode | ~~~~~~~~~~~~~ 772 | & (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 773 | |S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:838:34: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 837 | int result = mknod(dfile, stat_.st_mode | ~~~~~~~~~~~~~ 838 | & (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 839 | |S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:900:34: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 899 | int result = mknod(dfile, stat_.st_mode | ~~~~~~~~~~~~~ 900 | & (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 901 | |S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:962:34: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 961 | int result = mknod(dfile, stat_.st_mode | ~~~~~~~~~~~~~ 962 | & (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 963 | |S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c: In function ‘file_remove’: file.c:1156:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1156 | while(entry = readdir(dir)) { | ^~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -I/usr/include -L/usr/lib -I . -I/usr/local/include -L/usr/local/lib -c -o cmdline.o cmdline.c cmdline.c: In function ‘cmdline_input’: cmdline.c:320:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 320 | else if(key == 21 || meta==1&&key=='v' || key == KEY_PPAGE) | ~~~~~~~^~~~~~~~~~ cmdline.c:346:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 346 | else if(meta==1 && key == 'b' || meta==1 && key == KEY_LEFT // Meta-b CTRL-LEFT Meta-Left | ~~~~~~~~^~~~~~~~~~~~~ cmdline.c:366:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 366 | else if(meta==1 && key == 'f' || meta==1 && key == KEY_RIGHT // Meta-f CTRL-RIGHT Meta-Right | ~~~~~~~~^~~~~~~~~~~~~ cmdline.c:441:15: warning: unused variable ‘cstr’ [-Wunused-variable] 441 | char* cstr = string_c_str(str); | ^~~~ cmdline.c:477:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 477 | else if(meta==1 && key == 'd' || meta==0 && key==KEY_F(21)) { // Meta-d CTRL + DELETE | ~~~~~~~~^~~~~~~~~~~~~ cmdline.c:501:15: warning: unused variable ‘cstr’ [-Wunused-variable] 501 | char* cstr = string_c_str(str); | ^~~~ cmdline.c:524:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 524 | else if(!cmdline_escape_key && (key == 3) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ cmdline.c:528:14: warning: variable ‘all_space’ set but not used [-Wunused-but-set-variable] 528 | BOOL all_space = TRUE; | ^~~~~~~~~ cmdline.c:542:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 542 | else if(!cmdline_escape_key && (key == 7) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ cmdline.c:621:15: warning: unused variable ‘cstr’ [-Wunused-variable] 621 | char* cstr = string_c_str(str); | ^~~~ cmdline.c: In function ‘cmdline_view_utf8_multi_line’: cmdline.c:743:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 743 | if(line == 0 && (str_termlen(kUtf8, buf)+2 > maxx) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdline.c:718:9: warning: unused variable ‘n2’ [-Wunused-variable] 718 | int n2 = 0; | ^~ cmdline.c: In function ‘cmdline_view_utf8_2line’: cmdline.c:849:14: warning: unused variable ‘cmd’ [-Wunused-variable] 849 | BOOL cmd = TRUE; | ^~~ cmdline.c: In function ‘cmdline_view_utf8’: cmdline.c:896:19: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 896 | if(kanji_zure && (len+3 >= maxx*2) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ cmdline.c:875:15: warning: unused variable ‘maxy’ [-Wunused-variable] 875 | const int maxy = mgetmaxy(); | ^~~~ cmdline.c: In function ‘cmdline_write_history’: cmdline.c:53:37: warning: ‘/history’ directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 53 | snprintf(path, PATH_MAX, "%s/history", gHomeDir); | ^~~~~~~~ In file included from /usr/include/stdio.h:980, from common.h:64, from cmdline.c:1: In function ‘snprintf’, inlined from ‘cmdline_write_history’ at cmdline.c:53:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -I/usr/include -L/usr/lib -I . -I/usr/local/include -L/usr/local/lib -c -o cmdline_completion.o cmdline_completion.c cmdline_completion.c: In function ‘cmdline_completion’: cmdline_completion.c:120:11: warning: unused variable ‘cstr’ [-Wunused-variable] 120 | char* cstr = string_c_str(str); | ^~~~ cmdline_completion.c: In function ‘cmdline_completion_file’: cmdline_completion.c:340:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 340 | while(entry = readdir(dir)) { | ^~~~~ cmdline_completion.c:397:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 397 | while(entry = readdir(dir)) { | ^~~~~ cmdline_completion.c: In function ‘cmdline_parse’: cmdline_completion.c:557:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 557 | if(*dquote && (*p == '`' || *(p-1)=='$' && *p=='(' )) { | ~~~~~~~~~~~~^~~~~~~~~~ cmdline_completion.c: In function ‘cmdline_completion_main’: cmdline_completion.c:728:19: warning: unused variable ‘maxy’ [-Wunused-variable] 728 | const int maxy = mgetmaxy(); | ^~~~ cmdline_completion.c:684:11: warning: unused variable ‘cmdline’ [-Wunused-variable] 684 | char* cmdline = string_c_str(gCmdLine); | ^~~~~~~ cmdline_completion.c: In function ‘cmdline_completion_input’: cmdline_completion.c:917:15: warning: unused variable ‘cstr’ [-Wunused-variable] 917 | char* cstr = string_c_str(str); | ^~~~ cmdline_completion.c:937:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 937 | else if(key == 21 || meta==1&&key=='v' || key == KEY_PPAGE) { // CTRL-U Meta-v | ~~~~~~~^~~~~~~~~~ cmdline_completion.c: In function ‘cmdline_completion_file’: cmdline_completion.c:347:46: warning: ‘%s’ directive output may be truncated writing up to 15999 bytes into a region of size 4096 [-Wformat-truncation=] 347 | snprintf(buf, PATH_MAX, "%s%s", editing_dir2, entry->d_name); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from common.h:64, from cmdline_completion.c:1: In function ‘snprintf’, inlined from ‘cmdline_completion_file’ at cmdline_completion.c:347:21: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 1 and 16255 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -c isearch.c -I/usr/include -L/usr/lib -I . -I/usr/local/include -L/usr/local/lib -DSYSTEM_MIGEMODIR=\"/usr/share/cmigemo\" isearch.c: In function ‘is_isearch_char’: isearch.c:65:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 64 | return key == 9 || (key >= ' ' && key <= '~') | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 65 | && key != '\\'; | ^~~~~~~~~~~~~~ isearch.c: In function ‘match_back’: isearch.c:101:52: warning: pointer targets in passing argument 2 of ‘hash_item’ differ in signedness [-Wpointer-sign] 101 | regex_t* reg = hash_item(gMigemoCache, (unsigned char*)string_c_str(gInputFileName)); | ^ | | | unsigned char * In file included from common.h:55, from isearch.c:1: /usr/include/saphire/saphire_hash.h:53:39: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 53 | void* hash_item(hash_obj* self, char* key); // 引数のキーのアイテムを返す | ~~~~~~^~~ In file included from common.h:56: isearch.c:114:60: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 114 | OnigUChar* p2 = MALLOC(sizeof(char)*strlen(p)*2); | ^ | | | OnigUChar * {aka unsigned char *} In file included from common.h:63: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘OnigUChar *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ isearch.c:115:28: warning: pointer targets in initialization of ‘char *’ from ‘OnigUChar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 115 | char* p3 = p2; | ^~ isearch.c:116:28: warning: pointer targets in initialization of ‘char *’ from ‘OnigUChar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 116 | char* p4 = p; | ^ isearch.c:145:37: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 145 | unsigned char* p5 = string_c_str(gInputFileName); | ^~~~~~~~~~~~ isearch.c:146:27: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 146 | if(strlen(p5) == 1 && *p5 >= 'A' && *p5 <= 'z') { | ^~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ isearch.c:147:44: warning: pointer targets in passing argument 2 of ‘hash_put’ differ in signedness [-Wpointer-sign] 147 | hash_put(gMigemoCache, (unsigned char*)string_c_str(gInputFileName), gReg); | ^ | | | unsigned char * /usr/include/saphire/saphire_hash.h:46:37: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 46 | void hash_put(hash_obj* self, char* key, void* item); // 代入 | ~~~~~~^~~ isearch.c:170:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 170 | if(!gISearchPartMatch && result == fnamev | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ isearch.c:188:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 188 | if(!gISearchPartMatch && r2 == 0 | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ isearch.c: In function ‘match_next’: isearch.c:235:52: warning: pointer targets in passing argument 2 of ‘hash_item’ differ in signedness [-Wpointer-sign] 235 | regex_t* reg = hash_item(gMigemoCache, (unsigned char*)string_c_str(gInputFileName)); | ^ | | | unsigned char * /usr/include/saphire/saphire_hash.h:53:39: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 53 | void* hash_item(hash_obj* self, char* key); // 引数のキーのアイテムを返す | ~~~~~~^~~ isearch.c:245:47: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 245 | OnigUChar* p2 = MALLOC(strlen(p)*2); | ^ | | | OnigUChar * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘OnigUChar *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ isearch.c:246:28: warning: pointer targets in initialization of ‘char *’ from ‘OnigUChar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 246 | char* p3 = p2; | ^~ isearch.c:247:28: warning: pointer targets in initialization of ‘char *’ from ‘OnigUChar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 247 | char* p4 = p; | ^ isearch.c:280:37: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 280 | unsigned char* p5 = string_c_str(gInputFileName); | ^~~~~~~~~~~~ isearch.c:281:27: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 281 | if(strlen(p5) == 1 && *p5 >= 'A' && *p5 <= 'z') { | ^~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ isearch.c:282:44: warning: pointer targets in passing argument 2 of ‘hash_put’ differ in signedness [-Wpointer-sign] 282 | hash_put(gMigemoCache, (unsigned char*)string_c_str(gInputFileName), gReg); | ^ | | | unsigned char * /usr/include/saphire/saphire_hash.h:46:37: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 46 | void hash_put(hash_obj* self, char* key, void* item); // 代入 | ~~~~~~^~~ isearch.c:306:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 306 | if(!gISearchPartMatch && result == fnamev | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ isearch.c:324:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 324 | if(!gISearchPartMatch && r2 == 0 | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ isearch.c: In function ‘migemo_init’: isearch.c:395:36: warning: ‘/cp932/migemo-dict’ directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 395 | snprintf(buf, PATH_MAX, "%s/cp932/migemo-dict", migemodir); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from common.h:64: In function ‘snprintf’, inlined from ‘migemo_init’ at isearch.c:395:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 19 and 4114 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ isearch.c: In function ‘migemo_init’: isearch.c:400:36: warning: ‘/cp932/roma2hira.dat’ directive output may be truncated writing 20 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 400 | snprintf(buf, PATH_MAX, "%s/cp932/roma2hira.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘migemo_init’ at isearch.c:400:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 21 and 4116 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ isearch.c: In function ‘migemo_init’: isearch.c:405:36: warning: ‘/cp932/hira2kata.dat’ directive output may be truncated writing 20 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 405 | snprintf(buf, PATH_MAX, "%s/cp932/hira2kata.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘migemo_init’ at isearch.c:405:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 21 and 4116 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ isearch.c: In function ‘migemo_init’: isearch.c:410:36: warning: ‘/cp932/han2zen.dat’ directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 410 | snprintf(buf, PATH_MAX, "%s/cp932/han2zen.dat", migemodir); | ^~~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘migemo_init’ at isearch.c:410:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 19 and 4114 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ isearch.c: In function ‘migemo_init’: isearch.c:373:36: warning: ‘/euc-jp/migemo-dict’ directive output may be truncated writing 19 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 373 | snprintf(buf, PATH_MAX, "%s/euc-jp/migemo-dict", migemodir); | ^~~~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘migemo_init’ at isearch.c:373:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 20 and 4115 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ isearch.c: In function ‘migemo_init’: isearch.c:378:36: warning: ‘/euc-jp/roma2hira.dat’ directive output may be truncated writing 21 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 378 | snprintf(buf, PATH_MAX, "%s/euc-jp/roma2hira.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘migemo_init’ at isearch.c:378:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 22 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ isearch.c: In function ‘migemo_init’: isearch.c:383:36: warning: ‘/euc-jp/hira2kata.dat’ directive output may be truncated writing 21 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 383 | snprintf(buf, PATH_MAX, "%s/euc-jp/hira2kata.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘migemo_init’ at isearch.c:383:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 22 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ isearch.c: In function ‘migemo_init’: isearch.c:388:36: warning: ‘/euc-jp/han2zen.dat’ directive output may be truncated writing 19 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 388 | snprintf(buf, PATH_MAX, "%s/euc-jp/han2zen.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘migemo_init’ at isearch.c:388:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 20 and 4115 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ isearch.c: In function ‘migemo_init’: isearch.c:351:36: warning: ‘/utf-8/migemo-dict’ directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 351 | snprintf(buf, PATH_MAX, "%s/utf-8/migemo-dict", migemodir); | ^~~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘migemo_init’ at isearch.c:351:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 19 and 4114 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ isearch.c: In function ‘migemo_init’: isearch.c:356:36: warning: ‘/utf-8/roma2hira.dat’ directive output may be truncated writing 20 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 356 | snprintf(buf, PATH_MAX, "%s/utf-8/roma2hira.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘migemo_init’ at isearch.c:356:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 21 and 4116 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ isearch.c: In function ‘migemo_init’: isearch.c:361:36: warning: ‘/utf-8/hira2kata.dat’ directive output may be truncated writing 20 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 361 | snprintf(buf, PATH_MAX, "%s/utf-8/hira2kata.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘migemo_init’ at isearch.c:361:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 21 and 4116 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ isearch.c: In function ‘migemo_init’: isearch.c:366:36: warning: ‘/utf-8/han2zen.dat’ directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 366 | snprintf(buf, PATH_MAX, "%s/utf-8/han2zen.dat", migemodir); | ^~~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘migemo_init’ at isearch.c:366:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 19 and 4114 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ isearch.c: In function ‘match_back.isra’: isearch.c:140:19: warning: ‘r’ may be used uninitialized [-Wmaybe-uninitialized] 140 | if(r != ONIG_NORMAL) { | ^ isearch.c:111:21: note: ‘r’ was declared here 111 | int r; | ^ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -I/usr/include -L/usr/lib -I . -I/usr/local/include -L/usr/local/lib -c -o menu.o menu.c menu.c: In function ‘menu_input’: menu.c:143:13: warning: unused variable ‘rcode’ [-Wunused-variable] 143 | int rcode = saphire_shell(item->mCmd, NULL, pipeout, pipein, STDERR_FILENO); | ^~~~~ menu.c:169:21: warning: unused variable ‘rcode’ [-Wunused-variable] 169 | int rcode = saphire_shell(item->mCmd, NULL, pipeout, pipein, STDERR_FILENO); | ^~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -I/usr/include -L/usr/lib -I . -I/usr/local/include -L/usr/local/lib -c -o gui.o gui.c gui.c: In function ‘merr_msg’: gui.c:28:19: warning: unused variable ‘maxx’ [-Wunused-variable] 28 | const int maxx = mgetmaxx(); | ^~~~ gui.c: In function ‘msg_nonstop’: gui.c:69:15: warning: unused variable ‘maxx’ [-Wunused-variable] 69 | const int maxx = mgetmaxx(); | ^~~~ gui.c: In function ‘input_box’: gui.c:347:9: warning: unused variable ‘maxx’ [-Wunused-variable] 347 | int maxx = mgetmaxx(); | ^~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -I/usr/include -L/usr/lib -I . -I/usr/local/include -L/usr/local/lib -c -o commands.o commands.c commands.c: In function ‘commands_keymap’: commands.c:149:23: warning: pointer targets in passing argument 2 of ‘madd_keymap’ differ in signedness [-Wpointer-sign] 149 | , keys); | ^~~~ | | | char * In file included from common.h:51, from commands.c:1: /usr/include/saphire/saphire_curses.h:57:39: note: expected ‘signed char *’ but argument is of type ‘char *’ 57 | void madd_keymap(int key, signed char keyes[kKeyMapKeysMax]); // キーマップにキーを追加 | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ commands.c: In function ‘commands_cmdline’: commands.c:1022:15: warning: unused variable ‘init_str’ [-Wunused-variable] 1022 | char* init_str = string_c_str(vector_item(argv, 1)); | ^~~~~~~~ commands.c: In function ‘commands_vd’: commands.c:2365:1: warning: label ‘vd_end’ defined but not used [-Wunused-label] 2365 | vd_end: | ^~~~~~ commands.c: In function ‘commands_vd2’: commands.c:2758:1: warning: label ‘vd_end’ defined but not used [-Wunused-label] 2758 | vd_end: | ^~~~~~ commands.c: At top level: commands.c:3008:13: warning: ‘draw_progress_box’ defined but not used [-Wunused-function] 3008 | static void draw_progress_box(int mark_num) | ^~~~~~~~~~~~~~~~~ commands.c: In function ‘commands_cursor_move’: commands.c:230:13: warning: ‘cursor_num’ may be used uninitialized [-Wmaybe-uninitialized] 230 | filer_cursor_move(dir, cursor_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:190:13: note: ‘cursor_num’ was declared here 190 | int cursor_num; | ^~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -o mfiler3 main.c -DDATADIR=\"/usr/share\" -DDOCDIR=\"/usr/share/doc/mfiler3/\" -DSYSCONFDIR=\"/usr/lib64/mfiler3\" filer.o file.o cmdline.o cmdline_completion.o isearch.o menu.o gui.o commands.o -lncurses -lncurses -lm -lonig -lsaphire -lmigemo -I/usr/include -L/usr/lib -I . -I/usr/local/include -L/usr/local/lib main.c: In function ‘init_hooks’: main.c:378:9: warning: unused variable ‘rcode’ [-Wunused-variable] 378 | int rcode = saphire_shell(" def mcd_hook { true }; def atexit_hook { true }; def activate_hook { true }; def cursor_move_hook { true }; def cmdline_hook { true }", NULL, pipeout, pipein, STDERR_FILENO); | ^~~~~ main.c: In function ‘main’: main.c:1277:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1277 | while(entry = readdir(dir)) { | ^~~~~ main.c:1321:9: warning: unused variable ‘rcode’ [-Wunused-variable] 1321 | int rcode = saphire_shell("atexit_hook", NULL, pipeout, pipein, STDERR_FILENO); | ^~~~~ main.c:806:9: warning: unused variable ‘pid’ [-Wunused-variable] 806 | int pid; | ^~~ main.c: At top level: main.c:248:13: warning: ‘sig_cont’ defined but not used [-Wunused-function] 248 | static void sig_cont(int s) | ^~~~~~~~ main.c: In function ‘read_rc_file_compiled’: main.c:209:37: warning: ‘/mfiler3.sao’ directive output may be truncated writing 12 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 209 | snprintf(rc_fname, PATH_MAX, "%s/mfiler3.sao", gHomeDir); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from common.h:64, from main.c:1: In function ‘snprintf’, inlined from ‘read_rc_file_compiled’ at main.c:209:5: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 13 and 4108 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:765:43: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4087 [-Wformat-truncation=] 765 | snprintf(buf, PATH_MAX, "mkdir -p %s", gHomeDir); | ^~ ~~~~~~~~ In function ‘snprintf’, inlined from ‘main’ at main.c:765:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 10 and 4105 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:778:37: warning: ‘/temp’ directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 778 | snprintf(gTempDir, PATH_MAX, "%s/temp", gHomeDir); | ^~~~~ In function ‘snprintf’, inlined from ‘main’ at main.c:778:5: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 6 and 4101 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:1002:37: warning: ‘/socket’ directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 1002 | snprintf(soc_name, PATH_MAX, "%s/socket%d", gTempDir, getpid()); | ^~~~~~~ In function ‘snprintf’, inlined from ‘main’ at main.c:1002:5: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4114 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:1024:38: warning: ‘/pipe_’ directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 1024 | snprintf(pipe_name, PATH_MAX, "%s/pipe_%d", gTempDir, getpid()); | ^~~~~~ In function ‘snprintf’, inlined from ‘main’ at main.c:1024:5: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 8 and 4113 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:1299:50: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 1299 | snprintf(path, PATH_MAX, "%s/%s", gTempDir, entry->d_name); | ^~ In function ‘snprintf’, inlined from ‘main’ at main.c:1299:21: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 2 and 4352 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:1286:50: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 1286 | snprintf(path, PATH_MAX, "%s/%s", gTempDir, entry->d_name); | ^~ In function ‘snprintf’, inlined from ‘main’ at main.c:1286:21: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 2 and 4352 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -o mattr mattr.c -lcurses mattr.c: In function ‘main’: mattr.c:167:9: warning: enumeration value ‘kOK’ not handled in switch [-Wswitch] 167 | switch(editing) { | ^~~~~~ env TERM=dumb env DYLD_LIBRARY_PATH=/opt/local/lib:/usr/local/lib saphire -rn -c 'compile mfiler3.sa' mfiler3.sao rm -f install + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.N1wUgY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 mfiler3-4.4.9 + 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/mfiler3-4.4.9-30.fc40.riscv64/usr exec_prefix=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr bindir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/bin sbindir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/sbin sysconfdir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/etc datadir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share includedir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/include libdir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/lib64 libexecdir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/libexec localstatedir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/var sharedstatedir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/var/lib mandir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/man infodir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/info install sysconfdir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/lib64/mfiler3 bindir=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/libexec/mfiler3 docdir=/builddir/build/BUILD/mfiler3-4.4.9/Trash/ if [ -z "" ]; then make normal-install; else make dest-install; fi make[1]: Entering directory '/builddir/build/BUILD/mfiler3-4.4.9' mkdir -p "/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/libexec/mfiler3"; mkdir -p "/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/lib64/mfiler3"; mkdir -p "/builddir/build/BUILD/mfiler3-4.4.9/Trash/"; mkdir -p "/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/man/man1" install -p -m 644 USAGE.ja.txt /builddir/build/BUILD/mfiler3-4.4.9/Trash/; install -p -m 644 USAGE.en.txt /builddir/build/BUILD/mfiler3-4.4.9/Trash/; install -p -m 644 README.ja.txt /builddir/build/BUILD/mfiler3-4.4.9/Trash/; install -p -m 644 README.en.txt /builddir/build/BUILD/mfiler3-4.4.9/Trash/; install -p -m 644 CHANGELOG.txt /builddir/build/BUILD/mfiler3-4.4.9/Trash/; rm -f /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/libexec/mfiler3/mfiler3; install -p -m 755 mfiler3 /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/libexec/mfiler3; install -p -m 644 mfiler3.sa /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/lib64/mfiler3; install -p -m 644 mfiler3.sao /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/lib64/mfiler3; rm -f /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/libexec/mfiler3/mattr; install -p -m 755 mattr /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/libexec/mfiler3; install -p -m 644 man/man1/mfiler3.1 "/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/man/man1" make[1]: Leaving directory '/builddir/build/BUILD/mfiler3-4.4.9' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/bin + /usr/bin/install -cpm 0755 /builddir/build/SOURCES/mfiler3.sh /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/bin/mfiler3 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 4.4.9-30.fc40 --unique-debug-suffix -4.4.9-30.fc40.riscv64 --unique-debug-src-base mfiler3-4.4.9-30.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mfiler3-4.4.9 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/mfiler3-4.4.9-30.fc40.riscv64 871 blocks find-debuginfo: done + /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 mangling shebang in /usr/bin/mfiler3 from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: mfiler3-4.4.9-30.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.e55h9g + umask 022 + cd /builddir/build/BUILD + cd mfiler3-4.4.9 + DOCDIR=/builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/doc/mfiler3 + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/doc/mfiler3 + cp -pr /builddir/build/BUILD/mfiler3-4.4.9/AUTHORS /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/doc/mfiler3 + cp -pr /builddir/build/BUILD/mfiler3-4.4.9/CHANGELOG.txt /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/doc/mfiler3 + cp -pr /builddir/build/BUILD/mfiler3-4.4.9/LICENSE /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/doc/mfiler3 + cp -pr /builddir/build/BUILD/mfiler3-4.4.9/README.en.txt /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/doc/mfiler3 + cp -pr /builddir/build/BUILD/mfiler3-4.4.9/USAGE.en.txt /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/doc/mfiler3 + cp -pr /builddir/build/BUILD/mfiler3-4.4.9/README.ja.txt /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/doc/mfiler3 + cp -pr /builddir/build/BUILD/mfiler3-4.4.9/USAGE.ja.txt /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64/usr/share/doc/mfiler3 + RPM_EC=0 ++ jobs -p + exit 0 Provides: mfiler3 = 4.4.9-30.fc40 mfiler3(riscv-64) = 4.4.9-30.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libmigemo.so.1()(64bit) libncurses.so.6()(64bit) libonig.so.5()(64bit) libsaphire.so.2()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Obsoletes: mfiler3-mdnd < 3.0.0 Processing files: mfiler3-debugsource-4.4.9-30.fc40.riscv64 Provides: mfiler3-debugsource = 4.4.9-30.fc40 mfiler3-debugsource(riscv-64) = 4.4.9-30.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mfiler3-debuginfo-4.4.9-30.fc40.riscv64 Provides: debuginfo(build-id) = 0e89bf3fd597039aa7236e8c39221bb74f64e320 debuginfo(build-id) = 93b3c9f17ef37d7fe239bbc50f2c48336c778004 mfiler3-debuginfo = 4.4.9-30.fc40 mfiler3-debuginfo(riscv-64) = 4.4.9-30.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mfiler3-debugsource(riscv-64) = 4.4.9-30.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64 Wrote: /builddir/build/RPMS/mfiler3-debuginfo-4.4.9-30.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/mfiler3-4.4.9-30.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/mfiler3-debugsource-4.4.9-30.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.li8WMD + umask 022 + cd /builddir/build/BUILD + cd mfiler3-4.4.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mfiler3-4.4.9-30.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.WM37wo + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/mfiler3-4.4.9-SPECPARTS + rm -rf mfiler3-4.4.9 mfiler3-4.4.9.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0