>>> Building on amd64-2 under games/gnushogi DIST = [games/gnushogi:gnushogi-1.4.2.tar.gz] FULLPKGNAME = gnushogi-1.4.2p0 Woken up devel/p5-MooseX-Types-Structured Woken up devel/p5-MooseX-Types-Structured Woken up devel/p5-MooseX-Types-Structured Woken up devel/p5-MooseX-Types-Structured Woken up devel/p5-MooseX-Types-Structured Woken up devel/p5-MooseX-Types-Structured (Junk lock failure for amd64-2 at 1779821451.12063) Received IO (Junk lock obtained for amd64-2 at 1779821463.96) (Junk lock released for amd64-2 at 1779821464.96) Woken up fonts/ja-funetfonts distfiles size=383434 >>> Running build in games/gnushogi at 1779821464.99 ===> games/gnushogi ===> Building from scratch gnushogi-1.4.2p0 ===> Verifying specs: c curses m ===> found c.103.0 curses.16.0 m.10.1 ===> Checking files for gnushogi-1.4.2p0 `/usr/ports/distfiles/gnushogi-1.4.2.tar.gz' is up to date. >> (SHA256) all files: 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 /usr/obj/ports/gnushogi-1.4.2/config.site (generated) configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc configure: loading site script /usr/obj/ports/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... /usr/obj/ports/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] 879 | 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] 879 | 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] 650 | unsigned short xside, side; | ^ book.c:655:10: warning: variable 'collisions' set but not used [-Wunused-but-set-variable] 655 | LONG collisions = 0; | ^ book.c:915:32: error: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'long long *') [-Wincompatible-pointer-types] 915 | gsrand((unsigned int) time((long *) 0)); | ^~~~~~~~~~ /usr/include/time.h:123:21: note: passing argument to parameter here 123 | time_t time(time_t *); | ^ 4 warnings and 1 error generated. *** Error 2 in target 'gnushogi_compile' (ignored) cd ./gnushogi && /usr/bin/make pat2inc 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 *** Error 1 in gnushogi (Makefile:161 'book.o') 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 ld: warning: makepattern.c(makepattern.o:(ReadOpeningSequences)): warning: sprintf() is often misused, please use snprintf() cd ./gnushogi && /usr/bin/make gnushogi.bbk 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] 879 | 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] 879 | 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] 650 | unsigned short xside, side; | ^ book.c:655:10: warning: variable 'collisions' set but not used [-Wunused-but-set-variable] 655 | LONG collisions = 0; | ^ book.c:915:32: error: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'long long *') [-Wincompatible-pointer-types] 915 | gsrand((unsigned int) time((long *) 0)); | ^~~~~~~~~~ /usr/include/time.h:123:21: note: passing argument to parameter here 123 | time_t time(time_t *); | ^ 4 warnings and 1 error generated. *** Error 1 in gnushogi (Makefile:161 'book.o') *** Error 2 in target 'bbk' (ignored) >>> Running package in games/gnushogi at 1779821470.18 ===> games/gnushogi ===> Faking installation for gnushogi-1.4.2p0 /usr/obj/ports/gnushogi-1.4.2/bin/install -d -m 755 /usr/obj/ports/gnushogi-1.4.2/fake-amd64/usr/local/share/gnushogi /usr/obj/ports/gnushogi-1.4.2/bin/install -d -m 755 /usr/obj/ports/gnushogi-1.4.2/fake-amd64/usr/local/share/doc/gnushogi /usr/obj/ports/gnushogi-1.4.2/bin/install -c -s -m 755 /usr/obj/ports/gnushogi-1.4.2/gnushogi-1.4.2/gnushogi/gnushogi /usr/obj/ports/gnushogi-1.4.2/fake-amd64/usr/local/bin install: /usr/obj/ports/gnushogi-1.4.2/gnushogi-1.4.2/gnushogi/gnushogi: No such file or directory *** Error 1 in games/gnushogi (Makefile:21 'do-install') *** Error 2 in games/gnushogi (/usr/ports/infrastructure/mk/bsd.port.mk:3159 '/usr/obj/ports/gnushogi-1.4.2/fake-amd64/.fake_done': @cd /usr...) *** Error 2 in games/gnushogi (/usr/ports/infrastructure/mk/bsd.port.mk:2236 '/usr/ports/packages/amd64/all/gnushogi-1.4.2p0.tgz': @cd /usr/...) ===> Exiting games/gnushogi with an error *** Error 2 in games/gnushogi (/usr/ports/infrastructure/mk/bsd.port.mk:2743 '_internal-package': @case X${_DEPENDS_CACHE} in X) _DEPENDS_C...) *** Error 2 in games/gnushogi (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'package': @lock=gnushogi-1.4.2p0; export _LOCKS_HELD=" gnusho...) *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'package': @: ${echo_msg:=echo}; : ${target:=package}; for i in ; do ...) >>> Ended at 1779821470.93 max_stuck=11.23/waiting-for-lock #81=13.86/build=5.16/package=0.80 Error: job failed with 512 on amd64-2 at 1779821470