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 uOLqFYhTWWcNOAEAqHPOHw:P1 (envelope-from ) for ; Wed, 11 Dec 2024 08:55:36 +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 uOLqFYhTWWcNOAEAqHPOHw (envelope-from ) for ; Wed, 11 Dec 2024 09:55:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ditigal.xyz header.s=20240917 header.b=rEFltYyl; 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=reject) header.from=ditigal.xyz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733907336; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=i5eGMkG1Mfr0eQoCIxFL3AZH81qprE7DyE0Sv+nB9e0=; b=bNttC3gRoiPYMw3fNTQJPkdP8znjiTfpsW44i41QAe6EAgamyU2qvmee+/P+Br2DIIHuOd enUPE+QNmys2wDKWcd/62PqOxHf/B+4jBUq0RFe0Gk5K/FBnAs+NZvLSIwQhSVjge9XbZO P6ZxJAB7Cd5jvj/Nar53JWauNxuSXVJ3bKcH0Qcd2sshzwtVm2ov2qp4FJRAJ3UjwMzhRC yBUJYb0aHfQgkJS5RX64amED1lo2np0czvoeRk3esKLhBt6vHJOuqcPxuL1aPe6EgbycDX XVGVDeUJKpjN3vijTVs92rhAHsMssAjtIRjdnNuAbI3BnOTsLqDpUpaPL2P3eg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ditigal.xyz header.s=20240917 header.b=rEFltYyl; 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=reject) header.from=ditigal.xyz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733907336; a=rsa-sha256; cv=none; b=TzoO2KZ09KN8oh4uAXrDvH7sEMleRojlo09Spx44nNEYtoyfA+cDMOhqSpX7Sc+/qY4qTT Zxi/tNFTWi0s4k+AnwHCodYwq0522m+VueKX4j3zM5H7R5v399hBMCkKZb12fw68GBxxQR 7VIbCQignrmm80EZYgM9y+bzIJBftxg0ZYzFFNugY+2Nh8dJNTVtPLOK0drmMUNUH6+voT mMcQdvTRM275ZVnGdBihwyLH0vIBSpQzRMBXsi5iG0ikPlBGXvQNrYK17qcfQd92AEU9qm cWbpV8tuF79lp6H0DVlEWtfe3L8bmxlHMBCXr2+pOjISSjMMYG5/zVPPX0L/Jg== 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 DB30042797 for ; Wed, 11 Dec 2024 09:55:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLIUu-00055X-Ob; Wed, 11 Dec 2024 03:55:08 -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 1tLIUt-000540-6W for help-guix@gnu.org; Wed, 11 Dec 2024 03:55:07 -0500 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::] helo=mail.ditigal.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tLIUn-0007CP-4R for help-guix@gnu.org; Wed, 11 Dec 2024 03:55:06 -0500 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 100c1ba0 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 11 Dec 2024 08:54:56 +0000 (UTC) From: Rutherther To: Nigko Yerden Cc: Simon Tournier , help-guix@gnu.org Subject: Re: 'guix install' downloads all outputs for packages with cmake build system. In-Reply-To: <12c4d800-7667-40a3-a104-fc8f97b7f5f2@gmail.com> Date: Wed, 11 Dec 2024 09:54:54 +0100 Message-ID: <875xnqppk1.fsf@ditigal.xyz> MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1733907296; h=from : to : cc : subject : in-reply-to : date : message-id : mime-version : content-type : from; bh=i5eGMkG1Mfr0eQoCIxFL3AZH81qprE7DyE0Sv+nB9e0=; b=rEFltYyl2bK+EeUAvTrFDZW+Wg/FaIiYN7UPSNW5dn+ay5befAGW7kzfoDQ++5giTIx2n kmgXmxgfCU273GAVuv7uWVHbayARxPGjJb/ySZTv3ZrYTgsaSQy4J4IkoYnJ+5tjSjxH2TT j7JzlsfjCxMSdNs0L4NSSwWCKTBRG2E= Received-SPF: pass client-ip=2a01:4f8:1c1b:6a1c::; envelope-from=rutherther@ditigal.xyz; helo=mail.ditigal.xyz 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, 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: -0.02 X-Spam-Score: -0.02 X-Migadu-Queue-Id: DB30042797 X-TUID: Y8jInkeH6JfF Hello Nigko, > Hello Simon, > Now I'm on 47ab553178eb00d02ba9588ed1f7df44fb2f7c4c guix commit and > still have the problem: > ----begin----------------------------------------------------------- > $ guix build x265 -d 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. Rutherther Date: Wed, 11 Dec 2024 09:54:36 +0100 Message-ID: <878qsmppkj.fsf@ditigal.xyz>