Summary: | dev-util/electron-2.0.17-r2 - ? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | shimarin, treecleaner, yamadharma |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Deadline: | 2020-04-29 | ||
Attachments: | build.log.xz |
Description
Leonid Kopylov
2019-08-14 15:05:38 UTC
[47/97] x86_64-pc-linux-gnu-g++ -MMD -MF obj/vendor/node/src/node.node_api.o.d '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"' -DNODE_WANT_INTERNALS=1 -DV8_DEPRECATION_WARNINGS=1 -DNODE_SHARED_MODE -DNODE_USE_V8_PLATFORM=1 -DNODE_HAVE_I18N_SUPPORT=1 -DHAVE_INSPECTOR=1 -DHAVE_OPENSSL=1 -D__POSIX__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112 -DBUILDING_V8_SHARED -DBUILDING_V8_PLATFORM_SHARED -DBUILDING_V8_BASE_SHARED -DNODE_WITHOUT_NODE_OPTIONS -DV8_USE_EXTERNAL_STARTUP_DATA -DV8_PROMISE_INTERNAL_FIELD_COUNT=1 -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DDISABLE_NACL -DTOOLKIT_VIEWS -DUSE_AURA -DUSE_X11 -DUSE_NSS_CERTS -DUSE_NSS -DWEBRTC_POSIX -DUCHAR_TYPE=uint16_t -D_LARGEFILE64_SOURCE -DWEBRTC_LINUX -DNDEBUG -I../../chromium/v8/include -I../../vendor/node/src -I../../vendor/node/tools/msvs/genfiles -Igen -I../../vendor/node/deps/uv/include -I/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/chromium -I/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/chromium/third_party/icu/source/common -I/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/chromium/third_party/icu/source/i18n -I/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/chromium/v8 -I/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/chromium/v8/include -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -Wno-unused-function -Wno-unused-variable -Wno-unused-value -Wno-deprecated-declarations -Wno-return-type -Wno-format -Wno-varargs -fPIC -m64 -march=x86-64 -march=native -O2 -pipe -fno-delete-null-pointer-checks -fno-rtti -fno-exceptions -std=gnu++0x -D__STRICT_ANSI__ -fno-rtti -c ../../vendor/node/src/node_api.cc -o obj/vendor/node/src/node.node_api.o In file included from ../../vendor/node/src/node.h:63, from ../../vendor/node/src/node_buffer.h:25, from ../../vendor/node/src/node_api.cc:11: ../../chromium/v8/include/v8.h: In static member function ‘static void v8::V8::SetAllowCodeGenerationFromStringsCallback(v8::DeprecatedAllowCodeGenerationFromStringsCallback)’: ../../chromium/v8/include/v8.h:10176:19: warning: cast between incompatible function types from ‘v8::DeprecatedAllowCodeGenerationFromStringsCallback’ {aka ‘bool (*)(v8::Local<v8::Context>)’} to ‘v8::FreshNewAllowCodeGenerationFromStringsCallback’ {aka ‘bool (*)(v8::Local<v8::Context>, v8::Local<v8::String>)’} [-Wcast-function-type] 10176 | callback)); | ^ ../../chromium/v8/include/v8.h: In static member function ‘static void v8::V8::RemoveGCPrologueCallback(v8::GCCallback)’: ../../chromium/v8/include/v8.h:10221:53: warning: cast between incompatible function types from ‘v8::GCCallback’ {aka ‘void (*)(v8::GCType, v8::GCCallbackFlags)’} to ‘v8::Isolate::GCCallback’ {aka ‘void (*)(v8::Isolate*, v8::GCType, v8::GCCallbackFlags)’} [-Wcast-function-type] 10221 | reinterpret_cast<Isolate::GCCallback>(callback)); | ^ ../../chromium/v8/include/v8.h: In static member function ‘static void v8::V8::RemoveGCEpilogueCallback(v8::GCCallback)’: ../../chromium/v8/include/v8.h:10228:53: warning: cast between incompatible function types from ‘v8::GCCallback’ {aka ‘void (*)(v8::GCType, v8::GCCallbackFlags)’} to ‘v8::Isolate::GCCallback’ {aka ‘void (*)(v8::Isolate*, v8::GCType, v8::GCCallbackFlags)’} [-Wcast-function-type] 10228 | reinterpret_cast<Isolate::GCCallback>(callback)); | ^ ../../vendor/node/src/node_api.cc: In function ‘v8::Local<v8::Value> {anonymous}::v8impl::V8LocalValueFromJsValue(napi_value)’: ../../vendor/node/src/node_api.cc:250:31: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘class v8::Local<v8::Value>’ from an array of ‘napi_value’ {aka ‘struct napi_value__*’} [-Wclass-memaccess] 250 | memcpy(&local, &v, sizeof(v)); | ^ In file included from ../../vendor/node/src/node.h:63, from ../../vendor/node/src/node_buffer.h:25, from ../../vendor/node/src/node_api.cc:11: ../../chromium/v8/include/v8.h:196:7: note: ‘class v8::Local<v8::Value>’ declared here 196 | class Local { | ^~~~~ ../../chromium/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’: ../../vendor/node/src/node_object_wrap.h:85:78: required from here ../../chromium/v8/include/v8.h:9199:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] 9199 | reinterpret_cast<Callback>(callback), type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../chromium/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = {anonymous}::v8impl::Reference; T = v8::Value; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<{anonymous}::v8impl::Reference>&)]’: ../../vendor/node/src/node_api.cc:335:67: required from here ../../chromium/v8/include/v8.h:9199:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<{anonymous}::v8impl::Reference>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<{anonymous}::v8impl::Reference>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] ninja: build stopped: subcommand failed. * ERROR: dev-util/electron-2.0.17-r2::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 5163: Called eninja '-C' '/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/out/R' 'nodebin' * environment, line 1923: Called die * The specific snippet of code: * "$@" || die * * If you need support, post the output of `emerge --info '=dev-util/electron-2.0.17-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/electron-2.0.17-r2::gentoo'`. * * MemTotal: 18492736 kB * SwapTotal: 8388604 kB * * The complete build log is located at '/var/tmp/portage/dev-util/electron-2.0.17-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/electron-2.0.17-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17' * S: '/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17' build.log is very big file (More than 2MB compressed), i don't know how to attach it Please attach the entire build log to this bug report. (In reply to Leonid Kopylov from comment #2) > build.log is very big file (More than 2MB compressed), i don't know how to > attach it Compress it. E.g.: 1. # xz build.log 2. Attach build.log.xz. (In reply to Jeroen Roovers from comment #4) > (In reply to Leonid Kopylov from comment #2) > > build.log is very big file (More than 2MB compressed), i don't know how to > > attach it > > Compress it. E.g.: > > 1. # xz build.log > 2. Attach build.log.xz. After xz compression it's 2.6MB, site not allows me to attach such big file Created attachment 587048 [details]
build.log.xz
ok, attached > [5243/16409] ... > ../../third_party/webrtc/rtc_base/physicalsocketserver.cc: In function ‘int64_t GetSocketRecvTimestamp(int)’: > ../../third_party/webrtc/rtc_base/physicalsocketserver.cc:67:27: error: ‘SIOCGSTAMP’ was not declared in this scope; did you mean ‘SIOCGRARP’? > 67 | int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl); > | ^~~~~~~~~~ > | SIOCGRARP This would be related to the changes in kernel 5.2. Related upstream issue: https://bugs.chromium.org/p/webrtc/issues/detail?id=10677 Upstream patch: https://webrtc-review.googlesource.com/c/src/+/138270/5/rtc_base/physical_socket_server.cc#54 Adding those lines to third_party/webrtc/rtc_base/physicalsocketserver.cc would probably do the trick. I still have this error with the 5.3.7 kernel; is there a patch somewhere that fixes it? Same as above but with linux-5.3.9-gentoo, is there anything that can be done? I tried adding that patch but it did not fix the issue
The last part of the build log, in case that helps:
from ../../third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp:28: [1575/99372]
../../third_party/WebKit/Source/platform/heap/Member.h:365:7: note: ‘WTF::HashTable<blink::WeakMember<blink::ContextLifecycleObserver>, blink::WeakMember<blink::ContextLifecycleObserver>, WTF::IdentityExtractor, WTF::MemberHash<blink::Cont
extLifecycleObserver>, WTF::HashTraits<blink::WeakMember<blink::ContextLifecycleObserver> >, WTF::HashTraits<blink::WeakMember<blink::ContextLifecycleObserver> >, blink::HeapAllocator>::ValueType’ {aka ‘class blink::WeakMember<blink::Conte
xtLifecycleObserver>’} declared here
class WeakMember : public MemberBase<T, TracenessMemberConfiguration::kTraced> {
^~~~~~~~~~
In file included from ../../third_party/WebKit/Source/platform/wtf/HashMap.h:24,
from ../../third_party/WebKit/Source/platform/wtf/HashCountedSet.h:25,
from ../../third_party/WebKit/Source/platform/heap/ThreadingTraits.h:10,
from ../../third_party/WebKit/Source/platform/heap/ThreadState.h:37,
from ../../third_party/WebKit/Source/platform/heap/GarbageCollected.h:8,
from ../../third_party/WebKit/Source/platform/heap/Visitor.h:36,
from ../../third_party/WebKit/Source/platform/heap/GCInfo.h:8,
from ../../third_party/WebKit/Source/platform/heap/HeapPage.h:39,
from ../../third_party/WebKit/Source/platform/bindings/ScriptWrappableVisitor.h:10,
from ../../third_party/WebKit/Source/platform/bindings/ScopedPersistent.h:36,
from ../../third_party/WebKit/Source/platform/bindings/ScriptState.h:11,
from ../../third_party/WebKit/Source/bindings/core/v8/ScriptValue.h:36,
from ../../third_party/WebKit/Source/bindings/core/v8/ScriptFunction.h:34,
from ../../third_party/WebKit/Source/bindings/core/v8/ScriptPromise.h:34,
from ../../third_party/WebKit/Source/bindings/core/v8/ExceptionState.h:34,
from ../../third_party/WebKit/Source/core/dom/Document.h:34,
from ../../third_party/WebKit/Source/core/dom/LayoutTreeBuilder.h:31,
from ../../third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp:28:
../../third_party/WebKit/Source/platform/wtf/HashTable.h:1682:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘WTF::HashTable<blink::WeakMember<blink::ContextLifecycleObserver>, blink::WeakMember<blin
k::ContextLifecycleObserver>, WTF::IdentityExtractor, WTF::MemberHash<blink::ContextLifecycleObserver>, WTF::HashTraits<blink::WeakMember<blink::ContextLifecycleObserver> >, WTF::HashTraits<blink::WeakMember<blink::ContextLifecycleObserver
> >, blink::HeapAllocator>::ValueType’ {aka ‘class blink::WeakMember<blink::ContextLifecycleObserver>’}; use assignment or value-initialization instead [-Wclass-memaccess]
memset(original_table, 0, new_table_size * sizeof(ValueType));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../third_party/WebKit/Source/platform/heap/Persistent.h:9,
from ../../third_party/WebKit/Source/platform/heap/HeapAllocator.h:10,
from ../../third_party/WebKit/Source/platform/heap/Handle.h:35,
from ../../third_party/WebKit/Source/platform/bindings/ActiveScriptWrappable.h:9,
from ../../third_party/WebKit/Source/platform/bindings/WrapperTypeInfo.h:35,
from ../../third_party/WebKit/Source/platform/bindings/V8PerContextData.h:42,
from ../../third_party/WebKit/Source/platform/bindings/ScriptState.h:12,
from ../../third_party/WebKit/Source/bindings/core/v8/ScriptValue.h:36,
from ../../third_party/WebKit/Source/bindings/core/v8/ScriptFunction.h:34,
from ../../third_party/WebKit/Source/bindings/core/v8/ScriptPromise.h:34,
from ../../third_party/WebKit/Source/bindings/core/v8/ExceptionState.h:34,
from ../../third_party/WebKit/Source/core/dom/Document.h:34,
from ../../third_party/WebKit/Source/core/dom/LayoutTreeBuilder.h:31,
from ../../third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp:28:
../../third_party/WebKit/Source/platform/heap/Member.h:365:7: note: ‘WTF::HashTable<blink::WeakMember<blink::ContextLifecycleObserver>, blink::WeakMember<blink::ContextLifecycleObserver>, WTF::IdentityExtractor, WTF::MemberHash<blink::Cont
extLifecycleObserver>, WTF::HashTraits<blink::WeakMember<blink::ContextLifecycleObserver> >, WTF::HashTraits<blink::WeakMember<blink::ContextLifecycleObserver> >, blink::HeapAllocator>::ValueType’ {aka ‘class blink::WeakMember<blink::Conte
xtLifecycleObserver>’} declared here
class WeakMember : public MemberBase<T, TracenessMemberConfiguration::kTraced> {
^~~~~~~~~~
ninja: build stopped: subcommand failed.
* ERROR: dev-util/electron-2.0.17-r2::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 125: Called src_compile
* environment, line 5153: Called eninja '-C' '/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/chromium/out/Release' 'chromiumcontent:chromiumcontent'
* environment, line 1939: Called die
* The specific snippet of code:
* "$@" || die
*
* If you need support, post the output of `emerge --info '=dev-util/electron-2.0.17-r2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-util/electron-2.0.17-r2::gentoo'`.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f79d2d9b224342346080628e9ca4b5b4acd38b commit 10f79d2d9b224342346080628e9ca4b5b4acd38b Author: Mikle Kolyada <zlogene@gentoo.org> AuthorDate: 2020-04-29 12:35:59 +0000 Commit: Mikle Kolyada <zlogene@gentoo.org> CommitDate: 2020-04-29 12:44:00 +0000 dev-util/electron: remove last-rited pkg Closes: https://bugs.gentoo.org/show_bug.cgi?id=622020 Closes: https://bugs.gentoo.org/show_bug.cgi?id=652244 Closes: https://bugs.gentoo.org/show_bug.cgi?id=678066 Closes: https://bugs.gentoo.org/show_bug.cgi?id=690006 Closes: https://bugs.gentoo.org/show_bug.cgi?id=692146 Closes: https://bugs.gentoo.org/show_bug.cgi?id=701958 Closes: https://bugs.gentoo.org/show_bug.cgi?id=675578 Closes: https://bugs.gentoo.org/show_bug.cgi?id=681734 Closes: https://bugs.gentoo.org/show_bug.cgi?id=694072 Closes: https://bugs.gentoo.org/show_bug.cgi?id=706376 Closes: https://bugs.gentoo.org/show_bug.cgi?id=714850 Closes: https://bugs.gentoo.org/show_bug.cgi?id=713024 Closes: https://bugs.gentoo.org/show_bug.cgi?id=699866 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> dev-util/electron/Manifest | 13 - dev-util/electron/electron-2.0.17-r2.ebuild | 918 ---------------------------- dev-util/electron/files/toolchain/BUILD.gn | 37 -- dev-util/electron/metadata.xml | 21 - 4 files changed, 989 deletions(-) |