Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qtwebengine compile fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 331
Location: USA

PostPosted: Mon Sep 23, 2024 10:31 am    Post subject: qtwebengine compile fails Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31197
Location: here

PostPosted: Mon Sep 23, 2024 11:13 am    Post subject: Reply with quote

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
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 331
Location: USA

PostPosted: Mon Sep 23, 2024 11:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2813

PostPosted: Mon Sep 23, 2024 12:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum