=> Building games/gnushogi Started : Wednesday, 18 APR 2018 at 18:49:02 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for gnushogi-1.4.2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/games/gnushogi XDG_CONFIG_HOME=/construction/games/gnushogi HOME=/construction/games/gnushogi TMPDIR="/tmp" PATH=/construction/games/gnushogi/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/games/gnushogi XDG_CONFIG_HOME=/construction/games/gnushogi HOME=/construction/games/gnushogi TMPDIR="/tmp" PATH=/construction/games/gnushogi/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/games/gnushogi/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/gnushogi" EXAMPLESDIR="share/examples/gnushogi" DATADIR="share/gnushogi" WWWDIR="www/gnushogi" ETCDIR="etc/gnushogi" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/gnushogi DOCSDIR=/usr/local/share/doc/gnushogi EXAMPLESDIR=/usr/local/share/examples/gnushogi WWWDIR=/usr/local/www/gnushogi ETCDIR=/usr/local/etc/gnushogi -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> gnushogi-1.4.2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> gnushogi-1.4.2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of gnushogi-1.4.2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by gnushogi-1.4.2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by gnushogi-1.4.2 for building => SHA256 Checksum OK for gnushogi-1.4.2.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by gnushogi-1.4.2 for building ===> Extracting for gnushogi-1.4.2 => SHA256 Checksum OK for gnushogi-1.4.2.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for gnushogi-1.4.2 ===> Applying ports patches for gnushogi-1.4.2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> gnushogi-1.4.2 depends on executable: makeinfo - not found ===> Installing existing package /packages/All/texinfo-6.5,1.txz Installing texinfo-6.5,1... `-- Installing gettext-runtime-0.19.8.1_1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_1: .......... done `-- Installing ncurses-6.0.0s20171223_1... `-- Extracting ncurses-6.0.0s20171223_1: .......... done `-- Installing perl5-5.26.1... `-- Extracting perl5-5.26.1: .......... done Extracting texinfo-6.5,1: .......... done Message from perl5-5.26.1: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> gnushogi-1.4.2 depends on executable: makeinfo - found ===> Returning to build of gnushogi-1.4.2 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for gnushogi-1.4.2 configure: loading site script /xports/Templates/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... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c configure: libs checking for clrtoeol in -lcurses... no checking for pow in -lm... yes checking for tgoto in -ltermcap... no configure: header files checking how to run the C preprocessor... cpp 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... yes configure: typedefs checking for an ANSI C-conforming const... yes checking for stdbool.h that conforms to C99... (cached) yes checking for _Bool... (cached) 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... 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... (cached) yes checking return type of signal handlers... 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 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for gnushogi-1.4.2 cd /construction/games/gnushogi/gnushogi-1.4.2/doc && makeinfo --no-split gnushogi gnushogi.texi:6: warning: @dircategory missing argument cd ./gnushogi && /usr/bin/make gnushogi cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c globals.c cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c init-common.c cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pattern-common.c cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c attacks.c cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -DBOOK=\"/usr/local/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/local/lib/gnushogi/gnushogi.bbk\" -c book.c book.c: In function 'GetOpenings': book.c:879:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ULONG {aka long unsigned int}' [-Wformat=] sprintf(msg, "Book used %d(%d).", B.bookcount, B.booksize); ^ book.c:879:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ULONG {aka long unsigned int}' [-Wformat=] book.c:650:20: warning: variable 'xside' set but not used [-Wunused-but-set-variable] unsigned short xside, side; ^ cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c commondsp.c commondsp.c: In function 'TestSpeed': commondsp.c:1381:5: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] gettimeofday(&tv, NULL); ^ commondsp.c: In function 'SetOppTime': commondsp.c:1461:15: warning: variable 'sec' set but not used [-Wunused-but-set-variable] int m, t, sec; ^ commondsp.c: In function 'SetMachineTime': commondsp.c:1496:15: warning: variable 'sec' set but not used [-Wunused-but-set-variable] int m, t, sec; ^ cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c dspwrappers.c dspwrappers.c: In function 'RequestInputString': dspwrappers.c:131:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FUNCTION__, bufsize); ^ dspwrappers.c: In function 'GetString': dspwrappers.c:164:1: warning: control reaches end of non-void function [-Wreturn-type] DISPLAY_INTFUNC(GetString, (char* sx), (sx)) ^ cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c eval.c eval.c: In function 'KingScan': eval.c:1137:60: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] else if ((Captured[c2][p] && color[u]) == neutral) ^ eval.c: In function 'AttackedPieceValue': eval.c:1268:14: warning: variable 'ds' set but not used [-Wunused-but-set-variable] short s, ds; ^ cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c genmove.c cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c init.c cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/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 -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pat2inc.c cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/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 -lm ./pat2inc Pattern: 2102 bytes for 14 sequences with 128 patterns. cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pattern.c cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c rawdsp.c rawdsp.c: In function 'Raw_help': rawdsp.c:315:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] printf("Depth: %-12d Response time: %d sec\n", ^ rawdsp.c:323:12: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] printf("Time Control %s %d moves %d sec %d add %d depth\n", ^ rawdsp.c: In function 'Raw_ShowPostnValue': rawdsp.c:815:11: warning: variable 'score' set but not used [-Wunused-but-set-variable] short score; ^ cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c search.c cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c tcontrl.c cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c util.c cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/gnushogi/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -DBINBOOK=\"/usr/local/lib/gnushogi/gnushogi.bbk\" -c main.c main.c: In function 'main': main.c:275:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] printf("The file contains %d entries out of max %d\n", nr[0], i); ^ cc -pipe -O2 -fno-strict-aliasing -DHASHFILE=\"/usr/local/lib/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 dspwrappers.o eval.o genmove.o init.o pattern.o rawdsp.o search.o tcontrl.o util.o main.o -lm 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 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> gnushogi-1.4.2 depends on executable: indexinfo - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for gnushogi-1.4.2 ===> Generating temporary packing list ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for gnushogi-1.4.2 file sizes/checksums [9]: . done packing files [9]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Wednesday, 18 APR 2018 at 18:49:29 UTC Duration: 00:00:26