Source: compiz-plugins-main
Version: 2:0.8.18-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240615 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../../include -I/usr/include/libxml2 
> -I/usr/include/startup-notification-1.0 -I/usr/include/compiz 
> -DDATADIR='"/usr/share/compiz"' -DLIBDIR='"/usr/lib"' 
> -DLOCALEDIR="\"/usr/share/locale\"" -DIMAGEDIR='"/usr/share/compiz"'          
>  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wall -Wpointer-arith 
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
> -Wnested-externs -fno-strict-aliasing -c -o mag_options.lo mag_options.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include 
> -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 
> -I/usr/include/compiz -DDATADIR=\"/usr/share/compiz\" -DLIBDIR=\"/usr/lib\" 
> -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" 
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
> -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -c mag.c  -fPIC 
> -DPIC -o .libs/mag.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include 
> -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 
> -I/usr/include/compiz -DDATADIR=\"/usr/share/compiz\" -DLIBDIR=\"/usr/lib\" 
> -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" 
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
> -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -c mag_options.c 
>  -fPIC -DPIC -o .libs/mag_options.o
> mag.c: In function ‘magInitScreen’:
> mag.c:1085:10: error: implicit declaration of function ‘calloc’ 
> [-Werror=implicit-function-declaration]
>  1085 |     ms = calloc (1, sizeof (MagScreen));
>       |          ^~~~~~
> mag.c:30:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
>    29 | #include "mag_options.h"
>   +++ |+#include <stdlib.h>
>    30 | 
> mag.c:1085:10: warning: incompatible implicit declaration of built-in 
> function ‘calloc’ [-Wbuiltin-declaration-mismatch]
>  1085 |     ms = calloc (1, sizeof (MagScreen));
>       |          ^~~~~~
> mag.c:1085:10: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
> mag.c: In function ‘magFiniScreen’:
> mag.c:1190:5: error: implicit declaration of function ‘free’ 
> [-Werror=implicit-function-declaration]
>  1190 |     free (ms);
>       |     ^~~~
> mag.c:1190:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> mag.c:1190:5: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
> mag.c:1190:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> mag.c: In function ‘magInitDisplay’:
> mag.c:1209:10: error: implicit declaration of function ‘malloc’ 
> [-Werror=implicit-function-declaration]
>  1209 |     md = malloc (sizeof (MagDisplay));
>       |          ^~~~~~
> mag.c:1209:10: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
> mag.c:1209:10: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
> mag.c:1209:10: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
> mag.c:1220:9: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>  1220 |         free (md);
>       |         ^~~~
> mag.c:1220:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> mag.c: In function ‘magFiniDisplay’:
> mag.c:1253:5: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>  1253 |     free (md);
>       |     ^~~~
> mag.c:1253:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> cc1: some warnings being treated as errors
> make[5]: *** [Makefile:514: mag.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/compiz-plugins-main_0.8.18-5_unstable.log

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