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 mKYiIUeMeGVPlQAAkFu2QA (envelope-from ) for ; Tue, 12 Dec 2023 17:37:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id SGZLGkeMeGVUOQEAqHPOHw (envelope-from ) for ; Tue, 12 Dec 2023 17:37:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=iK9nhd7t; 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=1702399047; 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: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=P8FAfw4yfWGDgeLz0OIqHqi0jffCIZjlCawfBkPXofg=; b=YQFAZoS5EY61X++9+XtvUKR80xifXxZS5v7LrFA6O86S4BlnXBnUhXo5LrPsASh7ATLR7Q 2Vx3KImsPpc8FPbf8iFQrl+AAPs22NDL+FNhYvuv+MgMruN3qeENZwDEVV4LS7DNcByUrW 7JqULuprc4ALINIy/668E0BflujFEeX1z60mwxSg6+jmFAe0gsoTkZlYPVaME3hHrt6AIi E5F2ipyTeKEiL6vjluRvt2ASx+ddM4f4kWaelp6WiAIYHdrJZGOUATM0XQxV2JT1ypr5Wx N2cJwU39+Q5Hf/V6WpFhx8LPSzWKYa+r6pDgRAyrXb6+GX7XfJzlVseRD6OG0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=iK9nhd7t; 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=1702399047; a=rsa-sha256; cv=none; b=BMp/bqtVrP/23E4L1x/TH1DQWsEBviHtQ7KJjltYD0EnebxgZ9LBDCGHiER6ocBcsoHWzm lkNWpPiPsl7/dQuj2oesnc2K2gSJeWrniZT9vjDEQQXxkSsB8EssItJaNB7nZw3SqQIoKe RC0frCheKejTNJDD+feVoZcpXXEfaAlhoccMQ0RLV3Cn0c3HbM0omVYf3pQ4ClMcaxzEdT U2JLXbUcHQ1WnFtM+0TEGeHK9nj0S6FD0hvhhGe4xMU8v5clZP+FtxpqdrlzEt3sskcKnP Nxj+mVOaNs1J+Vz5YuC42wTMGCGMro2w3c3cH5kL3y4hxKccwkRzCTfntwPyfQ== 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 2D1F860ACB for ; Tue, 12 Dec 2023 17:37:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rD5km-0007SW-6u; Tue, 12 Dec 2023 11:37:04 -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 1rD5ki-0007BO-Vq; Tue, 12 Dec 2023 11:37:01 -0500 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD5kh-0003FP-Ft; Tue, 12 Dec 2023 11:37:00 -0500 Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-425baafa3c3so23254971cf.0; Tue, 12 Dec 2023 08:36:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702399017; x=1703003817; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=P8FAfw4yfWGDgeLz0OIqHqi0jffCIZjlCawfBkPXofg=; b=iK9nhd7tqU5V0VZru43myJY5KiCW++vxqKHxGWuf5XGTabcrlrqQF0Casr936+Nspk Z5boRe12ToAEIlLMgCP49WbIb/Vpzt1xTdwR5KthJSBiSOqqCiEna9ZH0UTS3j9cIe2C 6+UjXwmWi/vfzI/sG6HN2yBMHgaOFZRDJPG0tM+2FBfJ8DQAyscOjXDCs5EijOAmtido XrQzGgM8aTydp/BO52SJvwrmf3d/xDZJXChv0Ep1KwXBnEgIjotpUmgzkJXnvWXH2q/v F6w0Y3XIO4Xoe7ixiBMk8ishXh3dXqTKRogJrOE2R6zSs11DznscNBHC+UK/DA7EkRyQ 8NqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702399017; x=1703003817; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=P8FAfw4yfWGDgeLz0OIqHqi0jffCIZjlCawfBkPXofg=; b=L2UWwVXFl3qhB28QmYYS1kaN7j3NEEGlc5xfAoTm0LlfLWrbK6EfyKwcUqd89AMuIB NC/43vG1g8ae5bRYe2Zutd6/MOnSlBbvu1Gfd0yll91BEek29iThxHiYgXiokHGqCZXV 8I7ymyTMm7NTpYZwrshJc/56gVVk84NJkNRGhqVTMoC1s7u2UE2e/fcmmFOe83pVdGcq q8JEBrGBzfb66BJRcv4jLjKLcU9zk6ZoafdWiadLgALwmrhS8HCDrc2M/gj8/GRjdsbQ CPllGWuTHIm3MO+1nohBXXzLkZ2AFRO6IO7fLEI3Lby1dpxOpEQR0tHuRO16ygVRgEXb 0inA== X-Gm-Message-State: AOJu0YxDJpP0XhIaqnNha4BINM+2jSRGl0wzR3aYtEQ8jbcFc+M8fmRI 7QmJoUZPyLPK9FhmhW297ict1ANzMsI= X-Google-Smtp-Source: AGHT+IFJhkmco7GLAsSnt28IPYwD6KwAX1+rhnHt/f3asXQ/Zca2Zo3Y+YshGuJHG8Gj+iS3bb64rg== X-Received: by 2002:ac8:7d8f:0:b0:423:e5af:f4e6 with SMTP id c15-20020ac87d8f000000b00423e5aff4e6mr10526932qtd.51.1702399017697; Tue, 12 Dec 2023 08:36:57 -0800 (PST) Received: from hurd (dsl-157-186.b2b2c.ca. [66.158.157.186]) by smtp.gmail.com with ESMTPSA id ay42-20020a05622a22aa00b00425b98c08dcsm2773699qtb.37.2023.12.12.08.36.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:36:57 -0800 (PST) From: Maxim Cournoyer To: Pan Xie Cc: guix-devel@gnu.org, help-guix@gnu.org Subject: Re: Why bash-minimal is part of sbcl package In-Reply-To: (Pan Xie's message of "Fri, 8 Dec 2023 18:34:57 +0800") References: Date: Tue, 12 Dec 2023 11:36:55 -0500 Message-ID: <87ttonbcns.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82e; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82e.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, T_SCC_BODY_TEXT_LINE=-0.01 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: mx13.migadu.com X-Migadu-Spam-Score: -2.61 X-Spam-Score: -2.61 X-Migadu-Queue-Id: 2D1F860ACB X-TUID: HbWWsCg4cI6J Hi, Pan Xie writes: > Hello > > I find this interesting thing but I don't have an explanation. When > query the "references" of my Gnu Store item "sbcl", it shows that sbcl > references bash-mininal, as the following output shows: [...] > So the question is, which part of sbcl's package definition tells Guix > it need to add bash-minimal as part of sbcl? Is there a practical > method to figure that out? A bunch of core commands such as bash, sed, make etc. are implicitly included in the build environment by the GNU build systems (which most other build systems simply extend). So if there's a bash shebang somewhere, the patch-source-shebang phase may substitute it to the *native* implicit bash command found in the environment, thus keeping a reference to it. That's a bug, as it means bash-minimal should be explicitly added to the inputs, otherwise when cross-building the package for another architecture the native bash captured wouldn't be executable on the target. -- Thanks, Maxim