Source: prelude-manager
Version: 5.2.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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):
> /bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I../../..  -I../../../src/include -I../../../libmissing 
> -I/usr/include/libxml2   
> -DIDMEF_DTD=\"/usr/share/prelude-manager/xmlmod/idmef-message.dtd\" 
> -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1  -Wall 
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
> -Wbad-function-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused 
> -Wformat -Wformat-security -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -ffile-prefix-map=/build/reproducible-path/net-snmp-5.9.4+dfsg=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -DNETSNMP_USE_INLINE 
> -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 
> -ffile-prefix-map=/build/reproducible-path/net-snmp-5.9.4+dfsg=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection 
> -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE 
> -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -I/usr/lib/x86_64-linux-gnu/perl/5.38/CORE -Wdate-time -D_FORTIFY_SOURCE=2 
> -I. -I/usr/include -c -o xmlmod.lo xmlmod.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include 
> -I../../../libmissing -I/usr/include/libxml2 
> -DIDMEF_DTD=\"/usr/share/prelude-manager/xmlmod/idmef-message.dtd\" 
> -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -Wall 
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
> -Wbad-function-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused 
> -Wformat -Wformat-security -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -ffile-prefix-map=/build/reproducible-path/net-snmp-5.9.4+dfsg=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -DNETSNMP_USE_INLINE 
> -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 
> -ffile-prefix-map=/build/reproducible-path/net-snmp-5.9.4+dfsg=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection 
> -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE 
> -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -I/usr/lib/x86_64-linux-gnu/perl/5.38/CORE -Wdate-time -D_FORTIFY_SOURCE=2 
> -I. -I/usr/include -c xmlmod.c  -fPIC -DPIC -o .libs/xmlmod.o
> In file included from /usr/include/libprelude/prelude.h:66,
>                  from ../../../src/include/prelude-manager.h:24,
>                  from xmlmod.c:31:
> xmlmod.c: In function 'xmlmod_set_logfile':
> xmlmod.c:51:1: error: implicit declaration of function 'free' 
> [-Wimplicit-function-declaration]
>    51 | PRELUDE_PLUGIN_OPTION_DECLARE_STRING_CB(xmlmod, xmlmod_plugin_t, 
> logfile)
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> xmlmod.c:32:1: note: include '<stdlib.h>' or provide a declaration of 'free'
>    31 | #include "prelude-manager.h"
>   +++ |+#include <stdlib.h>
>    32 | 
> xmlmod.c: In function 'xmlmod_destroy':
> xmlmod.c:990:17: warning: incompatible implicit declaration of built-in 
> function 'free' [-Wbuiltin-declaration-mismatch]
>   990 |                 free(plugin->logfile);
>       |                 ^~~~
> xmlmod.c:990:17: note: include '<stdlib.h>' or provide a declaration of 'free'
> xmlmod.c:992:9: warning: incompatible implicit declaration of built-in 
> function 'free' [-Wbuiltin-declaration-mismatch]
>   992 |         free(plugin);
>       |         ^~~~
> xmlmod.c:992:9: note: include '<stdlib.h>' or provide a declaration of 'free'
> xmlmod.c: In function 'xmlmod_activate':
> xmlmod.c:1008:15: error: implicit declaration of function 'calloc' 
> [-Wimplicit-function-declaration]
>  1008 |         new = calloc(1, sizeof(*new));
>       |               ^~~~~~
> xmlmod.c:1008:15: note: include '<stdlib.h>' or provide a declaration of 
> 'calloc'
> xmlmod.c:1008:15: warning: incompatible implicit declaration of built-in 
> function 'calloc' [-Wbuiltin-declaration-mismatch]
> xmlmod.c:1008:15: note: include '<stdlib.h>' or provide a declaration of 
> 'calloc'
> xmlmod.c:1015:17: warning: incompatible implicit declaration of built-in 
> function 'free' [-Wbuiltin-declaration-mismatch]
>  1015 |                 free(new);
>       |                 ^~~~
> xmlmod.c:1015:17: note: include '<stdlib.h>' or provide a declaration of 
> 'free'
> make[5]: *** [Makefile:1407: xmlmod.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/prelude-manager_5.2.0-2_unstable.log

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