From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QNDNJvx6WWfFZgEAqHPOHw:P1 (envelope-from ) for ; Wed, 11 Dec 2024 11:43:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QNDNJvx6WWfFZgEAqHPOHw (envelope-from ) for ; Wed, 11 Dec 2024 12:43:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=dobeWZ8h; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-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=1733917436; 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=qxnpVxNAkupOEOud8fDXvGqtosBnFpjJuhxpuHVH+FU=; b=F0c9SR3+q+yY80JJzL1HNer7AeKpjho2K7d9YhFaGGiBw4DIr+b8cfssekgpDCilR6ymTP mggXNLNaBpc62YzFRZSj4Gx4lmZrvoym9qSRYCCGz1Y/ufxqal9GPA+F9hwhPMlhKobvU4 sa4PNCgp2r4+qKRUizY7+JXlHbHciq6HV7H+bpm2ft0/6wdfQsrD4hmE6J6JwG84r6PUEI qqLf5WqiMqOHvibOazKDyWKd2ZzzeFClrqFgzUSG2C4bQZ0eeJYlBz63I0r6XiZWtiDO2W SeMDK736SlVZDTQefo3fCHrN9P+8WTWWmvzS8Sb2fktD9B1DgY88E6udj++KVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=dobeWZ8h; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733917436; a=rsa-sha256; cv=none; b=RxZ3xx60epirYnh0hF1fAobFETYHDl94eqe0ZxvNmZw/eXXZZO9BZmk0IZDmbkScpAwgbM uoFBkCG/I9Y7bwUv2uu+/3vVSln0U9319cNSAW7Z1j7sj6Cjs2k2kcNqvh2lh/QhXRO/jp 57NZmR9SKCmE0nzyWtTXzpvLG4jRA/CPvsCKAgT1Bi7zEKeXObnQRzXxMrLJZZxdTKGisu yNEwBQtJH0kCBdFBpUzy1TcmKi3qydM2bxbSIHhyPcM9vHKIGH+bh2xRSL9X91lkcBTKjx v5hcCCz8zE6Thur3WoVuL6AnxJ/1SSBhkRMbJoYWfY1ytpP3JKfd1MxSI6uC+g== 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 4836B7B705 for ; Wed, 11 Dec 2024 12:43:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLL7h-0005iO-7g; Wed, 11 Dec 2024 06:43:21 -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 1tLL7f-0005hl-6l for help-guix@gnu.org; Wed, 11 Dec 2024 06:43:19 -0500 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLL7Z-0001Yq-05 for help-guix@gnu.org; Wed, 11 Dec 2024 06:43:18 -0500 Received: by mail-ej1-x643.google.com with SMTP id a640c23a62f3a-aa692211331so117172966b.1 for ; Wed, 11 Dec 2024 03:43:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733917390; x=1734522190; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qxnpVxNAkupOEOud8fDXvGqtosBnFpjJuhxpuHVH+FU=; b=dobeWZ8hZV+5htb1KEoSY8bJfbuCrOuEH8h31Rno/1X0uRYvp4Z7MoSks4pxBVwd/+ BWXsKsVH45W8K4avoV7FuzTKcVUFEx55YlvOtJ40TEx41LP43jg7qAIBYQUlq5njPRXa /FnSgkeYgw13O2Sh83xIncCeUavah62CSI3oAGJMp4X76ywKfyls2B6+xnl10eRdr4WH QtliAyKfN9XFlro9X+vodPdJ0Skr9pYaapdf9LEwxcS0WOYuD53eEp9VLoJagSBs9Mh0 4H/ziYpZG+KDo2G8DJQH1WmhGGWXn5wxx/4326XwQ0y3ipehaoCpfZz8L2jNQer3swpd snow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733917390; x=1734522190; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qxnpVxNAkupOEOud8fDXvGqtosBnFpjJuhxpuHVH+FU=; b=Lx471GcxWCA/nc/8BYnzvlJNCxHMLVL/1++TREYF4cMkaTpNjzJ1LpGL+0dDxwlPNF yiY8OoLgSp7uykSkYrMCpTbwBi3E0tI7rqgebstxQrPcw2JCOpoUJPQDYqhZlvXZoHhf 0O0IW3M2sogavJAIIoBmA9BRLg53T6IWox+aJT3L5KNHXuJBUt2BhoxHIrFkFz1qk8cH isY7ucEnbhqpsWoW461zBtcd9Oan/IGEO4VqQi3Po+mG/eGfMG9SjAP3zfS19IgoAxPE G6CRBjZjYxGc+g4rRrRET0V3YWpQLPsznLs+AXncwP+WtnScSidiJzv+Sj76bSOeWB1J ot5Q== X-Forwarded-Encrypted: i=1; AJvYcCX656ZrnV3Zo8xTGsoAsrqFnEYQp9yEz3nFAOkyddDgVw2CY7sHUYtugmBQhsDV4aVMUbQNSwFoi68=@gnu.org X-Gm-Message-State: AOJu0YzbEm/Efd834yzUsPo+ICM/TGUL4S/hakWGiRaCC+BbzyMl0aul JK0UniCw2RI3b8CLjiAD9riaJWmmMsiDLlSvU1JYktD/LMTKlLmaiJpBTt18pVCnQK0EOQTUdMS 30Z4pdQVcPDcPtR7Q5m5BC8MgwLpybpWVUDI= X-Gm-Gg: ASbGnctkwQ/tRQ4gTkZuDB2X1fFnLbTD4V6xZF6Vw/bJI0HaZ9E2DGzdIwK4SnHTD3K PAPR0pxSKMmTTaKr/2GtU5Fm/1Pwm8BYAhKhG X-Google-Smtp-Source: AGHT+IG6nbWJK8FYjiiWl6K4gI9n7X0b7Jf8zNVFk0/jOy/2J04DaTraZ+m3UyLgLg4SVSwxMeJw0oo6+qdIhHASuOQ= X-Received: by 2002:a17:907:7015:b0:aa6:6ca2:b774 with SMTP id a640c23a62f3a-aa6b1555541mr217053466b.6.1733917389824; Wed, 11 Dec 2024 03:43:09 -0800 (PST) MIME-Version: 1.0 References: <12c4d800-7667-40a3-a104-fc8f97b7f5f2@gmail.com> <875xnqppk1.fsf@ditigal.xyz> In-Reply-To: <875xnqppk1.fsf@ditigal.xyz> From: nigko Date: Wed, 11 Dec 2024 16:42:58 +0500 Message-ID: Subject: Re: 'guix install' downloads all outputs for packages with cmake build system. To: Rutherther Cc: Simon Tournier , help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::643; envelope-from=nigko.yerden@gmail.com; helo=mail-ej1-x643.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: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.40 X-Spam-Score: -2.40 X-Migadu-Queue-Id: 4836B7B705 X-TUID: +WWqC1mu6u6o Hello Rutherther, On Wed, Dec 11, 2024 at 1:54=E2=80=AFPM Rutherther = wrote: > You are building the package. I think I've already explained it on > the IRC few weeks ago: due to how guix is made, build always builds > all outputs. That is because when you are building the package, > there is just one build process and in middle of that process > some files are copied to other outputs. With `guix build`, you cannot > even specify the outputs. So even on substitution, you get all > of them. That's what you would get if nothing was substituted > and the build ran on your system. > > > Moreover, since then I have realized that the problem is not specific > > to packages with cmake build system but concerns all packages with > > multiple outputs. > > Yes, with guix build it is for all packages, is expected, > and there is likely no way around it. Please provide guix install > example, where this happens, that's what you reported as an issue earlier= . > With install, you no longer need to get all outputs, > when you do not need to build the package, > so you should be able to get just one output as long as > it is substituted. So indeed, if install substitutes all outputs > for some packages, something is wrong and it should be possible to fix it= . You are right. Here is the output of guix install: -------------------------begin---------------------------------------------= ----- $ guix install x265 guix install: warning: Your Guix installation is 16 days old. guix install: warning: Consider running 'guix pull' followed by 'guix package -u' to get up-to-date packages and security updates. The following package will be installed: x265 3.5 substitute: updating substitutes from 'https://cuirass.genenetwork.org'... 100.0% substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 10= 0.0% 3.9 MB will be downloaded x265-3.5-static 2.2MiB x265-3.5 1.5MiB The following derivation will be built: /gnu/store/5vpq2pqp6s4ig6m0mcwrcbhv22ks2i9j-profile.drv ... -------------------------end-----------------------------------------------= ----- And here is the version with --no-grafts option (after cleaning the store, of course): -------------------------begin---------------------------------------------= ----- $ guix install --no-grafts x265 guix install: warning: Your Guix installation is 16 days old. guix install: warning: Consider running 'guix pull' followed by 'guix package -u' to get up-to-date packages and security updates. The following package will be installed: x265 3.5 The following derivation will be built: /gnu/store/vzs886g803pzp0wfg94z6ckqlyl2z16v-profile.drv 1.6 MB will be downloaded x265-3.5 1.5MiB generating GLib schema cache... ... -------------------------end-----------------------------------------------= ----- Regards, Nigko