Source: blobwars
Version: 2.00-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240420 ftbfs-trixie ftbfs-t64-armhf

Hi,

During a rebuild of all packages in sid, your package failed to build
on armhf.


Relevant part (hopefully):
> g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security `pkg-config 
> --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 
> -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" 
> -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX 
> -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall 
> -DLOCALEDIR=\"/usr/share/locale/\" 
> -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -O2 -g -flto -c 
> src/CSwitch.cpp
> cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ 
> is not valid for C++
> src/CReplayData.cpp: In member function ‘void 
> ReplayData::printReplayInformation()’:
> src/CReplayData.cpp:41:34: error: cannot convert ‘long int*’ to ‘const 
> time_t*’ {aka ‘const long long int*’}
>    41 |         tm *timeinfo = localtime(&header.randomSeed);
>       |                                  ^~~~~~~~~~~~~~~~~~
>       |                                  |
>       |                                  long int*
> In file included from /usr/include/features.h:490,
>                  from /usr/include/errno.h:25,
>                  from src/headers.h:22,
>                  from src/CReplayData.cpp:1:
> /usr/include/time.h:141:19: note:   initializing argument 1 of ‘tm* 
> localtime(const time_t*)’
>   141 | extern struct tm *__REDIRECT_NTH (localtime, (const time_t *__timer),
>       |                   ^~~~~~~~~~~~~~
> make[1]: *** [Makefile:83: CReplayData.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/04/20/blobwars_2.00-3_unstable-armhf.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240420;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240420&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to