Source: libss7
Version: 2.0.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240420 ftbfs-trixie ftbfs-t64-armhf

Hi,

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


Relevant part (hopefully):
> gcc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2  -MD -MT 
> ss7.o -MF .ss7.o.d -MP -c -o ss7.o ss7.c
> ss7.c: In function ‘ss7_show_linkset’:
> ss7.c:654:56: error: format ‘%li’ expects argument of type ‘long int’, but 
> argument 3 has type ‘long long int’ [-Werror=format=]
>   654 |                                         sprintf(p, "(%lis)%c", 
> ss7->ss7_sched[ss7->links[i]->mtp3_timer[x]].when.tv_sec - time(NULL),
>       |                                                      ~~^       
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                        |              
>                                                   |
>       |                                                        long int       
>                                                   long long int
>       |                                                      %lli
> isup.c: In function ‘isup_show_calls’:
> isup.c:5250:88: error: format ‘%li’ expects argument of type ‘long int’, but 
> argument 6 has type ‘long long int’ [-Werror=format=]
>  5250 |                                 buf_used = ss7_snprintf(buf, 
> buf_used, buf_size, "%s(%li) ", isup_timer2str(x),  
> ss7->ss7_sched[c->timer[x]].when.tv_sec - time(NULL));
>       |                                                                       
>                ~~^                         
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                                       
>                  |                                                            
>      |
>       |                                                                       
>                  long int                                                     
>      long long int
>       |                                                                       
>                %lli
> cc1: all warnings being treated as errors
> make[1]: *** [Makefile:177: ss7.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/04/20/libss7_2.0.0-3_unstable-armhf.log

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