GNU bug report logs -
#54061
thermald-2.4.7 build fail following upower update to 0.99.15
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54061 in the body.
You can then email your comments to 54061 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#54061
; Package
guix
.
(Fri, 18 Feb 2022 18:33:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Paul Jewell <paul <at> teulu.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 18 Feb 2022 18:33:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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).
Information forwarded
to
bug-guix <at> gnu.org
:
bug#54061
; Package
guix
.
(Sat, 19 Feb 2022 14:56:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 54061 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Paul Jewell schreef op vr 18-02-2022 om 17:07 [+0000]:
> When building thermald-2.4.7, I am getting a build failure:
>
> [... deprecation error ...]
The attached two patches should fix this.
Greetings,
Maxime.
[0001-gnu-thermald-Use-G-expressions.patch (text/x-patch, attachment)]
[0002-gnu-thermald-Fix-build-failure.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#54061
; Package
guix
.
(Sat, 19 Feb 2022 18:19:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 54061 <at> debbugs.gnu.org (full text, mbox):
I have reported this upstream:
https://github.com/intel/thermal_daemon/issues/340
It seems the problem was known (at least by the upower developers) for 9
months, but there was no comment on the thermald github issue list.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#54061
; Package
guix
.
(Sat, 19 Feb 2022 20:54:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 54061 <at> debbugs.gnu.org (full text, mbox):
Hello,
Maxime Devos <maximedevos <at> telenet.be> writes:
> `(#:configure-flags
> - (let ((out (assoc-ref %outputs "out")))
> - (list (string-append "--with-dbus-sys-dir="
> - out "/etc/dbus-1/system.d")
> - "--localstatedir=/var"))
> + ,#~(list (string-append "--with-dbus-sys-dir="
> + #$output "/etc/dbus-1/system.d")
> + "--localstatedir=/var")
The patches look good, but I'm not sure it is a good idea to publicize
the unquote+ungexp, alias ",#~", style. IIUC, in
<https://guix.gnu.org/fr/blog/2021/the-big-change/> there's some
reasoning against the abuse of unquoting. This kind of defeat the
simplicity introduced with G-expressions. So, I would favor writing:
(list
#:configure-flags
#~(list ...))
WDYT?
Regards,
--
Nicolas Goaziou
Information forwarded
to
bug-guix <at> gnu.org
:
bug#54061
; Package
guix
.
(Sat, 19 Feb 2022 20:59:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 54061 <at> debbugs.gnu.org (full text, mbox):
On 19/02/2022 14:55, Maxime Devos wrote:
> Paul Jewell schreef op vr 18-02-2022 om 17:07 [+0000]:
>> When building thermald-2.4.7, I am getting a build failure:
>>
>> [... deprecation error ...]
>
>
> The attached two patches should fix this.
>
> Greetings,
> Maxime.
Hi Maxime,
Many thanks for this - with the patches everything builds OK.
I also noted a pull request is outstanding for thermald which will
remove the need for the deprecated functions, so hopefully the changes
can be reversed with the next version of thermald.
When do you think these patches can be merged (notwithstanding the
comments from Nicolas of course)?
Best regards,
Paul
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Wed, 02 Mar 2022 17:04:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Paul Jewell <paul <at> teulu.org>
:
bug acknowledged by developer.
(Wed, 02 Mar 2022 17:04:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 54061-done <at> debbugs.gnu.org (full text, mbox):
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’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#54061
; Package
guix
.
(Thu, 03 Mar 2022 16:34:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 54061-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Good afternoon,
Thanks Ludo, and also Maxime and Guillaume.
Upstream have also merged a fix to the original problem, so I guess the
change made here can be removed again after the next release.
Best regards,
Paul
On 02/03/2022 17:03, Ludovic Courtès wrote:
> 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’.
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 01 Apr 2022 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 136 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.