Bug#1077389: pathological: FTBFS: write-highscores.c:36:9: error: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]

Lucas Nussbaum lucas at debian.org
Mon Jul 29 06:44:16 BST 2024


Source: pathological
Version: 1.1.3-17
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240728 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> gcc -s -o write-highscores write-highscores.c
> ./makehtml
> write-highscores.c: In function ‘die’:
> write-highscores.c:36:9: error: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
>    36 |         exit(1);
>       |         ^~~~
> write-highscores.c:28:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
>    27 | #include <fcntl.h>
>   +++ |+#include <stdlib.h>
>    28 | 
> write-highscores.c:36:9: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
>    36 |         exit(1);
>       |         ^~~~
> write-highscores.c:36:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
> make[1]: *** [Makefile:8: write-highscores] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/pathological_1.1.3-17_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&fusertaguser=lucas@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.



More information about the Pkg-games-devel mailing list