From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wPWSGzRVGmEE4QAAgWs5BA (envelope-from ) for ; Mon, 16 Aug 2021 14:08:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YANYFzRVGmH9YQAA1q6Kng (envelope-from ) for ; Mon, 16 Aug 2021 12:08:20 +0000 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 BBDBF1FEC2 for ; Mon, 16 Aug 2021 14:08:19 +0200 (CEST) Received: from localhost ([::1]:43212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFbPe-00018X-NC for larch@yhetil.org; Mon, 16 Aug 2021 08:08:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFbOL-0008Gl-5h for help-guix@gnu.org; Mon, 16 Aug 2021 08:06:57 -0400 Received: from flashner.co.il ([178.62.234.194]:33022) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFbOJ-0004C4-A2 for help-guix@gnu.org; Mon, 16 Aug 2021 08:06:56 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 9CAA440271; Mon, 16 Aug 2021 12:06:22 +0000 (UTC) Date: Mon, 16 Aug 2021 15:04:38 +0300 From: Efraim Flashner To: Philippe SWARTVAGHER Subject: Re: Package variant defined in manifest not visible by Guix Message-ID: Mail-Followup-To: Philippe SWARTVAGHER , help-guix@gnu.org References: <12b2c37e-7389-d46a-8938-51b3285fd97c@inria.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="37+hvbEcEIglLyxk" Content-Disposition: inline In-Reply-To: <12b2c37e-7389-d46a-8938-51b3285fd97c@inria.fr> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629115700; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Yx3p0CCl3UKtr2pDoWNVQ0TYEtl0sWRebY5lwtcQzus=; b=e7HBMz0NuSXmr4RNnS67FFSN3fC5IclwHOXODx7TI2gH1/z0Nh2yXKnu+tCoKJNePCG8Kc tjcsbOgjeWeDs0bS1L7W/RseF3HXNQaTvIcinC5nQw71BcNIM230oZgal15iMf5UK1N00g 6QgEZN7MsdHUnz/oIEXejoWIbAAuWyptQjS1ODCRCe6mLVGvcVzpK5ALCXEjh/DXJhS/zo QzuTKZ6s8WwsaFpK0EUqA8Rlz8qzue/Q44bCf1szZE0ssJi49cWRZGOvKkvaY6RupwJqUp vyTJfT/f3Oehx87tuFADFGBDtL4jyfci4qZvJndh16yfegH+WuIqQXfb/52f0A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629115700; a=rsa-sha256; cv=none; b=oL6bqWvNTI4LtDgRRblDq/KG1nj4w/1GwR/0MoPy92JF79/nSicdPcTsEeD1qC+LKCoXiO abMqrcCHSvdMw78JYwFyNRHPxf8sV2XG9cSuSGomTwdHmYbtx9zcxtvOIYRQZqmc7zW1vt RGQixN7eveGFwUmv4vVXzTH0c/F80XlbBc2mRmG0+CzELMQdVhUMSZGzeKjqyNduJjLW2M Y+0a26bMYg6hBjlkBnVM87ct8e1yUR6IwAKnKlv4+kbNzGoiI5n67zPkaXqeL10z60trWa C4bmKMEhzf3cUBXVTmjw4SqqxBEcZHm2ZeJVpojZBSpg6xiV1+lgibae5tpBBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: BBDBF1FEC2 X-Spam-Score: -4.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: BAhqCx07wDez --37+hvbEcEIglLyxk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 16, 2021 at 10:08:34AM +0200, Philippe SWARTVAGHER wrote: > Hello, >=20 > I'm trying to use a manifest file to define a package variant which adds > an option to the configure phase: >=20 > ``` >=20 > (use-modules (inria storm)) >=20 > (define starpu-maxnodes1 > =C2=A0 (package > =C2=A0=C2=A0=C2=A0 (inherit starpu) > =C2=A0=C2=A0=C2=A0 (arguments > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (substitute-keyword-arguments (package-arg= uments starpu) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((#:configu= re-flags flags '()) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `(con= s "--enable-maxnodes=3D1" > ,flags)))))) >=20 > ``` >=20 > When I'm trying to build this variant, guix can't find it: >=20 > ``` >=20 > % guix build -c 2 -m starpu-maxnodes1.scm starpu-maxnodes1 > guix build: erreur : starpu-maxnodes1 : paquet inconnu >=20 > ``` >=20 > I don't see what I'm doing wrong. Any idea ? >=20 > Just if you want to try these exact commands, StarPU is a package > defined in this channel: Inherit inherits everything except for what you override, so your package can be refered to as starpu-maxnodes1 when using it as an input for another package (for example), but to build it from the command line it still has the original name of "starpu". Also, I haven't tried running 'guix build -m manifest.scm package-in-manifest', so I don't know if that works or not. > ``` >=20 > (channel > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (name 'guix-hpc) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (url "https://gitlab.inria.fr/= guix-hpc/guix-hpc.git") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (commit > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "fa8cc70bc428c08a6= 25a533f778537314be64ce7")) >=20 > ``` >=20 > (I didn't subscribe to help-guix mailing list, so please keep me as > recipient of your answers.) >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --37+hvbEcEIglLyxk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmEaVFQACgkQQarn3Mo9 g1Ew/Q/+LTVI9ioZaiokFfhvZm7g+pghzFS4NOFANjAANZOChyLhV0ddlT3hgoSV NCG0yCFC66xsukN03X8cO4TbzDrll0EFeTNGMbDoowmup2Xxy8xFqSDFIQB+97i2 zrTedFlzn/sI+4ojt22RWCHRnA6HG0fsnZFpLYkI0ql7tDHzyEw+ucH8l/7w7hfP E8LAIAtzxoHniZ/Jp3otj9up8iRvMkPEfW1MRiTJiuLcRs6/ZPGJmfWOHOGJZ0e8 FK45lxFZMHkknvq0njDySjX/W9UwADEeOh6kekvmlYVzviQiD8mRHu1lxRuXa2rW Tc31naanwi5u9MJKQPXQTrEjtdvOEKH5cCeXK2UyXfIaSNB7iN91ybsDxWKtG3hp nLQEoc3InVsltP5neYNW8qqamIDjD9/ij2qNS36mEhLsxkFMRiO7HztMNq55S4sa zI2Y6RhK1S/OzRKZsvpbV+dNWU2ECvo/nUFSbz3BD2CzW/rHd+T32jDj8h8QN9g+ QnpOFpS8s51oQiwQEmDp+/uLunKNqWKUjtpv0LR0sRWQh4oO78Y6ZgL1DBwhwfTu ZHtpnLpHHWn7KdLBVEA2ky1ROsCw495xnfVJe3dM3YGDWknV71LRReG9qNxGt55c hPpATNODupcj15iR9RJ/Hug3734uu7Qm8nEykhuztEeDSw7jMlQ= =eK3s -----END PGP SIGNATURE----- --37+hvbEcEIglLyxk--