MidnightBSD Magus

games/gridlock

Collection of grid-based board games for GNUstep

Flavor Version Run OSVersion Arch License Restricted Status
1.10_1 318 0.7 i386 mit 0 fail

Events

Machine Type Time Message
defianti386 info 2016-03-09 04:31:28.457945 Test Started
defianti386 fail 2016-03-09 04:43:08.970249 make build returned non-zero: 1
defianti386 fail 2016-03-09 04:43:09.111776 Test complete.

Log

===>  Building for gridlock-1.10_1
This is gnustep-make 2.6.7. Type 'gmake print-gnustep-make-help' for help.
Making all for app Gridlock...
 Creating Gridlock.app/....
 Compiling file hypergrid.c ...
 Compiling file main.m ...
 Compiling file AbstractLineGame.m ...
 Compiling file AtaxxAI.m ...
 Compiling file AtaxxGame.m ...
 Compiling file AppController.m ...
 Compiling file AtaxxViewDelegate.m ...
 Compiling file BoardView.m ...
 Compiling file BreakthroughAI.m ...
 Compiling file CocoaAdditions.m ...
 Compiling file ConnectFourAI.m ...
 Compiling file ConnectFourGame.m ...
 Compiling file DCHypergrid.m ...
 Compiling file DCHypergridPosition.m ...
 Compiling file DCHypergridPositionEnumerator.m ...
DCHypergridPosition.m:44:33: warning: format specifies type 'int' but the argument has type 'char *(*)(const char *, int)' [-Wformat]
    NSStringFromSelector(_cmd), index, NSStringFromClass([self class])];
                                ^~~~~
