From unknown Tue Jun 17 01:46:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34567: Bogus 'upower-service' deprecation message Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 19 Feb 2019 05:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 34567@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155055550814435 (code B ref -1); Tue, 19 Feb 2019 05:52:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2019 05:51:48 +0000 Received: from localhost ([127.0.0.1]:53730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvyJn-0003kj-MG for submit@debbugs.gnu.org; Tue, 19 Feb 2019 00:51:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvyJm-0003kS-Oa for submit@debbugs.gnu.org; Tue, 19 Feb 2019 00:51:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:38133) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gvyJh-0000jV-7f for submit@debbugs.gnu.org; Tue, 19 Feb 2019 00:51:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvyJg-0000Cv-76 for bug-guix@gnu.org; Tue, 19 Feb 2019 00:51:41 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvyJd-0000iX-Jf for bug-guix@gnu.org; Tue, 19 Feb 2019 00:51:40 -0500 Received: from world.peace.net ([64.112.178.59]:56798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gvyJa-0000g2-Q1 for bug-guix@gnu.org; Tue, 19 Feb 2019 00:51:37 -0500 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gvyJO-0005uf-BU; Tue, 19 Feb 2019 00:51:22 -0500 From: Mark H Weaver Date: Tue, 19 Feb 2019 00:50:12 -0500 Message-ID: <87va1gqqc0.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.112.178.59 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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 From unknown Tue Jun 17 01:46:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34567: Bogus 'upower-service' deprecation message Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 19 Feb 2019 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver Cc: 34567@debbugs.gnu.org, 34579@debbugs.gnu.org Received: via spool by 34567-submit@debbugs.gnu.org id=B34567.155061071316522 (code B ref 34567); Tue, 19 Feb 2019 21:12:02 +0000 Received: (at 34567) by debbugs.gnu.org; 19 Feb 2019 21:11:53 +0000 Received: from localhost ([127.0.0.1]:55657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwCgC-0004IP-OB for submit@debbugs.gnu.org; Tue, 19 Feb 2019 16:11:53 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:49198 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwCg9-0004IA-Du; Tue, 19 Feb 2019 16:11:50 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 5A78516C6B; Tue, 19 Feb 2019 21:11:48 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 918b11bf; Tue, 19 Feb 2019 21:11:48 +0000 (UTC) References: <87va1gqqc0.fsf@netris.org> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines In-reply-to: <87va1gqqc0.fsf@netris.org> Date: Tue, 19 Feb 2019 21:11:43 +0000 Message-ID: <87ftsjh4a8.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain 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=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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxscQ9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcgEA//dkNDv91YnLPfn9W3nP42ekaH+Zb9JAEiD5I3n3AjdZHztNsi5p+qhqUv 01U9OtiMEEHAu4U4AZQZJpXXJUctNIt58AVKJ72iGbEA/vTR6/bcW8r4zu0fg4u3 yFGqY9pnmS7e3mW3LoCXJu2HJpUhDBGo3HEpycO6ofJZsrLYJz9xikXy4QVBkNSC TZkizc6lsUsvb5jR5QLiGtgjhWcD97oEZ0Vu37cXaERWgcWxKKqC922KAcd/nrCf ju0jj3VQHRAAJVSZEMpdGGPbIDaNqkcGJNzhvTXVkQyAWPm3TS2beDU5xkFU5tQu 7wlzDsdCY9SUaDfLshVW+ukt8K1QyWRb0u5YGf9m6YJ7jL5V276cjV5tBtJAG+as djZD8TMeroC5thRjN+aLiMF03LxSgF3JzT4VXFic0zaZ/Hlui7vgB8oiWz4rJnKT BKOmWA/j1WOP614MEMb9hwIvLFSGIXNJkGkE3BCe/YZ0Gv/YBM8iiFzR3TWdgRG1 Kqe3bUlvJG3T5rcXGgq25OoOndon/U+OsX+3kjDIoUM/audjq0wAPQC+0e5VFYfw Lopd38bvGiNJC7ix7o0gvTVZCTfOdiQSzCO9sqHCeExFsah2lu21dhWnYZRqjRgp ikh9Fnvmbtq16lJR5hqLe2vva81vJ8okXgeylt+8SRoMSb8jsvo= =aj5h -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:46:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Mark H Weaver Subject: bug#34567: closed (Re: bug#34567: Bogus 'upower-service' deprecation message) Message-ID: References: <875zsr6gwc.fsf@gnu.org> <87va1gqqc0.fsf@netris.org> X-Gnu-PR-Message: they-closed 34567 X-Gnu-PR-Package: guix Reply-To: 34567@debbugs.gnu.org Date: Sat, 09 Mar 2019 18:30:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1552156202-14394-1" This is a multi-part message in MIME format... ------------=_1552156202-14394-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 34567@debbugs.gnu.org. --=20 34567: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34567 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1552156202-14394-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 34567-done) by debbugs.gnu.org; 9 Mar 2019 18:29:21 +0000 Received: from localhost ([127.0.0.1]:37389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2gin-0003j1-EO for submit@debbugs.gnu.org; Sat, 09 Mar 2019 13:29:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2gij-0003ic-KG; Sat, 09 Mar 2019 13:29:18 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2gie-0004G1-37; Sat, 09 Mar 2019 13:29:12 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=38458 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h2gib-0006Nu-S2; Sat, 09 Mar 2019 13:29:11 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Christopher Baines Subject: Re: bug#34567: Bogus 'upower-service' deprecation message References: <87va1gqqc0.fsf@netris.org> <87ftsjh4a8.fsf@cbaines.net> Date: Sat, 09 Mar 2019 19:29:07 +0100 In-Reply-To: <87ftsjh4a8.fsf@cbaines.net> (Christopher Baines's message of "Tue, 19 Feb 2019 21:11:43 +0000") Message-ID: <875zsr6gwc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34567-done Cc: 34567-done@debbugs.gnu.org, Mark H Weaver , 34579-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. ------------=_1552156202-14394-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Feb 2019 05:51:48 +0000 Received: from localhost ([127.0.0.1]:53730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvyJn-0003kj-MG for submit@debbugs.gnu.org; Tue, 19 Feb 2019 00:51:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvyJm-0003kS-Oa for submit@debbugs.gnu.org; Tue, 19 Feb 2019 00:51:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:38133) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gvyJh-0000jV-7f for submit@debbugs.gnu.org; Tue, 19 Feb 2019 00:51:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvyJg-0000Cv-76 for bug-guix@gnu.org; Tue, 19 Feb 2019 00:51:41 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvyJd-0000iX-Jf for bug-guix@gnu.org; Tue, 19 Feb 2019 00:51:40 -0500 Received: from world.peace.net ([64.112.178.59]:56798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gvyJa-0000g2-Q1 for bug-guix@gnu.org; Tue, 19 Feb 2019 00:51:37 -0500 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gvyJO-0005uf-BU; Tue, 19 Feb 2019 00:51:22 -0500 From: Mark H Weaver To: bug-guix@gnu.org Subject: Bogus 'upower-service' deprecation message Date: Tue, 19 Feb 2019 00:50:12 -0500 Message-ID: <87va1gqqc0.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.112.178.59 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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 ------------=_1552156202-14394-1--