=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for eblook-1.6.1nb2 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in dos --- eblook.o --- --- codeconv.o --- --- getopt.o --- --- getopt1.o --- --- codeconv.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -MT codeconv.o -MD -MP -MF ".deps/codeconv.Tpo" -c -o codeconv.o codeconv.c; then mv -f ".deps/codeconv.Tpo" ".deps/codeconv.Po"; else rm -f ".deps/codeconv.Tpo"; exit 1; fi --- eblook.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -MT eblook.o -MD -MP -MF ".deps/eblook.Tpo" -c -o eblook.o eblook.c; then mv -f ".deps/eblook.Tpo" ".deps/eblook.Po"; else rm -f ".deps/eblook.Tpo"; exit 1; fi --- getopt.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi --- getopt1.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi --- codeconv.o --- codeconv.c: In function 'iconv_test': codeconv.c:216:20: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if (iconv(etoc,&test1,&ilen,&test2,&olen) == ((size_t)-1)) ^ In file included from codeconv.c:44:0: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ codeconv.c:225:20: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if (iconv(ctoe,&test2,&ilen,&test3,&olen) == ((size_t)-1)) ^ In file included from codeconv.c:44:0: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ In file included from codeconv.c:27:0: codeconv.c: In function 'locale_init': codeconv.h:36:24: warning: overflow in implicit constant conversion [-Woverflow] #define CODECONV_ERROR ((size_t)-1) --- getopt.o --- getopt.c: In function '_getopt_internal': getopt.c:577:30: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (optind != argc && !strcmp (argv[optind], "--")) ^~~~~~ getopt.c:653:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp (p->name, nextchar, nameend - nextchar)) ^~~~~~~ getopt.c:656:21: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] == (unsigned int) strlen (p->name)) ^~~~~~ getopt.c:656:21: warning: incompatible implicit declaration of built-in function 'strlen' getopt.c:656:21: note: include '' or provide a declaration of 'strlen' getopt.c:680:16: warning: incompatible implicit declaration of built-in function 'strlen' nextchar += strlen (nextchar); ^~~~~~ getopt.c:680:16: note: include '' or provide a declaration of 'strlen' --- bmp2ppm.o --- --- codeconv.o --- ^ codeconv.c:351:13: note: in expansion of macro 'CODECONV_ERROR' return CODECONV_ERROR; ^~~~~~~~~~~~~~ codeconv.c: In function 'current_to_euc': codeconv.c:664:32: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] ret = iconv(cur_to_euc,in_buf,in_len,out_buf,out_len); ^~~~~~ In file included from codeconv.c:44:0: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ codeconv.c: In function 'euc_to_current': codeconv.c:773:32: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] ret = iconv(euc_to_cur,in_buf,in_len,out_buf,out_len); ^~~~~~ In file included from codeconv.c:44:0: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' --- getopt.o --- getopt.c:710:17: warning: incompatible implicit declaration of built-in function 'strlen' nextchar += strlen (nextchar); ^~~~~~ getopt.c:710:17: note: include '' or provide a declaration of 'strlen' getopt.c:726:17: warning: incompatible implicit declaration of built-in function 'strlen' nextchar += strlen (nextchar); ^~~~~~ getopt.c:726:17: note: include '' or provide a declaration of 'strlen' getopt.c:731:16: warning: incompatible implicit declaration of built-in function 'strlen' nextchar += strlen (nextchar); ^~~~~~ getopt.c:731:16: note: include '' or provide a declaration of 'strlen' getopt.c:842:51: warning: incompatible implicit declaration of built-in function 'strlen' if ((unsigned int) (nameend - nextchar) == strlen (p->name)) ^~~~~~ getopt.c:842:51: note: include '' or provide a declaration of 'strlen' --- codeconv.o --- size_t iconv(iconv_t, const char ** __restrict, ^~~~~ --- getopt.o --- getopt.c:865:18: warning: incompatible implicit declaration of built-in function 'strlen' nextchar += strlen (nextchar); ^~~~~~ getopt.c:865:18: note: include '' or provide a declaration of 'strlen' getopt.c:885:19: warning: incompatible implicit declaration of built-in function 'strlen' nextchar += strlen (nextchar); ^~~~~~ getopt.c:885:19: note: include '' or provide a declaration of 'strlen' getopt.c:899:19: warning: incompatible implicit declaration of built-in function 'strlen' nextchar += strlen (nextchar); ^~~~~~ getopt.c:899:19: note: include '' or provide a declaration of 'strlen' getopt.c:903:18: warning: incompatible implicit declaration of built-in function 'strlen' nextchar += strlen (nextchar); ^~~~~~ getopt.c:903:18: note: include '' or provide a declaration of 'strlen' --- bmp2ppm.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -MT bmp2ppm.o -MD -MP -MF ".deps/bmp2ppm.Tpo" -c -o bmp2ppm.o bmp2ppm.c; then mv -f ".deps/bmp2ppm.Tpo" ".deps/bmp2ppm.Po"; else rm -f ".deps/bmp2ppm.Tpo"; exit 1; fi --- eblook.o --- eblook.c: In function 'command_pbm': eblook.c:1187:65: warning: passing argument 4 of 'eb_read_rawtext' from incompatible pointer type [-Wincompatible-pointer-types] ret = eb_read_rawtext(¤t_book, w*h/8, (char *)buffer, &len); ^ In file included from eblook.c:77:0: /tmp/textproc/eblook/work/.buildlink/include/eb/text.h:144:15: note: expected 'ssize_t * {aka long int *}' but argument is of type 'int *' EB_Error_Code eb_read_rawtext(EB_Book *book, size_t text_max_length, ^~~~~~~~~~~~~~~ eblook.c: In function 'command_xbm': eblook.c:1262:65: warning: passing argument 4 of 'eb_read_rawtext' from incompatible pointer type [-Wincompatible-pointer-types] ret = eb_read_rawtext(¤t_book, w*h/8, (char *)buffer, &len); ^ In file included from eblook.c:77:0: /tmp/textproc/eblook/work/.buildlink/include/eb/text.h:144:15: note: expected 'ssize_t * {aka long int *}' but argument is of type 'int *' EB_Error_Code eb_read_rawtext(EB_Book *book, size_t text_max_length, ^~~~~~~~~~~~~~~ eblook.c: In function 'process_child': eblook.c:3109:83: warning: passing argument 7 of 'eb_read_text' from incompatible pointer type [-Wincompatible-pointer-types] error_code = eb_read_text(book, 0, &multi_candidate_hookset, NULL, 2047, buf, &buflen); ^ In file included from eblook.c:77:0: /tmp/textproc/eblook/work/.buildlink/include/eb/text.h:138:15: note: expected 'ssize_t * {aka long int *}' but argument is of type 'int *' EB_Error_Code eb_read_text(EB_Book *book, EB_Appendix *appendix, ^~~~~~~~~~~~ eblook.c: In function 'show_candidate': eblook.c:3186:21: warning: passing argument 7 of 'eb_read_text' from incompatible pointer type [-Wincompatible-pointer-types] 2047, buf, &buflen); ^ In file included from eblook.c:77:0: /tmp/textproc/eblook/work/.buildlink/include/eb/text.h:138:15: note: expected 'ssize_t * {aka long int *}' but argument is of type 'int *' EB_Error_Code eb_read_text(EB_Book *book, EB_Appendix *appendix, ^~~~~~~~~~~~ --- bmp_in.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -MT bmp_in.o -MD -MP -MF ".deps/bmp_in.Tpo" -c -o bmp_in.o bmp_in.c; then mv -f ".deps/bmp_in.Tpo" ".deps/bmp_in.Po"; else rm -f ".deps/bmp_in.Tpo"; exit 1; fi --- eblook --- /bin/sh ./libtool --mode=link gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -o eblook eblook.o codeconv.o getopt.o getopt1.o bmp2ppm.o bmp_in.o -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -leb -lz -lintl -liconv mkdir .libs gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -o eblook eblook.o codeconv.o getopt.o getopt1.o bmp2ppm.o bmp_in.o -Wl,-R/usr/pkg/lib -L/usr/pkg/lib /usr/pkg/lib/libeb.so -lresolv -lz -lintl -liconv -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib