Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] meet compile error when install firefox-78.5.0
Date: Mon, 30 Nov 2020 11:10:40
Message-Id: 2751503.e9J7NaK4W3@lenovo.localdomain
In Reply to: Re: Re: [gentoo-user] meet compile error when install firefox-78.5.0 by bobwxc
1 On Monday, 30 November 2020 09:24:02 GMT bobwxc wrote:
2 > I searched the build.log and find out the 2 errors, hope usefull
3 > : )
4 >
5 >
6 >
7 >
8 > 102:54.55
9 > /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/
10 > nsTArray.h:2780:7: required from 'CopyableTArr
11 >
12 > ay<E>& CopyableTArray<E>::operator=(const CopyableTArray<E>&) [with E =
13 > mozilla::dom::workerinternals::JSSettings::JSGCSetting]'
14 >
15 > 8102:54.55
16 > /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/
17 > mozilla/dom/workerinternals/JSSettings.h:26:8:
18 >
19 > required from here
20 >
21 > 102:54.55
22 > /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/
23 > nsTArray.h:645:13: warning: 'void* memcpy(void*,
24 >
25 > const void*, size_t)' writing to an object of non-trivially copyable type
26 > 'struct mozilla::dom::workerinternals::JSSettings::JSGCSett
27 >
28 > ing'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
29 >
30 > 102:54.55 645 | memcpy(aElements + aStart, aValues, aCount *
31 > sizeof(ElemType));
32 >
33 > 102:54.55 |
34 > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35 >
36 > 102:54.55 In file included from
37 > /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/
38 > mozilla/dom/WorkerPrivate.
39 >
40 > h:35,
41 >
42 > 102:54.55 from
43 > /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/
44 > mozilla/dom/WorkerLocation
45 >
46 > .h:11,
47 >
48 > 102:54.55 from WorkerGlobalScopeBinding.cpp:25,
49 >
50 > 102:54.55 from UnifiedBindings23.cpp:327:
51 >
52 > 102:54.55
53 > /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/
54 > mozilla/dom/workerinternals/JSSettings.h:27:10:
55 >
56 > note: 'struct mozilla::dom::workerinternals::JSSettings::JSGCSetting'
57 > declared here
58 >
59 > 102:54.55 27 | struct JSGCSetting {
60 >
61 > 102:54.55 | ^~~~~~~~~~~
62 >
63 > 102:54.55 x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated
64 > program cc1plus
65 >
66 > 102:54.55 compilation terminated.
67 >
68 > 102:54.55 gmake[4]: ***
69 > [/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0/config/rule
70 > s.mk:748: UnifiedBindings23.o] Err
71 >
72 > or 1
73 >
74 > 102:54.56 gmake[4]: *** Deleting file 'UnifiedBindings23.o'
75 >
76 > 102:54.62 gmake[4]: Leaving directory
77 > '/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dom/bindings
78 > '
79 >
80 > 102:54.62 gmake[3]: ***
81 > [/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0/config/recu
82 > rse.mk:74: dom/bindings/target-obj
83 >
84 > ects] Error 2
85 >
86 > 102:54.62 gmake[3]: *** Waiting for unfinished jobs....
87 >
88 > 102:55.30 dom/events/Unified_cpp_dom_events2.o
89 >
90 > 102:55.59 /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -std=gnu++17 -o
91 Unified_cpp_dom_events1.o -c -I/var/tmp/portage/www-client/firefox-78.5.0/
92 work/firefox_build/dist/stl_wrappers -I/var/tmp/portage/www-client/
93 firefox-78.5.0/work/firefox_build/dist/system_wrappers :
94
95 I'm not sure of what may be causing this firefox error, but someone else
96 should be able to chime in. Until they do, you could first check dmesg to
97 make sure you're not running out of memory, then you could update your
98 @system, before you try again to emerge firefox like so:
99
100 MAKEOPTS="-j1" emerge -uaNDv --with-bdeps=y firefox

Attachments

File name MIME type
signature.asc application/pgp-signature