+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/chasen-base-2.4.5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/chasen-base-2.4.5/work.log ===> Building for chasen-base-2.4.5 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in doc Making all in lib --- block.lo --- --- chalib.lo --- --- connect.lo --- --- dartsdic.lo --- --- block.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT block.lo -MD -MP -MF ".deps/block.Tpo" -c -o block.lo `test -f 'block.c' || echo './'`block.c; then mv -f ".deps/block.Tpo" ".deps/block.Plo"; else rm -f ".deps/block.Tpo"; exit 1; fi --- chalib.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT chalib.lo -MD -MP -MF ".deps/chalib.Tpo" -c -o chalib.lo `test -f 'chalib.c' || echo './'`chalib.c; then mv -f ".deps/chalib.Tpo" ".deps/chalib.Plo"; else rm -f ".deps/chalib.Tpo"; exit 1; fi --- dartsdic.lo --- if /usr/bin/bash ../libtool --mode=compile g++ -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT dartsdic.lo -MD -MP -MF ".deps/dartsdic.Tpo" -c -o dartsdic.lo `test -f 'dartsdic.cpp' || echo './'`dartsdic.cpp; then mv -f ".deps/dartsdic.Tpo" ".deps/dartsdic.Plo"; else rm -f ".deps/dartsdic.Tpo"; exit 1; fi --- connect.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT connect.lo -MD -MP -MF ".deps/connect.Tpo" -c -o connect.lo `test -f 'connect.c' || echo './'`connect.c; then mv -f ".deps/connect.Tpo" ".deps/connect.Plo"; else rm -f ".deps/connect.Tpo"; exit 1; fi --- chalib.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT chalib.lo -MD -MP -MF .deps/chalib.Tpo -c chalib.c -fPIC -DPIC -o .libs/chalib.o --- connect.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT connect.lo -MD -MP -MF .deps/connect.Tpo -c connect.c -fPIC -DPIC -o .libs/connect.o --- block.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT block.lo -MD -MP -MF .deps/block.Tpo -c block.c -fPIC -DPIC -o .libs/block.o --- dartsdic.lo --- libtool: compile: g++ -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT dartsdic.lo -MD -MP -MF .deps/dartsdic.Tpo -c dartsdic.cpp -fPIC -DPIC -o .libs/dartsdic.o --- chalib.lo --- chalib.c: In function 'chasen_sparse_main': chalib.c:326:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 326 | seg.text = input + cursor; | ^ chalib.c: In function 'chasen_sparse': chalib.c:381:18: warning: pointer targets in passing argument 1 of 'cha_jistoeuc' differ in signedness [-Wpointer-sign] 381 | cha_jistoeuc(str_in, euc_str); | ^~~~~~ | | | char * In file included from chalib.c:33: chalib.h:171:18: note: expected 'unsigned char *' but argument is of type 'char *' 171 | int cha_jistoeuc(unsigned char*, unsigned char*); | ^~~~~~~~~~~~~~ chalib.c:381:26: warning: pointer targets in passing argument 2 of 'cha_jistoeuc' differ in signedness [-Wpointer-sign] 381 | cha_jistoeuc(str_in, euc_str); | ^~~~~~~ | | | char * chalib.h:171:34: note: expected 'unsigned char *' but argument is of type 'char *' 171 | int cha_jistoeuc(unsigned char*, unsigned char*); | ^~~~~~~~~~~~~~ chalib.c: In function 'seg_tokenize': chalib.c:424:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 424 | if (strcmp(line, STR_UNSPECIFIED) == 0) { | ^~~~ | | | unsigned char * In file included from /usr/include/string.h:35, from chadic.h:16, from chalib.h:8: /usr/include/iso/string_iso.h:74:19: note: expected 'const char *' but argument is of type 'unsigned char *' 74 | extern int strcmp(const char *, const char *); | ^~~~~~~~~~~~ chalib.c:427:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 427 | } else if (strcmp(line, STR_ANNOTATION) == 0) { | ^~~~ | | | unsigned char * /usr/include/iso/string_iso.h:74:19: note: expected 'const char *' but argument is of type 'unsigned char *' 74 | extern int strcmp(const char *, const char *); | ^~~~~~~~~~~~ chalib.c:434:19: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 434 | char *l = line; | ^~~~ chalib.c:451:22: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 451 | pos[i++] = l = line; | ^ chalib.c: In function 'strip': chalib.c:472:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 472 | int len = strlen(s); | ^ | | | unsigned char * /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ chalib.c: In function 'chasen_parse_segments': chalib.c:499:18: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 499 | while (fgets(buf, CHA_INPUT_SIZE, input) != NULL) { | ^~~ | | | unsigned char * In file included from /usr/include/stdio.h:82, from chadic.h:13: /usr/include/iso/stdio_iso.h:222:24: note: expected 'char * restrict' but argument is of type 'unsigned char *' 222 | extern char *fgets(char *_RESTRICT_KYWD, int, FILE *_RESTRICT_KYWD); | ^ chalib.c:506:37: warning: pointer targets in passing argument 1 of 'cha_litmatch' differ in signedness [-Wpointer-sign] 506 | if (!buf[0] || cha_litmatch(buf, 2, STR_EOS, STR_BOS_EOS)) { | ^~~ | | | unsigned char * In file included from chalib.c:35: literal.h:28:18: note: expected 'const char *' but argument is of type 'unsigned char *' 28 | int cha_litmatch(const char *, int, ...); | ^~~~~~~~~~~~ chalib.c: In function 'chasen_sparse_tostr': chalib.c:561:18: warning: pointer targets in passing argument 1 of 'cha_jistoeuc' differ in signedness [-Wpointer-sign] 561 | cha_jistoeuc(str_in, euc_str); | ^~~~~~ | | | char * chalib.h:171:18: note: expected 'unsigned char *' but argument is of type 'char *' 171 | int cha_jistoeuc(unsigned char*, unsigned char*); | ^~~~~~~~~~~~~~ chalib.c:561:26: warning: pointer targets in passing argument 2 of 'cha_jistoeuc' differ in signedness [-Wpointer-sign] 561 | cha_jistoeuc(str_in, euc_str); | ^~~~~~~ | | | char * chalib.h:171:34: note: expected 'unsigned char *' but argument is of type 'char *' 171 | int cha_jistoeuc(unsigned char*, unsigned char*); | ^~~~~~~~~~~~~~ --- block.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT block.lo -MD -MP -MF .deps/block.Tpo -c block.c -o block.o >/dev/null 2>&1 --- connect.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT connect.lo -MD -MP -MF .deps/connect.Tpo -c connect.c -o connect.o >/dev/null 2>&1 --- getid.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT getid.lo -MD -MP -MF ".deps/getid.Tpo" -c -o getid.lo `test -f 'getid.c' || echo './'`getid.c; then mv -f ".deps/getid.Tpo" ".deps/getid.Plo"; else rm -f ".deps/getid.Tpo"; exit 1; fi --- chalib.lo --- chalib.c: In function 'cha_read_dadic': chalib.c:611:42: warning: '%s' directive output may be truncated writing up to 32767 bytes into a region of size 1024 [-Wformat-truncation=] 611 | snprintf(da_filename, PATH_MAX, "%s.da", dadic_filename[num]); | ^~ chalib.c:611:9: note: 'snprintf' output between 4 and 32771 bytes into a destination of size 1024 611 | snprintf(da_filename, PATH_MAX, "%s.da", dadic_filename[num]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chalib.c:612:43: warning: '%s' directive output may be truncated writing up to 32767 bytes into a region of size 1024 [-Wformat-truncation=] 612 | snprintf(lex_filename, PATH_MAX, "%s.lex", dadic_filename[num]); | ^~ chalib.c:612:9: note: 'snprintf' output between 5 and 32772 bytes into a destination of size 1024 612 | snprintf(lex_filename, PATH_MAX, "%s.lex", dadic_filename[num]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chalib.c:613:43: warning: '%s' directive output may be truncated writing up to 32767 bytes into a region of size 1024 [-Wformat-truncation=] 613 | snprintf(dat_filename, PATH_MAX, "%s.dat", dadic_filename[num]); | ^~ chalib.c:613:9: note: 'snprintf' output between 5 and 32772 bytes into a destination of size 1024 613 | snprintf(dat_filename, PATH_MAX, "%s.dat", dadic_filename[num]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- getid.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT getid.lo -MD -MP -MF .deps/getid.Tpo -c getid.c -fPIC -DPIC -o .libs/getid.o --- chalib.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT chalib.lo -MD -MP -MF .deps/chalib.Tpo -c chalib.c -o chalib.o >/dev/null 2>&1 --- getopt.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT getopt.lo -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.lo `test -f 'getopt.c' || echo './'`getopt.c; then mv -f ".deps/getopt.Tpo" ".deps/getopt.Plo"; else rm -f ".deps/getopt.Tpo"; exit 1; fi --- getid.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT getid.lo -MD -MP -MF .deps/getid.Tpo -c getid.c -o getid.o >/dev/null 2>&1 --- getopt.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c getopt.c -fPIC -DPIC -o .libs/getopt.o --- grammar.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT grammar.lo -MD -MP -MF ".deps/grammar.Tpo" -c -o grammar.lo `test -f 'grammar.c' || echo './'`grammar.c; then mv -f ".deps/grammar.Tpo" ".deps/grammar.Plo"; else rm -f ".deps/grammar.Tpo"; exit 1; fi --- getopt.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c getopt.c -o getopt.o >/dev/null 2>&1 --- init.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT init.lo -MD -MP -MF ".deps/init.Tpo" -c -o init.lo `test -f 'init.c' || echo './'`init.c; then mv -f ".deps/init.Tpo" ".deps/init.Plo"; else rm -f ".deps/init.Tpo"; exit 1; fi --- dartsdic.lo --- In file included from dartsdic.cpp:37: /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h: In member function 'T Darts::DoubleArrayImpl::exactMatchSearch(const key_type*, std::size_t, std::size_t) const': /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:248:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 248 | register array_type_ b = array_[node_pos].base; | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:249:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 249 | register array_u_type_ p; | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:251:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 251 | for (register size_t i = 0; i < len; ++i) { | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h: In member function 'std::size_t Darts::DoubleArrayImpl::commonPrefixSearch(const key_type*, T*, std::size_t, std::size_t, std::size_t) const': /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:275:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 275 | register array_type_ b = array_[node_pos].base; | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:276:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 276 | register size_t num = 0; | ^~~ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:277:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register array_type_ n; | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:278:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 278 | register array_u_type_ p; | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:280:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 280 | for (register size_t i = 0; i < len; ++i) { | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h: In member function 'Darts::DoubleArrayImpl::value_type Darts::DoubleArrayImpl::traverse(const key_type*, std::size_t&, std::size_t&, std::size_t) const': /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:313:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 313 | register array_type_ b = array_[node_pos].base; | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:314:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 314 | register array_u_type_ p; | ^ --- grammar.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT grammar.lo -MD -MP -MF .deps/grammar.Tpo -c grammar.c -fPIC -DPIC -o .libs/grammar.o --- dartsdic.lo --- dartsdic.cpp: In function 'int da_build_dump(da_build_t*, char*, FILE*)': dartsdic.cpp:192:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 192 | cha_exit_perror("build darts file"); | ^~~~~~~~~~~~~~~~~~ --- iotool.lo --- --- dartsdic.lo --- /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h: In instantiation of 'size_t Darts::DoubleArrayImpl::commonPrefixSearch(const key_type*, T*, size_t, size_t, size_t) const [with T = long int; node_type_ = char; node_u_type_ = unsigned char; array_type_ = long int; array_u_type_ = long unsigned int; length_func_ = Darts::Length; size_t = long unsigned int; key_type = char]': dartsdic.cpp:83:22: required from here 82 | return da->da | ~~~~~~ 83 | ->commonPrefixSearch(key, indecies, num, key_len); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:275:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 275 | register array_type_ b = array_[node_pos].base; | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:276:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 276 | register size_t num = 0; | ^~~ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:277:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register array_type_ n; | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:278:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 278 | register array_u_type_ p; | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:280:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 280 | for (register size_t i = 0; i < len; ++i) { | ^ --- iotool.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT iotool.lo -MD -MP -MF ".deps/iotool.Tpo" -c -o iotool.lo `test -f 'iotool.c' || echo './'`iotool.c; then mv -f ".deps/iotool.Tpo" ".deps/iotool.Plo"; else rm -f ".deps/iotool.Tpo"; exit 1; fi --- dartsdic.lo --- /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h: In instantiation of 'T Darts::DoubleArrayImpl::exactMatchSearch(const key_type*, size_t, size_t) const [with T = long int; node_type_ = char; node_u_type_ = unsigned char; array_type_ = long int; array_u_type_ = long unsigned int; length_func_ = Darts::Length; key_type = char; size_t = long unsigned int]': dartsdic.cpp:90:30: required from here 89 | return da->da | ~~~~~~ 90 | ->exactMatchSearch(key, key_len); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:248:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 248 | register array_type_ b = array_[node_pos].base; | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:249:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 249 | register array_u_type_ p; | ^ /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/darts.h:251:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 251 | for (register size_t i = 0; i < len; ++i) { | ^ --- init.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT init.lo -MD -MP -MF .deps/init.Tpo -c init.c -fPIC -DPIC -o .libs/init.o --- iotool.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT iotool.lo -MD -MP -MF .deps/iotool.Tpo -c iotool.c -fPIC -DPIC -o .libs/iotool.o --- grammar.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT grammar.lo -MD -MP -MF .deps/grammar.Tpo -c grammar.c -o grammar.o >/dev/null 2>&1 --- iotool.lo --- iotool.c: In function 'cha_exit': iotool.c:298:9: warning: the address of 'progpath' will always evaluate as 'true' [-Waddress] 298 | if (progpath) | ^~~~~~~~ iotool.c: In function 'cha_exit_file': iotool.c:324:9: warning: the comparison will always evaluate as 'true' for the address of 'progpath' will never be NULL [-Waddress] 324 | if (progpath) | ^~~~~~~~ iotool.c:61:13: note: 'progpath' declared here 61 | static char progpath[PATH_MAX] = "chasen"; | ^~~~~~~~ --- init.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT init.lo -MD -MP -MF .deps/init.Tpo -c init.c -o init.o >/dev/null 2>&1 --- iotool.lo --- iotool.c: In function 'cha_set_progpath': iotool.c:110:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 110 | strncpy(progpath, path, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iotool.c: In function 'cha_set_rcpath': iotool.c:122:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 122 | strncpy(chasenrc_path, filename, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iotool.c: In function 'cha_fopen': iotool.c:167:17: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 167 | strncpy(filepath, filename, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iotool.c: In function 'cha_fopen_rcfile': iotool.c:393:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 393 | strncpy(chasenrc_path, rc_env, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iotool.c: In function 'cha_read_grammar_dir': iotool.c:470:13: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 470 | strncpy(grammar_dir, cha_s_atom(cha_car(cha_cdr(cell))), PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT iotool.lo -MD -MP -MF .deps/iotool.Tpo -c iotool.c -o iotool.o >/dev/null 2>&1 --- jfgets.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT jfgets.lo -MD -MP -MF ".deps/jfgets.Tpo" -c -o jfgets.lo `test -f 'jfgets.c' || echo './'`jfgets.c; then mv -f ".deps/jfgets.Tpo" ".deps/jfgets.Plo"; else rm -f ".deps/jfgets.Tpo"; exit 1; fi libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT jfgets.lo -MD -MP -MF .deps/jfgets.Tpo -c jfgets.c -fPIC -DPIC -o .libs/jfgets.o --- katuyou.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT katuyou.lo -MD -MP -MF ".deps/katuyou.Tpo" -c -o katuyou.lo `test -f 'katuyou.c' || echo './'`katuyou.c; then mv -f ".deps/katuyou.Tpo" ".deps/katuyou.Plo"; else rm -f ".deps/katuyou.Tpo"; exit 1; fi --- jfgets.lo --- jfgets.c: In function 'cha_fget_line': jfgets.c:169:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 169 | if (fgets(tmp_buf, bufsize, stream) == NULL) | ^~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:82, from jfgets.c:37: /usr/include/iso/stdio_iso.h:222:24: note: expected 'char * restrict' but argument is of type 'unsigned char *' 222 | extern char *fgets(char *_RESTRICT_KYWD, int, FILE *_RESTRICT_KYWD); | ^ jfgets.c:175:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 175 | last = strlen(tmp_buf) - 1; | ^~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:35, from jfgets.c:38: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ jfgets.c:188:27: warning: pointer targets in passing argument 2 of 'cha_jistoeuc' differ in signedness [-Wpointer-sign] 188 | cha_jistoeuc(tmp_buf, buffer); | ^~~~~~ | | | char * jfgets.c:54:53: note: expected 'unsigned char *' but argument is of type 'char *' 54 | cha_jistoeuc(unsigned char *ibuffer, unsigned char *obuffer) | ~~~~~~~~~~~~~~~^~~~~~~ jfgets.c: In function 'cha_jfgets': jfgets.c:208:30: warning: pointer targets in passing argument 1 of 'cha_fget_line' differ in signedness [-Wpointer-sign] 208 | (pos = cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^~~~ | | | unsigned char * jfgets.c:164:21: note: expected 'char *' but argument is of type 'unsigned char *' 164 | cha_fget_line(char *buffer, int bufsize, FILE * stream) | ~~~~~~^~~~~~ jfgets.c:208:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 208 | (pos = cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^ jfgets.c:220:38: warning: pointer targets in passing argument 1 of 'cha_fget_line' differ in signedness [-Wpointer-sign] 220 | if ((pos = cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^~~~ | | | unsigned char * jfgets.c:164:21: note: expected 'char *' but argument is of type 'unsigned char *' 164 | cha_fget_line(char *buffer, int bufsize, FILE * stream) | ~~~~~~^~~~~~ jfgets.c:220:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 220 | if ((pos = cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^ jfgets.c:237:39: warning: pointer targets in passing argument 2 of 'isterminator' differ in signedness [-Wpointer-sign] 237 | if (isterminator(pos - 2, jfgets_delimiter)) { | ^~~~~~~~~~~~~~~~ | | | char * jfgets.c:125:52: note: expected 'unsigned char *' but argument is of type 'char *' 125 | isterminator(unsigned char *target, unsigned char *termlist) | ~~~~~~~~~~~~~~~^~~~~~~~ jfgets.c:259:36: warning: pointer targets in passing argument 1 of 'cha_fget_line' differ in signedness [-Wpointer-sign] 259 | cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^~~~ | | | unsigned char * jfgets.c:164:21: note: expected 'char *' but argument is of type 'unsigned char *' 164 | cha_fget_line(char *buffer, int bufsize, FILE * stream) | ~~~~~~^~~~~~ jfgets.c:258:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 258 | if ((pos = | ^ jfgets.c:293:43: warning: pointer targets in passing argument 2 of 'isterminator' differ in signedness [-Wpointer-sign] 293 | if (isterminator(pos - 1, jfgets_delimiter)) { | ^~~~~~~~~~~~~~~~ | | | char * jfgets.c:125:52: note: expected 'unsigned char *' but argument is of type 'char *' 125 | isterminator(unsigned char *target, unsigned char *termlist) | ~~~~~~~~~~~~~~~^~~~~~~~ jfgets.c: In function 'cha_set_jfgets_delimiter': jfgets.c:50:5: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 50 | strncpy(jfgets_delimiter, delimiter, sizeof(jfgets_delimiter)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- katuyou.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT katuyou.lo -MD -MP -MF .deps/katuyou.Tpo -c katuyou.c -fPIC -DPIC -o .libs/katuyou.o --- lisp.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT lisp.lo -MD -MP -MF ".deps/lisp.Tpo" -c -o lisp.lo `test -f 'lisp.c' || echo './'`lisp.c; then mv -f ".deps/lisp.Tpo" ".deps/lisp.Plo"; else rm -f ".deps/lisp.Tpo"; exit 1; fi --- jfgets.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT jfgets.lo -MD -MP -MF .deps/jfgets.Tpo -c jfgets.c -o jfgets.o >/dev/null 2>&1 --- lisp.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT lisp.lo -MD -MP -MF .deps/lisp.Tpo -c lisp.c -fPIC -DPIC -o .libs/lisp.o --- katuyou.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT katuyou.lo -MD -MP -MF .deps/katuyou.Tpo -c katuyou.c -o katuyou.o >/dev/null 2>&1 --- dartsdic.lo --- libtool: compile: g++ -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT dartsdic.lo -MD -MP -MF .deps/dartsdic.Tpo -c dartsdic.cpp -o dartsdic.o >/dev/null 2>&1 --- literal.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT literal.lo -MD -MP -MF ".deps/literal.Tpo" -c -o literal.lo `test -f 'literal.c' || echo './'`literal.c; then mv -f ".deps/literal.Tpo" ".deps/literal.Plo"; else rm -f ".deps/literal.Tpo"; exit 1; fi --- mmap.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DRCPATH="\"/etc/opt/pkg/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT mmap.lo -MD -MP -MF ".deps/mmap.Tpo" -c -o mmap.lo `test -f 'mmap.c' || echo './'`mmap.c; then mv -f ".deps/mmap.Tpo" ".deps/mmap.Plo"; else rm -f ".deps/mmap.Tpo"; exit 1; fi --- literal.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT literal.lo -MD -MP -MF .deps/literal.Tpo -c literal.c -fPIC -DPIC -o .libs/literal.o --- mmap.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT mmap.lo -MD -MP -MF .deps/mmap.Tpo -c mmap.c -fPIC -DPIC -o .libs/mmap.o --- lisp.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT lisp.lo -MD -MP -MF .deps/lisp.Tpo -c lisp.c -o lisp.o >/dev/null 2>&1 --- literal.lo --- literal.c: In function 'jlit_init': literal.c:220:27: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 220 | if (iconv(cd, &in_p, &in_size, &out_p, &out_size) | ^~~~~ | | | char ** In file included from literal.c:36: /home/pbulk/build/textproc/chasen-base/work/.buildlink/include/iconv.h:82:48: note: expected 'const char **' but argument is of type 'char **' 82 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ *** [literal.lo] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/textproc/chasen-base/work/chasen-2.4.5/lib --- mmap.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/textproc/chasen-base/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT mmap.lo -MD -MP -MF .deps/mmap.Tpo -c mmap.c -o mmap.o >/dev/null 2>&1 bmake[2]: 1 error bmake[2]: stopped making "all" in /home/pbulk/build/textproc/chasen-base/work/chasen-2.4.5/lib *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /home/pbulk/build/textproc/chasen-base/work/chasen-2.4.5 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /home/pbulk/build/textproc/chasen-base/work/chasen-2.4.5 *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/textproc/chasen-base/work/chasen-2.4.5 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/textproc/chasen-base/work/chasen-2.4.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/chasen-base *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/chasen-base