Source: wv
Version: 1.2.9-7
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

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

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -DVERSION=\"1.2.9\" 
> -DXMLCONFIG=\"/usr/share/wv/wvConfig.xml\" 
> -DHTMLCONFIG=\"/usr/share/wv/wvHtml.xml\" -DWVDATADIR=\"/usr/share/wv\" -I. 
> -I. -I. -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libgsf-1 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/usr/include/libxml2       -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -ansi -MT wvWare.o -MD -MP -MF .deps/wvWare.Tpo -c -o wvWare.o wvWare.c
> wvWare.c: In function ‘wvPrintGraphics’:
> wvWare.c:1262:19: warning: repeated '-' flag in format [-Wformat=]
>  1262 |           printf ("\n\\resizebox{%dpt}{%dpt}\
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>  1263 |                   {\\includegraphics{%s.eps}}\
>       |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  1264 |                   \n% -- %#.2x graphic -- \n", width, height, source, 
> graphicstype);
>       |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> wvWare.c:1262:19: warning: repeated ' ' flag in format [-Wformat=]
> wvWare.c:1262:19: warning: conversion lacks type at end of format [-Wformat=]
> wvWare.c: In function ‘mySpecCharProc’:
> wvWare.c:1474:40: error: implicit declaration of function ‘strcasecmp’; did 
> you mean ‘g_strcasecmp’? [-Werror=implicit-function-declaration]
>  1474 |                     if ((!message) && (strcasecmp ("UTF-8", charset)))
>       |                                        ^~~~~~~~~~
>       |                                        g_strcasecmp
> wvWare.c: In function ‘HandleBitmap’:
> wvWare.c:182:18: warning: ignoring return value of ‘chdir’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   182 |     if (ps->dir) chdir (ps->dir);
>       |                  ^~~~~~~~~~~~~~~
> wvWare.c:184:18: warning: ignoring return value of ‘chdir’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   184 |     if (ps->dir) chdir (wv_cwd);
>       |                  ^~~~~~~~~~~~~~
> wvWare.c: In function ‘HandleMetafile’:
> wvWare.c:209:18: warning: ignoring return value of ‘chdir’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   209 |     if (ps->dir) chdir (ps->dir);
>       |                  ^~~~~~~~~~~~~~~
> wvWare.c:211:18: warning: ignoring return value of ‘chdir’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   211 |     if (ps->dir) chdir (wv_cwd);
>       |                  ^~~~~~~~~~~~~~
> wvWare.c: In function ‘main’:
> wvWare.c:410:5: warning: ignoring return value of ‘getcwd’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   410 |     getcwd (wv_cwd,4096);
>       |     ^~~~~~~~~~~~~~~~~~~~
> wvWare.c: In function ‘mySpecCharProc’:
> wvWare.c:1362:34: warning: ignoring return value of ‘chdir’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>  1362 |                     if (ps->dir) chdir (ps->dir);
>       |                                  ^~~~~~~~~~~~~~~
> wvWare.c:1367:34: warning: ignoring return value of ‘chdir’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>  1367 |                     if (ps->dir) chdir (wv_cwd);
>       |                                  ^~~~~~~~~~~~~~
> wvWare.c:1402:46: warning: ignoring return value of ‘chdir’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>  1402 |                                 if (ps->dir) chdir (ps->dir);
>       |                                              ^~~~~~~~~~~~~~~
> wvWare.c:1415:46: warning: ignoring return value of ‘chdir’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>  1415 |                                 if (ps->dir) chdir (wv_cwd);
>       |                                              ^~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [GNUmakefile:959: wvWare.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/wv_1.2.9-7_unstable.log

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