|
From: | Paul Jewell |
Subject: | bug#54061: thermald-2.4.7 build fail following upower update to 0.99.15 |
Date: | Fri, 18 Feb 2022 17:07:32 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
When building thermald-2.4.7, I am getting a build failure: ------------8<---------------------src/thd_engine_adaptive.cpp: In member function ‘int cthd_engine_adaptive::evaluate_lid_condition(condition)’: src/thd_engine_adaptive.cpp:1002:61: error: ‘gboolean up_client_get_lid_is_closed(UpClient*)’ is deprecated [-Werror=deprecated-declarations
] ------------8<---------------------According to jpoiret (via IRC), this is due to the upower update from 0.99.13 to 0.99.15, and the marking of the "up_client_get_lid_is_closed" function as deprecated.
I am not sure where the compiler flag setting is made turning this warning into an error. I have no configuration in my system config which could be doing this (at least not explicitly).
[Prev in Thread] | Current Thread | [Next in Thread] |