Source: kodi-pvr-stalker
Version: 20.3.1+ds1-1
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):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib/libstalkerclient && /usr/bin/cc 
> -DBUILD_KODI_ADDON -I/<<PKGBUILDDIR>>/lib -I/usr/include/libxml2 
> -I/usr/include/jsoncpp -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC   -DTARGET_POSIX -DTARGET_LINUX 
> -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 
> -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 
> -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD 
> -MT lib/libstalkerclient/CMakeFiles/stalkerclient.dir/xmltv.c.o -MF 
> CMakeFiles/stalkerclient.dir/xmltv.c.o.d -o 
> CMakeFiles/stalkerclient.dir/xmltv.c.o -c 
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c: In function ‘sc_xmltv_create’:
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:51:13: error: implicit 
> declaration of function ‘malloc’ [-Werror=implicit-function-declaration]
>    51 |     strct = malloc(size);
>       |             ^~~~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:31:1: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘malloc’
>    30 | #include <kodi/c-api/addon-instance/pvr/pvr_epg.h>
>   +++ |+#include <stdlib.h>
>    31 | 
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:51:13: warning: incompatible 
> implicit declaration of built-in function ‘malloc’ 
> [-Wbuiltin-declaration-mismatch]
>    51 |     strct = malloc(size);
>       |             ^~~~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:51:13: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘malloc’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c: In function 
> ‘sc_xmltv_list_free’:
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:90:5: error: implicit 
> declaration of function ‘free’ [-Werror=implicit-function-declaration]
>    90 |     free(*list);
>       |     ^~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:90:5: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:90:5: warning: incompatible 
> implicit declaration of built-in function ‘free’ 
> [-Wbuiltin-declaration-mismatch]
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:90:5: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c: In function ‘sc_xmltv_free’:
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:101:25: warning: incompatible 
> implicit declaration of built-in function ‘free’ 
> [-Wbuiltin-declaration-mismatch]
>   101 |             if (c->id_) free(c->id_);
>       |                         ^~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:101:25: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:114:29: warning: incompatible 
> implicit declaration of built-in function ‘free’ 
> [-Wbuiltin-declaration-mismatch]
>   114 |             if (p->channel) free(p->channel);
>       |                             ^~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:114:29: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:116:27: warning: incompatible 
> implicit declaration of built-in function ‘free’ 
> [-Wbuiltin-declaration-mismatch]
>   116 |             if (p->title) free(p->title);
>       |                           ^~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:116:27: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:118:31: warning: incompatible 
> implicit declaration of built-in function ‘free’ 
> [-Wbuiltin-declaration-mismatch]
>   118 |             if (p->sub_title) free(p->sub_title);
>       |                               ^~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:118:31: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:120:26: warning: incompatible 
> implicit declaration of built-in function ‘free’ 
> [-Wbuiltin-declaration-mismatch]
>   120 |             if (p->desc) free(p->desc);
>       |                          ^~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:120:26: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:125:26: warning: incompatible 
> implicit declaration of built-in function ‘free’ 
> [-Wbuiltin-declaration-mismatch]
>   125 |             if (p->date) free(p->date);
>       |                          ^~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:125:26: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:132:33: warning: incompatible 
> implicit declaration of built-in function ‘free’ 
> [-Wbuiltin-declaration-mismatch]
>   132 |             if (p->star_rating) free(p->star_rating);
>       |                                 ^~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:132:33: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:134:26: warning: incompatible 
> implicit declaration of built-in function ‘free’ 
> [-Wbuiltin-declaration-mismatch]
>   134 |             if (p->icon) free(p->icon);
>       |                          ^~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:134:26: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:143:26: warning: incompatible 
> implicit declaration of built-in function ‘free’ 
> [-Wbuiltin-declaration-mismatch]
>   143 |             if (c->name) free(c->name);
>       |                          ^~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:143:26: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:150:5: warning: incompatible 
> implicit declaration of built-in function ‘free’ 
> [-Wbuiltin-declaration-mismatch]
>   150 |     free(strct);
>       |     ^~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:150:5: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c: In function 
> ‘sc_xmltv_parse_programme’:
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:278:5: warning: incompatible 
> implicit declaration of built-in function ‘free’ 
> [-Wbuiltin-declaration-mismatch]
>   278 |     free(val);
>       |     ^~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/xmltv.c:278:5: note: include 
> ‘<stdlib.h>’ or provide a declaration of ‘free’
> /<<PKGBUILDDIR>>/lib/libstalkerclient/request.c: In function 
> ‘sc_request_build_headers’:
> /<<PKGBUILDDIR>>/lib/libstalkerclient/request.c:140:26: warning: ‘%s’ 
> directive writing up to 1023 bytes into a region of size 252 
> [-Wformat-overflow=]
>   140 |     sprintf(buffer, "mac=%s; stb_lang=%s; timezone=%s",
>       |                          ^~
> In file included from /usr/include/stdio.h:964,
>                  from /<<PKGBUILDDIR>>/lib/libstalkerclient/request.c:26:
> In function ‘sprintf’,
>     inlined from ‘sc_request_build_headers’ at 
> /<<PKGBUILDDIR>>/lib/libstalkerclient/request.c:140:5:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 27 and 3096 bytes into a destination 
> of size 256
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/lib/libstalkerclient/request.c: In function 
> ‘sc_request_build_headers’:
> /<<PKGBUILDDIR>>/lib/libstalkerclient/request.c:146:33: warning: ‘%s’ 
> directive writing up to 1023 bytes into a region of size 249 
> [-Wformat-overflow=]
>   146 |         sprintf(buffer, "Bearer %s", identity->token);
>       |                                 ^~
> In function ‘sprintf’,
>     inlined from ‘sc_request_build_headers’ at 
> /<<PKGBUILDDIR>>/lib/libstalkerclient/request.c:146:9:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 8 and 1031 bytes into a destination 
> of size 256
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** 
> [lib/libstalkerclient/CMakeFiles/stalkerclient.dir/build.make:191: 
> lib/libstalkerclient/CMakeFiles/stalkerclient.dir/xmltv.c.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/kodi-pvr-stalker_20.3.1+ds1-1_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