View previous topic :: View next topic |
Author |
Message |
cwc Veteran


Joined: 20 Mar 2006 Posts: 1410 Location: Tri-Cities, WA USA
|
Posted: Mon Mar 03, 2025 11:38 pm Post subject: why is my emerge world output just showing emerged packages? |
|
|
I'm not sure why this is my world update output?
This is my emerge world script:
Code: |
emerge -uDNavt @world;
Here is code from my /etc/portage/make.conf
MAKEOPTS="-j12"
EMERGE_DEFAULT_OPTS="--jobs 12"
|
I used to get a full output of code while it was compiling.
Now this is my emerge world output:
Code: |
Would you like to merge these packages? [Yes/No] Yes
>>> Verifying ebuild manifests
>>> Running pre-merge checks for x11-drivers/xf86-input-libinput-1.5.0
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 6.12.16-gentoo
* Checking for suitable kernel configuration options ... [ ok ]
>>> Running pre-merge checks for x11-drivers/xf86-video-ati-22.0.0
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 6.12.16-gentoo
* Checking for suitable kernel configuration options ... [ ok ]
>>> Emerging (1 of 19) dev-python/ensurepip-pip-25.0.1::gentoo
>>> Emerging (2 of 19) app-portage/cpuid2cpuflags-15::gentoo
>>> Installing (1 of 19) dev-python/ensurepip-pip-25.0.1::gentoo
>>> Completed (1 of 19) dev-python/ensurepip-pip-25.0.1::gentoo
>>> Installing (2 of 19) app-portage/cpuid2cpuflags-15::gentoo
>>> Completed (2 of 19) app-portage/cpuid2cpuflags-15::gentoo
>>> Emerging (3 of 19) sys-libs/libseccomp-2.6.0::gentoo
>>> Installing (3 of 19) sys-libs/libseccomp-2.6.0::gentoo
>>> Completed (3 of 19) sys-libs/libseccomp-2.6.0::gentoo
>>> Emerging (4 of 19) gui-libs/display-manager-init-1.1.2-r1::gentoo
>>> Emerging (5 of 19) app-admin/eselect-1.4.29::gentoo
>>> Installing (4 of 19) gui-libs/display-manager-init-1.1.2-r1::gentoo
>>> Completed (4 of 19) gui-libs/display-manager-init-1.1.2-r1::gentoo
>>> Installing (5 of 19) app-admin/eselect-1.4.29::gentoo
>>> Completed (5 of 19) app-admin/eselect-1.4.29::gentoo
>>> Emerging (6 of 19) dev-perl/Net-SSLeay-1.940.0-r1::gentoo
>>> Installing (6 of 19) dev-perl/Net-SSLeay-1.940.0-r1::gentoo
>>> Completed (6 of 19) dev-perl/Net-SSLeay-1.940.0-r1::gentoo
>>> Emerging (7 of 19) dev-perl/Capture-Tiny-0.500.0::gentoo
>>> Installing (7 of 19) dev-perl/Capture-Tiny-0.500.0::gentoo
>>> Completed (7 of 19) dev-perl/Capture-Tiny-0.500.0::gentoo
>>> Emerging (8 of 19) virtual/perl-CPAN-Meta-2.150.10-r9::gentoo
>>> Installing (8 of 19) virtual/perl-CPAN-Meta-2.150.10-r9::gentoo
>>> Completed (8 of 19) virtual/perl-CPAN-Meta-2.150.10-r9::gentoo
>>> Emerging (9 of 19) dev-perl/Module-Build-0.423.400-r4::gentoo
>>> Installing (9 of 19) dev-perl/Module-Build-0.423.400-r4::gentoo
>>> Completed (9 of 19) dev-perl/Module-Build-0.423.400-r4::gentoo
>>> Emerging (10 of 19) dev-perl/Date-Manip-6.960.0::gentoo
>>> Emerging (11 of 19) dev-python/lxml-5.3.1::gentoo
>>> Installing (10 of 19) dev-perl/Date-Manip-6.960.0::gentoo
>>> Completed (10 of 19) dev-perl/Date-Manip-6.960.0::gentoo
>>> Installing (11 of 19) dev-python/lxml-5.3.1::gentoo
>>> Completed (11 of 19) dev-python/lxml-5.3.1::gentoo
>>> Emerging (12 of 19) dev-python/pip-25.0.1-r1::gentoo
>>> Emerging (13 of 19) x11-base/xorg-server-21.1.16::gentoo
>>> Emerging (14 of 19) app-crypt/pinentry-1.3.1-r1::gentoo
>>> Installing (12 of 19) dev-python/pip-25.0.1-r1::gentoo
>>> Completed (12 of 19) dev-python/pip-25.0.1-r1::gentoo
>>> Installing (14 of 19) app-crypt/pinentry-1.3.1-r1::gentoo
>>> Completed (14 of 19) app-crypt/pinentry-1.3.1-r1::gentoo
>>> Installing (13 of 19) x11-base/xorg-server-21.1.16::gentoo
>>> Completed (13 of 19) x11-base/xorg-server-21.1.16::gentoo
>>> Emerging (15 of 19) x11-drivers/xf86-input-libinput-1.5.0::gentoo
>>> Emerging (16 of 19) www-client/firefox-bin-136.0::gentoo
>>> Emerging (17 of 19) x11-base/xwayland-24.1.6::gentoo
>>> Installing (16 of 19) www-client/firefox-bin-136.0::gentoo
>>> Completed (16 of 19) www-client/firefox-bin-136.0::gentoo
>>> Installing (15 of 19) x11-drivers/xf86-input-libinput-1.5.0::gentoo
>>> Completed (15 of 19) x11-drivers/xf86-input-libinput-1.5.0::gentoo
>>> Installing (17 of 19) x11-base/xwayland-24.1.6::gentoo
>>> Completed (17 of 19) x11-base/xwayland-24.1.6::gentoo
>>> Emerging (18 of 19) x11-drivers/xf86-video-ati-22.0.0::gentoo
>>> Installing (18 of 19) x11-drivers/xf86-video-ati-22.0.0::gentoo
>>> Completed (18 of 19) x11-drivers/xf86-video-ati-22.0.0::gentoo
>>> Emerging (19 of 19) x11-drivers/xf86-video-amdgpu-23.0.0::gentoo
>>> Installing (19 of 19) x11-drivers/xf86-video-amdgpu-23.0.0::gentoo
>>> Completed (19 of 19) x11-drivers/xf86-video-amdgpu-23.0.0::gentoo
>>> Jobs: 19 of 19 complete
|
_________________ Without diversity there can be no evolution:) |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5468 Location: Bavaria
|
|
Back to top |
|
 |
