Source: gridlock.app
Version: 1.10-3.2
Severity: normal
Tags: sid jessie
User: pkg-gnustep-maintain...@lists.alioth.debian.org
Usertags: gnustep-base1.24-transition gnustep-gui0.24-transition 
gnustep-transition

Your package builds successfully with the new GNUstep libraries, but
there are some GCC warnings that *may* lead to problems at runtime and
may affect the forthcoming gnustep transition/jessie release.  Latest
versions of the core GNUstep packages are available at mentors.d.n [*];
they will be uploaded to experimental first.

Please note that the warnings may be unrelated to GNUstep or changes in
GNUstep but could be legitimate nevertheless.  In case the fix is
applicable for the current gnustep-* library packages in sid (-base/1.22
and -gui/0.20) you can upload the fixed package before the transition
begins.  Otherwise, please wait for the transition to complete and
do not forget to adjust the Build-Depends field accordingly:

  libgnustep-base-dev (>= 1.24.6)
  or
  libgnustep-gui-dev (>= 0.24)

Relevant portion(s) of the log:

GomokuAI.m:16:3: warning: initialization from distinct Objective-C type 
[enabled by default]
   GomokuGame *game = g;
   ^
[...]
EDIPSocket.m: In function '-[EDIPSocket 
_connectToAddress:port:hostDescription:]':
EDIPSocket.m:279:11: warning: implicit declaration of function 'getdtablesize' 
[-Wimplicit-function-declaration]
           switch (select(getdtablesize(), NULL, &write_fds, NULL, &timeout)) {
           ^
[...]
EDSocket.m:56:5: warning: overflow in implicit constant conversion [-Woverflow]
     return NSNotFound; // keep compiler happy
     ^
[...]
EDSocket.m:65:5: warning: overflow in implicit constant conversion [-Woverflow]
     return NSNotFound; // keep compiler happy
     ^
[...]
EDSocket.m:74:5: warning: overflow in implicit constant conversion [-Woverflow]
     return NSNotFound; // keep compiler happy
     ^
[...]
NSFileHandle+Extensions.m: In function '-[NSFileHandle(EDExtensions) 
localPort]':
NSFileHandle+Extensions.m:51:51: warning: pointer targets in passing argument 3 
of 'getsockname' differ in signedness [-Wpointer-sign]
     if(getsockname(EDSOCKETHANDLE, (struct sockaddr *)&sockaddr, 
&sockaddrLength) == -1)
                                                   ^
In file included from /usr/include/GNUstep/Foundation/NSPort.h:40:0,
                 from /usr/include/GNUstep/Foundation/NSPortMessage.h:30,
                 from /usr/include/GNUstep/Foundation/Foundation.h:99,
                 from NSFileHandle+Extensions.m:21:
/usr/include/x86_64-linux-gnu/sys/socket.h:127:12: note: expected 'socklen_t * 
__restrict__' but argument is of type 'int *'
 extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
            ^
NSFileHandle+Extensions.m: In function '-[NSFileHandle(EDExtensions) 
localAddress]':
NSFileHandle+Extensions.m:65:51: warning: pointer targets in passing argument 3 
of 'getsockname' differ in signedness [-Wpointer-sign]
     if(getsockname(EDSOCKETHANDLE, (struct sockaddr *)&sockaddr, 
&sockaddrLength) == -1)
                                                   ^
In file included from /usr/include/GNUstep/Foundation/NSPort.h:40:0,
                 from /usr/include/GNUstep/Foundation/NSPortMessage.h:30,
                 from /usr/include/GNUstep/Foundation/Foundation.h:99,
                 from NSFileHandle+Extensions.m:21:
/usr/include/x86_64-linux-gnu/sys/socket.h:127:12: note: expected 'socklen_t * 
__restrict__' but argument is of type 'int *'
 extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
            ^
NSFileHandle+Extensions.m: In function '-[NSFileHandle(EDExtensions) 
remotePort]':
NSFileHandle+Extensions.m:79:51: warning: pointer targets in passing argument 3 
of 'getpeername' differ in signedness [-Wpointer-sign]
     if(getpeername(EDSOCKETHANDLE, (struct sockaddr *)&sockaddr, 
&sockaddrLength) == -1)
                                                   ^
In file included from /usr/include/GNUstep/Foundation/NSPort.h:40:0,
                 from /usr/include/GNUstep/Foundation/NSPortMessage.h:30,
                 from /usr/include/GNUstep/Foundation/Foundation.h:99,
                 from NSFileHandle+Extensions.m:21:
