Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Do we really need 24GiB of ram for dev-qt/qtwebengine-5.15.8

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
<3
Veteran
Veteran
Posts: 1090
Joined: Thu Oct 21, 2004 6:34 am

Do we really need 24GiB of ram for dev-qt/qtwebengine-5.15.8

  • Quote

Post by <3 » Fri Apr 14, 2023 6:22 pm

qtwebengine just gets more and more bloated everyday.

I have been trying to update world for the past few days, and every time portage gets stuck on something. I didn't have the time to look into it, until now. *Sigh*, qtwebengine again! This time because I don't have 24GiB of Ram! I am running on a system with 16GB of memory and 16GM of swap, both of which I thought would be plenty. Please tell me that this is left over junk from a dirty April Fools joke that the Gentoo devs played on unsuspecting users and that this will disappear once I sync again! Do I really need to upgrade my ram in order to compile qt-webengine. Does KDE plasma really need 24GiB of free ram in order to compile it?

Code: Select all

>>> Running pre-merge checks for dev-qt/qtcore-5.15.8-r4
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux-5.15.41-gentoo
 * Found kernel object directory:
 *     /usr/src/linux-5.15.41-gentoo
 * Found sources for kernel version:
 *     5.15.41-gentoo

>>> Running pre-merge checks for dev-qt/qtwebengine-5.15.8_p20230313
 * Checking for at least 24 GiB RAM ...                                                                                                                                                                                                                                                      [ !! ]
 * There is NOT at least 24 GiB RAM
 * Checking for at least 7 GiB disk space at "/var/tmp/portage/dev-qt/qtwebengine-5.15.8_p20230313/temp" ...                                                                                                                                                                                 [ ok ]
 * Checking for at least 150 MiB disk space at "/usr" ...                                                                                                                                                                                                                                    [ ok ]
 * 
 * Space constraints set in the ebuild were not met!
 * The build will most probably fail, you should enhance the space
 * as per failed tests.
 * 
 * ERROR: dev-qt/qtwebengine-5.15.8_p20230313::gentoo failed (pretend phase):
 *   Build requirements not met!
 * 
 * Call stack:
 *                             ebuild.sh, line 136:  Called pkg_pretend
 *   qtwebengine-5.15.8_p20230313.ebuild, line 141:  Called qtwebengine_check-reqs
 *   qtwebengine-5.15.8_p20230313.ebuild, line 137:  Called check-reqs_pkg_pretend
 *                     check-reqs.eclass, line 102:  Called check-reqs_pkg_setup
 *                     check-reqs.eclass, line  93:  Called _check-reqs_output
 *                     check-reqs.eclass, line 300:  Called die
 * The specific snippet of code:
 *              [[ ${EBUILD_PHASE} == "pretend" && -z ${CHECKREQS_DONOTHING} ]] && \
 *                      die "Build requirements not met!"
 * 
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.15.8_p20230313::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.15.8_p20230313::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.15.8_p20230313/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.15.8_p20230313/temp/die.env'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.15.8_p20230313/empty'
 * S: '/var/tmp/portage/dev-qt/qtwebengine-5.15.8_p20230313/work/qtwebengine-5.15.8_p20230313'

>>> Failed to emerge dev-qt/qtwebengine-5.15.8_p20230313, Log file:

>>>  '/var/tmp/portage/dev-qt/qtwebengine-5.15.8_p20230313/temp/build.log'

>>> Running pre-merge checks for mail-client/thunderbird-102.9.0
 * Checking for at least 6600 MiB disk space at "/var/tmp/portage/mail-client/thunderbird-102.9.0/temp" ...                                                                                                                                                                                  [ ok ]

>>> Running pre-merge checks for www-client/firefox-112.0
 * Checking for at least 13500 MiB disk space at "/var/tmp/portage/www-client/firefox-112.0/temp" ...                                                                                                                                                                                        [ ok ]
