From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CIx/Be7AjWVAOwAAkFu2QA (envelope-from ) for ; Thu, 28 Dec 2023 19:39:42 +0100 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 wJ6iOu3AjWUlTAAAqHPOHw (envelope-from ) for ; Thu, 28 Dec 2023 19:39:42 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=U6qISXWL; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703788781; h=from:from:sender:sender:reply-to: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature:autocrypt:autocrypt; bh=IkVu2WHdohB3DQjMdY2aAIqqg8P6xyvTND74uxKcxvE=; b=h662F6ufiHqPU0X0bLOqbaS98DSfN9TvgsEdzcxa+AD8yhFt5yhEB6vb5BBUAs6FEE80pK g0dfTHyIS9WallIl0vH47Vrb4daWh69oWX+wENJoTbWrsirerFGfuZ+dyqfXDcvUlSYURw EBVYMRm5qqYYDY88z6fwryKokH+QP0NH1qOdHgufurzFjhPnG7RASQPLKmSfz00Ou26DDN 8TCq4OWIy6hiwG0RANB9chGhpO1RzR5FpE/dVkGUBaEPBmBAbWB3BXdqzTabMsbxuhUerH C1jwG9zTSO/ZaPEhC0+fCshdXbochS4eGjGUm6E1yvx71n9+Nxme3NDsqp6AVw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703788781; a=rsa-sha256; cv=none; b=NvvYrQHif+xJpqQHIMWSRk/qoiDkYs+X2zk0PlFQbIIk7MpGOgIu6AKO7zZIvl4mP5t/0Y kHuN/nbAZETFOqwrOaCl3hqqx104Dh2JMXN+lbmqNN+/2l0F9CE0/91j7fIhMSPGTGHK8e RndTeFKDdkMz+62FHrYu62NOqgbH53/9jg/87Nuy+mIedY+Er8v5w/OCYYUeCMBf2J3DNp ccV9H0CWIJ8hZWGQp9+hq073bnhoi2AjT7HAuMWFGDV8dQ1wgEoCSU1HOUJjXvKwhkXelP LrQ4a2BWzFJ8cX3vxzuvolofEFAQDLyKCYSt3SyPeo6ESQ0lpcjwSGw/27teZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=U6qISXWL; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org 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 ACF2B5F38A for ; Thu, 28 Dec 2023 19:39:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIvHr-00073n-Dr; Thu, 28 Dec 2023 13:39:19 -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 1rHrA7-0007kD-AB for bug-guix@gnu.org; Mon, 25 Dec 2023 15:02:55 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHrA7-0000Dk-1m for bug-guix@gnu.org; Mon, 25 Dec 2023 15:02:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHrAD-0001qU-J3 for bug-guix@gnu.org; Mon, 25 Dec 2023 15:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68017: Clarification on why cargo-build-system should propagate inputs and native-inputs. References: <19fc6a13-c5fe-4061-9794-984f07c30fe7@gmail.com> In-Reply-To: <19fc6a13-c5fe-4061-9794-984f07c30fe7@gmail.com> Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 25 Dec 2023 20:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 68017@debbugs.gnu.org Cc: efraim@flashner.co.il, tsymsh@gmail.com Received: via spool by 68017-submit@debbugs.gnu.org id=B68017.17035345807087 (code B ref 68017); Mon, 25 Dec 2023 20:03:01 +0000 Received: (at 68017) by debbugs.gnu.org; 25 Dec 2023 20:03:00 +0000 Received: from localhost ([127.0.0.1]:55417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHrAC-0001qF-0E for submit@debbugs.gnu.org; Mon, 25 Dec 2023 15:03:00 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:50876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHrA8-0001px-O2 for 68017@debbugs.gnu.org; Mon, 25 Dec 2023 15:02:58 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rHr9t-00CTnR-TP; Mon, 25 Dec 2023 21:02:41 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:Cc:Subject:From:To: MIME-Version:Date:Message-ID; bh=IkVu2WHdohB3DQjMdY2aAIqqg8P6xyvTND74uxKcxvE= ; b=U6qISXWLg6pV1n8Dz0c2m8sMe27V62mWVH+25Zs/UETxWXLjI6qEY8ukC+XXvCqbdkOcVdYRm uni3CTzres4suPb2WvOEyJNxkhZKHCJXJ5AJIXQ0ewTGbx9tXXgE4cbrZYCqUaWeT89hXGq4ud7nc r3mRQnQTCV8tByRHSnXR/z4NPnJ/NMtv2zfTFGDm10Gpe+wp/HbvjUxundwe6b7TSOZIdk2CXZVz/ cpKR6GJQoeaxHVIcQ8tYcTIjQEB1fa7HMYxO/KymCmKBBW/seXs9+jkdDd1QjhOThCB+VEgkoOkNC qEEm7PMqA/8CXGc6CjLTHKtkfy7swchhBwHOmw==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rHr9n-0001hk-HQ; Mon, 25 Dec 2023 21:02:41 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rHr9c-007Xev-J1; Mon, 25 Dec 2023 21:02:24 +0100 Message-ID: <6c571648-f982-4b1c-bca3-22cd030b4940@runbox.com> Date: Mon, 25 Dec 2023 15:02:22 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Autocrypt: addr=jaeme@runbox.com; keydata= xsFNBGUh17UBEACj7hvR9/2FmyZl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16F509KWTgBKltnzjZuR3mo7tLbhHqF9wYC3yDnNHevfh+4/0uZNQ8cy2KhoB5Xe 2/SRtQFL8EEAEQEAAcLBfAQYAQoAJhYhBOVJpd51HRb4Pfv1Lyu+PUw5C3mjBQJlIde1AhsM BQkDwmcAAAoJECu+PUw5C3mjLbYP/2/LOik+xQLFcEJNLwXHqNa/hD08meCOxOsZPpN0y5Vx Ta8F+RN3TzJUznlTqRL59JRYiPJ3SANeHOzIxFwEzEFrCtuHTJXkXkfbBfjEHEz1szwnnJZd y8lEmwZ5bOAqTVjzFSQJpjFCM7Um090rPoTAfOQ7ZYXEIC6UhbmPUzj5ECfFszdcgNthZ4uR QPxPPHrihQB5ePEL5fyTGaedst29zVdDvS1u3p2EQix3Mb/BOXbDBJf8eJm2FPk5nAppcwR9 E7TfZ4uQVGr9HE0w0gLzxEfZn4qd+2NAYUFbzXhN+mk80wo5FKJaMhKXFBKueiRfy4DhMsn6 fRmQ2s2gOnIjrhl7TKs5M7S+x8Vj93aYxSFZ4ksbdAHTTFq4jHKnSq/tovZGpqTi3EurddAZ /QH2QDUaZhNgRYyLfgKJcd31CpLb3xJHknnHodLLPPOY0AofKSNePA9XcAXQ26I3TEd67dFe jcMX4fQTy0IOB+47Hz4AZRusrHMQKShYGghq3GCEh6knhlitsNc4eXp230hwgqm1UZA/9Opd ruTOQOsNBeEbKoKfpjuv9b/72JoMK2aRmyerxUb7cNvB7DXbyIY54kGifa6ASleA0PRbksXC 5B2kDoXWLlvCOQLMTQEI9gxMXEF2wPWQLE0CewNRuivUtjdIa3jCkznbF2/OKHz/ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 28 Dec 2023 13:39:13 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jaeme Sifat From: Jaeme Sifat via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.82 X-Spam-Score: -5.82 X-Migadu-Queue-Id: ACF2B5F38A X-Migadu-Scanner: mx11.migadu.com X-TUID: HV/GkhK8RglI The culprit to your problem is `rust-ffmpeg-sys-the-third-1', which requires all the packages you just mentioned for building. `rust-av1an-core` requires `rust-ffmpeg-the-third-1' which in turn requires the sys libraries as well. --8<---------------cut here---------------start------------->8--- rust-ffmpeg-sys-the-third-1 -> Requires vapoursynth ffmpeg clang nasm pkg-config rust-ffmpeg-the-third-1 -> Requires rust-ffmpeg-sys-the-third-1 rust-av1an-core -> Requires rust-ffmpeg-the-third-1 rust-av1an -> Requires rust-av1an-core --8<---------------cut here---------------end--------------->8--- Thus, the native-inputs and inputs of rust-ffmpeg-sys-the-third are required for any packages that depend on it in #:cargo-inputs. I see your point now, it would be very helpful if cargo-build-system could grab the inputs and native-inputs of dependent packages in the case of crates like `rust-ffmpeg-sys-the-third-1.' That way the dependencies wouldn't have to be duplicated across packages. This sounds like a good suggestion, I can bring this up to Efraim, who is on the Rust team, about this who is much more knowledgeable about the implementation of the cargo-build-system than me. -- Jaeme