Source: pinfo
Version: 0.6.13-1.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

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


Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I..   
> -D__DEB_CANARY_CPPFLAGS_5f14615696649541a025d3d0f8e0447f__ -Wdate-time 
> -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE  -D_XOPEN_SOURCE=600 
> -I/usr/include/readline -Wall -Wextra -Wshadow -Werror 
> -DLOCALEDIR=\"/usr/share/locale\" -DCONFIGDIR=\"/etc/pinforc\" -g -O2 
> -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
> -Werror=volatile-register-var 
> -D__DEB_CANARY_CFLAGS_5f14615696649541a025d3d0f8e0447f__ 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -D_XOPEN_SOURCE=600 -c -o pinfo-video.o `test -f 
> 'video.c' || echo './'`video.c
> In file included from localestuff.h:41,
>                  from common_includes.h:59,
>                  from video.c:24:
> video.c: In function ‘showscreen’:
> video.c:112:26: error: format ‘%d’ expects argument of type ‘int’, but 
> argument 2 has type ‘long unsigned int’ [-Werror=format=]
>   112 |                 printw(_("Viewing line %d/%d, %d%%"), pos + maxy - 2, 
> lines,((pos + maxy - 2) * 100) / lines);
>       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> video.c:112:24: note: in expansion of macro ‘_’
>   112 |                 printw(_("Viewing line %d/%d, %d%%"), pos + maxy - 2, 
> lines,((pos + maxy - 2) * 100) / lines);
>       |                        ^
> video.c:112:41: note: format string is defined here
>   112 |                 printw(_("Viewing line %d/%d, %d%%"), pos + maxy - 2, 
> lines,((pos + maxy - 2) * 100) / lines);
>       |                                        ~^
>       |                                         |
>       |                                         int
>       |                                        %ld
> In file included from localestuff.h:41,
>                  from common_includes.h:59,
>                  from video.c:24:
> video.c:112:26: error: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long unsigned int’ [-Werror=format=]
>   112 |                 printw(_("Viewing line %d/%d, %d%%"), pos + maxy - 2, 
> lines,((pos + maxy - 2) * 100) / lines);
>       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> video.c:112:24: note: in expansion of macro ‘_’
>   112 |                 printw(_("Viewing line %d/%d, %d%%"), pos + maxy - 2, 
> lines,((pos + maxy - 2) * 100) / lines);
>       |                        ^
> video.c:112:44: note: format string is defined here
>   112 |                 printw(_("Viewing line %d/%d, %d%%"), pos + maxy - 2, 
> lines,((pos + maxy - 2) * 100) / lines);
>       |                                           ~^
>       |                                            |
>       |                                            int
>       |                                           %ld
> In file included from localestuff.h:41,
>                  from common_includes.h:59,
>                  from video.c:24:
> video.c:112:26: error: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long unsigned int’ [-Werror=format=]
>   112 |                 printw(_("Viewing line %d/%d, %d%%"), pos + maxy - 2, 
> lines,((pos + maxy - 2) * 100) / lines);
>       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> video.c:112:24: note: in expansion of macro ‘_’
>   112 |                 printw(_("Viewing line %d/%d, %d%%"), pos + maxy - 2, 
> lines,((pos + maxy - 2) * 100) / lines);
>       |                        ^
> video.c:112:48: note: format string is defined here
>   112 |                 printw(_("Viewing line %d/%d, %d%%"), pos + maxy - 2, 
> lines,((pos + maxy - 2) * 100) / lines);
>       |                                               ~^
>       |                                                |
>       |                                                int
>       |                                               %ld
> In file included from localestuff.h:41,
>                  from common_includes.h:59,
>                  from video.c:24:
> video.c:114:26: error: format ‘%d’ expects argument of type ‘int’, but 
> argument 2 has type ‘long unsigned int’ [-Werror=format=]
>   114 |                 printw(_("Viewing line %d/%d, 100%%"), lines, lines);
>       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> video.c:114:24: note: in expansion of macro ‘_’
>   114 |                 printw(_("Viewing line %d/%d, 100%%"), lines, lines);
>       |                        ^
> video.c:114:41: note: format string is defined here
>   114 |                 printw(_("Viewing line %d/%d, 100%%"), lines, lines);
>       |                                        ~^
>       |                                         |
>       |                                         int
>       |                                        %ld
> In file included from localestuff.h:41,
>                  from common_includes.h:59,
>                  from video.c:24:
> video.c:114:26: error: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long unsigned int’ [-Werror=format=]
>   114 |                 printw(_("Viewing line %d/%d, 100%%"), lines, lines);
>       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> video.c:114:24: note: in expansion of macro ‘_’
>   114 |                 printw(_("Viewing line %d/%d, 100%%"), lines, lines);
>       |                        ^
> video.c:114:44: note: format string is defined here
>   114 |                 printw(_("Viewing line %d/%d, 100%%"), lines, lines);
>       |                                           ~^
>       |                                            |
>       |                                            int
>       |                                           %ld
> gcc -DHAVE_CONFIG_H -I. -I..   
> -D__DEB_CANARY_CPPFLAGS_5f14615696649541a025d3d0f8e0447f__ -Wdate-time 
> -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE  -D_XOPEN_SOURCE=600 
> -I/usr/include/readline -Wall -Wextra -Wshadow -Werror 
> -DLOCALEDIR=\"/usr/share/locale\" -DCONFIGDIR=\"/etc/pinforc\" -g -O2 
> -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
> -Werror=volatile-register-var 
> -D__DEB_CANARY_CFLAGS_5f14615696649541a025d3d0f8e0447f__ 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -D_XOPEN_SOURCE=600 -c -o pinfo-initializelinks.o 
> `test -f 'initializelinks.c' || echo './'`initializelinks.c
> gcc -DHAVE_CONFIG_H -I. -I..   
> -D__DEB_CANARY_CPPFLAGS_5f14615696649541a025d3d0f8e0447f__ -Wdate-time 
> -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE  -D_XOPEN_SOURCE=600 
> -I/usr/include/readline -Wall -Wextra -Wshadow -Werror 
> -DLOCALEDIR=\"/usr/share/locale\" -DCONFIGDIR=\"/etc/pinforc\" -g -O2 
> -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
> -Werror=volatile-register-var 
> -D__DEB_CANARY_CFLAGS_5f14615696649541a025d3d0f8e0447f__ 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -D_XOPEN_SOURCE=600 -c -o pinfo-printinfo.o `test -f 
> 'printinfo.c' || echo './'`printinfo.c
> cc1: all warnings being treated as errors
> make[3]: *** [Makefile:738: pinfo-video.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/pinfo_0.6.13-1.1_unstable.log

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 marking 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