From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#34567: Bogus 'upower-service' deprecation message Date: Sat, 09 Mar 2019 19:29:07 +0100 Message-ID: <875zsr6gwc.fsf@gnu.org> References: <87va1gqqc0.fsf@netris.org> <87ftsjh4a8.fsf@cbaines.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:54529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2gjW-0004s7-QA for bug-guix@gnu.org; Sat, 09 Mar 2019 13:30:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2gjS-0004xP-Mf for bug-guix@gnu.org; Sat, 09 Mar 2019 13:30:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h2gjS-0004wm-HP for bug-guix@gnu.org; Sat, 09 Mar 2019 13:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h2gjS-0003kU-Bf for bug-guix@gnu.org; Sat, 09 Mar 2019 13:30:02 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87ftsjh4a8.fsf@cbaines.net> (Christopher Baines's message of "Tue, 19 Feb 2019 21:11:43 +0000") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Christopher Baines Cc: 34567-done@debbugs.gnu.org, 34579-done@debbugs.gnu.org Christopher Baines skribis: > Mark H Weaver 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=3D1 >> /etc/config.scm:149:19: warning: 'slim-service' is deprecated, use 'sl= im-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 ba= ttery >> 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=3D34579 This was fixed in bb65f66ce0e5feee2d997a8526e10fc9f31e97fd, closing! Ludo=E2=80=99.