[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Funny reference in bootstrap bash-static
From: |
Ludovic Courtès |
Subject: |
Re: Funny reference in bootstrap bash-static |
Date: |
Tue, 20 Dec 2016 15:05:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello!
Pjotr Prins <address@hidden> skribis:
> The static version of bash contains a number of non-existant references. They
> look harmless enough and are probably used
> for bootstrapping.
>
> Contains /gnu/store reference in
> gnu/store/7jhakv1r1nbs2sr2f7ammq256w7niarh-bash-static-4.3.39/bin/bash
> 1127848
> /gnu/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bash-static-4.3.39/share/bashdb/bashdb-main.inc
> 1179560
> /gnu/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-intermediate-2.22/lib/gconv/gconv-modules.cache
> 1183296
> /gnu/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-intermediate-2.22/share/locale
> 1183432
> /gnu/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-intermediate-2.22/share/locale
> 1222784
> /gnu/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-intermediate-2.22/share/zoneinfo
> 1226344
> /gnu/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-intermediate-2.22/libexec/getconf
> 1235648
> /gnu/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-intermediate-2.22/lib/
This is on purpose: this is done by the ‘remove-store-references’ call
in the ‘bash-static’ recipe so that ‘bash-static’ has no dependencies
other than itself.
> The thing is that the hello package ultimately references these through
>
> Contains /gnu/store reference in
> gnu/store/qv7bk62c22ms9i11dhfl71hnivyc82k2-glibc-2.22/bin/xtrace
> 0
> #!/gnu/store/7jhakv1r1nbs2sr2f7ammq256w7niarh-bash-static-4.3.39/bin/bash
> 903
> pcprofileso='/gnu/store/qv7bk62c22ms9i11dhfl71hnivyc82k2-glibc-2.22/\$LIB/libpcprofile.so'
> 994
> pcprofiledump='/gnu/store/qv7bk62c22ms9i11dhfl71hnivyc82k2-glibc-2.22/bin/pcprofiledump'
>
> which means that most packages do. It would probably make sense to have
> xtrace point to a full bash. No?
‘xtrace’ just needs a minimal shell interpreter, so that’s fine. See
‘glibc-final-with-bootstrap-bash’ and below in (gnu packages
commencement) for the whole story.
HTH!
Ludo’.