Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerging dev-qt/qtwebengine-5.12.4 fails in compile phase
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
kingoftherats
n00b
n00b


Joined: 02 Aug 2019
Posts: 5
Location: The Rat Den, Ohio

PostPosted: Sat Aug 03, 2019 12:24 am    Post subject: Emerging dev-qt/qtwebengine-5.12.4 fails in compile phase Reply with quote

Halfway through the compilation of dev-qt/qtwebengine-5.12.4it fails. I thought it might be a problem with the current ebuild just being broken, but I have been syncing and giving another go at compiling it for a few weeks, with the same results. When the compilation fails portage tells me:
Code:

 * ERROR: dev-qt/qtwebengine-5.12.4::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.12.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.12.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.12.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.12.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.12.4/work/qtwebengine-everywhere-src-5.12.4'
 * S: '/var/tmp/portage/dev-qt/qtwebengine-5.12.4/work/qtwebengine-everywhere-src-5.12.4'

 * GNU info directory index is up-to-date.

As requested by portage here is my emerge --info '=dev-qt/qtwebengine-5.12.4::gentoo':
https://ethancoe.com/downloads/1
emerge --pvq '=dev-qt/qtwebengine-5.12.4::gentoo':
https://ethancoe.com/downloads/2
/var/tmp/portage/dev-qt/qtwebengine-5.12.4/temp/build.log
https://ethancoe.com/downloads/3
/var/tmp/portage/dev-qt/qtwebengine-5.12.4/temp/environment
https://ethancoe.com/downloads/4

Any help would be much appreciated, I'm uncertain what could be amiss.
Back to top
View user's profile Send private message
jorgicio
n00b
n00b


Joined: 17 Oct 2014
Posts: 47

PostPosted: Sat Aug 03, 2019 3:48 am    Post subject: Reply with quote

The "internal compiler error" means the problem is not of the code, but of the compiler itself. Normally due to (ab)use of resources at compilation time.

As a suggestion, compile qtwebengine when you're not using your PC, with desktop session logged out, using only the tty and, depending on your amount of RAM available, use a non-TMPFS setting. See here for more info. If you have too much RAM, you can skip that latest step.
Back to top
View user's profile Send private message
fedeliallalinea
Moderator
Moderator


Joined: 08 Mar 2003
Posts: 25835
Location: here

PostPosted: Sat Aug 03, 2019 6:06 am    Post subject: Reply with quote

You can also try simply to reduce parallel make option (MAKEOPTS)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 3975
Location: Germany

PostPosted: Sat Aug 03, 2019 6:30 am    Post subject: Reply with quote

And please try it without ccache
Back to top
View user's profile Send private message
diem
n00b
n00b


Joined: 19 Sep 2019
Posts: 11

PostPosted: Tue Dec 03, 2019 2:28 am    Post subject: Reply with quote

Sorry to re-animate an aging thread, but I was experiencing the exact same failure and found a solution (that worked for me) thanks to this thread. I had tried reducing MAKEOPTS to j1 and had configured Portage's TMPDIR to use tmpfs, neither of which solved the issue (though tmpfs is speeding up other builds nicely 8)).

What worked for me was ensuring qtwebengine's local USE variable named jumbo-build is enabled. The variable causes the compilation to combine source files together to shorten build times at the expense of higher RAM usage. It was enabled by default in <5.12, but has been set disabled by default since >=5.12. Re-enabling it, in my case, worked around the fault that is this thread's subject. Further, combined with using tmpfs, it brought the bonus of halving the package's build time (see below).

HTH,

Ian



Code:
$ genlop -et dev-qt/qtwebengine
 * dev-qt/qtwebengine

     Sun Dec  2 17:17:31 2018 >>> dev-qt/qtwebengine-5.11.1
       merge time: 2 hours, 27 minutes and 20 seconds.

     Thu Dec  6 16:02:18 2018 >>> dev-qt/qtwebengine-5.11.1
       merge time: 2 hours, 17 minutes and 26 seconds.

     Fri Dec 28 12:37:05 2018 >>> dev-qt/qtwebengine-5.11.1
       merge time: 2 hours, 21 minutes and 52 seconds.

     Wed Feb 13 18:52:33 2019 >>> dev-qt/qtwebengine-5.11.3
       merge time: 2 hours, 28 minutes and 7 seconds.

     Sat May  4 19:17:01 2019 >>> dev-qt/qtwebengine-5.11.3
       merge time: 2 hours, 19 minutes and 41 seconds.

     Sun Jun 23 14:11:10 2019 >>> dev-qt/qtwebengine-5.12.3
       merge time: 6 hours, 16 minutes and 43 seconds.

     Wed Sep 18 11:15:00 2019 >>> dev-qt/qtwebengine-5.12.3
       merge time: 6 hours, 8 minutes and 46 seconds.

     Sun Dec  1 21:06:49 2019 >>> dev-qt/qtwebengine-5.12.5
       merge time: 3 hours and 55 seconds.
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