public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] meet compile error when install firefox-78.5.0
Date: Mon, 30 Nov 2020 11:10:12 +0000	[thread overview]
Message-ID: <2751503.e9J7NaK4W3@lenovo.localdomain> (raw)
In-Reply-To: <2e16f291.136d1.17618775643.Coremail.bobwxc@88.com>

[-- Attachment #1: Type: text/plain, Size: 3205 bytes --]

On Monday, 30 November 2020 09:24:02 GMT bobwxc wrote:
> I  searched  the  build.log  and  find out  the  2  errors,  hope  usefull  
> :  )
> 
> 
> 
> 
> 102:54.55
> /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/
> nsTArray.h:2780:7: required from 'CopyableTArr
> 
> ay<E>& CopyableTArray<E>::operator=(const CopyableTArray<E>&) [with E =
> mozilla::dom::workerinternals::JSSettings::JSGCSetting]'
> 
> 8102:54.55
> /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/
> mozilla/dom/workerinternals/JSSettings.h:26:8:
> 
> required from here
> 
> 102:54.55
> /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/
> nsTArray.h:645:13: warning: 'void* memcpy(void*,
> 
> const void*, size_t)' writing to an object of non-trivially copyable type
> 'struct mozilla::dom::workerinternals::JSSettings::JSGCSett
> 
> ing'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
> 
> 102:54.55 645 | memcpy(aElements + aStart, aValues, aCount *
> sizeof(ElemType));
> 
> 102:54.55        |
> ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 102:54.55 In file included from
> /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/
> mozilla/dom/WorkerPrivate.
> 
> h:35,
> 
> 102:54.55 from
> /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/
> mozilla/dom/WorkerLocation
> 
> .h:11,
> 
> 102:54.55 from WorkerGlobalScopeBinding.cpp:25,
> 
> 102:54.55 from UnifiedBindings23.cpp:327:
> 
> 102:54.55
> /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/
> mozilla/dom/workerinternals/JSSettings.h:27:10:
> 
> note: 'struct mozilla::dom::workerinternals::JSSettings::JSGCSetting'
> declared here
> 
> 102:54.55 27 | struct JSGCSetting {
> 
> 102:54.55      | ^~~~~~~~~~~
> 
> 102:54.55 x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated
> program cc1plus
> 
> 102:54.55 compilation terminated.
> 
> 102:54.55 gmake[4]: ***
> [/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0/config/rule
> s.mk:748: UnifiedBindings23.o] Err
> 
> or 1
> 
> 102:54.56 gmake[4]: *** Deleting file 'UnifiedBindings23.o'
> 
> 102:54.62 gmake[4]: Leaving directory
> '/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dom/bindings
> '
> 
> 102:54.62 gmake[3]: ***
> [/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0/config/recu
> rse.mk:74: dom/bindings/target-obj
> 
> ects] Error 2
> 
> 102:54.62 gmake[3]: *** Waiting for unfinished jobs....
> 
> 102:55.30 dom/events/Unified_cpp_dom_events2.o
> 
> 102:55.59 /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -std=gnu++17 -o 
Unified_cpp_dom_events1.o -c -I/var/tmp/portage/www-client/firefox-78.5.0/
work/firefox_build/dist/stl_wrappers -I/var/tmp/portage/www-client/
firefox-78.5.0/work/firefox_build/dist/system_wrappers :

I'm not sure of what may be causing this firefox error, but someone else 
should be able to chime in.  Until they do, you could first check dmesg to 
make sure you're not running out of memory, then you could update your 
@system, before you try again to emerge firefox like so: 

MAKEOPTS="-j1" emerge -uaNDv --with-bdeps=y firefox

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2020-11-30 11:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-30  5:14 [gentoo-user] meet compile error when install firefox-78.5.0 bobwxc
2020-11-30  9:00 ` Michael
2020-11-30  9:24   ` bobwxc
2020-11-30 11:10     ` Michael [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2751503.e9J7NaK4W3@lenovo.localdomain \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox