From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MKLWJFZxWGcZDAEAe85BDQ:P1 (envelope-from ) for ; Tue, 10 Dec 2024 16:50:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MKLWJFZxWGcZDAEAe85BDQ (envelope-from ) for ; Tue, 10 Dec 2024 17:50:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=KPmYgSXr; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733849430; a=rsa-sha256; cv=none; b=NVN23LUrzhTXAwFDdQHbAVniEWW+9M2paMg6K3T80ijOcVGAUxQzkQ3A4p/kyhYkD3bypA 922crgNaZJiJI5wDevv0UXOcF6zE8lUKvHNcLHvgmPRrH1nIgpaG3JCidIs2I/dOAntZKl Xbau/Qinal5eY0T/D83wHeN51+eIjI9A4siqXAqqcGNn954X00z++hKjMt0LV2dD3sQfeq Q9IxIllHNBZlWhsJt1mhO+ECXUKJ6iAmNroD+bSsgY9/clzxXfykdzm+Shvn1IdJ7rNRPb v9YFosKWDpWHfC8Edpac04tiNqrl4B2yNbjB6is2Oqy3gqtjthAoBCbAOHf+fA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=KPmYgSXr; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733849430; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=aT84A/uv5p27cr23Psqt9eIoLDKjBTUAakyVPk5xMC4=; b=IvFr8IVu7n78ffW5+lM/sJOQl6VMTwJAZtZAWGvKrMNCTGT2VJInqtdZ3JmohlyYEbqOOh /AGK51hoWkicbbCbjSEh4dIIp8vJp3SSpmvb8neG19X48JEoyhDsHIgsnK8KxbuZWpCkkx vsHL3AGos+eXRbvgKj70qYLta6jTLfAXRWf9qSGH8e1JXtTR5uqWOSPwn2osUjNPqT4eMP jvV8IcmYBmPc4piKRw1BWzZnZaFK02+OLf21pMEtLVEFCOhT984myjs3xtRZ85sSqEblg/ G5V1feMOUBCiSKiU2LjlpyBWurU/rMSEVnD5RKYdcz/yWwn/tyWZCp+eNrjS+A== 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 823EB63F1C for ; Tue, 10 Dec 2024 17:50:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL3QO-0000Dy-Ml; Tue, 10 Dec 2024 11:49:28 -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 1tL3QI-0000DP-MT for help-guix@gnu.org; Tue, 10 Dec 2024 11:49:22 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tL3QG-0003mu-32 for help-guix@gnu.org; Tue, 10 Dec 2024 11:49:22 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-434a2033562so52065085e9.1 for ; Tue, 10 Dec 2024 08:49:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733849358; x=1734454158; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=aT84A/uv5p27cr23Psqt9eIoLDKjBTUAakyVPk5xMC4=; b=KPmYgSXroemNZvkQi+r0uEirG2BOOCsdWqmtLyxLccPVoD45LtAMilx3K/gxi9oZiX HrAqYFfSeAIBE9iUkktgtnsSALqhEDAJwyKf7x2TWuj2XGiRod8+XqJJ0EfpQDx/eUEM ffyWZJkRbEhy5oPRI2HII1E5OS7iE8jnE6orh4YsM4aZwmYQt4agINESIDJeyDCdnOyk gqWmhBpQbDzHElWuyJKkWxRnL4InZjdRkbpjuDFVPzkAsT8D84i+YLoqxL3Cw9B351/w 3cJqSCWKXVbu7WMT1rJOK+JVg75l0FQujfjT/hX015OIfZVqjG1HtQT0KU05Sc4Ra8kq ydhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733849358; x=1734454158; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=aT84A/uv5p27cr23Psqt9eIoLDKjBTUAakyVPk5xMC4=; b=YkKOgS3TG3Y0nfINUdPChe7U0pR/GLGnPeVpt88E2iblswsGmOy74zX6Ktj1f/GJsk um5Tq7UvNYl0o4o4Pb3LvTcH6rIrfwyRh2l+uMFjyoq7QQjuWCraNzpye2q+r4n2i3Fu ApX9UpGdORfDQh0mclcl3CQ5g36csuQ7FxYx6bTJhvEmXI2QDEO2qTnJVEUAriCE6Rnx fE3H5msh4nOzLekX1fIRDBuR/vNXzcCJ7QtwS9t7Tm/H7x7sECnLMNPyGDetsNBlTH0f jobLZwxBmeD8ZULmg3ijRHYzQnl4MfW3PT+ge2ONkcBN8NI5a9E2SazA1re2SYdUxH9V QDFQ== X-Forwarded-Encrypted: i=1; AJvYcCVOtdoY9+dQfqi0KbCBg0YojQPtSA+r60nSFrqSJNbTQ2MwsCdEXdkydiqpAte4WC0s/ZJaLBKYwXg=@gnu.org X-Gm-Message-State: AOJu0YzibGVgEuDcLP9ShJ6FcBScnc22Uf9siR+By0rPUiZiaf13twAg rzzEuLamJOB4UiqtTZzZSMBmhtWDHXTyu9xA9lEKi4LdFfjmRyXkLWmTBQ== X-Gm-Gg: ASbGncv4yGi8ZaNiRd6fXQvN3M/kKhF8rfxWzT27sPV2CzkEqy9wYpojCIq7wP0kPEY 5PwH9v91/6BvaHzTC9KrZGnkFtPrKFmn1v4CW6dCm+T8NeRzZDGTSe+iEOkYHoZSHlAtBojLs0l /02lcHcxcPrOEHGrZ9omIvhsNED2LsfS8QRo8O9YgNuU7B+o9kF8RNQUWGhJ0w8clBgBTKOiFas y2cHcSDzbe3Jd8qohFSSxbok0Z+pbQCnxo1fvn9MO4F7k7BsA== X-Google-Smtp-Source: AGHT+IGIuNGX8Ij0ErUswJbhxA6H2mw5I7vpbsdjm+uGogaB059CyIhB47j9vo6azDk0BcPEzI7SEw== X-Received: by 2002:a05:6000:156f:b0:374:c4e2:3ca7 with SMTP id ffacd0b85a97d-3862b33e3cemr13218833f8f.5.1733849358378; Tue, 10 Dec 2024 08:49:18 -0800 (PST) Received: from lili ([148.60.59.223]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3863157fb80sm12112590f8f.19.2024.12.10.08.49.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 08:49:17 -0800 (PST) From: Simon Tournier To: nigko , help-guix@gnu.org Subject: Re: 'guix install' downloads all outputs for packages with cmake build system. In-Reply-To: References: Date: Tue, 10 Dec 2024 15:49:21 +0100 Message-ID: <87h67bzj7y.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::331; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x331.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.50 X-Spam-Score: -1.50 X-Migadu-Queue-Id: 823EB63F1C X-Migadu-Scanner: mx12.migadu.com X-TUID: wl+fDtMF1QdV Hi, On Wed, 09 Oct 2024 at 18:55, nigko wrote: > ------------------------------------------------------------------------ > # don't forget to insure that /gnu/store does not already contain > # x265's static output before running this command: > $ guix install x265 > The following package will be installed: > x265 3.5 > ... > 2,8 MB will be downloaded > x265-3.5-static 1.3MiB > x265-3.5 1.4MiB > ... > ------------------------------------------------------------------------ Hum. I am not able to reproduce. First, let be sure nothing is already in the store. --8<---------------cut here---------------start------------->8--- $ guix gc --list-dead | grep x265-3.5-static finding garbage collector roots... determining live/dead paths... $ guix gc --list-live | grep x265-3.5-static finding garbage collector roots... determining live/dead paths... $ find /gnu/store -maxdepth 1 -type d -name "x256-3.5-static" -print --8<---------------cut here---------------end--------------->8--- Second, try to install: --8<---------------cut here---------------start------------->8--- $ guix install x265 --dry-run guix install: warning: Your Guix installation is 92 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 would be installed: x265 3.5 --8<---------------cut here---------------end--------------->8--- And =E2=80=99static=E2=80=99 output does not seem required. > An interesting bit about this abnormal behavior was gained from the > discusstion on IRC. It turns out that the command > 'guix install --no-grafts ' with --no-grafts flag does not > download all the outputs of the package but only the "out" output, > as one would expect from 'guix install' command. So the issue seems > to be related to grafts. What do you think? Could you give your Guix revision? Mine is 056910e; please note x265 had not be modified since a while and the package isn=E2=80=99t grafted. --8<---------------cut here---------------start------------->8--- $ guix build x265 -d /gnu/store/5v0d3wf3rhy69i1fl0jdchpmwy5wxbas-x265-3.5.drv $ guix build x265 -d --no-grafts /gnu/store/5v0d3wf3rhy69i1fl0jdchpmwy5wxbas-x265-3.5.drv --8<---------------cut here---------------end--------------->8--- Hum, I don=E2=80=99t know where could the observed behaviour come from? Cheers, simon