From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uHS0KMTTzmLiEwAAbAwnHQ (envelope-from ) for ; Wed, 13 Jul 2022 16:16:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YM13KMTTzmKCKQEAauVa8A (envelope-from ) for ; Wed, 13 Jul 2022 16:16:36 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0869D13008 for ; Wed, 13 Jul 2022 16:16:36 +0200 (CEST) Received: from localhost ([::1]:32984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBd9v-0003s3-8F for larch@yhetil.org; Wed, 13 Jul 2022 10:16:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBd9m-0003pk-JO for bug-guix@gnu.org; Wed, 13 Jul 2022 10:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBd9m-0005BD-An for bug-guix@gnu.org; Wed, 13 Jul 2022 10:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBd9m-0000xI-71 for bug-guix@gnu.org; Wed, 13 Jul 2022 10:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56539: =?UTF-8?Q?=E2=80=98guix?= shell -D =?UTF-8?Q?=E2=80=A6_?= =?UTF-8?Q?--export-manifest=E2=80=99?= behaves inconsistently Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 13 Jul 2022 14:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56539 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 56539@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16577217243618 (code B ref -1); Wed, 13 Jul 2022 14:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jul 2022 14:15:24 +0000 Received: from localhost ([127.0.0.1]:47415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBd99-0000wI-Qi for submit@debbugs.gnu.org; Wed, 13 Jul 2022 10:15:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:47264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBd97-0000wA-VJ for submit@debbugs.gnu.org; Wed, 13 Jul 2022 10:15:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBd94-0002wJ-Le for bug-guix@gnu.org; Wed, 13 Jul 2022 10:15:21 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:32191) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBd91-0004zD-Lm for bug-guix@gnu.org; Wed, 13 Jul 2022 10:15:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=HEe28YX8whPVjPYG6ElPO8scjsmpDpkiDI37iyC3NAw=; b=ktFbAoLT/2D/ogJo+d+3tHBmO19v4DeDf58baiUKfffvNLqfj4y43vF3 UrK0FJA+28ZsyBAxBXB+byv6Z9UcRmW9Ru9oZ39kB8kyNJQIq2u8q4nfh KB6AwcY23zTYvCmzwsK1SdLaauyg5i3nH6KqTtzicN6PHwShh99g2UPzm k=; X-IronPort-AV: E=Sophos;i="5.92,267,1650924000"; d="scan'208";a="45500349" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2022 16:15:12 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 25 Messidor an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de la Pintade X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 13 Jul 2022 16:15:11 +0200 Message-ID: <87lesx9k0g.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657721796; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=HEe28YX8whPVjPYG6ElPO8scjsmpDpkiDI37iyC3NAw=; b=BjPyZKR3zgvCdT2KxNPvVDwiNaxp8VZl/QTGPZ+wIArl3UtDH9e31CC/9AXMKLhcsRNeJg TK4ZDlAxQbb2+Z+F871LI4fZmIFeHTmJm/RSBtEynQsiOszBQBTJ9NDziKOBibV9XtE4qQ oAV3qvk6IBVXcoPJWPBLpkJUIvtflmIBX7spS0gEgXNqTysADhD82aHIpGRfl3PPfkQpHQ 8oOyBnxQ+lbvL5AInDJ10ngUfry3UneBBAtZixpx8yz9COZYLRl4UKmqLobCmz1Wk5sGOI ntFfF+XgbQCzIPWd12QklPHPiC7CUN+DWJlQpPjqmQyjChY8VlLQZcCMMWuehQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657721796; a=rsa-sha256; cv=none; b=V1d3Ql7hXcCTUhh4ziZK5HFqAXWcPWwYsQROwVBV8oPzJjyM8oM97LHV+qas0f5Ai+/0C4 GvP70OLMMEjZtTjHLGfudVh7rm4nVxwwXg9s+ZyhD0YQZ5Ouxm3ioem0QNhznub6aIO0cX vl9Ar0L7JazSCqQdGNzq0zatQiD63IeDcT8KgzH+1AZs1Z+F860NoBDBUkP8jz8NvJTGRH rkv0EBqbOwhHevQfun0k/Ww+p8W4vgN/5w9PMe6JEZa5IQktroH+pfSJ5AdGQW0f4YofM3 9z7l0BBK9hg69vUO1s5qA2JFyp2Mt1v7ep7slOhgtZFuIwcFMtwsJ750vGzlCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=ktFbAoLT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=ktFbAoLT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0869D13008 X-Spam-Score: 5.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: rI7s+b+nn45Y Hi! I observe the following weird behavior, where the first invocation wrongfully expands =E2=80=98-D gnutls=E2=80=99 into a list of package specs= , whereas the other invocations (only slightly different) lead to calls to =E2=80=98package->development-manifest=E2=80=99 as expected: --8<---------------cut here---------------start------------->8--- $ guix shell -D gnutls autoconf@2.69 automake libtool --export-manifest ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (specifications->manifest (list "libtool" "automake" "autoconf@2.69" "net-tools" "iproute2" "socat" "pkg-config" "texinfo" "which" "datefudge" "util-linux" "guile@3.0.7" "libtasn1" "libidn2" "nettle" "zlib" "p11-kit@0.23" "tar" "gzip" "bzip2" "xz" "file@5.39" "diffutils" "patch" "findutils" "gawk" "sed" "grep" "coreutils" "make" "bash-minimal" "ld-wrapper" "binutils" "gcc@10" "glibc" "glibc:static" "glibc-utf8-locales" "libgc" "libunistring" "gmp" "linux-libre-headers@5.10.35")) $ guix shell -D gnutls autoconf@2.69 automake --export-manifest ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (concatenate-manifests (list (specifications->manifest (list "autoconf@2.69" "automake")) (package->development-manifest (specification->package "gnutls")))) $ guix shell -D gnutls autoconf automake libtool --export-manifest ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (concatenate-manifests (list (specifications->manifest (list "autoconf" "automake" "libtool")) (package->development-manifest (specification->package "gnutls")))) $ guix describe Generation 221 Jul 03 2022 23:52:07 (current) guix e069de4 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: e069de452a2c923868f5137421b4b6349c38d754 --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.