Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926522 - wrong download size
Summary: wrong download size
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: AMD64 Linux
: Normal trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-08 18:26 UTC by Roman Gruber
Modified: 2024-03-08 18:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Gruber 2024-03-08 18:26:49 UTC
libomp 0KB

Sienna_Cichlid /home/roman # emerge -av --update --deep -N world --exclude google-chrome --exclude libreoffice --exclude firefox-bin --exclude poppler --exclude vivaldi --exclude R

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 10.32 s (backtrack: 2/20).

[ebuild     U  ] dev-lang/go-1.22.1:0/1.22.1::gentoo [1.22.0:0/1.22.0::gentoo] CPU_FLAGS_X86="sse2" 26,903 KiB
[ebuild     U  ] sys-devel/clang-common-18.1.0::gentoo [17.0.6-r1::gentoo] USE="-bootstrap-prefix -default-compiler-rt -default-libcxx -default-lld -hardened -llvm-libunwind -verify-sig" 128,940 KiB
[ebuild     U  ] x11-apps/xev-1.2.6::gentoo [1.2.5::gentoo] 127 KiB
[ebuild     U  ] x11-apps/xauth-1.1.3::gentoo [1.1.2::gentoo] 156 KiB
[ebuild     U  ] sci-libs/lapack-3.12.0-r1::gentoo [3.12.0::gentoo] USE="-deprecated -doc -eselect-ldso -lapacke -test" 7,748 KiB
[ebuild     U  ] sys-libs/libomp-18.1.0:0/18.1::gentoo [17.0.6:0/17::gentoo] USE="-debug -gdb-plugin -hwloc -offload -ompt -test -verify-sig" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU -NVPTX" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 0 KiB


libomp 130MB

Sienna_Cichlid /home/roman # emerge -av --update --deep -N world --exclude google-chrome --exclude libreoffice --exclude firefox-bin --exclude poppler --exclude vivaldi --exclude R

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 10.84 s (backtrack: 2/20).

[ebuild     U  ] dev-lang/go-1.22.1:0/1.22.1::gentoo [1.22.0:0/1.22.0::gentoo] CPU_FLAGS_X86="sse2" 26,903 KiB
[ebuild     U  ] x11-apps/xev-1.2.6::gentoo [1.2.5::gentoo] 127 KiB
[ebuild     U  ] x11-apps/xauth-1.1.3::gentoo [1.1.2::gentoo] 156 KiB
[ebuild     U  ] sci-libs/lapack-3.12.0-r1::gentoo [3.12.0::gentoo] USE="-deprecated -doc -eselect-ldso -lapacke -test" 7,748 KiB
[ebuild     U  ] sys-libs/libomp-18.1.0:0/18.1::gentoo [17.0.6:0/17::gentoo] USE="-debug -gdb-plugin -hwloc -offload -ompt -test -verify-sig" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU -NVPTX" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 128,940 KiB


Sienna_Cichlid /home/roman # cat /etc/portage/package.mask 
#dev-java/openjdk-bin
media-libs/openexr:0/31
=sys-devel/llvm-common-18.1.0
=dev-java/openjdk-bin-21.0.2_p13
dev-java/openjdk-bin:8
dev-java/openjdk-bin:11
dev-java/openjdk-bin:17
dev-java/openjdk:8
dev-java/icedtea-bin:8
sys-devel/llvm:18/18.1
=sys-devel/llvmgold-18
sys-devel/llvm-toolchain-symlinks:18

virtual/jdk:1.8
virtual/jdk:11
virtual/jdk:17

=sys-libs/libcxx-18.1.0
=sys-devel/clang-common-18.1.0
=sys-libs/libomp-18.1.0


Partly packages sloted, partly not

Please slot all 18.1 packages or none. 
non slotted 18.1 package pulls in slotted 18.1 packages.

mask one package, downloadsize increases of other package.

portage does not really calculcate correct download size of pacakges.


When i see 0kB than it is 0KB for any portage.mask content and regardless which portage parameters.

i see this kinda often - just an example above.

mask one package. another package needs a hughe download for nearly none benefit. suddenly increases in download size from 0KB to huge.

Most of portage.mask was added just a few minutes ago. llvm is madness with half stuff slotted and other stuff not slotted. wrong download size shown. 

There was a time - when download Size was correct. I am a long time gentoo user since 2006. Still first install.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-08 18:30:44 UTC
You seem to be mixing several different issues here, like the LLVM slotting vs Portage reporting of download sizes.

I'm not sure if I really get it yet. Are you saying that if it's masked, you end up with 0KiB showing? But if it's masked, how can it be in the package/merge list at all?