From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Duplicate package variables Date: Fri, 10 Mar 2017 16:49:31 +0100 Message-ID: <87varh873o.fsf@gnu.org> References: <20170302170240.32044.48772@vcs0.savannah.gnu.org> <20170302170240.ED7ED25FC9@vcs0.savannah.gnu.org> <36ef09d4-a278-27ed-49f2-1ccc150aaab5@tobias.gr> <20170303055114.GA28941@jocasta.intra> <87o9xblmlh.fsf@gnu.org> <8180e2d6-6728-7863-b844-cf9f1fa3142c@tobias.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmMnU-0001n8-A6 for guix-devel@gnu.org; Fri, 10 Mar 2017 10:49:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmMnP-0002cS-Fp for guix-devel@gnu.org; Fri, 10 Mar 2017 10:49:40 -0500 In-Reply-To: <8180e2d6-6728-7863-b844-cf9f1fa3142c@tobias.gr> (Tobias Geerinckx-Rice's message of "Wed, 8 Mar 2017 18:24:58 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tobias Geerinckx-Rice Cc: guix-devel@gnu.org Hey Tobias, Tobias Geerinckx-Rice skribis: > On 08/03/17 18:11, Ludovic Court=C3=A8s wrote: >> The UI (e.g., =E2=80=9Cguix build stellarium=E2=80=9D) emits a warning w= hen referring to >> a package that has two instances with the same name and version number. > > Hm. Are you sure? > > I've seen it do so when there are in fact multiple instances (i.e. > distinct variables), but not when the same variable is re-bound: > > ~/guix $ git checkout 9baab9aeeda394408290613c597bff1d96004dfb > ~/guix $ ./pre-inst-env guix build ruby-arel r-gtable r-codetools > > produces no such warning for me. Oh right, if there=E2=80=99s just one variable, then there are no warnings. Sorry for the confusion. Ludo=E2=80=99.