cwc Veteran


Joined: 20 Mar 2006 Posts: 1410 Location: Tri-Cities, WA USA
|
Posted: Tue Mar 04, 2025 12:52 am Post subject: |
|
|
Thanks . That's what I thought. Thanks for the link! _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
 |
cwc Veteran


Joined: 20 Mar 2006 Posts: 1410 Location: Tri-Cities, WA USA
|
Posted: Tue Mar 04, 2025 1:30 am Post subject: |
|
|
Well I have had OOM in the past.
I like the shorthand.
What should I set the following (I have a 12 core i7):
MAKEOPTS="-j12"
EMERGE_DEFAULT_OPTS="--jobs 12" _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
 |
Banana Moderator


Joined: 21 May 2004 Posts: 1911 Location: Germany
|
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5468 Location: Bavaria
|
Posted: Tue Mar 04, 2025 12:27 pm Post subject: |
|
|
Banana wrote: | [...] I get it, that the EMERGE_DEFAULT_OPTS is the problem, but if this is so, @pietinger please add it to the mentioned wiki section. |
i wouldn't call it a “problem”, because it is actually totally normal that it no longer makes sense to output the output of two (or more) install/compile jobs (as the output would then be mixed together).
So because it is normal I don't know if we should add the article https://wiki.gentoo.org/wiki/EMERGE_DEFAULT_OPTS. Please decide for yourself. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5468 Location: Bavaria
|
Posted: Tue Mar 04, 2025 12:34 pm Post subject: |
|
|
cwc wrote: | Well I have had OOM in the past.
I like the shorthand.
What should I set the following (I have a 12 core i7):
MAKEOPTS="-j12"
EMERGE_DEFAULT_OPTS="--jobs 12" |
My recommendation would be very extreme ... because I run my world-update once a week during the night (while I sleep) ... so I don't care if it runs for two or three hours. I ONLY have a MAKEOPTS=“-j ..-l ...” and NO EMERGE_DEFAULT_OPTS in my make.conf.
However, you should definitely reduce EMERGE_DEFAULT_OPTS=“--jobs 12” to “=2” or “=3” and add --load-average X.Y if necessary. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 2788
|
Posted: Tue Mar 04, 2025 12:40 pm Post subject: |
|
|
Banana wrote: | Did I read it wrong, or wasn't the question about why the emerge log output is not verbose anymore? |
You read it wrong. With --jobs and -v emerge still produces verbose output, OP just didn't show it. Let me clarify, verbose output means the list of packages to be emerged along with use changes so on and so forth. What OP asks is why there's no build output. Well, it is because you would get a headache if you tried to comprehend all those build messages coming from up to 12 packages being compiled at the same time.
man emerge: |
-j [JOBS], --jobs[=JOBS]
Specifies the number of packages to build simultaneously. If this option is given without an argument, emerge will not limit
the number of jobs that can run simultaneously. Also see the related --load-average option. Similarly to the --quiet-build op‐
tion, the --jobs option causes all build output to be redirected to logs. Note that interactive packages currently force a
setting of --jobs=1. This issue can be temporarily avoided by specifying --accept-properties=-interactive.
|
If OP wants the build output, they need to enable keepwork feature and then gather the build.log files from the packages that had been compiled. Then OP needs to clean up PORTAGE_TEMPDIR manually.
Best Regards,
Georgi |
|
Back to top |
|
 |
xineg Tux's lil' helper


Joined: 14 Mar 2006 Posts: 118 Location: Australia.
|
Posted: Tue Mar 04, 2025 1:55 pm Post subject: |
|
|
If you just read the link it's very concise and Pietinger explains multiple jobs using several threads well with examples. (I love all his guides). |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5468 Location: Bavaria
|
|
Back to top |
|
 |
cwc Veteran


Joined: 20 Mar 2006 Posts: 1410 Location: Tri-Cities, WA USA
|
Posted: Tue Mar 04, 2025 2:38 pm Post subject: |
|
|
thank you for the responses.
I've paid a bit more attention to this with both of my systems. looked at "top"
I adjusted my make.conf and changed world to "emerge -uDNat @world;" no v (duh)
I'm will find out what the error output looks like when it happens.
Thanks again ! _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
 |
Banana Moderator


Joined: 21 May 2004 Posts: 1911 Location: Germany
|
Posted: Tue Mar 04, 2025 2:44 pm Post subject: |
|
|
Just to make it clear:
@logrusx
I mixed up verbose and build output. OP did show the whole output he was getting and thus wondering where the build output was.
@pietinger
I was just expecting something like the excerpt from the man emerge page in your referenced
Quote: | Similarly to the --quiet-build option, the --jobs option causes all build output to be redirected to logs. |
_________________ Forum Guidelines
PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire |
|
Back to top |
|
 |
|