Source: p0f
Version: 3.09b-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>>'
> Welcome to the build script for p0f 3.09b!
> Copyright (C) 2012 by Michal Zalewski <lcam...@coredump.cx>
> 
> [+] Configuring production build.
> [*] Checking for a sane build environment... OK
> [*] Checking for working GCC... OK
> [*] Checking for *modern* GCC... OK
> [*] Checking if memory alignment is required... FAIL
> 
> Well, something went horribly wrong, sorry. Here's the output from GCC:
> 
> .build-609357.c: In function ‘main’:
> .build-609357.c:2:34: error: implicit declaration of function ‘printf’ 
> [-Werror=implicit-function-declaration]
>     2 | volatile u8 tmp[6]; int main() { printf("%d\n", *(u32*)(tmp+1)); 
> return 0; }
>       |                                  ^~~~~~
> .build-609357.c:2:1: note: include ‘<stdio.h>’ or provide a declaration of 
> ‘printf’
>     1 | #include "types.h"
>   +++ |+#include <stdio.h>
>     2 | volatile u8 tmp[6]; int main() { printf("%d\n", *(u32*)(tmp+1)); 
> return 0; }
> .build-609357.c:2:34: warning: incompatible implicit declaration of built-in 
> function ‘printf’ [-Wbuiltin-declaration-mismatch]
>     2 | volatile u8 tmp[6]; int main() { printf("%d\n", *(u32*)(tmp+1)); 
> return 0; }
>       |                                  ^~~~~~
> .build-609357.c:2:34: note: include ‘<stdio.h>’ or provide a declaration of 
> ‘printf’
> cc1: some warnings being treated as errors
> 
> Sorry! You may want to ping <lcam...@coredump.cx> about this.
> 
> make[1]: *** [Makefile:11: all] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/p0f_3.09b-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