Package: spellcast
Version: 1.0-22
Severity: serious
Tags: ftbfs sid trixie
Justification: fails to build from source

hi,

spellcast recently started to FTBFS:

   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/spellcast-1.0'
RESOLUTION=RES1024 make
make[2]: Entering directory '/build/spellcast-1.0'
cc -O2 -g -I/usr/X11R6/include -I./bitmaps 
-DBODYFONT=\"-*-times-medium-r-*--14-*\" 
-DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" 
-DTRANSCRIPTDIR=\"/var/games/spellcast\" -DRES1024 -DCOLOUR 
-DPACKAGE=\"spellcast\" -DLOCALEDIR=\"/
usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2  -c -o engine.o engine.c
engine.c: In function 'InitBeing':
engine.c:114:5: error: implicit declaration of function 'clear_round' 
[-Wimplicit-function-declaration]
  114 |     clear_round(fred);
      |     ^~~~~~~~~~~
engine.c: In function 'BeginGame':
engine.c:199:13: warning: cast from pointer to integer of different size 
[-Wpointer-to-int-cast]
  199 |     srandom((unsigned int) (getpid() + rock + numplayers));
      |             ^
engine.c:210:5: error: implicit declaration of function 'init_transcript'; did 
you mean 'WriteTranscript'? [-Wimplicit-function-declaration]
  210 |     init_transcript(self);
      |     ^~~~~~~~~~~~~~~
      |     WriteTranscript
In file included from engine.c:7:
internal.h:3:26: error: implicit declaration of function 'log_text' 
[-Wimplicit-function-declaration]
    3 | #define PrintMsg(msg)   (log_text(self, msg),\
      |                          ^~~~~~~~
engine.c:213:9: note: in expansion of macro 'PrintMsg'
  213 |         PrintMsg(_("Too many players requested.\n"));
      |         ^~~~~~~~
engine.c: In function 'RunTurn':
engine.c:352:62: warning: cast to pointer from integer of different size 
[-Wint-to-pointer-cast]
  352 |                         add_query(self, kx, Qu_CharmGesture, (char 
*)val);
      |                                                              ^
engine.c:438:5: error: implicit declaration of function 'log_round_header' 
[-Wimplicit-function-declaration]
  438 |     log_round_header(self);
      |     ^~~~~~~~~~~~~~~~
engine.c: In function 'restrict_gestures':
engine.c:1016:49: warning: cast to pointer from integer of different size 
[-Wint-to-pointer-cast]
 1016 |         add_query(self, wiznum, Qu_SetOffDelay, (char 
*)self->wiz[wiznum]->delay_bank);
      |                                                 ^
make[2]: *** [<builtin>: engine.o] Error 1
make[2]: Leaving directory '/build/spellcast-1.0'
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/spellcast-1.0'
make: *** [debian/rules:9: build] Error 2


Andreas

Reply via email to