From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +NIFObX8RWIwTgAAgWs5BA (envelope-from ) for ; Thu, 31 Mar 2022 21:10:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sLByNrX8RWJhKQAA9RJhRA (envelope-from ) for ; Thu, 31 Mar 2022 21:10:45 +0200 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 978093E2DA for ; Thu, 31 Mar 2022 21:10:45 +0200 (CEST) Received: from localhost ([::1]:46964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na0Bw-0007Ed-Pn for larch@yhetil.org; Thu, 31 Mar 2022 15:10:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na08v-0000Rb-Nb for guix-devel@gnu.org; Thu, 31 Mar 2022 15:07:37 -0400 Received: from [2a00:1450:4864:20::643] (port=42894 helo=mail-ej1-x643.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1na08u-0003ql-7v for guix-devel@gnu.org; Thu, 31 Mar 2022 15:07:37 -0400 Received: by mail-ej1-x643.google.com with SMTP id j15so1250483eje.9 for ; Thu, 31 Mar 2022 12:07:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:user-agent :mime-version:content-transfer-encoding; bh=zFKR8fst6nEBvjssT71Rbx1ckvpqM6xi38eBNODBDeI=; b=NFa5dlECtOn/ZHmx8GDzS8JrKpger1+2a7I80GD7ioUG3wVlODUcw0pDdGL8kCGQZz E1RKR7qvGZ42jWYiE1Dk6rGmp01x/4uYBA9yHy3m0E3XhbJ2lakdyZNKV4tcMLyTgkqT wGlt4eri7U4zVEwuG6twT58af5ouDNauT+35M42ffPeufJq0UsDMiO3TVpIED9I/qNcx dtU6V17WKK/WgwVM4fzTkX/doxtKQzKMVJa+Sf/d+K8QVf7m9AgPnFdF+XnqcMroO6Id L4vAOY6Z3MCjiXbDvdgN1pJFdOx88SwsW+6D0WQ0ek24UCkupvFIPBr0xBXyoKCgTiYb 9NvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :user-agent:mime-version:content-transfer-encoding; bh=zFKR8fst6nEBvjssT71Rbx1ckvpqM6xi38eBNODBDeI=; b=XCFu9/ImfVLoohkTFtw56dtoLPkB1IwfbTHpX87kctQA1mv/QaHb2ek4GL8GSO50T/ 0q83UnuFKYg7OteVNDhx56kgDkjsVm6vUkBn6ht0L6fqZQRpKFYlaGJ4xwfACgHnraWJ Sh7y9K9+H6wyfekbw7jzD38tIMJyf+NyW2sGn1Ydf+7gO4ij7CVItFFVojG6W6NmW3Yp FuN6kHZMOvnsrZyxr1+9VdeLMJ6sn4rWuuelTDjU4EcaH1B6UwPNFNjBWntCTJa417yZ 0I4R1D6y1sjCbxD2bWGXcjUpeAPiagGO05bYqYv7Ko/xaJerXK7+qplTLlPfMt1W3DNo 2DJQ== X-Gm-Message-State: AOAM531TPmq6elQKMEexwgntEmuvSh3HHegE5BC62tehTUdbeG4XBC6v TjYDw4HxvI6QrYM9CJ3VkLY= X-Google-Smtp-Source: ABdhPJyCjUaZkhKsLQpFzefpdCWAVdf7KSny3n5eWd8wWnPHsIgeU2zxIOaqBGy/s9bSHQI1TCGiNQ== X-Received: by 2002:a17:906:9c82:b0:6e1:1d6c:914c with SMTP id fj2-20020a1709069c8200b006e11d6c914cmr6062999ejc.769.1648753654797; Thu, 31 Mar 2022 12:07:34 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id dk21-20020a0564021d9500b0041b501eab8csm126766edb.57.2022.03.31.12.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Mar 2022 12:07:34 -0700 (PDT) Message-ID: Subject: Removing #:skip-build? from the crate importer? From: Liliana Marie Prikler To: maximedevos@telenet.be Date: Thu, 31 Mar 2022 21:07:32 +0200 In-Reply-To: 32ae0e474e295fa7f7052abd1bbb8053d2fddf16.camel@telenet.be Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::643 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::643; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x643.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648753845; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zFKR8fst6nEBvjssT71Rbx1ckvpqM6xi38eBNODBDeI=; b=QsxtJWW6zt+QTb7CAGj5Qupb0zIc1ELEonymyRMfeSSiafWkA+Oe2rbajGGGPqZq7cKvsd 0m1wn5jJhkUIzPtqTWOGpDVB9BQIukX4H79ylRTywAgxGobG4W/hqD9dg/ckd0tnYfmq7g cbxnywgS6WSo0HHTJsh26j22HHTxxLdNgVaqX0NDI8wMCQDyy1mPCSTwygGgm9de0rIee7 iEh55kxX0tzpOmGFNaCnLjEl6zCtwNMUMmNMOP+GS2UM9UEi7ewnTYCuXrfrFMOr+G7Pd1 3Mji1EIAge5s6vr7e6cmc32XiNogTAwTjFCN333zlKzaKuSFqb+7Ppd/HptjPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648753845; a=rsa-sha256; cv=none; b=HQcCgmK39sGzWV71EhWNsg0qXwvip5VjBh0H6rCJrO4pHLsGh8wXJRsTbDITL/1WqD4tfr HwVlaLIxDawcKGnOJpWQtxLk36q+akfhE7rEf8KZi4y2SRW/VBM07rEkWn7ek14tJsaXfX tDC0hjvzb52CCaiYzRDOpnNgrsG+NSL7039zTD7xoLu7x9prbh1xsj/gF5wsjF0FuNB95c AkfD7W+lglUB+io8hOGeEfdE0xLnUmhgW8BTsRqFx5MJqtya3zcYrDT2pAOut99Cl4T73p 3pidw5V1FfegK3jsRoQsqzXlesxh6a0dUfDBSSNNbyIPggXluDMh6HFJYa3prA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NFa5dlEC; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NFa5dlEC; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 978093E2DA X-Spam-Score: -3.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: uCjhVyIvKvxn Hi Maxime, similar discussions have been had in the past, but thanks for raising them again. As far as I'm aware, the "consensus" – if it can be called such – is that due to Rust packages often being a giant nothing burger both in terms of what they actually do and in what can be used for subsequent builds, but still generating a lot of hot air literally when evaluated on CI, we ought to skip the build in intermediate packages. There are a few counter-proposals. One suggestion that has been raised, but not yet implemented, would be to make it so that build results can actually be reused. This is the most promising conceptually, but from what I can gather from those working on it might not be that easy to pull off. Another one I recently thought about myself would be to demote these packages to origins, which they in fact are. This could fairly easily be done by simply allowing an optional license field in origins, but we'd have to apply a special trick to get back the recursive unpacking. Basically, what we'd have to do is for e.g. rust-serde, (define rust-serde (append (list rust-serde-origin) other-origins ...) where other-origins ... are the "packages" rust- serde pulls in, add those to inputs via append and then unpack all of them in an "unpack-all-those-crates" phase to be added to cargo-build- system. I am probably missing further proposals that have been made over time. In any case, #:skip-build? is far from being the right thing we typically aim for, and I support every attempt to remove it that allows us to meet our climate goals. Cheers