>>> Building on exopi-5 under games/gnushogi DIST = [games/gnushogi:gnushogi-1.4.2.tar.gz] FULLPKGNAME = gnushogi-1.4.2p0 distfiles size=383434 >>> Running build in games/gnushogi at 1713348358.11 ===> games/gnushogi ===> Building from scratch gnushogi-1.4.2p0 ===> Verifying specs: c curses m ===> found c.100.0 curses.15.0 m.10.1 ===> Checking files for gnushogi-1.4.2p0 `/exopi-cvs/ports/distfiles/gnushogi-1.4.2.tar.gz' is up to date. >> (SHA256) gnushogi-1.4.2.tar.gz: OK ===> Extracting for gnushogi-1.4.2p0 ===> Patching for gnushogi-1.4.2p0 ===> Applying OpenBSD patch patch-doc_gnushogi_6 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- doc/gnushogi.6.orig Sun Feb 16 19:20:24 2014 |+++ doc/gnushogi.6 Mon Sep 21 16:10:55 2015 -------------------------- Patching file doc/gnushogi.6 using Plan A... Hunk #1 succeeded at 18. Hunk #2 succeeded at 42. Hunk #3 succeeded at 63. Hunk #4 succeeded at 80. Hunk #5 succeeded at 193. Hunk #6 succeeded at 408. done ===> Applying OpenBSD patch patch-gnushogi_Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- gnushogi/Makefile.in.orig Mon Feb 17 21:26:59 2014 |+++ gnushogi/Makefile.in Mon Sep 21 16:11:12 2015 -------------------------- Patching file gnushogi/Makefile.in using Plan A... Hunk #1 succeeded at 51. done ===> Applying OpenBSD patch patch-gnushogi_cursesdsp_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |fix for -fno-common | |Index: gnushogi/cursesdsp.c |--- gnushogi/cursesdsp.c.orig |+++ gnushogi/cursesdsp.c -------------------------- Patching file gnushogi/cursesdsp.c using Plan A... Hunk #1 succeeded at 62. done ===> Applying OpenBSD patch patch-gnushogi_globals_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |fix for -fno-common | |Index: gnushogi/globals.c |--- gnushogi/globals.c.orig |+++ gnushogi/globals.c -------------------------- Patching file gnushogi/globals.c using Plan A... Hunk #1 succeeded at 51. done ===> Applying OpenBSD patch patch-gnushogi_init_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- gnushogi/init.c.orig Mon Feb 17 21:26:59 2014 |+++ gnushogi/init.c Mon Sep 21 16:10:55 2015 -------------------------- Patching file gnushogi/init.c using Plan A... Hunk #1 succeeded at 63. Hunk #2 succeeded at 100. done ===> Applying OpenBSD patch patch-gnushogi_rawdsp_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |fix for -fno-common | |Index: gnushogi/rawdsp.c |--- gnushogi/rawdsp.c.orig |+++ gnushogi/rawdsp.c -------------------------- Patching file gnushogi/rawdsp.c using Plan A... Hunk #1 succeeded at 44. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for gnushogi-1.4.2p0 ===> Configuring for gnushogi-1.4.2p0 Using /exopi-obj/pobj/gnushogi-1.4.2/config.site (generated) configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc configure: loading site script /exopi-obj/pobj/gnushogi-1.4.2/config.site configure: C compiler checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking for a BSD-compatible install... /exopi-obj/pobj/gnushogi-1.4.2/bin/install -c configure: libs checking for clrtoeol in -lcurses... yes checking for pow in -lm... (cached) yes checking for tgoto in -ltermcap... yes configure: header files checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/file.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for errno.h... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes configure: typedefs checking for an ANSI C-conforming const... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h configure: compiler characteristics checking size of long... 8 configure: library functions checking whether cc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... (cached) void checking for gettimeofday... (cached) yes checking for memset... (cached) yes checking for pow... yes checking for strchr... (cached) yes checking for strerror... (cached) yes checking for strrchr... (cached) yes checking for strstr... (cached) yes checking for strtol... (cached) yes checking for memcpy... (cached) yes checking for bcopy... (cached) yes checking for setvbuf... (cached) yes checking for setlinebuf... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating gnushogi/Makefile config.status: creating win32/config.h config.status: creating doc/Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc ===> Building for gnushogi-1.4.2p0 cd ./gnushogi && /usr/bin/make gnushogi cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c globals.c cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c init-common.c cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pattern-common.c cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c attacks.c cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -DBOOK=\"/usr/local/share/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/local/share/gnushogi/gnushogi.bbk\" -c book.c book.c:879:43: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] sprintf(msg, "Book used %d(%d).", B.bookcount, B.booksize); ~~ ^~~~~~~~~~~ %lu book.c:879:56: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] sprintf(msg, "Book used %d(%d).", B.bookcount, B.booksize); ~~ ^~~~~~~~~~ %lu book.c:650:20: warning: variable 'xside' set but not used [-Wunused-but-set-variable] unsigned short xside, side; ^ book.c:655:10: warning: variable 'collisions' set but not used [-Wunused-but-set-variable] LONG collisions = 0; ^ book.c:915:32: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'long long *') [-Wincompatible-pointer-types] gsrand((unsigned int) time((long *) 0)); ^~~~~~~~~~ /usr/include/time.h:123:21: note: passing argument to parameter here time_t time(time_t *); ^ 5 warnings generated. cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c commondsp.c commondsp.c:399:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] skip() ^ void commondsp.c:411:6: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] skipb() ^ void commondsp.c:1462:15: warning: variable 'sec' set but not used [-Wunused-but-set-variable] int m, t, sec; ^ commondsp.c:1497:15: warning: variable 'sec' set but not used [-Wunused-but-set-variable] int m, t, sec; ^ 4 warnings generated. cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c cursesdsp.c cursesdsp.c:404:76: warning: data argument not used by format string [-Wformat-extra-args] printw("post principle variation hint suggest a move\n", (flag.post) ? "OFF" : "ON"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ cursesdsp.c:428:12: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] TimeControl.clock[black] / 100, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursesdsp.c:568:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] UpdateCatched() ^ void cursesdsp.c:781:11: warning: variable 'score' set but not used [-Wunused-but-set-variable] short score; ^ cursesdsp.c:1197:27: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] i, errno, FIONREAD); ^~~~~~~~ /usr/include/sys/filio.h:48:18: note: expanded from macro 'FIONREAD' #define FIONREAD _IOR('f', 127, int) /* get # bytes to read */ ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:63:21: note: expanded from macro '_IOR' #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:61:2: note: expanded from macro '_IOC' (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c dspwrappers.c cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c eval.c eval.c:1137:60: warning: result of comparison of constant 2 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] else if ((Captured[c2][p] && color[u]) == neutral) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ eval.c:1268:14: warning: variable 'ds' set but not used [-Wunused-but-set-variable] short s, ds; ^ 2 warnings generated. cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c genmove.c cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c init.c init.c:645:44: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'long long *') [-Wincompatible-pointer-types] gsrand(starttime = ((unsigned int)time((long *)0))); /* init urand */ ^~~~~~~~~ /usr/include/time.h:123:21: note: passing argument to parameter here time_t time(time_t *); ^ 1 warning generated. cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -DPATTERNFILE=\"../misc/gnushogi.pat\" -c makepattern.c cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pat2inc.c cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -o pat2inc globals.o init-common.o pattern-common.o makepattern.o pat2inc.o -lcurses -lm makepattern.c(makepattern.o:(ReadOpeningSequences)): warning: sprintf() is often misused, please use snprintf() ./pat2inc Pattern: 2102 bytes for 14 sequences with 128 patterns. cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pattern.c cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c rawdsp.c rawdsp.c:312:28: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MaxSearchDepth, MaxResponseTime/100); ^~~~~~~~~~~~~~~~~~~ rawdsp.c:321:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] TimeControl.moves[black], TimeControl.clock[black] / 100, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c:811:11: warning: variable 'score' set but not used [-Wunused-but-set-variable] short score; ^ 3 warnings generated. cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c search.c search.c:61:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] repetition() ^ void search.c:246:16: warning: variable 'blockable' is used uninitialized whenever '?:' condition is false [-Wsometimes-uninitialized] in_check = (board[sqking] == king) ^~~~~~~~~~~~~~~~~~~~~~~ search.c:250:33: note: uninitialized use occurs here MoveList(side, 1, in_check, blockable); ^~~~~~~~~ search.c:246:16: note: remove the '?:' if its condition is always true in_check = (board[sqking] == king) ^~~~~~~~~~~~~~~~~~~~~~~ search.c:148:38: note: initialize the variable 'blockable' to silence this warning short sqking, in_check, blockable; ^ = 0 2 warnings generated. cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c tcontrl.c tcontrl.c:67:9: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] TimeCalc() ^ void 1 warning generated. cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c util.c cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -DBINBOOK=\"/usr/local/share/gnushogi/gnushogi.bbk\" -c main.c main.c:275:79: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("The file contains %d entries out of max %d\n", nr[0], i); ~~ ^ %ld 1 warning generated. cc -O2 -pipe -DHASHFILE=\"/usr/local/share/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -o gnushogi globals.o init-common.o pattern-common.o attacks.o book.o commondsp.o cursesdsp.o dspwrappers.o eval.o genmove.o init.o pattern.o rawdsp.o search.o tcontrl.o util.o main.o -lcurses -lm main.c(main.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() init-common.c(init-common.o:(Initialize_data)): warning: sprintf() is often misused, please use snprintf() cursesdsp.c(cursesdsp.o:(Curses_GiveHint)): warning: strcat() is almost always misused, please use strlcat() cd ./gnushogi && /usr/bin/make pat2inc `pat2inc' is up to date. cd ./gnushogi && /usr/bin/make gnushogi.bbk echo quit > test cat ../misc/gnushogi.tbk > _tmp_t cat test | ./gnushogi -R -b _tmp_t -B ./gnushogi.bbk -S 8000 -P 40 3 0 Black 0:00 White 0:00 L N S G K G S N L - R - - - - - B - P P P P P P P P P - - - - - - - - - - - - - - - - - - - - - - - - - - - p p p p p p p p p - b - - - - - r - l n s g k g s n l black white creating bookfile ./gnushogi.bbk 192000 8000 1000 rec 52 openings processed 2000 rec 113 openings processed 3000 rec 210 openings processed 4000 rec 324 openings processed 5000 rec 452 openings processed Book used 5668(8000). Your move is? rm test _tmp_t >>> Running package in games/gnushogi at 1713348371.35 ===> games/gnushogi ===> Faking installation for gnushogi-1.4.2p0 /exopi-obj/pobj/gnushogi-1.4.2/bin/install -d -m 755 /exopi-obj/pobj/gnushogi-1.4.2/fake-amd64/usr/local/share/gnushogi /exopi-obj/pobj/gnushogi-1.4.2/bin/install -d -m 755 /exopi-obj/pobj/gnushogi-1.4.2/fake-amd64/usr/local/share/doc/gnushogi /exopi-obj/pobj/gnushogi-1.4.2/bin/install -c -s -m 755 /exopi-obj/pobj/gnushogi-1.4.2/gnushogi-1.4.2/gnushogi/gnushogi /exopi-obj/pobj/gnushogi-1.4.2/fake-amd64/usr/local/bin /exopi-obj/pobj/gnushogi-1.4.2/bin/install -c -m 644 /exopi-obj/pobj/gnushogi-1.4.2/gnushogi-1.4.2/gnushogi/gnushogi.bbk /exopi-obj/pobj/gnushogi-1.4.2/fake-amd64/usr/local/share/gnushogi /exopi-obj/pobj/gnushogi-1.4.2/bin/install -c -m 644 /exopi-obj/pobj/gnushogi-1.4.2/gnushogi-1.4.2/doc/gnushogi.6 /exopi-obj/pobj/gnushogi-1.4.2/fake-amd64/usr/local/man/man6/gnushogi.6 /exopi-obj/pobj/gnushogi-1.4.2/bin/install -c -m 644 /exopi-obj/pobj/gnushogi-1.4.2/gnushogi-1.4.2/doc/BOOKFILES /exopi-obj/pobj/gnushogi-1.4.2/fake-amd64/usr/local/share/doc/gnushogi /exopi-obj/pobj/gnushogi-1.4.2/bin/install -c -m 644 /exopi-obj/pobj/gnushogi-1.4.2/gnushogi-1.4.2/doc/PORTING /exopi-obj/pobj/gnushogi-1.4.2/fake-amd64/usr/local/share/doc/gnushogi /exopi-obj/pobj/gnushogi-1.4.2/bin/install -c -m 644 /exopi-obj/pobj/gnushogi-1.4.2/gnushogi-1.4.2/doc/*.gam /exopi-obj/pobj/gnushogi-1.4.2/fake-amd64/usr/local/share/doc/gnushogi /exopi-obj/pobj/gnushogi-1.4.2/bin/install -c -m 644 /exopi-obj/pobj/gnushogi-1.4.2/gnushogi-1.4.2/doc/*.rules /exopi-obj/pobj/gnushogi-1.4.2/fake-amd64/usr/local/share/doc/gnushogi ===> Building package for gnushogi-1.4.2p0 Create /exopi-cvs/ports/packages/amd64/all/gnushogi-1.4.2p0.tgz Creating package gnushogi-1.4.2p0 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|*** | 5% checksumming|****** | 10% checksumming|********* | 15% checksumming|************ | 20% checksumming|*************** | 25% checksumming|****************** | 30% checksumming|********************* | 35% checksumming|************************ | 40% checksumming|*************************** | 45% checksumming|******************************* | 50% checksumming|********************************** | 55% checksumming|************************************* | 60% checksumming|**************************************** | 65% checksumming|******************************************* | 70% checksumming|********************************************** | 75% checksumming|************************************************* | 80% checksumming|**************************************************** | 85% checksumming|******************************************************* | 90% checksumming|********************************************************** | 95% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|**************************** | 43% archiving|***************************** | 46% archiving|****************************** | 47% archiving|******************************* | 49% archiving|******************************** | 50% archiving|********************************* | 52% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/gnushogi-1.4.2p0.tgz >>> Running clean in games/gnushogi at 1713348373.87 ===> games/gnushogi ===> Cleaning for gnushogi-1.4.2p0 >>> Ended at 1713348374.28 max_stuck=0.00/build=13.25/package=2.45/clean=0.56