DCHypergridPosition.m:40:28: warning: conflicting parameter types in implementation of 'initWithObjects:count:': 'const id *' vs 'id *' [-Wmismatched-parameter-types]
-(id)initWithObjects:(id *)objects count:(unsigned)count {
                      ~~~~ ^
/usr/local/GNUstep/System/Library/Headers/Foundation/NSArray.h:105:37: note: previous definition is here
- (id) initWithObjects: (const id[])objects
                               ~~~~ ^
DCHypergridPosition.m:63:1: warning: conflicting distributed object modifiers on return type in implementation of 'release' [-Wdistributed-object-modifiers]
-(void)release {
^ ~~~~
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:180:1: note: previous declaration is here
- (oneway void) release NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
^         ~~~~
DCHypergridPosition.m:83:1: warning: conflicting distributed object modifiers on return type in implementation of 'release' [-Wdistributed-object-modifiers]
-(void)release {
^ ~~~~
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:180:1: note: previous declaration is here
- (oneway void) release NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
^         ~~~~
DCHypergridPosition.m:129:34: warning: 'DCHypergridPosition' may not respond to 'arrayWithSelf_'
        [_cachedPositions[index] arrayWithSelf_]; // create all the cached arrays here
         ~~~~~~~~~~~~~~~~~~~~~~~ ^
 Compiling file Game.m ...
CocoaAdditions.m:107:33: warning: expression which evaluates to zero treated as a null pointer constant of type 'NSArray *' [-Wnon-literal-null-conversion]
  if ([prefix count]==0) return NO;
                                ^~
/usr/local/include/objc/runtime.h:195:13: note: expanded from macro 'NO'
#       define NO ((BOOL)0)
                  ^~~~~~~~~
 Compiling file GameController.m ...
 Compiling file GenericAI.m ...
 Compiling file GlassBeadGame.m ...
 Compiling file GlassBeadViewDelegate.m ...
5 warnings generated.
 Compiling file GomokuAI.m ...
1 warning generated.
 Compiling file GomokuGame.m ...
 Compiling file ImageStore.m ...
Game.m:31:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (newGame = [[[self class] alloc] init]) {
      ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Game.m:31:15: note: place parentheses around the assignment to silence this warning
  if (newGame = [[[self class] alloc] init]) {
              ^
      (                                    )
Game.m:31:15: note: use '==' to turn this assignment into an equality comparison
  if (newGame = [[[self class] alloc] init]) {
              ^
              ==
Game.m:172:111: warning: format specifies type 'int' but the argument has type 'NSString *' [-Wformat]
  [NSException raise:@"SubclassMustImplementMethod" format:@"Class %d must implement -allValidMoveSequences", NSStringFromClass([self class])];
                                                                   ~~                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                   %@
Game.m:22:17: warning: method definition for 'prepareMoveSequence:' not found [-Wincomplete-implementation]
@implementation Game
                ^
./Game.h:117:1: note: method 'prepareMoveSequence:' declared here
-(BOOL)prepareMoveSequence:(NSArray *)positions;
^
Game.m:22:17: warning: method definition for 'isGameOver' not found [-Wincomplete-implementation]
@implementation Game
                ^
./Game.h:247:1: note: method 'isGameOver' declared here
-(BOOL)isGameOver;
^
GameController.m:963:3: warning: multiple methods named 'open' found
  [statisticsDrawer open];
  ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/GNUstep/System/Library/Headers/Foundation/NSStream.h:96:1: note: using
- (void) open;
^~~~~~~~~~~~~~
/usr/local/GNUstep/System/Library/Headers/GNUstepGUI/GSSoundSink.h:53:1: note: also found
- (BOOL)open;
^~~~~~~~~~~~~
GameController.m:972:3: warning: multiple methods named 'open' found
  [networkDrawer open];
  ^~~~~~~~~~~~~~~~~~~~
/usr/local/GNUstep/System/Library/Headers/Foundation/NSStream.h:96:1: note: using
- (void) open;
^~~~~~~~~~~~~~
/usr/local/GNUstep/System/Library/Headers/GNUstepGUI/GSSoundSink.h:53:1: note: also found
- (BOOL)open;
^~~~~~~~~~~~~
GomokuAI.m:16:15: warning: incompatible pointer types initializing 'GomokuGame *' with an expression of type 'Game *' [-Wincompatible-pointer-types]
  GomokuGame *game = g;
              ^      ~
 Compiling file MyWindow.m ...
 Compiling file PlayerTurnIndicatorView.m ...
1 warning generated.
 Compiling file Preferences.m ...
 Compiling file PrefsWindowController.m ...
 Compiling file ReversiAI.m ...
4 warnings generated.
 Compiling file ReversiGame.m ...
 Compiling file CheckersAI.m ...
 Compiling file CheckersGame.m ...
2 warnings generated.
 Compiling file CheckersViewDelegate.m ...
 Compiling file GridlockGameState.m ...
 Compiling file GameConfiguration.m ...
 Compiling file GameHistory.m ...
 Compiling file ClientController.m ...
 Compiling file ServerController.m ...
CheckersAI.m:24:17: warning: incompatible pointer types initializing 'CheckersGame *' with an expression of type 'Game *' [-Wincompatible-pointer-types]
  CheckersGame *cgame = game;
                ^       ~~~~
1 warning generated.
 Compiling file RendezvousUtils.m ...
CheckersViewDelegate.m:14:17: warning: method definition for 'setAlternatingCellColorComponents:' not found [-Wincomplete-implementation]
@implementation CheckersViewDelegate
                ^
./CheckersViewDelegate.h:19:1: note: method 'setAlternatingCellColorComponents:' declared here
-(void)setAlternatingCellColorComponents:(NSString *)str;
^
CheckersGame.m:164:55: warning: expression which evaluates to zero treated as a null pointer constant of type 'NSArray *' [-Wnon-literal-null-conversion]
    if (pnum!=[self ownerOfPosition:startpos]) return NO;
                                                      ^~
/usr/local/include/objc/runtime.h:195:13: note: expanded from macro 'NO'
#       define NO ((BOOL)0)
                  ^~~~~~~~~
1 warning generated.
 Compiling file NetConnection.m ...
ClientController.m:121:32: warning: instance method '-gameController' not found (return type defaults to 'id') [-Wobjc-method-access]
  return ([[[[[NSApp delegate] gameController] gameState] allNetConnections] count]>0);
                               ^~~~~~~~~~~~~~
ClientController.m:121:48: warning: instance method '-gameState' not found (return type defaults to 'id') [-Wobjc-method-access]
  return ([[[[[NSApp delegate] gameController] gameState] allNetConnections] count]>0);
                                               ^~~~~~~~~
ClientController.m:121:59: warning: instance method '-allNetConnections' not found (return type defaults to 'id') [-Wobjc-method-access]
  return ([[[[[NSApp delegate] gameController] gameState] allNetConnections] count]>0);
                                                          ^~~~~~~~~~~~~~~~~
RendezvousUtils.m:50:62: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat]
    rendezvousIdentifier = [[NSString stringWithFormat:@"%x",r] retain];
                                                         ~~  ^
                                                         %lx
1 warning generated.
 Compiling file EDIPSocket.m ...
ServerController.m:192:3: warning: multiple methods named 'stop' found
  [[self rendezvousService] stop];
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/GNUstep/System/Library/Headers/Foundation/NSNetServices.h:393:1: note: using
- (void) stop;
^~~~~~~~~~~~~~
/usr/local/GNUstep/System/Library/Headers/AppKit/NSSound.h:133:1: note: also found
- (BOOL)stop;
^~~~~~~~~~~~~
 Compiling file EDTCPSocket.m ...
 Compiling file EDSocket.m ...
1 warning generated.
 Compiling file functions.m ...
 Compiling file NSFileHandle+Extensions.m ...
NetConnection.m:72:25: warning: instance method '-remoteAddress' not found (return type defaults to 'id') [-Wobjc-method-access]
  return [[self socket] remoteAddress];
                        ^~~~~~~~~~~~~
NetConnection.m:132:3: warning: multiple methods named 'writeData:' found
  [[self socket] writeData:dataToSend];
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h:69:1: note: using
- (void) writeData: (NSData*)item;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/GNUstep/System/Library/Headers/Foundation/NSURLHandle.h:215:1: note: also found
- (BOOL) writeData: (NSData*)data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NetConnection.m:41:1: warning: conflicting distributed object modifiers on return type in implementation of 'release' [-Wdistributed-object-modifiers]
-(void)release {
^ ~~~~
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:180:1: note: previous declaration is here
- (oneway void) release NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
^         ~~~~
3 warnings generated.
 Compiling file NSObject+Extensions.m ...
1 warning generated.
In file included from EDIPSocket.m:22:
./osdep.h:181:19: warning: extra tokens at end of #import directive [-Wextra-tokens]
#import n#import 
                  ^
                  //
 Compiling file LifeAI.m ...
In file included from EDSocket.m:23:
./osdep.h:181:19: warning: extra tokens at end of #import directive [-Wextra-tokens]
#import n#import 
                  ^
                  //
3 warnings generated.
 Compiling file LifeGame.m ...
In file included from EDTCPSocket.m:22:
./osdep.h:181:19: warning: extra tokens at end of #import directive [-Wextra-tokens]
#import n#import 
                  ^
                  //
In file included from NSFileHandle+Extensions.m:22:
./osdep.h:181:19: warning: extra tokens at end of #import directive [-Wextra-tokens]
#import n#import 
                  ^
                  //
In file included from functions.m:22:
./osdep.h:181:19: warning: extra tokens at end of #import directive [-Wextra-tokens]
#import n#import 
                  ^
                  //
NSObject+Extensions.m:110:2: warning: ** implementation missing for GNU runtime [-W#warnings]
#warning ** implementation missing for GNU runtime
 ^
NSObject+Extensions.m:57:5: error: unknown type name 'Method_t'; did you mean 'Method'?
    EDObjcMethodInfo method;
    ^~~~~~~~~~~~~~~~
    Method
./EDObjcRuntime.h:54:26: note: expanded from macro 'EDObjcMethodInfo'
#define EDObjcMethodInfo Method_t
                         ^
/usr/local/include/objc/runtime.h:119:29: note: 'Method' declared here
typedef struct objc_method *Method;
                            ^
NSObject+Extensions.m:63:17: warning: implicit declaration of function 'class_get_instance_method' is invalid in C99 [-Wimplicit-function-declaration]
   if((method = EDObjcClassGetInstanceMethod(isa, selector)) == NULL)
                ^
./EDObjcRuntime.h:55:38: note: expanded from macro 'EDObjcClassGetInstanceMethod'
#define EDObjcClassGetInstanceMethod class_get_instance_method
                                     ^
NSObject+Extensions.m:63:46: warning: direct access to Objective-C's isa is deprecated in favor of object_getClass() [-Wdeprecated-objc-isa-usage]
   if((method = EDObjcClassGetInstanceMethod(isa, selector)) == NULL)
                                             ^
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:293:9: note: instance variable is declared here
  Class isa;
        ^
NSObject+Extensions.m:63:15: warning: incompatible integer to pointer conversion assigning to 'Method' (aka 'struct objc_method *') from 'int' [-Wint-conversion]
   if((method = EDObjcClassGetInstanceMethod(isa, selector)) == NULL)
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NSObject+Extensions.m:64:17: warning: implicit declaration of function 'class_get_class_method' is invalid in C99 [-Wimplicit-function-declaration]
       method = EDObjcClassGetClassMethod(isa, selector);
                ^
./EDObjcRuntime.h:56:35: note: expanded from macro 'EDObjcClassGetClassMethod'
#define EDObjcClassGetClassMethod class_get_class_method
                                  ^
NSObject+Extensions.m:64:43: warning: direct access to Objective-C's isa is deprecated in favor of object_getClass() [-Wdeprecated-objc-isa-usage]
       method = EDObjcClassGetClassMethod(isa, selector);
                                          ^
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:293:9: note: instance variable is declared here
  Class isa;
        ^
NSObject+Extensions.m:64:15: warning: incompatible integer to pointer conversion assigning to 'Method' (aka 'struct objc_method *') from 'int' [-Wint-conversion]
       method = EDObjcClassGetClassMethod(isa, selector);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NSObject+Extensions.m:78:1: warning: category is implementing a method which will also be implemented by its primary class [-Wobjc-protocol-method-implementation]
- (NSString *)className
^
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:306:1: note: method 'className' declared here
- (NSString*) className;
^
NSObject+Extensions.m:120:21: error: incomplete definition of type 'struct objc_class'
    class = subClass->super_class;
            ~~~~~~~~^
/usr/local/include/objc/runtime.h:77:16: note: forward declaration of 'struct objc_class'
typedef struct objc_class *Class;
               ^
NSObject+Extensions.m:125:22: error: incomplete definition of type 'struct objc_class'
        class = class->super_class;
                ~~~~~^
/usr/local/include/objc/runtime.h:77:16: note: forward declaration of 'struct objc_class'
typedef struct objc_class *Class;
               ^
NSObject+Extensions.m:180:23: warning: 'objc_next_class' is deprecated [-Wdeprecated-declarations]
    while((subClass = objc_next_class(&es)) != Nil)
                      ^
/usr/local/include/objc/runtime-deprecated.h:45:7: note: 'objc_next_class' declared here
Class objc_next_class(void **enum_state);
      ^
9 warnings and 3 errors generated.
/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: recipe for target 'obj/Gridlock.obj/NSObject+Extensions.m.o' failed
gmake[3]: *** [obj/Gridlock.obj/NSObject+Extensions.m.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
NSFileHandle+Extensions.m:51:66: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if(getsockname(EDSOCKETHANDLE, (struct sockaddr *)&sockaddr, &sockaddrLength) == -1)
                                                                 ^~~~~~~~~~~~~~~
/usr/include/sys/socket.h:616:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
NSFileHandle+Extensions.m:65:66: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if(getsockname(EDSOCKETHANDLE, (struct sockaddr *)&sockaddr, &sockaddrLength) == -1)
                                                                 ^~~~~~~~~~~~~~~
/usr/include/sys/socket.h:616:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
NSFileHandle+Extensions.m:79:66: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if(getpeername(EDSOCKETHANDLE, (struct sockaddr *)&sockaddr, &sockaddrLength) == -1)
                                                                 ^~~~~~~~~~~~~~~
/usr/include/sys/socket.h:615:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
NSFileHandle+Extensions.m:93:66: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if(getpeername(EDSOCKETHANDLE, (struct sockaddr *)&sockaddr, &sockaddrLength) == -1)
                                                                 ^~~~~~~~~~~~~~~
/usr/include/sys/socket.h:615:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
EDSocket.m:101:30: warning: direct access to Objective-C's isa is deprecated in favor of object_getClass() [-Wdeprecated-objc-isa-usage]
    if((socketDesc = socket([isa protocolFamily], [isa socketType], [isa socketProtocol])) < 0)
                             ^
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:293:9: note: instance variable is declared here
  Class isa;
        ^
EDIPSocket.m:EDSocket.m279:101:26::52 warning: : warning: implicit declaration of function 'getdtablesize' is invalid in C99 [-Wimplicit-function-declaration]direct access to Objective-C's isa is deprecated in favor of object_getClass() [-Wdeprecated-objc-isa-usage]

          switch (select(getdtablesize(), NULL, &write_fds, NULL, &timeout)) {
                         ^
    if((socketDesc = socket([isa protocolFamily], [isa socketType], [isa socketProtocol])) < 0)
                                                   ^
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:293:9: note: instance variable is declared here
  Class isa;
        ^
EDSocket.m:101:70: warning: direct access to Objective-C's isa is deprecated in favor of object_getClass() [-Wdeprecated-objc-isa-usage]
    if((socketDesc = socket([isa protocolFamily], [isa socketType], [isa socketProtocol])) < 0)
                                                                     ^
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:293:9: note: instance variable is declared here
  Class isa;
        ^
EDSocket.m:192:130: warning: direct access to Objective-C's isa is deprecated in favor of object_getClass() [-Wdeprecated-objc-isa-usage]
    [NSException raise:NSInternalInconsistencyException format:@"-[%@ %@]: Operation not allowed on sockets.", NSStringFromClass(isa), NSStringFromSelector(_cmd)];
                                                                                                                                 ^
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:293:9: note: instance variable is declared here
  Class isa;
        ^
1 warning generated.
1 warning generated.
5 warnings generated.
2 warnings generated.
5 warnings generated.
/usr/local/GNUstep/System/Library/Makefiles/Instance/application.make:145: recipe for target 'internal-app-run-compile-submake' failed
gmake[2]: *** [internal-app-run-compile-submake] Error 2
/usr/local/GNUstep/System/Library/Makefiles/Master/rules.make:311: recipe for target 'Gridlock.all.app.variables' failed
gmake[1]: *** [Gridlock.all.app.variables] Error 2
/usr/local/GNUstep/System/Library/Makefiles/Master/application.make:38: recipe for target 'internal-all' failed
gmake: *** [internal-all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/mports/games/gridlock.