unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Funny reference in bootstrap bash-static
@ 2016-12-20  6:04 Pjotr Prins
  2016-12-20 14:05 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Pjotr Prins @ 2016-12-20  6:04 UTC (permalink / raw)
  To: guix-devel

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/

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?

Pj.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Funny reference in bootstrap bash-static
  2016-12-20  6:04 Funny reference in bootstrap bash-static Pjotr Prins
@ 2016-12-20 14:05 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-12-20 14:05 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel

Hello!

Pjotr Prins <pjotr.public12@thebird.nl> 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’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-20 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-20  6:04 Funny reference in bootstrap bash-static Pjotr Prins
2016-12-20 14:05 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).