Subject: bug#34567: closed (Re: bug#34567: Bogus 'upower-service' deprecation message)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 09 Mar 2019 18:30:02 +0000

Your bug report

#34567: Bogus 'upower-service' deprecation message

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
34567: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34567
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#34567: Bogus 'upower-service' deprecation message
From: Ludovic Courtès <[email-masked]>
To: Christopher Baines <[email-masked]>
Cc: [email-masked], Mark H Weaver <[email-masked]>, [email-masked]
Date: Sat, 09 Mar 2019 19:29:07 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Christopher Baines <[email-masked]> skribis:

> Mark H Weaver <[email-masked]> writes:
>
>> My OS config includes a reference to 'upower-service', which is now
>> deprecated, but the deprecation message is bogus:
>>
>>   mhw@jojen ~$ guix system build /etc/config.scm --verbosity=1
>>   /etc/config.scm:149:19: warning: 'slim-service' is deprecated, use 'slim-service-type' instead
>>   /etc/config.scm:156:19: warning: 'upower-service' is deprecated, use 'Return a service that runs @uref{http://upower.freedesktop.org/,
>>   @command{upowerd}}, a system-wide monitor for power consumption and battery
>>   levels, with the given configuration settings.  It implements the
>>   @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME.' instead
>>   building /gnu/store/nwdjz1mkvcc4ic65mgw5i94ig3qzp8kf-libjpeg-turbo-2.0.2.tar.gz.drv...
>>   [...]
>
> Haha, that is quite bogus. I didn't realise define-deprecated took two
> arguments. I've sent a patch to fix this here [1].
>
> 1: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34579

This was fixed in bb65f66ce0e5feee2d997a8526e10fc9f31e97fd, closing!

Ludo’.

Subject: Bogus 'upower-service' deprecation message
From: Mark H Weaver <[email-masked]>
To: [email-masked]
Date: Tue, 19 Feb 2019 00:50:12 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

My OS config includes a reference to 'upower-service', which is now
deprecated, but the deprecation message is bogus:

  mhw@jojen ~$ guix system build /etc/config.scm --verbosity=1
  /etc/config.scm:149:19: warning: 'slim-service' is deprecated, use 'slim-service-type' instead
  /etc/config.scm:156:19: warning: 'upower-service' is deprecated, use 'Return a service that runs @uref{http://upower.freedesktop.org/,
  @command{upowerd}}, a system-wide monitor for power consumption and battery
  levels, with the given configuration settings.  It implements the
  @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME.' instead
  building /gnu/store/nwdjz1mkvcc4ic65mgw5i94ig3qzp8kf-libjpeg-turbo-2.0.2.tar.gz.drv...
  [...]

       Mark