Source: thermald
Version: 2.4.7-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> g++ -DHAVE_CONFIG_H -I.  -I./src -DTDLOCALEDIR=\"/usr/share/locale\" 
> -DGLIB_SUPPORT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I/usr/include/libxml2 
> -I/usr/include/libupower-glib -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libevdev-1.0/ 
> -DTDRUNDIR=\"/var/run/thermald\" -DTDCONFDIR=\"/etc/thermald\" -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wclobbered -Wempty-body -Wformat 
> -Wignored-qualifiers -Wmissing-field-initializers -Wreturn-type 
> -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-variable 
> -std=c++0x -Werror -I src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wclobbered 
> -Wempty-body -Wformat -Wignored-qualifiers -Wmissing-field-initializers 
> -Wreturn-type -Wsign-compare -Wtype-limits -Wuninitialized 
> -Wunused-but-set-variable -std=c++0x -Werror -c -o 
> src/thermald-thd_engine_adaptive.o `test -f 'src/thd_engine_adaptive.cpp' || 
> echo './'`src/thd_engine_adaptive.cpp
> src/thd_engine_adaptive.cpp: In member function ‘int 
> cthd_engine_adaptive::evaluate_lid_condition(condition)’:
> src/thd_engine_adaptive.cpp:1002:54: error: ‘gboolean 
> up_client_get_lid_is_closed(UpClient*)’ is deprecated 
> [-Werror=deprecated-declarations]
>  1002 |         bool lid_closed = up_client_get_lid_is_closed(upower_client);
>       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> In file included from /usr/include/libupower-glib/upower.h:38,
>                  from src/thd_engine_adaptive.h:30,
>                  from src/thd_engine_adaptive.cpp:32:
> /usr/include/libupower-glib/up-client.h:98:18: note: declared here
>    98 | gboolean         up_client_get_lid_is_closed            (UpClient     
>           *client);
>       |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> g++ -DHAVE_CONFIG_H -I.  -I./src -DTDLOCALEDIR=\"/usr/share/locale\" 
> -DGLIB_SUPPORT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I/usr/include/libxml2 
> -I/usr/include/libupower-glib -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libevdev-1.0/ 
> -DTDRUNDIR=\"/var/run/thermald\" -DTDCONFDIR=\"/etc/thermald\" -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wclobbered -Wempty-body -Wformat 
> -Wignored-qualifiers -Wmissing-field-initializers -Wreturn-type 
> -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-variable 
> -std=c++0x -Werror -I src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wclobbered 
> -Wempty-body -Wformat -Wignored-qualifiers -Wmissing-field-initializers 
> -Wreturn-type -Wsign-compare -Wtype-limits -Wuninitialized 
> -Wunused-but-set-variable -std=c++0x -Werror -c -o src/thermald-thd_sys_fs.o 
> `test -f 'src/thd_sys_fs.cpp' || echo './'`src/thd_sys_fs.cpp
> g++ -DHAVE_CONFIG_H -I.  -I./src -DTDLOCALEDIR=\"/usr/share/locale\" 
> -DGLIB_SUPPORT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I/usr/include/libxml2 
> -I/usr/include/libupower-glib -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libevdev-1.0/ 
> -DTDRUNDIR=\"/var/run/thermald\" -DTDCONFDIR=\"/etc/thermald\" -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wclobbered -Wempty-body -Wformat 
> -Wignored-qualifiers -Wmissing-field-initializers -Wreturn-type 
> -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-variable 
> -std=c++0x -Werror -I src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wclobbered 
> -Wempty-body -Wformat -Wignored-qualifiers -Wmissing-field-initializers 
> -Wreturn-type -Wsign-compare -Wtype-limits -Wuninitialized 
> -Wunused-but-set-variable -std=c++0x -Werror -c -o 
> src/thermald-thd_trip_point.o `test -f 'src/thd_trip_point.cpp' || echo 
> './'`src/thd_trip_point.cpp
> g++ -DHAVE_CONFIG_H -I.  -I./src -DTDLOCALEDIR=\"/usr/share/locale\" 
> -DGLIB_SUPPORT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I/usr/include/libxml2 
> -I/usr/include/libupower-glib -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libevdev-1.0/ 
> -DTDRUNDIR=\"/var/run/thermald\" -DTDCONFDIR=\"/etc/thermald\" -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wclobbered -Wempty-body -Wformat 
> -Wignored-qualifiers -Wmissing-field-initializers -Wreturn-type 
> -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-variable 
> -std=c++0x -Werror -I src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wclobbered 
> -Wempty-body -Wformat -Wignored-qualifiers -Wmissing-field-initializers 
> -Wreturn-type -Wsign-compare -Wtype-limits -Wuninitialized 
> -Wunused-but-set-variable -std=c++0x -Werror -c -o src/thermald-thd_zone.o 
> `test -f 'src/thd_zone.cpp' || echo './'`src/thd_zone.cpp
> g++ -DHAVE_CONFIG_H -I.  -I./src -DTDLOCALEDIR=\"/usr/share/locale\" 
> -DGLIB_SUPPORT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I/usr/include/libxml2 
> -I/usr/include/libupower-glib -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libevdev-1.0/ 
> -DTDRUNDIR=\"/var/run/thermald\" -DTDCONFDIR=\"/etc/thermald\" -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wclobbered -Wempty-body -Wformat 
> -Wignored-qualifiers -Wmissing-field-initializers -Wreturn-type 
> -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-variable 
> -std=c++0x -Werror -I src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wclobbered 
> -Wempty-body -Wformat -Wignored-qualifiers -Wmissing-field-initializers 
> -Wreturn-type -Wsign-compare -Wtype-limits -Wuninitialized 
> -Wunused-but-set-variable -std=c++0x -Werror -c -o 
> src/thermald-thd_zone_cpu.o `test -f 'src/thd_zone_cpu.cpp' || echo 
> './'`src/thd_zone_cpu.cpp
> g++ -DHAVE_CONFIG_H -I.  -I./src -DTDLOCALEDIR=\"/usr/share/locale\" 
> -DGLIB_SUPPORT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I/usr/include/libxml2 
> -I/usr/include/libupower-glib -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libevdev-1.0/ 
> -DTDRUNDIR=\"/var/run/thermald\" -DTDCONFDIR=\"/etc/thermald\" -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wclobbered -Wempty-body -Wformat 
> -Wignored-qualifiers -Wmissing-field-initializers -Wreturn-type 
> -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-variable 
> -std=c++0x -Werror -I src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wclobbered 
> -Wempty-body -Wformat -Wignored-qualifiers -Wmissing-field-initializers 
> -Wreturn-type -Wsign-compare -Wtype-limits -Wuninitialized 
> -Wunused-but-set-variable -std=c++0x -Werror -c -o 
> src/thermald-thd_zone_therm_sys_fs.o `test -f 'src/thd_zone_therm_sys_fs.cpp' 
> || echo './'`src/thd_zone_therm_sys_fs.cpp
> cc1plus: all warnings being treated as errors
> make[3]: *** [Makefile:903: src/thermald-thd_engine_adaptive.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/thermald_2.4.7-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