/usr/include/x86_64-linux-gnu/sys/socket.h:141:12: note: expected 'socklen_t * 
__restrict__' but argument is of type 'int *'
 extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
            ^
NSFileHandle+Extensions.m: In function '-[NSFileHandle(EDExtensions) 
remoteAddress]':
NSFileHandle+Extensions.m:93:51: warning: pointer targets in passing argument 3 
of 'getpeername' differ in signedness [-Wpointer-sign]
     if(getpeername(EDSOCKETHANDLE, (struct sockaddr *)&sockaddr, 
&sockaddrLength) == -1)
                                                   ^
In file included from /usr/include/GNUstep/Foundation/NSPort.h:40:0,
                 from /usr/include/GNUstep/Foundation/NSPortMessage.h:30,
                 from /usr/include/GNUstep/Foundation/Foundation.h:99,
                 from NSFileHandle+Extensions.m:21:
/usr/include/x86_64-linux-gnu/sys/socket.h:141:12: note: expected 'socklen_t * 
__restrict__' but argument is of type 'int *'
 extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
            ^
[...]
ZoneshAI.m: In function '-[ZoneshAI relativeUtilityForGame:player:]':
ZoneshAI.m:83:3: warning: passing argument 1 of 'threatWeightForGame:player:' 
from distinct Objective-C type [enabled by default]
   return [self threatWeightForGame:game player:pnum] -
   ^
ZoneshAI.m:84:3: warning: passing argument 1 of 'threatWeightForGame:player:' 
from distinct Objective-C type [enabled by default]
   [self threatWeightForGame:game player:[game nextPlayerNumber]];
   ^
[...]
HexapawnAI.m: In function '-[HexapawnAI relativeUtilityForGame:player:]':
HexapawnAI.m:86:3: warning: passing argument 1 of 'threatWeightForGame:player:' 
from distinct Objective-C type [enabled by default]
   return [self threatWeightForGame:game player:pnum] -
   ^
HexapawnAI.m:87:3: warning: passing argument 1 of 'threatWeightForGame:player:' 
from distinct Objective-C type [enabled by default]
   [self threatWeightForGame:game player:[game nextPlayerNumber]];
   ^
[...]
AtomicAI.m: In function '-[AtomicAI relativeUtilityForGame:player:]':
AtomicAI.m:53:3: warning: passing argument 2 of 'utilityForPlayer:inGame:' from 
distinct Objective-C type [enabled by default]
   return [self utilityForPlayer:pnum inGame:game] - [self 
utilityForPlayer:[game playerNumberMovingAfterPlayer:pnum] inGame:game];
   ^
AtomicAI.m:53:3: warning: passing argument 2 of 'utilityForPlayer:inGame:' from 
distinct Objective-C type [enabled by default]
[...]
BombardmentGame.m: In function '-[BombardmentGame allValidMoveSequences]':
BombardmentGame.m:28:3: warning: initialization from distinct Objective-C type 
[enabled by default]
   NSMutableArray *moves = [super allValidMoveSequences];
   ^
[...]
DaggerAI.m: In function '-[DaggerAI relativeUtilityForGame:player:]':
DaggerAI.m:35:3: warning: passing argument 1 of 'utilityForGame:player:' from 
distinct Objective-C type [enabled by default]
   return [self utilityForGame:game player:pnum] - [self utilityForGame:game 
player:[game playerNumberMovingAfterPlayer:pnum]];
   ^
DaggerAI.m:35:3: warning: passing argument 1 of 'utilityForGame:player:' from 
distinct Objective-C type [enabled by default]
[...]
TourneyAI.m: In function '-[TourneyAI relativeUtilityForGame:player:]':
TourneyAI.m:29:3: warning: initialization from distinct Objective-C type 
[enabled by default]
   TourneyGame *cgame = game;
   ^


The full build log is available upon request.
The severity of this bug may be raised to "important", "serious" or
"grave" after the transition depending on the impact.

[*]
http://mentors.debian.net/debian/pool/main/g/gnustep-make/gnustep-make_2.6.6-1.dsc
http://mentors.debian.net/debian/pool/main/g/gnustep-base/gnustep-base_1.24.6-1.dsc
http://mentors.debian.net/debian/pool/main/g/gnustep-gui/gnustep-gui_0.24.0-1.dsc
http://mentors.debian.net/debian/pool/main/g/gnustep-back/gnustep-back_0.24.0-1.dsc


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to