Subject: bug#73962: More info regarding the issue

From: [email-masked]
Date: Wed, 23 Oct 2024 14:57:03 +0200

Still on the same matter, while some packages indeed have the same 
closure e.g.

_--8<---------------cut here---------------start------------->8---_

+radio at buer in ~ > guix size 
/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8
store item                                                       total   
  self
/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39              40.5 
    38.8  50.5%
/gnu/store/zzpbp6rr43smwxzvzd4qd317z5j7qblj-gcc-11.4.0-lib          75.6 
    35.0  45.5%
/gnu/store/87z5k84hxbqs87plgwsl2v6a4j7m3k7h-bash-static-5.1.16       1.7 
     1.7   2.2%
/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16     41.5 
     1.0   1.3%
/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8             77.0 
     0.4   0.5%
total: 77.0 MiB
+radio at buer in ~ > guix size 
/gnu/store/59kd6jyvrq8prl9mbnh3g8d22rc1dbwv-bzip2-1.0.8
store item                                                       total   
  self
/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39              40.5 
    38.8  50.5%
/gnu/store/zzpbp6rr43smwxzvzd4qd317z5j7qblj-gcc-11.4.0-lib          75.6 
    35.0  45.5%
/gnu/store/87z5k84hxbqs87plgwsl2v6a4j7m3k7h-bash-static-5.1.16       1.7 
     1.7   2.2%
/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16     41.5 
     1.0   1.3%
/gnu/store/59kd6jyvrq8prl9mbnh3g8d22rc1dbwv-bzip2-1.0.8             76.9 
     0.4   0.5%
total: 76.9 MiB
+radio at buer in ~ > diff -r 
/gnu/store/59kd6jyvrq8prl9mbnh3g8d22rc1dbwv-bzip2-1.0.8 
/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8
Only in 
/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/share/man/man1: 
bzcmp.1.gz
Only in 
/gnu/store/59kd6jyvrq8prl9mbnh3g8d22rc1dbwv-bzip2-1.0.8/share/man/man1: 
bzcmp.1.zst
Only in 
/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/share/man/man1: 
bzdiff.1.gz
Only in 
/gnu/store/59kd6jyvrq8prl9mbnh3g8d22rc1dbwv-bzip2-1.0.8/share/man/man1: 
bzdiff.1.zst
Only in 
/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/share/man/man1: 
bzegrep.1.gz
Only in 
/gnu/store/59kd6jyvrq8prl9mbnh3g8d22rc1dbwv-bzip2-1.0.8/share/man/man1: 
bzegrep.1.zst
Only in 
/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/share/man/man1: 
bzfgrep.1.gz
Only in 
/gnu/store/59kd6jyvrq8prl9mbnh3g8d22rc1dbwv-bzip2-1.0.8/share/man/man1: 
bzfgrep.1.zst
Only in 
/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/share/man/man1: 
bzgrep.1.gz
Only in 
/gnu/store/59kd6jyvrq8prl9mbnh3g8d22rc1dbwv-bzip2-1.0.8/share/man/man1: 
bzgrep.1.zst
Only in 
/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/share/man/man1: 
bzip2.1.gz
Only in 
/gnu/store/59kd6jyvrq8prl9mbnh3g8d22rc1dbwv-bzip2-1.0.8/share/man/man1: 
bzip2.1.zst
Only in 
/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/share/man/man1: 
bzless.1.gz
Only in 
/gnu/store/59kd6jyvrq8prl9mbnh3g8d22rc1dbwv-bzip2-1.0.8/share/man/man1: 
bzless.1.zst
Only in 
/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/share/man/man1: 
bzmore.1.gz
Only in 
/gnu/store/59kd6jyvrq8prl9mbnh3g8d22rc1dbwv-bzip2-1.0.8/share/man/man1: 
bzmore.1.zst

_--8<---------------cut here---------------end--------------->8---_

many others that have different closures e.g.

_--8<---------------cut here---------------start------------->8---_

+radio at buer in ~ > guix size 
/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16
store item                                                       total   
  self
/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39              40.5 
    38.8  93.5%
/gnu/store/87z5k84hxbqs87plgwsl2v6a4j7m3k7h-bash-static-5.1.16       1.7 
     1.7   4.1%
/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16     41.5 
     1.0   2.4%
total: 41.5 MiB
+radio at buer in ~ > guix size 
/gnu/store/x47i4yafqxdav838aykda9c2hhhn9sa4-bash-minimal-5.1.16
store item                                                       total   
  self
/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39              40.5 
    38.8  50.7%
/gnu/store/zzpbp6rr43smwxzvzd4qd317z5j7qblj-gcc-11.4.0-lib          75.6 
    35.0  45.8%
/gnu/store/87z5k84hxbqs87plgwsl2v6a4j7m3k7h-bash-static-5.1.16       1.7 
     1.7   2.2%
/gnu/store/x47i4yafqxdav838aykda9c2hhhn9sa4-bash-minimal-5.1.16     76.5 
     1.0   1.3%
total: 76.5 MiB

_--8<---------------cut here---------------end--------------->8---_

which is more reasonable to justify the difference in the package 
derivation output contents. But still, where does that dependency on 
gcc-lib comes from? And if one of them is a "more complete" version of 
the other, Why are both packages installed into the profile?

Thanks in advance,
Luis Guilherme Coelho