=> 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 foremost-1.4nb1 --- main.o --- --- state.o --- --- helpers.o --- --- config.o --- --- main.o --- gcc -Wall -O2 -DVERSION=\"1.4\" -DCONFDIR=\"/usr/pkg/etc\" -D__UNIX -c main.c --- state.o --- gcc -Wall -O2 -DVERSION=\"1.4\" -DCONFDIR=\"/usr/pkg/etc\" -D__UNIX -c state.c --- helpers.o --- gcc -Wall -O2 -DVERSION=\"1.4\" -DCONFDIR=\"/usr/pkg/etc\" -D__UNIX -c helpers.c --- config.o --- gcc -Wall -O2 -DVERSION=\"1.4\" -DCONFDIR=\"/usr/pkg/etc\" -D__UNIX -c config.c config.c: In function 'translate': config.c:27:6: warning: value computed is not used [-Wunused-value] *rd++; ^~~~~ config.c:32:6: warning: value computed is not used [-Wunused-value] *rd++; ^~~~~ config.c:37:6: warning: value computed is not used [-Wunused-value] *rd++; ^~~~~ config.c:42:6: warning: value computed is not used [-Wunused-value] *rd++; ^~~~~ config.c:47:6: warning: value computed is not used [-Wunused-value] *rd++; ^~~~~ config.c:52:6: warning: value computed is not used [-Wunused-value] *rd++; ^~~~~ config.c:57:6: warning: value computed is not used [-Wunused-value] *rd++; ^~~~~ --- helpers.o --- In file included from /usr/include/stdio.h:597:0, from main.h:33, from helpers.c:15: helpers.c: In function 'human_readable': helpers.c:75:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] snprintf(buffer, 8, "%llu %s", (u_int64_t) size, units(count)); ^ ~~~~~~~~~~~~~ helpers.c: In function 'print_search_specs': helpers.c:329:63: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] printf("%s:\n\t footer_len:=%d, header_len:=%d, max_len:=%llu ", ~~~^ %lu helpers.c:333:7: search_spec[i].max_len); ~~~~~~~~~~~~~~~~~~~~~~ --- cli.o --- gcc -Wall -O2 -DVERSION=\"1.4\" -DCONFDIR=\"/usr/pkg/etc\" -D__UNIX -c cli.c --- engine.o --- gcc -Wall -O2 -DVERSION=\"1.4\" -DCONFDIR=\"/usr/pkg/etc\" -D__UNIX -c engine.c --- dir.o --- gcc -Wall -O2 -DVERSION=\"1.4\" -DCONFDIR=\"/usr/pkg/etc\" -D__UNIX -c dir.c --- extract.o --- gcc -Wall -O2 -DVERSION=\"1.4\" -DCONFDIR=\"/usr/pkg/etc\" -D__UNIX -c extract.c --- dir.o --- In file included from /usr/include/stdio.h:597:0, from main.h:33, from dir.c:3: dir.c: In function 'write_to_disk': dir.c:345:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] "%s/%s/%0*llu.%s", ^ dir.c:358:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] "%s/%s/%0*llu_%d.%s", ^ --- api.o --- gcc -Wall -O2 -DVERSION=\"1.4\" -DCONFDIR=\"/usr/pkg/etc\" -D__UNIX -c api.c --- extract.o --- extract.c: In function 'extract_zip': extract.c:110:23: warning: comparison with string literal results in unspecified behavior [-Waddress] if (needle->suffix == "zip") ^~ extract.c:112:76: warning: comparison with string literal results in unspecified behavior [-Waddress] if (strncmp((char *)foundat, "content.xml", 11) == 0 && needle->suffix == "zip") ^~ extract.c:228:12: warning: comparison with string literal results in unspecified behavior [-Waddress] if (type == "all" || type == needle->suffix) ^~ extract.c: In function 'extract_htm': extract.c:524:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable] unsigned char *currentpos = NULL; ^~~~~~~~~~ extract.c: In function 'extract_ole': extract.c:960:44: warning: comparison with string literal results in unspecified behavior [-Waddress] if (!strstr(needle->suffix, type) && type != "all") ^~ extract.c: In function 'extract_wmv': extract.c:1119:9: warning: variable 'fileObjHeaderSize' set but not used [-Wunused-but-set-variable] int fileObjHeaderSize = 0; ^~~~~~~~~~~~~~~~~ extract.c:1112:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable] unsigned char *currentpos = NULL; ^~~~~~~~~~ extract.c: In function 'extract_riff': extract.c:1225:47: warning: comparison with string literal results in unspecified behavior [-Waddress] if (!strstr(needle->suffix, type) && type != "all") ^~ extract.c:1251:46: warning: comparison with string literal results in unspecified behavior [-Waddress] if (!strstr(needle->suffix, type) && type != "all") ^~ extract.c: In function 'extract_gif': extract.c:1358:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable] unsigned char *currentpos = foundat; ^~~~~~~~~~ extract.c: In function 'extract_jpeg': extract.c:1704:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable] unsigned char *currentpos = NULL; ^~~~~~~~~~ extract.c: In function 'extract_exe': extract.c:1991:15: warning: variable 'align' set but not used [-Wunused-but-set-variable] unsigned int align = 0; ^~~~~ extract.c:1987:15: warning: variable 'size_of_headers' set but not used [-Wunused-but-set-variable] unsigned int size_of_headers = 0; ^~~~~~~~~~~~~~~ extract.c:1985:15: warning: variable 'sizeofimage' set but not used [-Wunused-but-set-variable] unsigned int sizeofimage = 0; ^~~~~~~~~~~ extract.c:1982:15: warning: variable 'rva' set but not used [-Wunused-but-set-variable] unsigned int rva = 0; ^~~ extract.c:1981:15: warning: variable 'SizeOfUninitializedData' set but not used [-Wunused-but-set-variable] unsigned int SizeOfUninitializedData = 0; ^~~~~~~~~~~~~~~~~~~~~~~ extract.c:1980:15: warning: variable 'SizeOfInitializedData' set but not used [-Wunused-but-set-variable] unsigned int SizeOfInitializedData = 0; ^~~~~~~~~~~~~~~~~~~~~ extract.c:1979:15: warning: variable 'SizeOfCode' set but not used [-Wunused-but-set-variable] unsigned int SizeOfCode = 0; ^~~~~~~~~~ extract.c: In function 'extract_rar': extract.c:2154:13: warning: variable 'file_size' set but not used [-Wunused-but-set-variable] u_int64_t file_size = 0; ^~~~~~~~~ --- api.o --- api.c: In function 'dump_dirent': api.c:481:10: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] short unknown; ^~~~~~~ --- foremost --- gcc -Wall -O2 -DVERSION=\"1.4\" -DCONFDIR=\"/usr/pkg/etc\" -D__UNIX main.o state.o helpers.o config.o cli.o engine.o dir.o extract.o api.o -o foremost