View previous topic :: View next topic |
Author |
Message |
jankom Guru
Joined: 30 Aug 2021 Posts: 331 Location: USA
|
Posted: Mon Sep 23, 2024 10:31 am Post subject: qtwebengine compile fails |
|
|
Hello,
I try to solve Gentoo problems myself, but am not proficient enough to help others yet. However, this time I'm stuck and need help.
I update my system every 2 to 3 months, last time was in June, this year (2024). Compiling all packages took more than 3 days, but finally qtwebengine failed. It was among last 3 of 341 packages. tried again, now with only 3 packages left, and in about 20 hours qtwebengine failed again after completing almost all of the [30117} tasks. The failure was a ninja.
Presently compiling again with "bindist" use flag enabled, and after 3 hours I'm, at [8066/30117].
Any ideas, please?
jankom |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31197 Location: here
|
Posted: Mon Sep 23, 2024 11:13 am Post subject: |
|
|
You should share the build.log and your emerge --info.
Without any information is hard to help you.
Check your dmesg to see if the problem could be an out of memory error. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
jankom Guru
Joined: 30 Aug 2021 Posts: 331 Location: USA
|
Posted: Mon Sep 23, 2024 11:49 am Post subject: |
|
|
Here is part of the failure message Code: | * Messages for package dev-qt/qtwebengine-6.7.2:
* Log file: /var/log/portage/log/dev-qt:qtwebengine-6.7.2:20240920-030743.log
* Amount of main memory is insufficient, but amount
* of main memory combined with swap is sufficient.
* Build process may make computer very slow!
* ERROR: dev-qt/qtwebengine-6.7.2::gentoo failed (compile phase):
* ninja -v -j4 -l0 failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 3589: Called cmake_src_compile
* environment, line 1656: Called cmake_build
* environment, line 1623: Called eninja
* environment, line 2105: Called die
* The specific snippet of code:
* "$@" || die -n "${*} failed"
| I was checking memory state and sometimes swap was used but not all. dmsg has already lot more entries.
Compiling still proceeding, now at [12920/30117]
Thanks |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2813
|
Posted: Mon Sep 23, 2024 12:00 pm Post subject: |
|
|
The build process usually does not use "that much" ram but there are occasional sudden spikes in usage and that's where it may fail. ebuild may say it's sufficient w/ swap, but that's an approximation and does not account for other things using ram at same time.
May want to check "dmesg"'s output, if haven't rebooted since last failure then it may mention having run out of memory.
If it's not ram, will ideally need the full build.log to know what happened. The bottom part is not saying much beside "something went wrong earlier on" and "here are the things you should provide if need support".
Note that there's also the option to just a binpkg of it, which tend to be a good idea for low end hardware that needs more than 3-4 hours to painfully compile this.
https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart
https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64/dev-qt/qtwebengine/
One downside of binpkgs is that you'll be forced to enable USE=bindist which disables proprietary codecs (e.g. can't play h264 videos), albeit youtube and such has vp9/av1/opus free alternatives nowadays. Not that it matters if not going to browse the web with qtwebengine either way. |
|
Back to top |
|
|
eschwartz Developer
Joined: 29 Oct 2023 Posts: 159
|
Posted: Mon Sep 23, 2024 1:56 pm Post subject: |
|
|
jankom wrote: | Here is part of the failure message
|
Unfortunately, that's the only part that doesn't contain the failure message.
Please post the *entire* /var/log/portage/log/dev-qt:qtwebengine-6.7.2:20240920-030743.log |
|
Back to top |
|
|
|