=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/chasen-base", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> 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 --- --- getid.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 --- 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 --- 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 --- 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 --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/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 --- getid.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/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 --- block.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/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 --- chalib.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/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 --- dartsdic.lo --- libtool: compile: g++ -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/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 --- connect.lo --- connect.c: In function 'cha_check_table': connect.c:206:15: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 206 | (int (*)()) cmp_pair); | ^~~~~~~~~~~~~~~~~~~~ | | | int (*)(void) In file included from /usr/include/stdlib.h:41, from chadic.h:14, from connect.c:33: /usr/include/iso/stdlib_iso.h:147:43: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(void)' 147 | extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connect.c:210:41: error: passing argument 5 of 'bsearch' from incompatible pointer type [-Wincompatible-pointer-types] 210 | sizeof(rensetu_pair_t), (int (*)()) find_table); | ^~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void) /usr/include/iso/stdlib_iso.h:127:9: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(void)' 127 | int (*)(const void *, const void *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connect.c:218:41: error: passing argument 5 of 'bsearch' from incompatible pointer type [-Wincompatible-pointer-types] 218 | sizeof(rensetu_pair_t), (int (*)()) find_table); | ^~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void) /usr/include/iso/stdlib_iso.h:127:9: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(void)' 127 | int (*)(const void *, const void *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- 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:83, 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*); | ^~~~~~~~~~~~~~ --- connect.lo --- *** [connect.lo] Error code 1 bmake[2]: stopped making "all" in /tmp/work/textproc/chasen-base/work/chasen-2.4.5/lib --- block.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/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 --- getid.lo --- libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/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 --- 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]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/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 --- dartsdic.lo --- dartsdic.cpp: In function 'int da_build_dump(da_build_t*, char*, std::FILE*)': dartsdic.cpp:192:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 192 | cha_exit_perror("build darts file"); | ^~~~~~~~~~~~~~~~~~ libtool: compile: g++ -DRCPATH=\"/etc/opt/pkg/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/tmp/work/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 bmake[2]: 1 error bmake[2]: stopped making "all" in /tmp/work/textproc/chasen-base/work/chasen-2.4.5/lib *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /tmp/work/textproc/chasen-base/work/chasen-2.4.5 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /tmp/work/textproc/chasen-base/work/chasen-2.4.5 *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/textproc/chasen-base/work/chasen-2.4.5 bmake: 1 error bmake: stopped making "all" in /tmp/work/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