Re: [gentoo-user] meet compile error when install firefox-78.5.0
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& CopyableTArray::operator=(const CopyableTArray&) [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 signature.asc Description: This is a digitally signed message part.
Re: Re: [gentoo-user] meet compile error when install firefox-78.5.0
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& CopyableTArray::operator=(const CopyableTArray&) [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/rules.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/recurse.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 : > -- 原始邮件 -- > 发 件 人:Michael > 发送时间:2020-11-30 17:00:17 > 收 件 人:gentoo-user@lists.gentoo.org > 抄 送: > 主 题:Re: [gentoo-user] meet compile error when install firefox-78.5.0 > > On Monday, 30 November 2020 05:14:06 GMT bobwxc wrote: > > Hi all, > > > > I meet a error when install firefox-78.5.0 > > A page or two above "Error 2" you included in your terminal output, emerge > will have also printed the first error it encountered in compiling Firefox. > Can you share that? >
Re: [gentoo-user] meet compile error when install firefox-78.5.0
On Monday, 30 November 2020 05:14:06 GMT bobwxc wrote: > Hi all, > > I meet a error when install firefox-78.5.0 A page or two above "Error 2" you included in your terminal output, emerge will have also printed the first error it encountered in compiling Firefox. Can you share that? signature.asc Description: This is a digitally signed message part.
[gentoo-user] meet compile error when install firefox-78.5.0
Hi all, I meet a error when install firefox-78.5.0 it said * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 4472: Called die * The specific snippet of code: * ${virtx_cmd} ./mach build --verbose || die and there are some simple infomation, if you need full log, please ask me. So I do not know how to solve this problem, please help, Thank you ! ## terminal output 109:22.66 Compiling gkrust v0.1.0 (/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0/toolkit/library/rust) 109:22.66 Running `CARGO=/usr/bin/cargo-1.46.0 CARGO_CRATE_NAME=gkrust CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0/toolkit/library/rust CARGO_PKG_AUTHORS='nob...@mozilla.org' CARGO_PKG_DESCRIPTION='Rust code for libxul' CARGO_PKG_HOMEPAGE= CARGO_PKG_LICENSE=MPL-2.0 CARGO_PKG_LICENSE_FILE= CARGO_PKG_NAME=gkrust CARGO_PKG_REPOSITORY= CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= LD_LIBRARY_PATH='/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/release/deps:/usr/lib' /usr/bin/rustc --crate-name gkrust toolkit/library/rust/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type staticlib --emit=dep-info,link -C opt-level=2 -C panic=abort -Cembed-bitcode=no --cfg 'feature="cubeb-remoting"' --cfg 'feature="cubeb_pulse_rust"' --cfg 'feature="gecko_profiler"' --cfg 'feature="gecko_profiler_parse_elf"' --cfg 'feature="moz_memory"' --cfg 'feature="moz_places"' --cfg 'feature="new_cert_storage"' --cfg 'feature="quantum_render"' --cfg 'feature="simd-accel"' --cfg 'feature="webgpu"' --cfg 'feature="webrtc"' --cfg 'feature="with_dbus"' -C metadata=f80b58a78f98926c -C extra-filename=-f80b58a78f98926c --out-dir /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/x86_64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/release/deps --extern gkrust_shared=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/x86_64-unknown-linux-gnu/release/deps/libgkrust_shared-4a21efa8852ed419.rlib --extern mozglue_static=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/x86_64-unknown-linux-gnu/release/deps/libmozglue_static-0718399f770c57fd.rlib --extern mozilla_central_workspace_hack=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/x86_64-unknown-linux-gnu/release/deps/libmozilla_central_workspace_hack-85d5f075f15cd128.rlib -C opt-level=2 --cap-lints warn -C codegen-units=1 -L native=/usr/lib64 -L native=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/x86_64-unknown-linux-gnu/release/build/lmdb-rkv-sys-873195c49dc0f637/out -L native=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/x86_64-unknown-linux-gnu/release/build/mozglue-static-d23e7627d0938704/out -L native=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/bin -L native=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/security/nss/lib/nss/nss_nss3 -L native=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/security/nss/lib/ssl/ssl_ssl3 -L native=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/config/external/nspr/pr -L native=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/x86_64-unknown-linux-gnu/release/build/swgl-5fea5aba6ac54c7c/out -L native=/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/x86_64-unknown-linux-gnu/release/build/libloading-34c08db01b7792e4/out -L native=/usr/lib64` 109:28.86 Finished release [optimized] target(s) in 101m 05s 109:31.40 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/toolkit/library/rust' 109:31.40 gmake[3]: Leaving directory '/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build' 109:31.40 gmake[2]: *** [/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0/config/recurse.mk:34: compile] Error 2 109:31.40 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build' 109:31.41 gmake[1]: *** [/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0/config/rules.mk:390: default] Error 2 109:31.41 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build' 109:31.41 gmake: *** [client.mk:125: build] Error 2 109:31.43 11 compiler warnings present. * ERROR: www-client/firefox-78.5.0::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 4472: Called die * The specific snippet of code: * ${virtx_cmd} ./mach build --verbose || die * * If you need