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
Are you sure it isn't fetching? See bug 760893. If not, need ps faux output, possibly strace output, and a backtrace
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
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
*** This bug has been marked as a duplicate of bug 760893 ***