From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: bug#34567: Bogus 'upower-service' deprecation message Date: Tue, 19 Feb 2019 21:11:43 +0000 Message-ID: <87ftsjh4a8.fsf@cbaines.net> References: <87va1gqqc0.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwCgN-0003KJ-NT for bug-guix@gnu.org; Tue, 19 Feb 2019 16:12:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwCgM-0005Z4-Py for bug-guix@gnu.org; Tue, 19 Feb 2019 16:12:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56378) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gwCgM-0005Ys-Le for bug-guix@gnu.org; Tue, 19 Feb 2019 16:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gwCgM-0004Iw-95 for bug-guix@gnu.org; Tue, 19 Feb 2019 16:12:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87va1gqqc0.fsf@netris.org> 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: Mark H Weaver Cc: 34567@debbugs.gnu.org, 34579@debbugs.gnu.org --=-=-= 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----- --=-=-=--