Created
October 29, 2016 11:29
-
-
Save YurySolovyov/9bcb3218f7f0d82cd94505dd028fe00e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./script/build.py -c D | |
ninja: Entering directory `out/D' | |
[1/4] CXX obj/atom/common/api/electron_lib.atom_api_native_image.o | |
FAILED: ../../vendor/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/atom/common/api/electron_lib.atom_api_native_image.o.d '-DATOM_PRODUCT_NAME="Electron"' '-DATOM_PROJECT_NAME="electron"' -DNODE_WANT_INTERNALS=1 -DNODE_SHARED_MODE -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DGLIB_DISABLE_DEPRECATION_WARNINGS -DV8_USE_EXTERNAL_STARTUP_DATA -DENABLE_PLUGINS -DENABLE_PEPPER_CDMS -DUSE_PROPRIETARY_CODECS -DENABLE_WEBRTC -DNDEBUG -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 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUG -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DUSING_V8_SHARED -DWEBKIT_DLL -I../.. -I../../chromium_src -I../../vendor/brightray -I../../vendor/native_mate -Igen -I../../vendor/node/src -I../../vendor/node/deps/http_parser -I../../vendor/node/deps/uv/include -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/v8/include -I../../vendor/node/deps/cares/include -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit/Source -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/third_party/libyuv/include -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/third_party -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/components/cdm -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/third_party/widevine -I../../vendor/breakpad/src -I../../vendor -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/gpu -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/skia/config -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/config -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/third_party/mojo/src -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/third_party/khronos -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit -I/home/yury-linux/electon-chrome-files/vendor/brightray/vendor/download/libchromiumcontent/shared_library/gen -Wno-inconsistent-missing-override -Wno-undefined-var-template -pthread -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/gtk-2.0 -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/gio-unix-2.0/ -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/cairo -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/pango-1.0 -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/atk-1.0 -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/cairo -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/pixman-1 -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/libpng12 -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/gdk-pixbuf-2.0 -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/libpng12 -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/pango-1.0 -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/freetype2 -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/gconf/2 -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/dbus-1.0 -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/glib-2.0 -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/nss -I/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot/usr/include/nspr -Wno-deprecated-register -Wno-sentinel --sysroot=/home/yury-linux/electon-chrome-files/vendor/debian_wheezy_amd64-sysroot -m64 -march=x86-64 -std=c++11 -Wno-empty-body -Wno-reserved-user-defined-literal -D__STRICT_ANSI__ -fno-rtti -c ../../atom/common/api/atom_api_native_image.cc -o obj/atom/common/api/electron_lib.atom_api_native_image.o | |
In file included from ../../atom/common/api/atom_api_native_image.cc:5: | |
In file included from ../../atom/common/api/atom_api_native_image.h:12: | |
In file included from ../../vendor/native_mate/native_mate/handle.h:8: | |
../../vendor/native_mate/native_mate/converter.h:338:24: error: no member named 'FromV8' in 'mate::Converter<base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable>, void>' | |
return Converter<T>::FromV8(isolate, input, result); | |
~~~~~~~~~~~~~~^ | |
../../vendor/native_mate/native_mate/arguments.h:29:12: note: in instantiation of function template specialization 'mate::ConvertFromV8<base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> >' requested here | |
return ConvertFromV8(isolate_, info_->Holder(), out); | |
^ | |
../../vendor/native_mate/native_mate/function_template.h:94:18: note: in instantiation of function template specialization 'mate::Arguments::GetHolder<base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> >' requested here | |
return args->GetHolder(result); | |
^ | |
../../vendor/native_mate/native_mate/function_template.h:153:10: note: in instantiation of function template specialization 'mate::internal::GetNextArgument<base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> >' requested here | |
ok = GetNextArgument(args, create_flags, index == 0, &value); | |
^ | |
../../vendor/native_mate/native_mate/function_template.h:177:9: note: in instantiation of member function 'mate::internal::ArgumentHolder<2, const base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> &>::ArgumentHolder' requested here | |
: ArgumentHolder<indices, ArgTypes>(args, create_flags)..., args_(args) { | |
^ | |
../../vendor/native_mate/native_mate/function_template.h:234:35: note: in instantiation of member function 'mate::internal::Invoker<mate::internal::IndicesHolder<0, 1, 2>, v8::Isolate *, const base::FilePath &, const base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> &>::Invoker' requested here | |
Invoker<Indices, ArgTypes...> invoker(&args, holder->flags); | |
^ | |
../../vendor/native_mate/native_mate/function_template.h:261:35: note: in instantiation of member function 'mate::internal::Dispatcher<void (v8::Isolate *, const base::FilePath &, const base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> &)>::DispatchToCallback' requested here | |
&internal::Dispatcher<Sig>::DispatchToCallback, | |
^ | |
../../vendor/native_mate/native_mate/object_template_builder.h:27:12: note: in instantiation of function template specialization 'mate::CreateFunctionTemplate<void (v8::Isolate *, const base::FilePath &, const base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> &)>' requested here | |
return CreateFunctionTemplate(isolate, base::Bind(callback)); | |
^ | |
../../vendor/native_mate/native_mate/dictionary.h:100:28: note: in instantiation of member function 'mate::(anonymous namespace)::CallbackTraits<void (*)(v8::Isolate *, const base::FilePath &, const base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> &), void>::CreateTemplate' requested here | |
CallbackTraits<T>::CreateTemplate(isolate_, callback)->GetFunction()); | |
^ | |
../../atom/common/api/atom_api_native_image.cc:493:8: note: in instantiation of function template specialization 'mate::Dictionary::SetMethod<void (*)(v8::Isolate *, const base::FilePath &, const base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> &)>' requested here | |
dict.SetMethod("createFromFileIcon", | |
^ | |
In file included from ../../atom/common/api/atom_api_native_image.cc:5: | |
In file included from ../../atom/common/api/atom_api_native_image.h:13: | |
In file included from ../../vendor/native_mate/native_mate/wrappable.h:11: | |
In file included from ../../vendor/native_mate/native_mate/constructor.h:13: | |
In file included from ../../vendor/native_mate/native_mate/function_template.h:10: | |
../../vendor/native_mate/native_mate/arguments.h:44:20: error: no matching function for call to 'ConvertFromV8' | |
bool success = ConvertFromV8(isolate_, val, out); | |
^~~~~~~~~~~~~ | |
../../vendor/native_mate/native_mate/function_template.h:96:18: note: in instantiation of function template specialization 'mate::Arguments::GetNext<base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> >' requested here | |
return args->GetNext(result); | |
^ | |
../../vendor/native_mate/native_mate/function_template.h:153:10: note: in instantiation of function template specialization 'mate::internal::GetNextArgument<base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> >' requested here | |
ok = GetNextArgument(args, create_flags, index == 0, &value); | |
^ | |
../../vendor/native_mate/native_mate/function_template.h:177:9: note: in instantiation of member function 'mate::internal::ArgumentHolder<2, const base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> &>::ArgumentHolder' requested here | |
: ArgumentHolder<indices, ArgTypes>(args, create_flags)..., args_(args) { | |
^ | |
../../vendor/native_mate/native_mate/function_template.h:234:35: note: in instantiation of member function 'mate::internal::Invoker<mate::internal::IndicesHolder<0, 1, 2>, v8::Isolate *, const base::FilePath &, const base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> &>::Invoker' requested here | |
Invoker<Indices, ArgTypes...> invoker(&args, holder->flags); | |
^ | |
../../vendor/native_mate/native_mate/function_template.h:261:35: note: in instantiation of member function 'mate::internal::Dispatcher<void (v8::Isolate *, const base::FilePath &, const base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> &)>::DispatchToCallback' requested here | |
&internal::Dispatcher<Sig>::DispatchToCallback, | |
^ | |
../../vendor/native_mate/native_mate/object_template_builder.h:27:12: note: in instantiation of function template specialization 'mate::CreateFunctionTemplate<void (v8::Isolate *, const base::FilePath &, const base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> &)>' requested here | |
return CreateFunctionTemplate(isolate, base::Bind(callback)); | |
^ | |
../../vendor/native_mate/native_mate/dictionary.h:100:28: note: in instantiation of member function 'mate::(anonymous namespace)::CallbackTraits<void (*)(v8::Isolate *, const base::FilePath &, const base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> &), void>::CreateTemplate' requested here | |
CallbackTraits<T>::CreateTemplate(isolate_, callback)->GetFunction()); | |
^ | |
../../atom/common/api/atom_api_native_image.cc:493:8: note: in instantiation of function template specialization 'mate::Dictionary::SetMethod<void (*)(v8::Isolate *, const base::FilePath &, const base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable> &)>' requested here | |
dict.SetMethod("createFromFileIcon", | |
^ | |
../../vendor/native_mate/native_mate/converter.h:336:6: note: candidate template ignored: substitution failure [with T = base::Callback<void (mate::Handle<atom::api::NativeImage>), base::internal::CopyMode::Copyable>] | |
bool ConvertFromV8(v8::Isolate* isolate, v8::Local<v8::Value> input, | |
^ | |
2 errors generated. | |
ninja: build stopped: subcommand failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment