>>> Building on amd64-2 under games/xasteroids BDEPENDS = [devel/imake-cf;devel/imake] DIST = [games/xasteroids:xasteroids.sh.Z] FULLPKGNAME = xasteroids-5.0p4 Avoided depends for imake-1.0.10 imake-cf-1.0.8 distfiles size=18700 >>> Running build in games/xasteroids at 1779821515.19 ===> games/xasteroids ===> Building from scratch xasteroids-5.0p4 ===> xasteroids-5.0p4 depends on: imake-* -> imake-1.0.10 ===> xasteroids-5.0p4 depends on: imake-cf-* -> imake-cf-1.0.8 ===> Verifying specs: X11 Xau Xdmcp Xext c m xcb ===> found X11.19.0 Xau.10.0 Xdmcp.11.0 Xext.13.0 c.103.0 m.10.1 xcb.4.1 ===> Checking files for xasteroids-5.0p4 `/usr/ports/distfiles/xasteroids.sh.Z' is up to date. >> (SHA256) all files: OK ===> Extracting for xasteroids-5.0p4 ===> Patching for xasteroids-5.0p4 ===> Applying OpenBSD patch patch-xast_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xast.c.orig Wed Apr 19 17:39:04 2017 |+++ xast.c Wed Apr 19 17:40:03 2017 -------------------------- Patching file xast.c using Plan A... Hunk #1 succeeded at 282. done ===> Applying OpenBSD patch patch-xasteroids_man Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xasteroids.man.orig Tue Feb 17 21:50:09 2015 |+++ xasteroids.man Tue Feb 17 21:50:02 2015 -------------------------- Patching file xasteroids.man using Plan A... Hunk #1 succeeded at 61. 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 xasteroids-5.0p4 ===> Configuring for xasteroids-5.0p4 mv -f Makefile Makefile.bak imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- xast.c > .depend ===> Building for xasteroids-5.0p4 cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xast.c xast.c:124:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 124 | initasts() | ^ | int xast.c:144:3: warning: non-void function does not return a value [-Wreturn-type] 144 | } } | ^ xast.c:146:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | makeasts() | ^ | int xast.c:158:8: warning: call to undeclared function 'rand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | { a = rand(rndint); a>>=1; /* a = rand# from 0 to 127 */ | ^ xast.c:166:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 166 | a = rand(rndint); a = 4 - a>>5; | ~~^~~~~ xast.c:166:27: note: place parentheses around the '-' expression to silence this warning 166 | a = rand(rndint); a = 4 - a>>5; | ^ | ( ) xast.c:178:1: warning: non-void function does not return a value [-Wreturn-type] 178 | } | ^ xast.c:180:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 180 | makeenemy() /* Start an enemy ship */ | ^ | int xast.c:188:6: warning: call to undeclared function 'rand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | c = rand(rndint); obj[ENEMY].y += (double) c; /* May put enemy outside window */ | ^ xast.c:193:1: warning: non-void function does not return a value [-Wreturn-type] 193 | } | ^ xast.c:202:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | int collide(i, j) /* Returns non-zero if i collided with j */ | ^ xast.c:261:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 261 | blastpair(i, j) /* Generate random velocity vector v. */ | ^ | int xast.c:267:6: warning: call to undeclared function 'rand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | c = rand(rndint); | ^ xast.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | blastpair(i, j) /* Generate random velocity vector v. */ | ^ xast.c:269:3: warning: expression result unused [-Wunused-value] 269 | c>>2; /* possibly save some time on sin/cos */ | ~^ ~ xast.c:277:1: warning: non-void function does not return a value [-Wreturn-type] 277 | } | ^ xast.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | bounce(i, j) | ^ xast.c:349:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 349 | botline(disp, window, gc) /* Print status line text */ | ^ | int xast.c:358:10: warning: call to undeclared library function 'strlen' with type '__size_t (const char *)' (aka 'unsigned long (const char *)'); ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 358 | text, strlen(text)); | ^ xast.c:358:10: note: include the header or explicitly provide a declaration for 'strlen' xast.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | botline(disp, window, gc) /* Print status line text */ | ^ xast.c:359:1: warning: non-void function does not return a value [-Wreturn-type] 359 | } | ^ xast.c:361:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 361 | printss(disp, window, gc) /* Print ships and score */ | ^ | int xast.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xast.c:391:1: warning: non-void function does not return a value [-Wreturn-type] 391 | } | ^ xast.c:393:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 393 | upscore(killer, up) /* Only award score for things the player shot */ | ^ | int xast.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xast.c:398:1: warning: non-void function does not return a value [-Wreturn-type] 398 | } | ^ xast.c:401:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 401 | boom(ob, particles, duration) | ^ | int xast.c:412:14: warning: call to undeclared function 'malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | b = (Boom) malloc(sizeof(struct _Boom)); | ^ xast.c:412:7: warning: cast to 'Boom' (aka 'struct _Boom *') from smaller integer type 'int' [-Wint-to-pointer-cast] 412 | b = (Boom) malloc(sizeof(struct _Boom)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xast.c:418:11: warning: call to undeclared function 'rand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 418 | r1 = (rand(rndint) >> 2) % 100; | ^ xast.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | boom(ob, particles, duration) | ^ xast.c:430:1: warning: non-void function does not return a value [-Wreturn-type] 430 | } | ^ xast.c:433:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 433 | movebooms() | ^ | int xast.c:452:7: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 452 | free(temp); | ^ xast.c:462:1: warning: non-void function does not return a value [-Wreturn-type] 462 | } | ^ xast.c:465:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 465 | drawbooms(disp, window, gc) | ^ | int xast.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xast.c:483:1: warning: non-void function does not return a value [-Wreturn-type] 483 | } | ^ xast.c:485:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 485 | deletebooms() /* delete all booms */ | ^ | int xast.c:492:3: warning: non-void function does not return a value [-Wreturn-type] 492 | } } | ^ xast.c:494:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 494 | killast(killer, i) | ^ | int xast.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xast.c:546:1: warning: non-void function does not return a value [-Wreturn-type] 546 | } | ^ xast.c:547:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 547 | moveobjs(crash) | ^ | int xast.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xast.c:587:1: warning: non-void function does not return a value [-Wreturn-type] 587 | } | ^ xast.c:589:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 589 | fire() | ^ | int xast.c:605:1: warning: non-void function does not return a value [-Wreturn-type] 605 | } | ^ xast.c:607:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 607 | hyper() | ^ | int xast.c:613:6: warning: call to undeclared function 'rand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 613 | c = rand(rndint); i = c; i<<=2; /* 0 - 1024 */ | ^ xast.c:619:1: warning: non-void function does not return a value [-Wreturn-type] 619 | } | ^ xast.c:621:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 621 | vdraw(disp, window, gc, shape, x, y, rot) | ^ | int xast.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xast.c:641:1: warning: non-void function does not return a value [-Wreturn-type] 641 | } | ^ xast.c:643:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 643 | main(argc, argv) | ^ | int xast.c:676:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 676 | exit(1); | ^ xast.c:676:3: note: include the header or explicitly provide a declaration for 'exit' xast.c:717:2: warning: call to undeclared function 'srand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 717 | srand((unsigned) time(0)); /* By Craig Smith */ | ^ xast.c:717:19: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 717 | srand((unsigned) time(0)); /* By Craig Smith */ | ^ xast.c:750:33: error: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XMappingEvent *' [-Wincompatible-pointer-types] 750 | XRefreshKeyboardMapping (&event); | ^~~~~~ /usr/X11R6/include/X11/Xlib.h:3079:1: note: passing argument to parameter here 3079 | ); | ^ xast.c:761:29: error: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XKeyEvent *' [-Wincompatible-pointer-types] 761 | len = XLookupString (&event, text, 10, &key, 0); | ^~~~~~ /usr/X11R6/include/X11/Xutil.h:535:35: note: passing argument to parameter here 535 | XKeyEvent* /* event_struct */, | ^ xast.c:822:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 822 | else goto Newship; | ^ xast.c:827:28: error: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XKeyEvent *' [-Wincompatible-pointer-types] 827 | len = XLookupString(&event, text, 10, &key, 0); | ^~~~~~ /usr/X11R6/include/X11/Xutil.h:535:35: note: passing argument to parameter here 535 | XKeyEvent* /* event_struct */, | ^ xast.c:874:12: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 874 | { r = abs((int) (drawscale*SHIPSIZE)); | ^ xast.c:874:12: note: include the header or explicitly provide a declaration for 'abs' xast.c:896:12: warning: call to undeclared function 'rand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 896 | i = (rand(rndint)>>8) & 255; | ^ xast.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | main(argc, argv) | ^ 62 warnings and 3 errors generated. *** Error 1 in /usr/obj/ports/xasteroids-5.0 (:87 'xast.o') *** Error 2 in games/xasteroids (/usr/ports/infrastructure/mk/bsd.port.mk:3079 '/usr/obj/ports/xasteroids-5.0/.build_done': @cd /usr/obj/por...) *** Error 2 in games/xasteroids (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=xasteroids-5.0p4; export _LOCKS_HELD=" xaster...) ===> Exiting games/xasteroids with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1779821517.68 max_stuck=0.00/build=2.53 Error: job failed with 512 on amd64-2 at 1779821517