unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#73962: Seemingly unecessary package duplication in home and system profiles
@ 2024-10-23 11:42 lgcoelho--- via Bug reports for GNU Guix
  2024-10-23 12:57 ` bug#73962: More info regarding the issue lgcoelho--- via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: lgcoelho--- via Bug reports for GNU Guix @ 2024-10-23 11:42 UTC (permalink / raw)
  To: 73962

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

When running either `guix size $(realpath ~/.guix-home/profile)` or 
`guix size $(realpath /run/current-system/profile)` on my system, I 
could see that multiple packages have "duplicates", whose hash doesn't 
match. After investigation, I discovered that for all the ones I've 
checked, the hash differs simply because compression used for some files 
in the derivation output (such as manpages, for example). Some examples 
are:

bash-minimal-5.1.16
bzip2-1.0.8
cairo-1.18.0
coreutils-9.1
dbus-1.15.8
extension.json
ffmpeg-6.1.1
gawk-5.3.0
gcc-11.4.0-lib
git-2.46.0
glib-2.78.0
grep-3.11
gtk+-2.24.33
gtk+-3.24.41
gtk+-3.24.41-bin
gzip-1.13
harfbuzz-8.3.0
libffi-3.4.4
libnotify-0.8.3
librsvg-2.56.4
libxkbcommon-1.6.0
mesa-24.0.4
python-3.10.7
python-3.10.7-tk
python-pyparsing-3.0.6
qtwayland-5.15.10
tar-1.34
wayland-1.22.0
xz-5.4.5
zlib-1.3

Running guix challenge over these packages also doesn't detect any kind 
of reproducibility issues. Is there any reason for the package 
duplication?

Thanks in advance,
Luis Guilherme Coelho

[-- Attachment #2: Type: text/html, Size: 1398 bytes --]

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

* bug#73962: More info regarding the issue
  2024-10-23 11:42 bug#73962: Seemingly unecessary package duplication in home and system profiles lgcoelho--- via Bug reports for GNU Guix
@ 2024-10-23 12:57 ` lgcoelho--- via Bug reports for GNU Guix
  0 siblings, 0 replies; 2+ messages in thread
From: lgcoelho--- via Bug reports for GNU Guix @ 2024-10-23 12:57 UTC (permalink / raw)
  To: 73962

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

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

[-- Attachment #2: Type: text/html, Size: 6830 bytes --]

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

end of thread, other threads:[~2024-10-23 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-23 11:42 bug#73962: Seemingly unecessary package duplication in home and system profiles lgcoelho--- via Bug reports for GNU Guix
2024-10-23 12:57 ` bug#73962: More info regarding the issue lgcoelho--- via Bug reports for GNU Guix

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