unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Pan Xie <xiepan@skyguard.com.cn>
Cc: help-guix@gnu.org
Subject: Re: Why does sbcl@2.3.7 depends on bash-minimal@5.1.16
Date: Sun, 10 Dec 2023 11:00:59 +0200	[thread overview]
Message-ID: <ZXV-S5SKSkhFHwLE@3900XT> (raw)
In-Reply-To: <fbed050a-03d1-4751-a94d-172d45697bd9@skyguard.com.cn>

[-- Attachment #1: Type: text/plain, Size: 2054 bytes --]

On Thu, Dec 07, 2023 at 05:28:47PM +0800, Pan Xie wrote:
> Hello
> 
> I find this interesting thing but I don't have an explanation. If I query
> the "references" of my store item "sbcl", it shows that sbcl reference
> bash-mininal, as the following output:
> 
> # 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
> 
> But when I look into sbcl's package definition, there is no "bash-minimal"
> as its input. I 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
> 
> But I think that is build time dependency, not run time. cairo also requires
> "ghostscript" as its input, which is not referenced by sbcl.
> 
> If I run "guix size sbcl" or "guix pack sbcl", bash-minimal also included. I
> think SBCL might require "sh" to execute some script files,
> 
> but I can't figure out how guix decides "bash-minimal" is part of sbcl.
> Would some one please tell me
> 
> which part of codes in sbcl's package definition make guix include
> "bash-minimal" into sbcl's references?

I would suggest checking the output of
'grep bash-minimal /gnu/store/sbbp9nvslqcf3bmcnz5wgxf2qpsi757 -R' and
that should let you see which files include a reference to bash-minimal.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-12-10  9:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-07  9:28 Why does sbcl@2.3.7 depends on bash-minimal@5.1.16 Pan Xie
2023-12-10  9:00 ` Efraim Flashner [this message]
2024-01-18 11:35   ` Simon Tournier
2024-01-18 18:42     ` Felix Lechner via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZXV-S5SKSkhFHwLE@3900XT \
    --to=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    --cc=xiepan@skyguard.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).