From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MGDDKe93dWXcegEAG6o9tA:P1 (envelope-from ) for ; Sun, 10 Dec 2023 09:33:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MGDDKe93dWXcegEAG6o9tA (envelope-from ) for ; Sun, 10 Dec 2023 09:33:51 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702197231; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=tQTJ3LXXsWxgOSwW26Eh547NVJyruDFnZcJlJXblaq0=; b=FBBQQ7BUdpayal3O8EP7bM4Yw16HglS2Q0R5Tb/D9Bqmb+y1qsiakXYacV1JzVKhcr7DEG aPeOA5jSSac+UhfpcwRsAIw4eeHogRcc5nnmO6C6CYvjstOsItsZH2pNWSgk0IAkU/SLDy OPuGifqLvm2CJY3KWqktXSiHgw4uP4tttv8GsEKVL1N7sBpG2h86LTWnq5F9FLGn53yFrh Ig6RKTSwq8NPdQG61mg3ghaJGlQKbZxbEvOCqUEJetcVQQV1Mw2IdnBw3h2Wu2mDxg4Pxj mEPHy62kO+VVzSOtUitgNcCwfVjSNyVFsq6BiBBKRUzYjzEzaYzv3sZTY5c1+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702197231; a=rsa-sha256; cv=none; b=Tr1dE0rCkHVDmoA3ok6YcbjQed6hcp78+P9oPdRFwvFD25AP9x5xxLH5q9I19lCC1jAyec xlbIFJuReZ3mqrCqUPqQijmZFNy8GVdepc82sa2W/EiI77DponBKu1gRvXk+Vjhrh15wOY iTam0/EhLt4OI763IWvhmbiFINRhCRN2UQXzgz6dwAA3J1BLNxHousXPlooSV6c3bgFOe3 V5E8WF/uMZiDFsP/YXMbYGT2HeVFOGCEqvqYo9gSs5bFzjCpDBdUb/FfLQg5Wlol4txLd+ rDRai212WqVck2ShBfC5Od5y/KYOwO3Z6PDBcYiyBXcjH4gtEpiGBb7LW/6DzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=none 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 51C0025B30 for ; Sun, 10 Dec 2023 09:33:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCFFm-0001Hc-Lr; Sun, 10 Dec 2023 03:33:34 -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 1rBYBW-0005dt-De; Fri, 08 Dec 2023 05:34:18 -0500 Received: from mailxcu.skyguard.com.cn ([210.12.103.1] helo=smtp.secgator.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBYBS-00011Z-MX; Fri, 08 Dec 2023 05:34:18 -0500 Received: from mail.skyguard.com.cn (unknown [172.21.23.75]) by smtp.secgator.com (SkyGuard) with ESMTPS id 4SmnXt3W2Fz3YCRW; Fri, 8 Dec 2023 18:33:18 +0800 (CST) Received: from [172.22.3.81] (unknown [172.21.24.65]) by mail.skyguard.com.cn (Postfix) with ESMTPSA id 4SmnYl1BwNz2yr3; Fri, 8 Dec 2023 18:34:03 +0800 (CST) Message-ID: Date: Fri, 8 Dec 2023 18:34:57 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: guix-devel@gnu.org, help-guix@gnu.org From: Pan Xie Subject: Why bash-minimal is part of sbcl package Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=210.12.103.1; envelope-from=xiepan@skyguard.com.cn; helo=smtp.secgator.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-Mailman-Approved-At: Sun, 10 Dec 2023 03:33:22 -0500 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: -5.16 X-Spam-Score: -5.16 X-Migadu-Queue-Id: 51C0025B30 X-Migadu-Scanner: mx12.migadu.com X-TUID: Mgnwbbat28Uo 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: # guix gc --references /gnu/store/sbbp9nvslqcf3bmcnz5wgxf2qpsi757 /gnu/store/6ncav55lbk5kqvwwflrzcr41hp5jbq0c-gcc-11.3.0-lib /gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35 /gnu/store/mzx7j93w5szyzrgnql8dqhqdgjh6si02-mpfr-4.2.0 /gnu/store/nl194qnq5lhjxpfwcs15xqihnfqif335-zstd-1.5.2-lib /gnu/store/sbbp9nvslqcf3bmcnz5wgxf2qpsi757i-sbcl-2.3.7 /gnu/store/v9p25q9l5nnaixkhpap5rnymmwbhf9rp-bash-minimal-5.1.16 /gnu/store/ybadavwz1z9kmxanqy3siw38lnkwnkrp-gmp-6.2.1 However when I look into sbcl's package definition, there is no bash-minimal as its input. I can use guix graph find a path from sbcl to bash-minimal: # guix graph --path sbcl bash-minimal sbcl@2.3.7 texlive-updmap.cfg@66594 texlive-scheme-basic@66594 texlive-collection-basic@66594 texlive-bin@20230313 cairo@1.16.0 bash-minimal@5.1.16 bash-minimal is indeed one of cairo's package input. However cairo also has inputs like ghostscript and libspectre, which sbcl does not reference. "guix size sbcl" also reports bash-minimal is part of sbcl package, and "guix pack sbcl" will include bash-minimal in its final tarball. 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?