View previous topic :: View next topic |
Author |
Message |
o5gmmob8 Guru

Joined: 17 Oct 2003 Posts: 583
|
Posted: Wed Apr 23, 2025 2:30 pm Post subject: emerge shows fetch progress for some packages and not others |
|
|
I am running emerge -q so that output is generally pretty quiet; however, some packages print out more:
pipewire:
Code: | >>> Running pre-merge checks for acct-group/pipewire-0-r2
--2025-04-22 13:17:56-- https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64/acct-group/pipewire/pipewire-0-r2-1.gpkg.tar
Resolving distfiles.gentoo.org... 79.127.206.208, 79.127.206.235, 2a02:6ea0:c700::101, ...
Connecting to distfiles.gentoo.org|79.127.206.208|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20480 (20K) [application/x-tar]
Saving to: ‘/var/cache/binpkgs/acct-group/pipewire/pipewire-0-r2-1.gpkg.tar.partial’
0K .......... .......... 100% 923K=0.02s
2025-04-22 13:17:56 (923 KB/s) - ‘/var/cache/binpkgs/acct-group/pipewire/pipewire-0-r2-1.gpkg.tar.partial’ saved [20480/20480]
>>> Running pre-merge checks for dev-libs/botan-3.7.1
>>> Running pre-merge checks for media-libs/libv4l-1.28.1
--2025-04-22 13:17:58-- https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64/media-libs/libv4l/libv4l-1.28.1-2.gpkg.tar
Resolving distfiles.gentoo.org... 212.102.56.178, 195.181.175.40, 37.19.194.81, ...
Connecting to distfiles.gentoo.org|212.102.56.178|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1269760 (1.2M) [application/x-tar]
Saving to: ‘/var/cache/binpkgs/media-libs/libv4l/libv4l-1.28.1-2.gpkg.tar.partial’
0K .......... .......... .......... .......... .......... 4% 264K 5s
50K .......... .......... .......... .......... .......... 8% 633K 3s
100K .......... .......... .......... .......... .......... 12% 985K 2s
150K .......... .......... .......... .......... .......... 16% 1.32M 2s
200K .......... .......... .......... .......... .......... 20% 1.53M 2s
250K .......... .......... .......... .......... .......... 24% 1.78M 1s
300K .......... .......... .......... .......... .......... 28% 2.17M 1s
350K .......... .......... .......... .......... .......... 32% 2.11M 1s
400K .......... .......... .......... .......... .......... 36% 3.22M 1s
450K .......... .......... .......... .......... .......... 40% 3.52M 1s
500K .......... .......... .......... .......... .......... 44% 3.58M 1s
550K .......... .......... .......... .......... .......... 48% 4.03M 1s
600K .......... .......... .......... .......... .......... 52% 3.91M 0s
650K .......... .......... .......... .......... .......... 56% 3.80M 0s
700K .......... .......... .......... .......... .......... 60% 5.79M 0s
750K .......... .......... .......... .......... .......... 64% 3.50M 0s
800K .......... .......... .......... .......... .......... 68% 6.48M 0s
850K .......... .......... .......... .......... .......... 72% 6.53M 0s
900K .......... .......... .......... .......... .......... 76% 6.13M 0s
950K .......... .......... .......... .......... .......... 80% 6.49M 0s
1000K .......... .......... .......... .......... .......... 84% 6.41M 0s
1050K .......... .......... .......... .......... .......... 88% 7.29M 0s
1100K .......... .......... .......... .......... .......... 92% 10.4M 0s
1150K .......... .......... .......... .......... .......... 96% 6.48M 0s
1200K .......... .......... .......... .......... 100% 7.01M=0.6s
|
And, thunderbird is the same.
There are a few others, but is this the ebuild causing that or what gives? I'd like to have as little output as possible unless there is an error, but even then, I believe those are also written to a log file.
Why are a few packages more verbose than others? |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 10010 Location: almost Mile High in the USA
|
Posted: Wed Apr 23, 2025 3:25 pm Post subject: |
|
|
The output is from wget, but if you already have the files needed, it won't re-download them and thus won't print out the status? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
o5gmmob8 Guru

Joined: 17 Oct 2003 Posts: 583
|
Posted: Wed Apr 23, 2025 3:36 pm Post subject: |
|
|
Yes, you're right, I believe the output is from wget.
If I were running wget on the cmdline directly, it'd be wget -q or wget --quiet.
I see default_fetchcommand is set in: /usr/lib/python3.12/site-packages/portage/_emirrordist/FetchTask.py
Short of squeezing a -q in there, there must be a way to configure that. |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 10010 Location: almost Mile High in the USA
|
Posted: Wed Apr 23, 2025 3:51 pm Post subject: |
|
|
You could override FETCHCOMMAND in make.conf that includes -q ... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
o5gmmob8 Guru

Joined: 17 Oct 2003 Posts: 583
|
Posted: Wed Apr 23, 2025 3:54 pm Post subject: |
|
|
I'll give that a try and report back. Again, it is strange because I just emerged a package I did not have fetched already and it did not print the status of the fetch. |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 10010 Location: almost Mile High in the USA
|
Posted: Wed Apr 23, 2025 3:57 pm Post subject: |
|
|
Virtual and meta packages don't have files to fetch? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2122
|
Posted: Wed Apr 23, 2025 3:58 pm Post subject: |
|
|
o5gmmob8 wrote: | I'll give that a try and report back. Again, it is strange because I just emerged a package I did not have fetched already and it did not print the status of the fetch. |
This is because of binpkgs and the pkg_pretend phase is where the output is coming from. pkg_pretend needs to run very early, before normal fetching, but the binpkgs that are not available need to be checked. |
|
Back to top |
|
 |
o5gmmob8 Guru

Joined: 17 Oct 2003 Posts: 583
|
Posted: Wed Apr 23, 2025 4:03 pm Post subject: |
|
|
grknight wrote: | o5gmmob8 wrote: | I'll give that a try and report back. Again, it is strange because I just emerged a package I did not have fetched already and it did not print the status of the fetch. |
This is because of binpkgs and the pkg_pretend phase is where the output is coming from. pkg_pretend needs to run very early, before normal fetching, but the binpkgs that are not available need to be checked. |
So, you're saying that adding FETCHCOMMAND to /etc/portage/make.conf won't work or worse yet, is a bad idea? |
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2122
|
Posted: Wed Apr 23, 2025 4:06 pm Post subject: |
|
|
o5gmmob8 wrote: | So, you're saying that adding FETCHCOMMAND to /etc/portage/make.conf won't work or worse yet, is a bad idea? |
It should work. I was responding to why some packages do and some don't. |
|
Back to top |
|
 |
|