Source: safecat
Version: 1.13-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

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

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cat warn-auto.sh maildir.sh \
> | sed s}HOME}"`head -1 conf-root`"}g \
> > maildir
> chmod 755 maildir
> ( cat warn-auto.sh; \
> echo CC=\'`head -1 conf-cc`\'; \
> echo LD=\'`head -1 conf-ld`\'; \
> ) > auto-ccld.sh
> cat auto-ccld.sh make-load.sh > make-load
> chmod 755 make-load
> cat auto-ccld.sh find-systype.sh > find-systype
> chmod 755 find-systype
> ./find-systype > systype
> ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
> chmod 755 load
> cat auto-ccld.sh make-compile.sh > make-compile
> chmod 755 make-compile
> ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
> compile
> chmod 755 compile
> ( ( ./compile tryulong32.c && ./load tryulong32 && \
> ./tryulong32 ) >/dev/null 2>&1 \
> && cat uint32.h2 || cat uint32.h1 ) > uint32.h
> rm -f tryulong32.o tryulong32
> ./compile safecat.c
> safecat.c: In function ‘main’:
> safecat.c:126:3: error: implicit declaration of function ‘exit’ 
> [-Werror=implicit-function-declaration]
>   126 |   exit(0);
>       |   ^~~~
> safecat.c:27:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
>    26 | #include <unistd.h>
>   +++ |+#include <stdlib.h>
>    27 | 
> safecat.c:126:3: warning: incompatible implicit declaration of built-in 
> function ‘exit’ [-Wbuiltin-declaration-mismatch]
>   126 |   exit(0);
>       |   ^~~~
> safecat.c:126:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
> cc1: some warnings being treated as errors
> make[1]: *** [Makefile:239: safecat.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/safecat_1.13-3_unstable.log

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