Task was destroyed but it is pending!
task: <Task pending name='Task-70' coro=<ForkProcess._proc_join() done, defined at /usr/lib/python3.10/site-packages/portage/util/_async/ForkProcess.py:75> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[_EbuildFetcherProcess._proc_join_done(<Process name...code=-SIGTERM>)()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-71' coro=<PipeLogger._io_loop() done, defined at /usr/lib/python3.10/site-packages/portage/util/_async/PipeLogger.py:85> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[PipeLogger._io_loop_done()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-72' coro=<BuildLogger._main() done, defined at /usr/lib/python3.10/site-packages/portage/util/_async/BuildLogger.py:98> wait_for=<Future pending cb=[AsynchronousTask.async_wait.<locals>.<lambda>() at /usr/lib/python3.10/site-packages/_emerge/AsynchronousTask.py:49, Task.task_wakeup()]> cb=[BuildLogger._main_exit()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-73' coro=<PipeLogger._io_loop() done, defined at /usr/lib/python3.10/site-packages/portage/util/_async/PipeLogger.py:85> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[PipeLogger._io_loop_done()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-74' coro=<SpawnProcess._main() done, defined at /usr/lib/python3.10/site-packages/_emerge/SpawnProcess.py:178> wait_for=<Future pending cb=[AsynchronousTask.async_wait.<locals>.<lambda>() at /usr/lib/python3.10/site-packages/_emerge/AsynchronousTask.py:49, Task.task_wakeup()]> cb=[SpawnProcess._main_exit()]>
Top
pietinger
Moderator
Moderator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Fri Apr 14, 2023 6:27 pm

<3 wrote:Do I really need to upgrade my ram in order to compile qt-webengine. Does KDE plasma really need 24GiB of free ram in order to compile it?
No ! Your value in MAKEOPTS= (in /etc/portage/make.conf) is too high (-j12). Calculation is: 2 GB x VALUE = 24 GB.
You have two choices:
1. Lower this value, OR
2. Lower this value only for qtwebengine ... described here:
https://wiki.gentoo.org/wiki/User:Pieti ... ckages_.3F
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56078
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Apr 14, 2023 6:36 pm

<3,

Its real. Big C++ packages want 2G RAM per make thread. That's real RAM.

The ebuild check is

Code: Select all

        # (check-reqs added for bug #570534)
        #
        # Estimate the amount of RAM required
        # Multiplier is *10 because Bash doesn't do floating point maths.
        # Let's crudely assume ~2GB per compiler job for GCC.
        local multiplier=20

        # And call it ~1.5GB for Clang.
        if tc-is-clang ; then
                multiplier=15
        fi

        local CHECKREQS_DISK_BUILD="7G"
        local CHECKREQS_DISK_USR="150M"
        if ! has "distcc" ${FEATURES} ; then
                # bug #830661
                # Not super realistic to come up with good estimates for distcc right now
                local CHECKREQS_MEMORY=$(($(makeopts_jobs)*multiplier/10))G
        fi
With MAKEOPTS="-j12" and gcc in use that's 24G of real RAM. If you feel lucky, the error can be downgraded to a warning. If the build fails, sympathy will be minimal.
That check is trying to save you wasted time.

The right thing to do is to set MAKEOPTS="-j6" or maybe "-j7", not all your RAM is available to gcc, on a per package basis.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
mike155
Advocate
Advocate
Posts: 4438
Joined: Fri Sep 17, 2010 11:33 pm
Location: Frankfurt, Germany

  • Quote

Post by mike155 » Fri Apr 14, 2023 7:27 pm

Do NOT ask 'Do we really need 24GiB of ram for dev-qt/qtwebengine-5.15.8?'

Do ask: 'Do I need qtwebengine?'

If you don't need it: change a few USE flags - and get rid of it.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56078
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Apr 14, 2023 7:36 pm

mike155,

That's the best response to a question I've seen for a long time.
Thank you.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
pietinger
Moderator
Moderator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Fri Apr 14, 2023 7:54 pm

mike155 wrote:Do ask: 'Do I need qtwebengine?'
YESSS. :lol:

I am a big fan of KDE ... and ... emerge qtwebengine only once and use it in "falkon", "konqueror", "marble", "akregator" - all great applications ! 8)
Top
<3
Veteran
Veteran
Posts: 1090
Joined: Thu Oct 21, 2004 6:34 am

  • Quote

Post by <3 » Fri Apr 14, 2023 9:12 pm

mike155 wrote:Do NOT ask 'Do we really need 24GiB of ram for dev-qt/qtwebengine-5.15.8?'

Do ask: 'Do I need qtwebengine?'

If you don't need it: change a few USE flags - and get rid of it.
Wow, I never even knew that was an option. How come no one ever told me about that? What functionality would be lost by removing it?
Top
mike155
Advocate
Advocate
Posts: 4438
Joined: Fri Sep 17, 2010 11:33 pm
Location: Frankfurt, Germany

  • Quote

Post by mike155 » Fri Apr 14, 2023 10:07 pm

The command below returns a list of all packages that depend on qtwebengine:

Code: Select all

equery d qtwebengine
Do you use or need any of those packages?
Top
flexibeast
l33t
l33t
Posts: 679
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Fri Apr 14, 2023 11:08 pm

mike155 wrote:The command below returns a list of all packages that depend on qtwebengine:

Code: Select all

equery d qtwebengine
Note that this won't necessarily show all packages that depend on it; OpenShot depends on qtwebengine, but via PyQtWebEngine, and doesn't get shown in the output of the above command. To show both direct and indirect dependencies, you can add the "-D" option:

Code: Select all

equery d -D qtwebengine
OpenShot's hard dependency on qtwebengine is the only reason i have the latter installed. Recoll, which i also use, has a soft dependency on qtwebengine, but i've set "-webengine" for it.
Top
Juippisi
Developer
Developer
User avatar
Posts: 783
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Sat Apr 15, 2023 6:47 am

You should be able to skip the check by specifying "CHECKREQS_DONOTHING=1" in package.env, but you may oom out. The check is an estimate.

As others have said, you can lower your MAKEOPTS for qtwebengine with package.env too.
Top
dmpogo
Advocate
Advocate
Posts: 3711
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

  • Quote

Post by dmpogo » Sun Apr 16, 2023 4:50 am

<3 wrote:
mike155 wrote:Do NOT ask 'Do we really need 24GiB of ram for dev-qt/qtwebengine-5.15.8?'

Do ask: 'Do I need qtwebengine?'

If you don't need it: change a few USE flags - and get rid of it.
Wow, I never even knew that was an option. How come no one ever told me about that? What functionality would be lost by removing it?
I got rid of qtwebengine couple of years ago, and I am KDE user. Yes, I do not use konqueror (never did) or falcon (this one I had to sacrifice), stick with vivaldi-bin and firefox-bin. Compiling browsers is a nightmare nowdays.
Top
Post Reply

11 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic