GNU bug report logs - #54061
thermald-2.4.7 build fail following upower update to 0.99.15

Previous Next

Package: guix;

Reported by: Paul Jewell <paul <at> teulu.org>

Date: Fri, 18 Feb 2022 18:33:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#54061: closed (thermald-2.4.7 build fail following upower
 update to 0.99.15)
Date: Wed, 02 Mar 2022 17:04:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 02 Mar 2022 18:03:37 +0100
with message-id <8735k01e3a.fsf <at> gnu.org>
and subject line Re: bug#54061: thermald-2.4.7 build fail following upower update to 0.99.15
has caused the debbugs.gnu.org bug report #54061,
regarding thermald-2.4.7 build fail following upower update to 0.99.15
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
54061: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54061
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Jewell <paul <at> teulu.org>
To: bug-guix <at> gnu.org
Subject: thermald-2.4.7 build fail following upower update to 0.99.15
Date: Fri, 18 Feb 2022 17:07:32 +0000
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).



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: Guillaume Le Vaillant <glv <at> posteo.net>, 54061-done <at> debbugs.gnu.org,
 Paul Jewell <paul <at> teulu.org>
Subject: Re: bug#54061: thermald-2.4.7 build fail following upower update to
 0.99.15
Date: Wed, 02 Mar 2022 18:03:37 +0100
Hi,

Maxime Devos <maximedevos <at> telenet.be> skribis:

> From d066a7dcd11757fb19edc79028104f7dbcffeab1 Mon Sep 17 00:00:00 2001
> From: Maxime Devos <maximedevos <at> telenet.be>
> Date: Sat, 19 Feb 2022 14:52:17 +0000
> Subject: [PATCH 2/2] gnu: thermald: Fix build failure.
>
> * gnu/packages/admin.scm (thermald)[arguments]<#:configure-flags>: Add
> '--disable-werror'.
>
> Fixes: <https://issues.guix.gnu.org/54061>
> Reported-by: Paul Jewell <paul <at> teulu.org>

Guillaume fixed it independently in commit
73db69bea15e390a31289fdfadb1d5b9a7d13557.

Closing!

Ludo’.


This bug report was last modified 3 years and 137 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.