Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 917092

Summary: sys-apps/portage: emerge intermittently hangs on pre-merge checks
Product: Gentoo Linux Reporter: Georgi <jorodrbr>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Georgi 2023-11-09 21:11:17 UTC
From time to time I've caught emerge hanging on pre-merge checks. It doesn't show any output and stays there indefinitely. Only after I press ^C it shows some output:

>>> Running pre-merge checks for dev-qt/qtwebengine-5.15.11_p20231102
^C

Exiting on signal 2
 * Checking for at least 32 GiB RAM ...
 * Amount of main memory is insufficient, but amount
 * of main memory combined with swap is sufficient.
 * Build process may make computer very slow!                                                                                                                                               [ ok ]
 * Checking for at least 7 GiB disk space at "/var/tmp/portage/dev-qt/qtwebengine-5.15.11_p20231102/temp" ...                                                                               [ ok ]
 * Checking for at least 150 MiB disk space at "/usr" ...                                                                                                                                   [ ok ]

This is an example output and I don't think it always happened for qtwebengine.

This has been happening for more than two years now. Unfortunately I haven't found a way to reproduce it. It just happens from time to time. The next attempt succeeds.


Reproducible: Always




sys-apps/portage-3.0.51
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-09 21:13:26 UTC
Are you sure it isn't fetching? See bug 760893.

If not, need ps faux output, possibly strace output, and a backtrace
Comment 2 genBTC 2023-11-09 22:11:30 UTC
the likely answer is its probably just fetching from a slow mirror in the background, for large packages you would notice the download time, and theres no output unless you tail -f /var/log/emerge-fetch.log
Comment 3 Georgi 2023-11-10 08:33:19 UTC
Thanks for the answers, I've seen that suggestion in the past, but I think it's not the case. I'll try to gather the required information next time I hit that issue.

Best Regards,
Georgi
Comment 4 Georgi 2023-11-10 20:33:36 UTC

*** This bug has been marked as a duplicate of bug 760893 ***