From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yHSIJq/8rmMgkwAAbAwnHQ (envelope-from ) for ; Fri, 30 Dec 2022 15:58:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mNB6Jq/8rmOVNwEA9RJhRA (envelope-from ) for ; Fri, 30 Dec 2022 15:58:55 +0100 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 67A6A2ED19 for ; Fri, 30 Dec 2022 15:58:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBGq0-0000Ao-HW; Fri, 30 Dec 2022 09:58:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBGpu-0000AD-TT for guix-devel@gnu.org; Fri, 30 Dec 2022 09:58:18 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pBGpo-0000Yb-Mo; Fri, 30 Dec 2022 09:58:17 -0500 Received: by mail-wr1-x42a.google.com with SMTP id y8so20063996wrl.13; Fri, 30 Dec 2022 06:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=QC9Y/27ftgq8HPTVUdWgHLgasLl0IjD+TmLhLiFVSsE=; b=VszxTbtqygN6Gg9OM1FLTf42W4o9i0qr7DHFJQkZMu02FjWuytBZZBCiy3yZtl29I+ CzNgBRje/H515wS8CY2XGEDBfc2+2TJYUlZG1+tMct+t3ncsYb2nhvb/m/HhOdygEkte W2FZKfkXUxgnIDoqdFfMZAAFZF58y5tXdDqZYZqcLaz0sa+M3or0DAE6Yy69noSora0c YyqHGeyDFN1KsmGInIfta+RX7Sh6x9fenlWswGRG0AUc5Y+LcY/79kOz5XBgL6l/WO9W n0Kd1y9LBLf6LnHMoMplylBCBVYyc2VMtI64Y49tnDf8GkWr23tXCvLoW9dDyjIv71lC HioA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QC9Y/27ftgq8HPTVUdWgHLgasLl0IjD+TmLhLiFVSsE=; b=gTPAZHoang0KL+pRHBRcBNl3GnfVopjWZTXHrG0TSYhTJgesDcoQu5ZN0aSSy4Fcfq LvNJW5qNL+ONlXpMrvxk7VM7wRZsCSZnFsyop33ldzkj/hdUi0oXmKhG+v4B8b+4OopC 681QkOmDDd9zK5OSFvhwi/I2T9jBITz09wN0EDIjQEqvRAAcvhnyxx8XvF07rCAFmsnN CpMEw8XsT3ITT0uPXrcMXg/X1N/8YHiisyRg43p4BjVlD0NB4rctd9F1K0areygkjjh8 rGVVwl08mH1bM8CGYjCh1jWJhiXi5txeISQ3mjiAguK+fEmA3TYXMv5yzreDpyrwM4BC UzCw== X-Gm-Message-State: AFqh2kpzQaJQ6y+w6p5pJvmdgkqCnWJy01GMjaBh6CklAxt24uOucbFP 5iy2W8QdBpeXYSUBl6dnCPXdyAZrj6w= X-Google-Smtp-Source: AMrXdXtsIVhvQVP3ijbDjUHMJZlB46YVOH+kLN68O67yeRx2K1Y9cOkVv0gUV/Uxca7uJpoWWy6maw== X-Received: by 2002:a5d:5d8a:0:b0:254:e300:df15 with SMTP id ci10-20020a5d5d8a000000b00254e300df15mr4363887wrb.1.1672412290457; Fri, 30 Dec 2022 06:58:10 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id f6-20020adff446000000b002425504ae7dsm20249322wrp.80.2022.12.30.06.58.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Dec 2022 06:58:10 -0800 (PST) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Antonio Carlos Padoan Junior Cc: guix-devel Subject: Re: guix package path In-Reply-To: <87len02xbc.fsf@gnu.org> References: <87wn6nzx2g.fsf.ref@yahoo.com.br> <87wn6nzx2g.fsf@yahoo.com.br> <86o7rzy8j0.fsf@gmail.com> <87pmcfzjgc.fsf@yahoo.com.br> <87edstoivh.fsf@yahoo.com.br> <87len02xbc.fsf@gnu.org> Date: Fri, 30 Dec 2022 15:57:43 +0100 Message-ID: <87y1qpj5w8.fsf@gmail.com> 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::42a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42a.google.com 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-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672412335; a=rsa-sha256; cv=none; b=Nt0Qc91J5xhsq+dYPOlfOEeTwtAO6HH/qpUhramFmHz4yFTu4VLTb1oINmJWYmY3AItwiz WV6JInpBM1sp4QY8QR9beL8wSUGP3AzB9kOgQ+9+odU1S3cyK5RsTnf9iHfzBxWoO0Z555 hrKdBOHX60dwAo697seNpYNaMVvSqZwZ/CF49VpwBI+EGBzFw7NIran5EWaZ7v03pNTGmN ZuesCpi7iY2+NYZP2VgyCKiH+f2FZBnDSyuBnq0zlxYDKcBKq66zpK/cM1k+dmo2/b3wfv on8OAnb2YY8ALOY7mqo8Tfe/qCJph3zlTugNizuw0Ng8tC13E5GKq7keEFndNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=VszxTbtq; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672412335; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=QC9Y/27ftgq8HPTVUdWgHLgasLl0IjD+TmLhLiFVSsE=; b=UCWfH5lK0qsm6HrnaNQSfQEW/TzU+LqcR9eEvMSEg7Ftgawtjtn/MwOeoYWAZorOWOdnFf iMhaGoXm3Ik0fxvGVY/vnqLlZ5Qmw5qOF3rCauLbrH5ufS7Lvw+AcAuP1/n42cvYWk0tCT 4hHm7+HZOoAVPM7PSga0Fb/MOQbWd5grSEVrG7ZoIiUgp2zBeKMDeb7mKFo4dUiZ8Ww9hR cxv5g01ybrG+cGKhElpLLvO5z3vQCjnunO7AK/UKPde7jafpcQY6remPOPp7pscK9MSpR6 DHZ8m10dpPZgt3RQrqyp4c9FnxXnepGpo6hjYtgax1J6mygZ8bmyKYyGJHQoSQ== X-Spam-Score: -6.12 X-Migadu-Queue-Id: 67A6A2ED19 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=VszxTbtq; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.12 X-TUID: vuW5vUpMRoUa Hi Ludo, On Wed, 21 Dec 2022 at 23:42, Ludovic Court=C3=A8s wrote: > We don=E2=80=99t have enough info to be sure, but could it be that there = are two > =E2=80=98gtklp=E2=80=99 packages in your package collection, for instance= because > =E2=80=98gtklp-bad-tool=E2=80=99 is also public? =E2=80=98specification-= >package=E2=80=99 prints a > warning if it=E2=80=99s ambiguous. I do not think the issue is about your assumption. I guess it is about Guile modules and compilation. The package gtklp-bad-tool is defined by: --8<---------------cut here---------------start------------->8--- (define-public gtklp-bad-tool (package (name "gtklp") (version "1.3.4") [...] --8<---------------cut here---------------end--------------->8--- Then gtklp is defined by: --8<---------------cut here---------------start------------->8--- (define-public gtklp (let ((toolchain (specification->package "clang-toolchain@10"))) (package-with-c-toolchain gtklp-bad-tool `(("toolchain" ,toolchain))))) --8<---------------cut here---------------end--------------->8--- Here, the issue is =E2=80=99(specification->package "clang-toolchain@10")= =E2=80=99. For instance, you get: $ guix show -L /tmp/my-guix sbcl-lispiec guix show: error: sbcl-lispiec: package not found where nothing is ambiguous; the package =E2=80=99sbcl-lispiec=E2=80=99 is u= nrelated to both gtklp-bad-tool or gtklp. If you replace [1] =E2=80=99specification->package=E2=80=99 by the symbol clang-toolchain-10, then it just works. Last, if you use the broken channel with =E2=80=99specification->package=E2= =80=99 but instead of --load-path, you run =E2=80=9Ctime-machine=E2=80=9D or =E2=80=9C= pull=E2=80=9D, then the issue is gone. https://gitlab.com/acpadoanjr/my-guix/-/blob/0e540b6fce0409330cb1ca3453d81f= 18c8e60163/my-packages/extra.scm#L71-115 https://gitlab.com/acpadoanjr/my-guix/-/blob/0e540b6fce0409330cb1ca3453d81f= 18c8e60163/my-packages/extra.scm#L313-315 1: Cheers, simon