Hello,

Hartmut Goebel <[email protected]> skribis:

> I found an even worse package: this includes *three* C compilers:
>
> $ guix shell electrum
> 530,4 MB werden heruntergeladen
> abseil-cpp-20250127.1  1.1MiB
> clang-15.0.7  67.3MiB
> clang-18.1.8  78.3MiB
> clang-runtime-15.0.7  2.1MiB   <-- 1
> clang-runtime-18.1.8  2.3MiB   <-- 2

It’s worse than this:

--8<---------------cut here---------------start------------->8---
$ guix size electrum
store item                                                       total    self
/gnu/store/isypxzzb4hylhcygb7jdi4fjqfj8hqcp-clang-18.1.8          2191.2   
849.7  22.3%
/gnu/store/bc9v2cgrb21bycnx7kjay2j0vm8lfxkn-llvm-18.1.8            640.6   
566.0  14.9%
/gnu/store/wssvk5s5akbx78kx92bdkirrry87jvbj-gcc-14.3.0             336.0   
261.7   6.9%
/gnu/store/bz93f3v7f0agg62xs6my6kjs319qlc5d-llvm-for-mesa-18.1.8   234.9   
160.4   4.2%
[…]
total: 3810.7 MiB
--8<---------------cut here---------------end--------------->8---

3.8 GiB for a “wallet”; mine takes less space. :-)

The way to address these problems is usually to look for the reason a
reference to these compilers is kept, for instance like so:

--8<---------------cut here---------------start------------->8---
$ guix graph -t references --path electrum clang@18
/gnu/store/9bl04m7qvw7b1qqz1xpanya90j7v4lb1-electrum-4.6.1
/gnu/store/ssxs3nzm3ylgw6h1vwblzqsnys2pn97r-python-pyqt-6.9.1
/gnu/store/qd4ynmp2gz8js2a9d8cbhaywnmn0p7aa-qttools-6.9.2
/gnu/store/isypxzzb4hylhcygb7jdi4fjqfj8hqcp-clang-18.1.8
--8<---------------cut here---------------end--------------->8---

Why does python-pyqt depend on qttools at run time?  Why does qttools
depend on clang at run time?

--8<---------------cut here---------------start------------->8---
$ guix graph -t references --path electrum 
/gnu/store/wssvk5s5akbx78kx92bdkirrry87jvbj-gcc-14.3.0
/gnu/store/9bl04m7qvw7b1qqz1xpanya90j7v4lb1-electrum-4.6.1
/gnu/store/mlkhaqnm6db1dlawhirc1flv6g6vhfc9-zbar-0.23.93
/gnu/store/bz2h5k8hmzkg8mxdxnhd0hdw7m32ixbp-shared-mime-info-2.3
/gnu/store/wssvk5s5akbx78kx92bdkirrry87jvbj-gcc-14.3.0
--8<---------------cut here---------------end--------------->8---

Why (TF) does shared-mime-info depend on GCC⁈ 👇

  https://codeberg.org/guix/guix/issues/2846

Then we have to address them essentially one by one.

Ludo’.

Reply via email to