GNU bug report logs - #43585
Order in manifest and command-line differs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: zimoun <zimon.toutoune@HIDDEN>; dated Wed, 23 Sep 2020 23:39:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 43585 <at> debbugs.gnu.org:


Received: (at 43585) by debbugs.gnu.org; 9 Jun 2021 13:14:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 09 09:14:49 2021
Received: from localhost ([127.0.0.1]:60789 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lqy2i-0002Qs-QY
	for submit <at> debbugs.gnu.org; Wed, 09 Jun 2021 09:14:49 -0400
Received: from mail-wr1-f41.google.com ([209.85.221.41]:42961)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1lqy2b-0002PT-Hw
 for 43585 <at> debbugs.gnu.org; Wed, 09 Jun 2021 09:14:43 -0400
Received: by mail-wr1-f41.google.com with SMTP id c5so25403664wrq.9
 for <43585 <at> debbugs.gnu.org>; Wed, 09 Jun 2021 06:14:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=DiiV4jx+OhbCRoLvUsvaOar8qdVVKqSpji2DVvb6+kM=;
 b=vGXiIO4c42rCnpvfXz8ldM0zAVcxagIFDr13Cuh8asenRPFLs3WyloUdkVCSKYko8s
 MbW5tFpXAikOGAyyviCL3RsgiOZFfNfl44UfupIONY7U9JPnmkKMCUjcFbkZkyVS0Pg4
 dYHUH7SEen7dLJXvnp3W+LitnILEBXlVg8vkSe1YY5AxGVUFpGA/m5vDXKDgO+uyiuxg
 M+wxrMoShhMQzd2G3/80V/1HdoccWPQvVTFBn8AAdg8cuLnSsYMuOTBfdtgOLM060b6b
 mQW9+O6Mo+a7NcdI51JSEPnvqu6B059oMbp3gIFoxeMDHwZzRINDnw0kUhWv3osTKQAj
 47EA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=DiiV4jx+OhbCRoLvUsvaOar8qdVVKqSpji2DVvb6+kM=;
 b=NChKBx49u7/zWo1TC3uf+j2w88ruwBoAVKR38+GxvtPQrgk2m0s2gvT/PjGf7vOys1
 nEW9essD+wX5KYoJ4LdEe/HjnmPBOCcIpflZ/a/Yk+jFm9Je53chuP8H04lM+9QpghZs
 HfoCURtmyrGwjGTbnCgerp7IXG8YxOPTzC1vXdafnp5FljZLmuVWVZz8einYNjfqDeVw
 dEyH++KAx/TPTKuIjn2Jj+6KviK2MDFmmdGX3uAVQxRHyro1gSbwHe7YbeYnwvkx/ZvI
 hrNbe+peOnZI5L0RPoEuH/FxL30unUxIU8sAASZ28g0cfbNjyb/uLGya7OEgrcsjhgVT
 e+Sg==
X-Gm-Message-State: AOAM532tQzoNja50AEbv4CShQiqbc6u+BCBlBeWwaW2MOZmZKWj71rao
 ntey8jH0CSIBGj8Di1jdl1UyqcXNYgA=
X-Google-Smtp-Source: ABdhPJyhfIDRphvbQ1HEbuDIND24GCIIPyc/D1uhQs3DPzOJHxTIaLNkmXcfa9bztiHHOarFZ073nQ==
X-Received: by 2002:a5d:6da9:: with SMTP id u9mr28337614wrs.264.1623244476036; 
 Wed, 09 Jun 2021 06:14:36 -0700 (PDT)
Received: from pfiuh02 ([193.48.40.241])
 by smtp.gmail.com with ESMTPSA id j12sm14817722wrt.69.2021.06.09.06.14.35
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 09 Jun 2021 06:14:35 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: Re: bug#43585: Order in manifest and command-line differs
References: <86v9g4kqrd.fsf@HIDDEN> <871rir725l.fsf@HIDDEN>
 <CAJ3okZ0xME_8sN-D5H7jPFjQx=RAxpw9K+3sZvfec0JyB+0Ghg@HIDDEN>
 <87h7rmdqc4.fsf@HIDDEN>
Date: Wed, 31 Mar 2021 15:13:09 +0200
In-Reply-To: <87h7rmdqc4.fsf@HIDDEN> (Mathieu Othacehe's message of "Fri, 25
 Sep 2020 13:54:19 +0200")
Message-ID: <87r1jvfouy.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 2.1 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hi, On Fri, 25 Sep 2020 at 13:54, Mathieu Othacehe wrote:
 > It would be nice if the `guix package -i` command could also operate > from
 left to right then. Would you like to give it a try? 
 Content analysis details:   (2.1 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (zimon.toutoune[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 2.1 DATE_IN_PAST_96_XX     Date: is 96 hours or more before Received:
 date -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [209.85.221.41 listed in wl.mailspike.net]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [209.85.221.41 listed in list.dnswl.org]
X-Debbugs-Envelope-To: 43585
Cc: 43585 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.1 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi, On Fri, 25 Sep 2020 at 13:54, Mathieu Othacehe wrote:
   > It would be nice if the `guix package -i` command could also operate > from
    left to right then. Would you like to give it a try? 
 
 Content analysis details:   (1.1 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.221.41 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [209.85.221.41 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (zimon.toutoune[at]gmail.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  2.1 DATE_IN_PAST_96_XX     Date: is 96 hours or more before Received:
                             date
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Hi,

On Fri, 25 Sep 2020 at 13:54, Mathieu Othacehe <othacehe@HIDDEN> wrote:

> It would be nice if the `guix package -i` command could also operate
> from left to right then.  Would you like to give it a try?

I will not do.  I am not interested any more.  Closing?

Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#43585; Package guix. Full text available.

Message received at 43585 <at> debbugs.gnu.org:


Received: (at 43585) by debbugs.gnu.org; 25 Sep 2020 11:54:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 25 07:54:30 2020
Received: from localhost ([127.0.0.1]:42924 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kLmJ3-0006UC-Rr
	for submit <at> debbugs.gnu.org; Fri, 25 Sep 2020 07:54:30 -0400
Received: from eggs.gnu.org ([209.51.188.92]:56486)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1kLmJ0-0006Tx-PL
 for 43585 <at> debbugs.gnu.org; Fri, 25 Sep 2020 07:54:28 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:33454)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>)
 id 1kLmIv-0002Np-DT; Fri, 25 Sep 2020 07:54:21 -0400
Received: from [2a01:e0a:19b:d9a0:ec26:a22:2e08:e47e] (port=45796 helo=cervin)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <othacehe@HIDDEN>)
 id 1kLmIu-0001yh-SS; Fri, 25 Sep 2020 07:54:21 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: zimoun <zimon.toutoune@HIDDEN>
Subject: Re: bug#43585: Order in manifest and command-line differs
References: <86v9g4kqrd.fsf@HIDDEN> <871rir725l.fsf@HIDDEN>
 <CAJ3okZ0xME_8sN-D5H7jPFjQx=RAxpw9K+3sZvfec0JyB+0Ghg@HIDDEN>
Date: Fri, 25 Sep 2020 13:54:19 +0200
In-Reply-To: <CAJ3okZ0xME_8sN-D5H7jPFjQx=RAxpw9K+3sZvfec0JyB+0Ghg@HIDDEN>
 (zimoun's message of "Thu, 24 Sep 2020 16:08:06 +0200")
Message-ID: <87h7rmdqc4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43585
Cc: 43585 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hey zimoun,

Oh I see, thanks for explaining!

It would be nice if the `guix package -i` command could also operate
from left to right then.  Would you like to give it a try?

Thanks,

Mathieu
-- 
https://othacehe.org




Information forwarded to bug-guix@HIDDEN:
bug#43585; Package guix. Full text available.

Message received at 43585 <at> debbugs.gnu.org:


Received: (at 43585) by debbugs.gnu.org; 24 Sep 2020 14:08:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 24 10:08:27 2020
Received: from localhost ([127.0.0.1]:41114 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kLRv9-0001Xk-3B
	for submit <at> debbugs.gnu.org; Thu, 24 Sep 2020 10:08:27 -0400
Received: from mail-qk1-f182.google.com ([209.85.222.182]:37866)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1kLRv6-0001XW-Df
 for 43585 <at> debbugs.gnu.org; Thu, 24 Sep 2020 10:08:26 -0400
Received: by mail-qk1-f182.google.com with SMTP id 16so3353846qkf.4
 for <43585 <at> debbugs.gnu.org>; Thu, 24 Sep 2020 07:08:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=dXd4Q82lgrdXMXd948Amlicczie9WYR0qSAapUdpy6Q=;
 b=GGySo+QeI5AOLIwGcqnKDqWZgY6cXIayq9l71LLpH2XB3T0WBKR0wF06PksJb/lkS9
 5D3UCYDMphnzwbTvxscJ4NASW9XL12mqwizovKzA9hU6Co9u8SufHyq508hSE4aXark9
 GB+miO/2OUbE+rbG0suU0D78W0AB2y59H90jWnHcQoC6N84rhRU+24BGYP8VgoEjmR8Z
 6PWip9iSabWtTNPe+9LuJ/v1sOUKxENlTPhFlhbp49XXIvQy6ZywKkP0uNW1tEJGn+TU
 EJ+nWtw8EpHiHAkav8BjRHffe6SH6ix+s9zj3WPiqJjlgv8K+xR0222eRhG5ulMv8Dq5
 5n3w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=dXd4Q82lgrdXMXd948Amlicczie9WYR0qSAapUdpy6Q=;
 b=WoBdURz7LkQBhioQOP5aQzMVVqem3U1/oAiX+FrteP6R/euxeDOS7d8C8wvlFJSN6I
 ZAeD6U0mvf28Du5DPV7b0KeWONWTIZ5HqgRti4ILZ0nVMEhdeoUYUdfI57daoZPjkZcX
 O2FF3dSCvYZbJ1Mg96IRUZa0bLXWQJlFlQgOT2YRF5gApaO/U36+di8eWc/syWN0Tgnn
 fjLxR1cc7XwbXnzqrMR3MTo4ocI9G3iidXkeVa+pn4H4k7cEsTwZ2IjuriwiuQxc8ZRq
 i9q9Ylqz0xNP6l6KTZxVgRuhGljbac+qxXoTJ93Fz6Z4RPMv1PpH7aG+af4t/R0PFud2
 Wn1A==
X-Gm-Message-State: AOAM5311QFAQ3+OWXEp+EiF31FnrxGGAgPHqK32cVPtDPiwWNOauEdug
 NOYYz4xA9OSsXYvw/lW1qP5Q10E5AaWvMt8ROi6/eMGuVp8=
X-Google-Smtp-Source: ABdhPJzX50oEdrGUrpHK7u43UjG6m8qF+HHJ6Ccbq4S8ykenspjN9YoO5ErQklV3y8ktznjyTcOeAUwFHLSCvXoikV8=
X-Received: by 2002:a05:620a:53a:: with SMTP id
 h26mr4943001qkh.232.1600956498842; 
 Thu, 24 Sep 2020 07:08:18 -0700 (PDT)
MIME-Version: 1.0
References: <86v9g4kqrd.fsf@HIDDEN> <871rir725l.fsf@HIDDEN>
In-Reply-To: <871rir725l.fsf@HIDDEN>
From: zimoun <zimon.toutoune@HIDDEN>
Date: Thu, 24 Sep 2020 16:08:06 +0200
Message-ID: <CAJ3okZ0xME_8sN-D5H7jPFjQx=RAxpw9K+3sZvfec0JyB+0Ghg@HIDDEN>
Subject: Re: bug#43585: Order in manifest and command-line differs
To: Mathieu Othacehe <othacehe@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43585
Cc: 43585 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Mathieu,

On Thu, 24 Sep 2020 at 15:08, Mathieu Othacehe <othacehe@HIDDEN> wrote:

> The order of what appears in "bin" depends on both the name of the
> binaries provided by both packages and also how the "ls" command decides
> to sort its output. I'm not sure that much can be done here.

I have badly worded.  The point is that "diffutils" and "busybox"
provide both the 'diff' binary.  Therefore, depending on the order,
'diff' is provided by one or the other.  Compare:

    guix package -i busybox diffutils -p /tmp/busybox-diffutils
   /tmp/busybox-diffutils/bin/diff

and

    guix package -i diffutils busybox -p /tmp/diffutils-busybox
   /tmp/diffutils-busybox/bin/diff

In the same time, compare the manifest.scm files:

--8<---------------cut here---------------start------------->8---
  ;;; busybox-diffutils.scm
  (specifications->manifest '("busybox" "diffutils"))

  ;;; diffutils-busybox.scm
  (specifications->manifest '("diffutils" "busybox"))
--8<---------------cut here---------------end--------------->8---

then

    guix package -m busybox-diffutils.scm -p /tmp/busybox-diffutils-m
   /tmp/busybox-diffutils-m/bin/diff

and

    guix package -m diffutils-busybox.scm -p /tmp/diffutils-busybox-m
   /tmp/diffutils-busybox-m/bin/diff


Concretely, "guix package" processes command-line arguments from right
to left.  And the manifest.scm file read the list in order (so from
left to right).

All the best,
simon

PS:
For another example not related:

$ guix package --show=diffutils --show=busybox | recsel -C -p name
name: busybox
name: diffutils

and  "guix show" corrects that, processing from left to right.

$ guix show diffutils busybox | recsel -C -p name
name: diffutils
name: busybox




Information forwarded to bug-guix@HIDDEN:
bug#43585; Package guix. Full text available.

Message received at 43585 <at> debbugs.gnu.org:


Received: (at 43585) by debbugs.gnu.org; 24 Sep 2020 13:08:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 24 09:08:50 2020
Received: from localhost ([127.0.0.1]:38947 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kLQzS-0007zw-Le
	for submit <at> debbugs.gnu.org; Thu, 24 Sep 2020 09:08:50 -0400
Received: from eggs.gnu.org ([209.51.188.92]:58564)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1kLQzO-0007za-1g
 for 43585 <at> debbugs.gnu.org; Thu, 24 Sep 2020 09:08:49 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:60779)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>)
 id 1kLQzI-00012F-QN; Thu, 24 Sep 2020 09:08:40 -0400
Received: from [2a01:e0a:19b:d9a0:b888:25b1:7546:eb44] (port=37268 helo=cervin)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <othacehe@HIDDEN>)
 id 1kLQzI-0007XW-4g; Thu, 24 Sep 2020 09:08:40 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: zimoun <zimon.toutoune@HIDDEN>
Subject: Re: bug#43585: Order in manifest and command-line differs
References: <86v9g4kqrd.fsf@HIDDEN>
Date: Thu, 24 Sep 2020 15:08:38 +0200
In-Reply-To: <86v9g4kqrd.fsf@HIDDEN> (zimoun's message of "Thu, 24 Sep 2020
 01:38:46 +0200")
Message-ID: <871rir725l.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43585
Cc: 43585 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hello zimoun,

> $ guix package -i busybox diffutils -p /tmp/foo
> $ ls -l /tmp/foo/bin
> [..]
>  df -> /gnu/store/=E2=80=A6-busybox-1.31.1/bin/df
>  diff -> /gnu/store/=E2=80=A6-diffutils-3.7/bin/diff
>  diff3 -> /gnu/store/=E2=80=A6-diffutils-3.7/bin/diff3
>  dirname -> /gnu/store/=E2=80=A6-busybox-1.31.1/bin/dirname
> [..]

The order of what appears in "bin" depends on both the name of the
binaries provided by both packages and also how the "ls" command decides
to sort its output. I'm not sure that much can be done here.

Thanks,

Mathieu




Information forwarded to bug-guix@HIDDEN:
bug#43585; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Sep 2020 23:38:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 23 19:38:55 2020
Received: from localhost ([127.0.0.1]:38168 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kLELf-0007Dk-50
	for submit <at> debbugs.gnu.org; Wed, 23 Sep 2020 19:38:55 -0400
Received: from lists.gnu.org ([209.51.188.17]:53908)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1kLELd-0007Da-0Z
 for submit <at> debbugs.gnu.org; Wed, 23 Sep 2020 19:38:54 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56754)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1kLELc-0001p3-LI
 for bug-guix@HIDDEN; Wed, 23 Sep 2020 19:38:52 -0400
Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:34015)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1kLELa-0002oH-MH
 for bug-guix@HIDDEN; Wed, 23 Sep 2020 19:38:52 -0400
Received: by mail-wr1-x429.google.com with SMTP id t10so1823769wrv.1
 for <bug-guix@HIDDEN>; Wed, 23 Sep 2020 16:38:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=+bwREpETxH5m2mO1wa0aAPsw0S1I334X8xA43T+vEKw=;
 b=ZwzxNM4vnBBbO51Fl0ac82v8lFsJzF5qgMqJYiw+NTjhxdQ6RwvBEvn6AvZsN6qOYZ
 kqV2EIlCSGkUu+3zMJj0rGT+81p+IiFQxwcOIco7ReTfj8q9S5dZrTOVZJeEbG31IhJg
 i4+jnvcJF6c7NGtTVdV+8cJkG+UOXRNkQuTXyr2T5oAye5H3vvL7mWYpOyRIgYSVFvQp
 wOK35hA/S5R/Z8C4drqaiwYr4ywYhx5NtFKwQrozDz0L0sJ9aspqBwkrV95Pa27etLvy
 FyO4KXY3hv6YbtoXgO+A9gi1Tq/TeN9W3TR4YiBMuoy5TROxJJhQSoJmJABdWcpcYOC5
 GNpQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=+bwREpETxH5m2mO1wa0aAPsw0S1I334X8xA43T+vEKw=;
 b=f8nO7Baam8pyOB3H0+CSw2RiY3LpMVm8HdI9ABuY1k3igo3bdjBFdk0yuJ8rwbzLiy
 8CxUcaJeVRnMqqOgzCLfgoNuw39kTz99MisGVAn4f+aVSjWeCsAaD1Pvba7y22e/YTaT
 xyJr9g4k8dp/YkPlLVx2FsQgWRdu0TKHPHwIMXrue1IWh903aZ+Nq+/XwDKQSNTyEYPa
 9T9sfh8dMfqhuLSv2b7IPMz+9GzcRHAjqTon3/D4FZfAsB4sJKum4X50rxNJoRFQUDk4
 ZAAOuSZP6mw/0xedHPdPMZ6e79XTTc8QCgKRpeqgCkiPGC5BpVp9AFeRzvEUTh3rDntu
 e11g==
X-Gm-Message-State: AOAM530bPyIjyElIp54xFERFYYQLpMPdi96WJPXZb05C7h4MQwRRpSuP
 aqhqOV6ZmzWcyc0/kK3tgPqJAebvKIg=
X-Google-Smtp-Source: ABdhPJzZ5qxEHcwJJT5RSFdLo2mJ+6e9LvEkjC85OvfBczx9E4wNkLDH3uV+fMM9AzEEoum+fjfHrQ==
X-Received: by 2002:adf:f492:: with SMTP id l18mr2088747wro.280.1600904328546; 
 Wed, 23 Sep 2020 16:38:48 -0700 (PDT)
Received: from lili ([88.126.110.68])
 by smtp.gmail.com with ESMTPSA id t4sm1336989wrr.26.2020.09.23.16.38.47
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 23 Sep 2020 16:38:47 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: bug-guix@HIDDEN
Subject: Order in manifest and command-line differs
Date: Thu, 24 Sep 2020 01:38:46 +0200
Message-ID: <86v9g4kqrd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::429;
 envelope-from=zimon.toutoune@HIDDEN; helo=mail-wr1-x429.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Dear,

It is probably more a feature than a bug (and it is expected, I guess).
However, it can be misleading.  For example,

--8<---------------cut here---------------start------------->8---
$ guix package -i busybox diffutils -p /tmp/foo
$ ls -l /tmp/foo/bin
[..]
 df -> /gnu/store/=E2=80=A6-busybox-1.31.1/bin/df
 diff -> /gnu/store/=E2=80=A6-diffutils-3.7/bin/diff
 diff3 -> /gnu/store/=E2=80=A6-diffutils-3.7/bin/diff3
 dirname -> /gnu/store/=E2=80=A6-busybox-1.31.1/bin/dirname
[..]
--8<---------------cut here---------------end--------------->8---

And the same result is obtained with the manifest.scm file:

--8<---------------cut here---------------start------------->8---
(specifications->manifest '("diffutils" "busybox"))
--8<---------------cut here---------------end--------------->8---


This difference could be counter-intuitive.  One of the two lists should
be internally reverse=E2=80=99d.  WDYT?


(Even if it is a corner-case, 2 packages providing the same tool, but it
matters for <profile>/manifest.)

All the best,
simon





Acknowledgement sent to zimoun <zimon.toutoune@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#43585; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 9 Jun 2021 13:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.