Skip Menu |
 

This queue is for tickets about the JavaScript-V8 CPAN distribution.

Report information
The Basics
Id: 125397
Status: open
Priority: 0/
Queue: JavaScript-V8

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Build failure with perl-5.28.0-RC1 on FreeBSD-11.1
Download (untitled) / with headers
text/plain 7.1k
Attempted today. clang is C compiler. cpanm is installer. Excerpt of cpanm build.log below: { author => "DGL", dist => "JavaScript-V8", distname => "JavaScript-V8-0.07", distversion => 0.07, grade => "FAIL", prereqs => undef, test_output => [ "Building and testing JavaScript-V8-0.07", "cp lib/JavaScript/V8.pm blib/lib/JavaScript/V8.pm", "cp lib/JavaScript/V8/Context.pm blib/lib/JavaScript/V8/Context.pm", "Running Mkbootstrap for V8 ()", "chmod 644 \"V8.bs\"", "\"/usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/bin/perl\" -MExtUtils::Command::MM -e 'cp_nonempty' -- V8.bs blib/arch/auto/JavaScript/V8/V8.bs 644", "g++ -c -I. -fpermissive -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\\\"0.07\\\" -DXS_VERSION=\\\"0.07\\\" -DPIC -fPIC \"-I/usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/lib/5.28.0/amd64-freebsd/CORE\" V8Context.cpp", "V8Context.cpp: In constructor 'ObjectData::ObjectData(V8Context*, v8::Handle<v8::Object>, SV*)':", "V8Context.cpp:140:45: warning: 'static v8::Persistent<S> v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]' is deprecated [-Wdeprecated-declarations]", " , object(Persistent<Object>::New(object_))", " ^", "In file included from V8Context.h:4:0,", " from V8Context.cpp:1:", "/usr/local/include/v8.h:4932:15: note: declared here", " Persistent<T> Persistent<T>::New(Handle<T> that) {", " ^~~~~~~~~~~~~", "V8Context.cpp: In destructor 'virtual ObjectData::~ObjectData()':", "V8Context.cpp:152:20: warning: 'void v8::Persistent<T>::Dispose() [with T = v8::Object]' is deprecated [-Wdeprecated-declarations]", " object.Dispose();", " ^", "In file included from V8Context.h:4:0,", " from V8Context.cpp:1:", "/usr/local/include/v8.h:4996:6: note: declared here", " void Persistent<T>::Dispose() {", " ^~~~~~~~~~~~~", "V8Context.cpp: In constructor 'PerlObjectData::PerlObjectData(V8Context*, v8::Handle<v8::Object>, SV*)':", "V8Context.cpp:166:50: warning: 'void v8::Persistent<T>::MakeWeak(void*, v8::WeakReferenceCallback) [with T = v8::Object; v8::WeakReferenceCallback = void (*)(v8::Persistent<v8::Value>, void*)]' is deprecated [-Wdeprecated-declarations]", " object.MakeWeak(this, PerlObjectData::destroy);", " ^", "In file included from V8Context.h:4:0,", " from V8Context.cpp:1:", "/usr/local/include/v8.h:5013:6: note: declared here", " void Persistent<T>::MakeWeak(void* parameters, WeakReferenceCallback callback) {", " ^~~~~~~~~~~~~", "V8Context.cpp: In constructor 'PerlFunctionData::PerlFunctionData(V8Context*, SV*)':", "V8Context.cpp:238:24: error: 'Wrap' is not a member of 'v8::External'", " &External::Wrap(this)", " ^~~~~~~~", "V8Context.cpp: In static member function 'static v8::Handle<v8::Value> PerlFunctionData::v8invoke(const v8::Arguments&)':", "V8Context.cpp:247:65: error: 'Unwrap' is not a member of 'v8::External'", " PerlFunctionData* data = static_cast<PerlFunctionData*>(External::Unwrap(args[0]));", " ^~~~~~~~", "V8Context.cpp: In constructor 'V8Context::V8Context(int, const char*, bool, const char*)':", "V8Context.cpp:327:84: warning: 'static v8::Persistent<S> v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Function]' is deprecated [-Wdeprecated-declarations]", " make_function = Persistent<Function>::New(Handle<Function>::Cast(script->Run()));", " ^", "In file included from V8Context.h:4:0,", " from V8Context.cpp:1:", "/usr/local/include/v8.h:4932:15: note: declared here", " Persistent<T> Persistent<T>::New(Handle<T> that) {", " ^~~~~~~~~~~~~", "V8Context.cpp:329:62: warning: 'static v8::Persistent<S> v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::String]' is deprecated [-Wdeprecated-declarations]", " string_wrap = Persistent<String>::New(String::New(\"wrap\"));", " ^", "In file included from V8Context.h:4:0,", " from V8Context.cpp:1:", "/usr/local/include/v8.h:4932:15: note: declared here", " Persistent<T> Persistent<T>::New(Handle<T> that) {", " ^~~~~~~~~~~~~", "V8Context.cpp: In member function 'void V8Context::register_object(ObjectData*)':", "V8Context.cpp:336:47: error: 'Wrap' is not a member of 'v8::External'", " data->object->SetHiddenValue(string_wrap, External::Wrap(data));", " ^~~~~~~~", "V8Context.cpp: In destructor 'V8Context::~V8Context()':", "V8Context.cpp:353:26: warning: 'void v8::Persistent<T>::Dispose() [with T = v8::Object]' is deprecated [-Wdeprecated-declarations]", " it->second.Dispose();", " ^", "In file included from V8Context.h:4:0,", " from V8Context.cpp:1:", "/usr/local/include/v8.h:4996:6: note: declared here", " void Persistent<T>::Dispose() {", " ^~~~~~~~~~~~~", "V8Context.cpp:355:21: warning: 'void v8::Persistent<T>::Dispose() [with T = v8::Context]' is deprecated [-Wdeprecated-declarations]", " context.Dispose();", " ^", "In file included from V8Context.h:4:0,", " from V8Context.cpp:1:", "/usr/local/include/v8.h:4996:6: note: declared here", " void Persistent<T>::Dispose() {", " ^~~~~~~~~~~~~", "V8Context.cpp: In member function 'SV* V8Context::seen_v8(v8::Handle<v8::Object>)':", "V8Context.cpp:492:37: error: 'Unwrap' is not a member of 'v8::External'", " ObjectData* data = (ObjectData*)External::Unwrap(wrap);", " ^~~~~~~~", "V8Context.cpp: In member function 'v8::Handle<v8::Object> V8Context::get_prototype(SV*)':", "V8Context.cpp:585:76: warning: 'static v8::Persistent<S> v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]' is deprecated [-Wdeprecated-declarations]", " prototype = prototypes[pkg] = Persistent<Object>::New(Object::New());", " ^", "In file included from V8Context.h:4:0,", " from V8Context.cpp:1:", "/usr/local/include/v8.h:4932:15: note: declared here", " Persistent<T> Persistent<T>::New(Handle<T> that) {", " ^~~~~~~~~~~~~", "*** Error code 1", "", "Stop.", "make: stopped in /usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/.cpanm/work/1527089479.86980/JavaScript-V8-0.07", "-> FAIL Installing JavaScript::V8 failed. See /usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/.cpanm/work/1527089479.86980/build.log for details. Retry with --force to force install it.", ], via => "App::cpanminus::reporter 0.17 (1.7043)", } Thank you very much. Jim Keenan
Download (untitled) / with headers
text/plain 7.3k
On 2018-05-24 09:42:57, JKEENAN wrote: Show quoted text
> Attempted today. clang is C compiler. cpanm is installer. Excerpt > of cpanm build.log below: > > { > author => "DGL", > dist => "JavaScript-V8", > distname => "JavaScript-V8-0.07", > distversion => 0.07, > grade => "FAIL", > prereqs => undef, > test_output => [ > "Building and testing JavaScript-V8-0.07", > "cp lib/JavaScript/V8.pm blib/lib/JavaScript/V8.pm", > "cp lib/JavaScript/V8/Context.pm > blib/lib/JavaScript/V8/Context.pm", > "Running Mkbootstrap for V8 ()", > "chmod 644 \"V8.bs\"", > "\"/usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/bin/perl\" > -MExtUtils::Command::MM -e 'cp_nonempty' -- V8.bs > blib/arch/auto/JavaScript/V8/V8.bs 644", > "g++ -c -I. -fpermissive -O2 -pipe -fstack-protector -fno- > strict-aliasing -DVERSION=\\\"0.07\\\" -DXS_VERSION=\\\"0.07\\\" > -DPIC -fPIC \"-I/usr/home/jkeenan/var/tad/testing/perl-5.28.0- > RC1/lib/5.28.0/amd64-freebsd/CORE\" V8Context.cpp", > "V8Context.cpp: In constructor 'ObjectData::ObjectData(V8Context*, > v8::Handle<v8::Object>, SV*)':", > "V8Context.cpp:140:45: warning: 'static v8::Persistent<S> > v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]' is > deprecated [-Wdeprecated-declarations]", > " , object(Persistent<Object>::New(object_))", > " ^", > "In file included from V8Context.h:4:0,", > " from V8Context.cpp:1:", > "/usr/local/include/v8.h:4932:15: note: declared here", > " Persistent<T> Persistent<T>::New(Handle<T> that) {", > " ^~~~~~~~~~~~~", > "V8Context.cpp: In destructor 'virtual > ObjectData::~ObjectData()':", > "V8Context.cpp:152:20: warning: 'void v8::Persistent<T>::Dispose() > [with T = v8::Object]' is deprecated [-Wdeprecated-declarations]", > " object.Dispose();", > " ^", > "In file included from V8Context.h:4:0,", > " from V8Context.cpp:1:", > "/usr/local/include/v8.h:4996:6: note: declared here", > " void Persistent<T>::Dispose() {", > " ^~~~~~~~~~~~~", > "V8Context.cpp: In constructor > 'PerlObjectData::PerlObjectData(V8Context*, v8::Handle<v8::Object>, > SV*)':", > "V8Context.cpp:166:50: warning: 'void > v8::Persistent<T>::MakeWeak(void*, v8::WeakReferenceCallback) [with T > = v8::Object; v8::WeakReferenceCallback = void > (*)(v8::Persistent<v8::Value>, void*)]' is deprecated [-Wdeprecated- > declarations]", > " object.MakeWeak(this, PerlObjectData::destroy);", > " ^", > "In file included from V8Context.h:4:0,", > " from V8Context.cpp:1:", > "/usr/local/include/v8.h:5013:6: note: declared here", > " void Persistent<T>::MakeWeak(void* parameters, > WeakReferenceCallback callback) {", > " ^~~~~~~~~~~~~", > "V8Context.cpp: In constructor > 'PerlFunctionData::PerlFunctionData(V8Context*, SV*)':", > "V8Context.cpp:238:24: error: 'Wrap' is not a member of > 'v8::External'", > " &External::Wrap(this)", > " ^~~~~~~~", > "V8Context.cpp: In static member function 'static > v8::Handle<v8::Value> PerlFunctionData::v8invoke(const > v8::Arguments&)':", > "V8Context.cpp:247:65: error: 'Unwrap' is not a member of > 'v8::External'", > " PerlFunctionData* data = > static_cast<PerlFunctionData*>(External::Unwrap(args[0]));", > " > ^~~~~~~~", > "V8Context.cpp: In constructor 'V8Context::V8Context(int, const > char*, bool, const char*)':", > "V8Context.cpp:327:84: warning: 'static v8::Persistent<S> > v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Function]' is > deprecated [-Wdeprecated-declarations]", > " make_function = > Persistent<Function>::New(Handle<Function>::Cast(script->Run()));", > " > ^", > "In file included from V8Context.h:4:0,", > " from V8Context.cpp:1:", > "/usr/local/include/v8.h:4932:15: note: declared here", > " Persistent<T> Persistent<T>::New(Handle<T> that) {", > " ^~~~~~~~~~~~~", > "V8Context.cpp:329:62: warning: 'static v8::Persistent<S> > v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::String]' is > deprecated [-Wdeprecated-declarations]", > " string_wrap = > Persistent<String>::New(String::New(\"wrap\"));", > " ^", > "In file included from V8Context.h:4:0,", > " from V8Context.cpp:1:", > "/usr/local/include/v8.h:4932:15: note: declared here", > " Persistent<T> Persistent<T>::New(Handle<T> that) {", > " ^~~~~~~~~~~~~", > "V8Context.cpp: In member function 'void > V8Context::register_object(ObjectData*)':", > "V8Context.cpp:336:47: error: 'Wrap' is not a member of > 'v8::External'", > " data->object->SetHiddenValue(string_wrap, > External::Wrap(data));", > " ^~~~~~~~", > "V8Context.cpp: In destructor 'V8Context::~V8Context()':", > "V8Context.cpp:353:26: warning: 'void v8::Persistent<T>::Dispose() > [with T = v8::Object]' is deprecated [-Wdeprecated-declarations]", > " it->second.Dispose();", > " ^", > "In file included from V8Context.h:4:0,", > " from V8Context.cpp:1:", > "/usr/local/include/v8.h:4996:6: note: declared here", > " void Persistent<T>::Dispose() {", > " ^~~~~~~~~~~~~", > "V8Context.cpp:355:21: warning: 'void v8::Persistent<T>::Dispose() > [with T = v8::Context]' is deprecated [-Wdeprecated-declarations]", > " context.Dispose();", > " ^", > "In file included from V8Context.h:4:0,", > " from V8Context.cpp:1:", > "/usr/local/include/v8.h:4996:6: note: declared here", > " void Persistent<T>::Dispose() {", > " ^~~~~~~~~~~~~", > "V8Context.cpp: In member function 'SV* > V8Context::seen_v8(v8::Handle<v8::Object>)':", > "V8Context.cpp:492:37: error: 'Unwrap' is not a member of > 'v8::External'", > " ObjectData* data = (ObjectData*)External::Unwrap(wrap);", > " ^~~~~~~~", > "V8Context.cpp: In member function 'v8::Handle<v8::Object> > V8Context::get_prototype(SV*)':", > "V8Context.cpp:585:76: warning: 'static v8::Persistent<S> > v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]' is > deprecated [-Wdeprecated-declarations]", > " prototype = prototypes[pkg] = > Persistent<Object>::New(Object::New());", > " > ^", > "In file included from V8Context.h:4:0,", > " from V8Context.cpp:1:", > "/usr/local/include/v8.h:4932:15: note: declared here", > " Persistent<T> Persistent<T>::New(Handle<T> that) {", > " ^~~~~~~~~~~~~", > "*** Error code 1", > "", > "Stop.", > "make: stopped in /usr/home/jkeenan/var/tad/testing/perl-5.28.0- > RC1/.cpanm/work/1527089479.86980/JavaScript-V8-0.07", > "-> FAIL Installing JavaScript::V8 failed. See > /usr/home/jkeenan/var/tad/testing/perl-5.28.0- > RC1/.cpanm/work/1527089479.86980/build.log for details. Retry with > --force to force install it.", > ], > via => "App::cpanminus::reporter 0.17 (1.7043)", > } > > Thank you very much. > Jim Keenan
I see "g++" here, so probably gcc is the compiler. Or did you symlink g++ to clang++?
Download (untitled) / with headers
text/plain 15.3k

Message body is not shown because it is too large.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.