=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for fortune-19970829 --- fortune-bin --- --- cookies-z --- --- fortune-bin --- cd fortune && /usr/pkg/bin/bmake CC='clang' CFLAGS='-O2 -DFORTDIR="\"/usr/pkg/share/games/fortune\"" -DOFFDIR="\"/usr/pkg/share/games/fortune/off\"" -DHAVE_REGEX_H -DPOSIX_REGEX -I../util' LDFLAGS='-Wl,-R/usr/pkg/lib' LIBS='' --- cookies-z --- cd datfiles && /usr/pkg/bin/bmake COOKIEDIR=/usr/pkg/share/games/fortune OCOOKIEDIR=/usr/pkg/share/games/fortune/off WCOOKIEDIR=/usr/pkg/share/games/fortune/html OFFENSIVE=0 WEB=0 --- fortune-bin --- --- fortune.o --- clang -O2 -DFORTDIR="\"/usr/pkg/share/games/fortune\"" -DOFFDIR="\"/usr/pkg/share/games/fortune/off\"" -DHAVE_REGEX_H -DPOSIX_REGEX -I../util -c fortune.c --- cookies-z --- --- cookies-stamp --- --- o-cookies --- --- cookies-stamp --- rm -f *.dat --- o-cookies --- if [ 0 = 1 ] ; then cd off && /usr/pkg/bin/bmake OCOOKIEDIR=/usr/pkg/share/games/fortune/off ; fi --- w-cookies --- --- cookies-stamp --- for i in art ascii-art computers cookie definitions drugs education ethnic food fortunes goedel humorists kids law linuxcookie literature love magic medicine men-women miscellaneous news people pets platitudes politics riddles science songs-poems sports startrek translate-me wisdom work zippy ; do /usr/pkg/bin/strfile $i || exit ; done --- w-cookies --- if [ 0 = 1 ] ; then cd html && /usr/pkg/bin/bmake WCOOKIEDIR=/usr/pkg/share/games/fortune/html; fi --- cookies-stamp --- "art.dat" created There were 460 strings Longest string: 1553 bytes Shortest string: 16 bytes "ascii-art.dat" created There were 10 strings Longest string: 1103 bytes Shortest string: 106 bytes "computers.dat" created There were 1021 strings Longest string: 1779 bytes Shortest string: 10 bytes "cookie.dat" created There were 1140 strings Longest string: 1790 bytes Shortest string: 9 bytes --- fortune-bin --- fortune.c:537:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (All_forts) ^ fortune.c:649:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (Offend) ^ fortune.c:874:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ fortune.c:937:2: warning: implicit declaration of function 'BE32TOH' is invalid in C99 [-Wimplicit-function-declaration] BE32TOH(fp->tbl.str_numstr); ^ fortune.c:1110:5: warning: implicit declaration of function 'BE64TOH' is invalid in C99 [-Wimplicit-function-declaration] BE64TOH(Seekpts[0]); ^ fortune.c:1176:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (fgets(sp, Fort_len, fp->inf) != NULL) ^~ /usr/include/stdio.h:256:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ fortune.c:1178:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sp += strlen(sp); ^~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ --- cookies-z --- "definitions.dat" created There were 1105 strings Longest string: 2146 bytes Shortest string: 10 bytes --- fortune-bin --- fortune.c:1186:4: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] RE_EXEC(Fortbuf) ) ^~~~~~~~~~~~~~~~ fortune.c:215:38: note: expanded from macro 'RE_EXEC' #define RE_EXEC(p) (regexec(&Re_pat, (p), 0, NULL, 0) == 0) ^~~ /usr/include/regex.h:111:64: note: passing argument to parameter here int regexec(const regex_t * __restrict, const char * __restrict, size_t, ^ fortune.c:1227:30: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (Fort_len = 0; fgets(line, sizeof line, fp->inf) != NULL && ^~~~ /usr/include/stdio.h:256:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ fortune.c:1231:13: warning: assigning to 'char *' from 'unsigned char [1024]' converts between pointers to integer types with different sign [-Wpointer-sign] for (p = line; (ch = *p); ++p) ^ ~~~~ fortune.c:1234:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (islower(ch)) ^ fortune.c:1236:8: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fputs(line, stdout); ^~~~ /usr/include/stdio.h:260:35: note: passing argument to parameter here int fputs(const char * __restrict, FILE * __restrict); ^ fortune.c:1257:15: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (fgets(line, sizeof line, Fortfile->inf) != NULL && ^~~~ /usr/include/stdio.h:256:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ fortune.c:1259:22: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] nchar += strlen(line); ^~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ --- cookies-z --- "drugs.dat" created There were 208 strings Longest string: 1341 bytes Shortest string: 23 bytes "education.dat" created There were 203 strings Longest string: 1323 bytes Shortest string: 21 bytes "ethnic.dat" created There were 163 strings Longest string: 1322 bytes Shortest string: 21 bytes "food.dat" created There were 198 strings Longest string: 1054 bytes Shortest string: 22 bytes "fortunes.dat" created There were 433 strings Longest string: 187 bytes Shortest string: 15 bytes "goedel.dat" created There were 54 strings Longest string: 999 bytes Shortest string: 6 bytes "humorists.dat" created There were 196 strings Longest string: 1336 bytes Shortest string: 24 bytes "kids.dat" created There were 150 strings Longest string: 1487 bytes Shortest string: 28 bytes "law.dat" created There were 202 strings Longest string: 1690 bytes Shortest string: 43 bytes "linuxcookie.dat" created There were 105 strings Longest string: 1158 bytes Shortest string: 37 bytes "literature.dat" created There were 256 strings Longest string: 1371 bytes Shortest string: 26 bytes "love.dat" created There were 151 strings Longest string: 843 bytes Shortest string: 26 bytes "magic.dat" created There were 29 strings Longest string: 1216 bytes Shortest string: 47 bytes "medicine.dat" created There were 72 strings Longest string: 1144 bytes Shortest string: 22 bytes "men-women.dat" created There were 582 strings Longest string: 1487 bytes Shortest string: 28 bytes "miscellaneous.dat" created There were 644 strings Longest string: 997 bytes Shortest string: 5 bytes "news.dat" created There were 53 strings Longest string: 983 bytes Shortest string: 49 bytes "people.dat" created There were 1231 strings Longest string: 1208 bytes Shortest string: 23 bytes "pets.dat" created There were 51 strings Longest string: 826 bytes Shortest string: 15 bytes "platitudes.dat" created There were 497 strings Longest string: 694 bytes Shortest string: 3 bytes "politics.dat" created There were 692 strings Longest string: 1720 bytes Shortest string: 10 bytes "riddles.dat" created There were 135 strings Longest string: 2034 bytes Shortest string: 36 bytes "science.dat" created There were 622 strings Longest string: 1532 bytes Shortest string: 14 bytes "songs-poems.dat" created There were 719 strings Longest string: 1653 bytes Shortest string: 29 bytes "sports.dat" created There were 147 strings Longest string: 1525 bytes Shortest string: 5 bytes "startrek.dat" created There were 225 strings Longest string: 1024 bytes Shortest string: 17 bytes "translate-me.dat" created There were 19 strings Longest string: 1186 bytes Shortest string: 15 bytes "wisdom.dat" created There were 402 strings Longest string: 1819 bytes Shortest string: 21 bytes "work.dat" created There were 630 strings Longest string: 1446 bytes Shortest string: 15 bytes "zippy.dat" created There were 548 strings Longest string: 486 bytes Shortest string: 5 bytes touch cookies-stamp --- fortune-bin --- 14 warnings generated. --- fortune --- clang -Wl,-R/usr/pkg/lib -o fortune fortune.o fortune.o: In function `get_tbl': fortune.c:(.text+0x1387): undefined reference to `BE32TOH' fortune.c:(.text+0x1392): undefined reference to `BE32TOH' fortune.c:(.text+0x139d): undefined reference to `BE32TOH' fortune.c:(.text+0x13a8): undefined reference to `BE32TOH' fortune.o: In function `get_fort': fortune.c:(.text+0x18b6): undefined reference to `BE64TOH' fortune.c:(.text+0x18c8): undefined reference to `BE64TOH' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [fortune] Error code 1 bmake[1]: stopped in /var/pkgsrc/work/games/fortune/work/fortune-mod-9708/fortune 1 error bmake[1]: stopped in /var/pkgsrc/work/games/fortune/work/fortune-mod-9708/fortune *** [fortune-bin] Error code 2 bmake: stopped in /var/pkgsrc/work/games/fortune/work/fortune-mod-9708 1 error bmake: stopped in /var/pkgsrc/work/games/fortune/work/fortune-mod-9708 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/games/fortune *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/fortune