=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 --- --- block.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -std=gnu23 -DRCPATH="\"/opt/pkg/etc/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -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 /opt/pkg/bin/mksh ../libtool --mode=compile clang -std=gnu23 -DRCPATH="\"/opt/pkg/etc/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -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 /opt/pkg/bin/mksh ../libtool --mode=compile clang -std=gnu23 -DRCPATH="\"/opt/pkg/etc/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -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: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT chalib.lo -MD -MP -MF .deps/chalib.Tpo -c chalib.c -fno-common -DPIC -o .libs/chalib.o --- connect.lo --- libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT connect.lo -MD -MP -MF .deps/connect.Tpo -c connect.c -fno-common -DPIC -o .libs/connect.o --- block.lo --- libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT block.lo -MD -MP -MF .deps/block.Tpo -c block.c -fno-common -DPIC -o .libs/block.o --- connect.lo --- connect.c:206:8: warning: incompatible function pointer types passing 'int (*)(void)' to parameter of type 'int (* _Nonnull)(const void *, const void *)' [-Wincompatible-function-pointer-types] 206 | (int (*)()) cmp_pair); | ^~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:176:22: note: passing argument to parameter '__compar' here 176 | int (* _Nonnull __compar)(const void *, const void *)); | ^ connect.c:210:27: warning: incompatible function pointer types passing 'int (*)(void)' to parameter of type 'int (* _Nonnull)(const void *, const void *)' [-Wincompatible-function-pointer-types] 210 | sizeof(rensetu_pair_t), (int (*)()) find_table); | ^~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:157:38: note: passing argument to parameter '__compar' here 157 | size_t __width, int (* _Nonnull __compar)(const void *, const void *)); | ^ connect.c:218:27: warning: incompatible function pointer types passing 'int (*)(void)' to parameter of type 'int (* _Nonnull)(const void *, const void *)' [-Wincompatible-function-pointer-types] 218 | sizeof(rensetu_pair_t), (int (*)()) find_table); | ^~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:157:38: note: passing argument to parameter '__compar' here 157 | size_t __width, int (* _Nonnull __compar)(const void *, const void *)); | ^ --- chalib.lo --- chalib.c:326:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | seg.text = input + cursor; | ^ ~~~~~~~~~~~~~~ chalib.c:381:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 381 | cha_jistoeuc(str_in, euc_str); | ^~~~~~ ./chalib.h:171:32: note: passing argument to parameter here 171 | int cha_jistoeuc(unsigned char*, unsigned char*); | ^ chalib.c:381:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 381 | cha_jistoeuc(str_in, euc_str); | ^~~~~~~ ./chalib.h:171:48: note: passing argument to parameter here 171 | int cha_jistoeuc(unsigned char*, unsigned char*); | ^ chalib.c:424:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 424 | if (strcmp(line, STR_UNSPECIFIED) == 0) { | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ chalib.c:427:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 427 | } else if (strcmp(line, STR_ANNOTATION) == 0) { | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ chalib.c:434:8: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 434 | char *l = line; | ^ ~~~~ chalib.c:451:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 451 | pos[i++] = l = line; | ^ ~~~~ chalib.c:472:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 472 | int len = strlen(s); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ chalib.c:499:18: warning: passing 'unsigned char[8192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 499 | while (fgets(buf, CHA_INPUT_SIZE, input) != NULL) { | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:239:61: note: passing argument to parameter here 239 | char *_LIBC_CSTR fgets(char * __restrict _LIBC_COUNT(__size), int __size, FILE *); | ^ chalib.c:506:30: warning: passing 'unsigned char[8192]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 506 | if (!buf[0] || cha_litmatch(buf, 2, STR_EOS, STR_BOS_EOS)) { | ^~~ ./literal.h:28:30: note: passing argument to parameter here 28 | int cha_litmatch(const char *, int, ...); | ^ chalib.c:561:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 561 | cha_jistoeuc(str_in, euc_str); | ^~~~~~ ./chalib.h:171:32: note: passing argument to parameter here 171 | int cha_jistoeuc(unsigned char*, unsigned char*); | ^ chalib.c:561:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 561 | cha_jistoeuc(str_in, euc_str); | ^~~~~~~ ./chalib.h:171:48: note: passing argument to parameter here 171 | int cha_jistoeuc(unsigned char*, unsigned char*); | ^ --- block.lo --- libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT block.lo -MD -MP -MF .deps/block.Tpo -c block.c -o block.o >/dev/null 2>&1 --- connect.lo --- 3 warnings generated. libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT connect.lo -MD -MP -MF .deps/connect.Tpo -c connect.c -o connect.o >/dev/null 2>&1 --- chalib.lo --- 12 warnings generated. libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT chalib.lo -MD -MP -MF .deps/chalib.Tpo -c chalib.c -o chalib.o >/dev/null 2>&1 --- dartsdic.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DRCPATH="\"/opt/pkg/etc/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -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 --- getid.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -std=gnu23 -DRCPATH="\"/opt/pkg/etc/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -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 --- getopt.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -std=gnu23 -DRCPATH="\"/opt/pkg/etc/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -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 --- dartsdic.lo --- libtool: compile: clang++ -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -MT dartsdic.lo -MD -MP -MF .deps/dartsdic.Tpo -c dartsdic.cpp -fno-common -DPIC -o .libs/dartsdic.o --- getid.lo --- libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT getid.lo -MD -MP -MF .deps/getid.Tpo -c getid.c -fno-common -DPIC -o .libs/getid.o --- getopt.lo --- libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c getopt.c -fno-common -DPIC -o .libs/getopt.o libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c getopt.c -o getopt.o >/dev/null 2>&1 --- getid.lo --- libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT getid.lo -MD -MP -MF .deps/getid.Tpo -c getid.c -o getid.o >/dev/null 2>&1 --- grammar.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -std=gnu23 -DRCPATH="\"/opt/pkg/etc/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -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 --- init.lo --- --- grammar.lo --- libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT grammar.lo -MD -MP -MF .deps/grammar.Tpo -c grammar.c -fno-common -DPIC -o .libs/grammar.o --- init.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -std=gnu23 -DRCPATH="\"/opt/pkg/etc/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -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 libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT init.lo -MD -MP -MF .deps/init.Tpo -c init.c -fno-common -DPIC -o .libs/init.o --- grammar.lo --- libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT grammar.lo -MD -MP -MF .deps/grammar.Tpo -c grammar.c -o grammar.o >/dev/null 2>&1 --- init.lo --- libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT init.lo -MD -MP -MF .deps/init.Tpo -c init.c -o init.o >/dev/null 2>&1 --- iotool.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -std=gnu23 -DRCPATH="\"/opt/pkg/etc/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -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 libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT iotool.lo -MD -MP -MF .deps/iotool.Tpo -c iotool.c -fno-common -DPIC -o .libs/iotool.o --- jfgets.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -std=gnu23 -DRCPATH="\"/opt/pkg/etc/chasen/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -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 --- dartsdic.lo --- dartsdic.cpp:192:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 192 | cha_exit_perror("build darts file"); | ^ --- jfgets.lo --- libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT jfgets.lo -MD -MP -MF .deps/jfgets.Tpo -c jfgets.c -fno-common -DPIC -o .libs/jfgets.o --- iotool.lo --- iotool.c:298:9: warning: address of array 'progpath' will always evaluate to 'true' [-Wpointer-bool-conversion] 298 | if (progpath) | ~~ ^~~~~~~~ iotool.c:324:9: warning: address of array 'progpath' will always evaluate to 'true' [-Wpointer-bool-conversion] 324 | if (progpath) | ~~ ^~~~~~~~ iotool.c:365:31: error: conflicting types for 'getenv' 365 | char *home_dir, *rc_env, *getenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: previous declaration is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ 2 warnings and 1 error generated. *** [iotool.lo] Error code 1 bmake[2]: stopped making "all" in /var/tmp/work/textproc/chasen-base/work/chasen-2.4.5/lib --- jfgets.lo --- jfgets.c:45:38: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 45 | static char jfgets_delimiter[256] = ""; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jfgets.c:169:15: warning: passing 'unsigned char[8192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | if (fgets(tmp_buf, bufsize, stream) == NULL) | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:239:61: note: passing argument to parameter here 239 | char *_LIBC_CSTR fgets(char * __restrict _LIBC_COUNT(__size), int __size, FILE *); | ^ jfgets.c:175:19: warning: passing 'unsigned char[8192]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 175 | last = strlen(tmp_buf) - 1; | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ jfgets.c:188:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | cha_jistoeuc(tmp_buf, buffer); | ^~~~~~ jfgets.c:54:53: note: passing argument to parameter 'obuffer' here 54 | cha_jistoeuc(unsigned char *ibuffer, unsigned char *obuffer) | ^ jfgets.c:208:23: warning: passing 'unsigned char[8192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | (pos = cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^~~~ jfgets.c:164:21: note: passing argument to parameter 'buffer' here 164 | cha_fget_line(char *buffer, int bufsize, FILE * stream) | ^ jfgets.c:208:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | (pos = cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jfgets.c:220:31: warning: passing 'unsigned char[8192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 220 | if ((pos = cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^~~~ jfgets.c:164:21: note: passing argument to parameter 'buffer' here 164 | cha_fget_line(char *buffer, int bufsize, FILE * stream) | ^ jfgets.c:220:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 220 | if ((pos = cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jfgets.c:237:32: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 237 | if (isterminator(pos - 2, jfgets_delimiter)) { | ^~~~~~~~~~~~~~~~ jfgets.c:125:52: note: passing argument to parameter 'termlist' here 125 | isterminator(unsigned char *target, unsigned char *termlist) | ^ jfgets.c:259:22: warning: passing 'unsigned char[8192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 259 | cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^~~~ jfgets.c:164:21: note: passing argument to parameter 'buffer' here 164 | cha_fget_line(char *buffer, int bufsize, FILE * stream) | ^ jfgets.c:258:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 258 | if ((pos = | ^ 259 | cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jfgets.c:293:29: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 293 | if (isterminator(pos - 1, jfgets_delimiter)) { | ^~~~~~~~~~~~~~~~ jfgets.c:125:52: note: passing argument to parameter 'termlist' here 125 | isterminator(unsigned char *target, unsigned char *termlist) | ^ --- dartsdic.lo --- 1 warning generated. --- jfgets.lo --- 12 warnings generated. libtool: compile: clang -std=gnu23 -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -Wall -MT jfgets.lo -MD -MP -MF .deps/jfgets.Tpo -c jfgets.c -o jfgets.o >/dev/null 2>&1 --- dartsdic.lo --- libtool: compile: clang++ -DRCPATH=\"/opt/pkg/etc/chasen/chasenrc\" -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/textproc/chasen-base/work/.buildlink/include -pipe -Os -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 /var/tmp/work/textproc/chasen-base/work/chasen-2.4.5/lib *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /var/tmp/work/textproc/chasen-base/work/chasen-2.4.5 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /var/tmp/work/textproc/chasen-base/work/chasen-2.4.5 *** [all] Error code 2 bmake: stopped making "all" in /var/tmp/work/textproc/chasen-base/work/chasen-2.4.5 bmake: 1 error bmake: stopped making "all" in /var/tmp/work/textproc/chasen-base/work/chasen-2.4.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/chasen-base *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/chasen-base