Source: hardinfo
Version: 0.5.1+git20180227-2.1
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):
> /usr/bin/cc -DLOCALEDIR=\"/usr/share/locale\" -I/<<PKGBUILDDIR>> 
> -I/<<PKGBUILDDIR>>/includes -I/<<PKGBUILDDIR>>/includes/x86 
> -I/<<PKGBUILDDIR>>/deps/uber-graph/uber 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/gtk-2.0 
> -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 
> -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi 
> -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/webp -I/usr/include/atk-1.0 -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   
> -std=gnu89 -MD -MT CMakeFiles/hardinfo.dir/hardinfo/expr.c.o -MF 
> CMakeFiles/hardinfo.dir/hardinfo/expr.c.o.d -o 
> CMakeFiles/hardinfo.dir/hardinfo/expr.c.o -c /<<PKGBUILDDIR>>/hardinfo/expr.c
> In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
>                  from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtk.h:126:
> /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is 
> deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
>    73 |   GTimeVal last_popdown;
>       |   ^~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:34,
>                  from /usr/include/glib-2.0/glib.h:32,
>                  from /usr/include/glib-2.0/gobject/gbinding.h:30:
> /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
>   580 | struct _GTimeVal
>       |        ^~~~~~~~~
> In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
>                  from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtk.h:126:
> /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is 
> deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
>    73 |   GTimeVal last_popdown;
>       |   ^~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:34,
>                  from /usr/include/glib-2.0/glib.h:32,
>                  from /usr/include/glib-2.0/gobject/gbinding.h:30:
> /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
>   580 | struct _GTimeVal
>       |        ^~~~~~~~~
> In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
>                  from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtk.h:126:
> /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is 
> deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
>    73 |   GTimeVal last_popdown;
>       |   ^~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:34,
>                  from /usr/include/glib-2.0/glib.h:32,
>                  from /usr/include/glib-2.0/gobject/gbinding.h:30:
> /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
>   580 | struct _GTimeVal
>       |        ^~~~~~~~~
> In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
>                  from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtk.h:126:
> /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is 
> deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
>    73 |   GTimeVal last_popdown;
>       |   ^~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:34,
>                  from /usr/include/glib-2.0/glib.h:32,
>                  from /usr/include/glib-2.0/gobject/gbinding.h:30:
> /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
>   580 | struct _GTimeVal
>       |        ^~~~~~~~~
> In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
>                  from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtk.h:126:
> /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is 
> deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
>    73 |   GTimeVal last_popdown;
>       |   ^~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:34,
>                  from /usr/include/glib-2.0/glib.h:32,
>                  from /usr/include/glib-2.0/gobject/gbinding.h:30:
> /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
>   580 | struct _GTimeVal
>       |        ^~~~~~~~~
> /<<PKGBUILDDIR>>/modules/computer/boots.c: In function ‘scan_boots_real’:
> /<<PKGBUILDDIR>>/modules/computer/boots.c:31:5: error: implicit declaration 
> of function ‘scan_os’ [-Werror=implicit-function-declaration]
>    31 |     scan_os(FALSE);
>       |     ^~~~~~~
> In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
>                  from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtk.h:126:
> /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is 
> deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
>    73 |   GTimeVal last_popdown;
>       |   ^~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:34,
>                  from /usr/include/glib-2.0/glib.h:32,
>                  from /usr/include/glib-2.0/gobject/gbinding.h:30:
> /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
>   580 | struct _GTimeVal
>       |        ^~~~~~~~~
> /<<PKGBUILDDIR>>/modules/network.c: In function ‘scan_shares’:
> /<<PKGBUILDDIR>>/modules/network.c:72:5: error: implicit declaration of 
> function ‘scan_samba’; did you mean ‘scan_arp’? 
> [-Werror=implicit-function-declaration]
>    72 |     scan_samba();
>       |     ^~~~~~~~~~
>       |     scan_arp
> /<<PKGBUILDDIR>>/modules/computer/alsa.c: In function ‘computer_get_alsainfo’:
> /<<PKGBUILDDIR>>/modules/computer/alsa.c:66:15: warning: ignoring return 
> value of ‘fgets’ declared with attribute ‘warn_unused_result’ 
> [-Wunused-result]
>    66 |         (void)fgets(buffer, 128, cards);  /* skip next line */
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> In file included from /<<PKGBUILDDIR>>/modules/benchmark.c:33:
> /<<PKGBUILDDIR>>/modules/benchmark/bench_results.c: In function 
> ‘gen_machine_id’:
> /<<PKGBUILDDIR>>/modules/benchmark/bench_results.c:125:18: error: implicit 
> declaration of function ‘isalnum’ [-Werror=implicit-function-declaration]
>   125 |             if (!isalnum(*s)) {
>       |                  ^~~~~~~
> /<<PKGBUILDDIR>>/modules/benchmark/bench_results.c:1:1: note: include 
> ‘<ctype.h>’ or provide a declaration of ‘isalnum’
>   +++ |+#include <ctype.h>
>     1 | /*
> make[3]: *** [CMakeFiles/computer.dir/build.make:107: 
> CMakeFiles/computer.dir/modules/computer/boots.c.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/hardinfo_0.5.1+git20180227-2.1_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