Source: sensors-applet Version: 3.0.0+git6-0.5 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): > /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I../../sensors-applet -DGNOMELOCALEDIR=\""/usr/share/locale/"\" > -DG_LOG_DOMAIN=\""Sensors Applet"\" > -DPIXMAPS_DIR=\""/usr/share/pixmaps/sensors-applet/"\" > -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib/x86_64-linux-gnu"\" > -DSYSCONFDIR=\""/etc"\" -DPREFIX=\""/usr"\" -I../.. -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 > -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c > -o libmbmon_la-mbmon-plugin.lo `test -f 'mbmon-plugin.c' || echo > './'`mbmon-plugin.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../sensors-applet > -DGNOMELOCALEDIR=\"/usr/share/locale/\" "-DG_LOG_DOMAIN=\"Sensors Applet\"" > -DPIXMAPS_DIR=\"/usr/share/pixmaps/sensors-applet/\" -DDATADIR=\"/usr/share\" > -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DSYSCONFDIR=\"/etc\" > -DPREFIX=\"/usr\" -I../.. -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 > -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c > mbmon-plugin.c -fPIC -DPIC -o .libs/libmbmon_la-mbmon-plugin.o > mbmon-plugin.c: In function ‘mbmon_plugin_query_mbmon_daemon’: > mbmon-plugin.c:64:9: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' > instead [-Wdeprecated-declarations] > 64 | static GTimeVal previous_query_time; > | ^~~~~~ > In file included from /usr/include/glib-2.0/glib/galloca.h:34, > from /usr/include/glib-2.0/glib.h:32, > from ../../sensors-applet/sensors-applet-sensor.h:22, > from ../../sensors-applet/sensors-applet-plugin.h:22, > from mbmon-plugin.h:22, > from mbmon-plugin.c:39: > /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here > 580 | struct _GTimeVal > | ^~~~~~~~~ > mbmon-plugin.c:65:9: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' > instead [-Wdeprecated-declarations] > 65 | GTimeVal current_query_time; > | ^~~~~~~~ > /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here > 580 | struct _GTimeVal > | ^~~~~~~~~ > mbmon-plugin.c:70:17: warning: ‘g_get_current_time’ is deprecated: Use > 'g_get_real_time' instead [-Wdeprecated-declarations] > 70 | g_get_current_time(&previous_query_time); > | ^~~~~~~~~~~~~~~~~~ > In file included from /usr/include/glib-2.0/glib/giochannel.h:35, > from /usr/include/glib-2.0/glib.h:56: > /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here > 728 | void g_get_current_time (GTimeVal *result); > | ^~~~~~~~~~~~~~~~~~ > mbmon-plugin.c:73:9: warning: ‘g_get_current_time’ is deprecated: Use > 'g_get_real_time' instead [-Wdeprecated-declarations] > 73 | g_get_current_time(¤t_query_time); > | ^~~~~~~~~~~~~~~~~~ > /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here > 728 | void g_get_current_time (GTimeVal *result); > | ^~~~~~~~~~~~~~~~~~ > mbmon-plugin.c:96:29: error: implicit declaration of function ‘read’ > [-Werror=implicit-function-declaration] > 96 | while ((n = read(sockfd, pc, > MBMON_OUTPUT_BUFFER_LENGTH - output_length)) > 0) { > | ^~~~ > mbmon-plugin.c:103:17: error: implicit declaration of function ‘close’ > [-Werror=implicit-function-declaration] > 103 | close(sockfd); > | ^~~~~ > cc1: some warnings being treated as errors > make[3]: *** [Makefile:521: libmbmon_la-mbmon-plugin.lo] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/sensors-applet_3.0.0+git6-0.5_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.