View previous topic :: View next topic |
Author |
Message |
kingoftherats n00b
Joined: 02 Aug 2019 Posts: 5 Location: The Rat Den, Ohio
|
Posted: Sat Aug 03, 2019 12:24 am Post subject: Emerging dev-qt/qtwebengine-5.12.4 fails in compile phase |
|
|
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 |
|
|
jorgicio n00b
Joined: 17 Oct 2014 Posts: 47
|
Posted: Sat Aug 03, 2019 3:48 am Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31257 Location: here
|
Posted: Sat Aug 03, 2019 6:06 am Post subject: |
|
|
You can also try simply to reduce parallel make option (MAKEOPTS) _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4669 Location: Germany
|
Posted: Sat Aug 03, 2019 6:30 am Post subject: |
|
|
And please try it without ccache |
|
Back to top |
|
|
diem n00b
Joined: 19 Sep 2019 Posts: 21
|
Posted: Tue Dec 03, 2019 2:28 am Post subject: |
|
|
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 ).
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 |
|
|
|
|
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
|
|