Opened 10 years ago

Closed 3 years ago

#41678 closed defect (fixed)

v8 @3.23.15: undefined symbols v8::Isolate::ThrowException etc.

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: leopard Cc: neverpanic (Clemens Lang)
Port: v8

Description

v8 is failing to build on leopard i386 with this error:

:info:build   LINK(target) /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_v8/v8/work/v8-3.23.15/out/ia32.release/shell
:info:build Undefined symbols:
:info:build   "v8::Isolate::ThrowException(v8::Local<v8::Value>)", referenced from:
:info:build       Read(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Read(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Load(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build   "v8::TryCatch::Message() const", referenced from:
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build   "v8::Context::Enter()", referenced from:
:info:build       RunShell(v8::Handle<v8::Context>)      in shell.o
:info:build       _main in shell.o
:info:build   "v8::Message::GetEndColumn() const", referenced from:
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build   "v8::Context::GetIsolate()", referenced from:
:info:build       RunShell(v8::Handle<v8::Context>)      in shell.o
:info:build       RunShell(v8::Handle<v8::Context>)      in shell.o
:info:build       RunShell(v8::Handle<v8::Context>)      in shell.o
:info:build       RunShell(v8::Handle<v8::Context>)      in shell.o
:info:build   "v8::TryCatch::TryCatch()", referenced from:
:info:build       ExecuteString(v8::Isolate*, v8::Handle<v8::String>, v8::Handle<v8::Value>, bool, bool)in shell.o
:info:build   "v8::Message::GetScriptResourceName() const", referenced from:
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build   "v8::Script::Run()", referenced from:
:info:build       ExecuteString(v8::Isolate*, v8::Handle<v8::String>, v8::Handle<v8::Value>, bool, bool)in shell.o
:info:build   "v8::Value::Int32Value() const", referenced from:
:info:build       Quit(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build   "v8::V8::SetFlagsFromCommandLine(int*, char**, bool)", referenced from:
:info:build       _main in shell.o
:info:build   "v8::Context::Exit()", referenced from:
:info:build       RunShell(v8::Handle<v8::Context>)      in shell.o
:info:build       _main in shell.o
:info:build   "v8::Context::New(v8::Isolate*, v8::ExtensionConfiguration*, v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::Value>)", referenced from:
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build   "v8::Script::Compile(v8::Handle<v8::String>, v8::Handle<v8::Value>, v8::Handle<v8::String>)", referenced from:
:info:build       ExecuteString(v8::Isolate*, v8::Handle<v8::String>, v8::Handle<v8::Value>, bool, bool)in shell.o
:info:build   "v8::V8::GetVersion()", referenced from:
:info:build       RunShell(v8::Handle<v8::Context>)      in shell.o
:info:build       Version(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build   "v8::ObjectTemplate::New()", referenced from:
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build   "v8::TryCatch::HasCaught() const", referenced from:
:info:build       ExecuteString(v8::Isolate*, v8::Handle<v8::String>, v8::Handle<v8::Value>, bool, bool)in shell.o
:info:build       ExecuteString(v8::Isolate*, v8::Handle<v8::String>, v8::Handle<v8::Value>, bool, bool)in shell.o
:info:build   "v8::HandleScope::~HandleScope()", referenced from:
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build       ExecuteString(v8::Isolate*, v8::Handle<v8::String>, v8::Handle<v8::Value>, bool, bool)in shell.o
:info:build       RunShell(v8::Handle<v8::Context>)      in shell.o
:info:build       _main in shell.o
:info:build       _main in shell.o
:info:build       Print(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Load(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Load(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build   "v8::V8::Dispose()", referenced from:
:info:build       _main in shell.o
:info:build   "v8::Message::GetSourceLine() const", referenced from:
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build   "v8::Message::GetStartColumn() const", referenced from:
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build   "v8::String::Utf8Value::Utf8Value(v8::Handle<v8::Value>)", referenced from:
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build       ExecuteString(v8::Isolate*, v8::Handle<v8::String>, v8::Handle<v8::Value>, bool, bool)in shell.o
:info:build       Read(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Print(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Load(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build   "v8::TryCatch::StackTrace() const", referenced from:
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build   "v8::Message::GetLineNumber() const", referenced from:
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build   "v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::String::NewStringType, int)", referenced from:
:info:build       RunShell(v8::Handle<v8::Context>)      in shell.o
:info:build       RunShell(v8::Handle<v8::Context>)      in shell.o
:info:build       ReadFile(v8::Isolate*, char const*)in shell.o
:info:build       RunMain(v8::Isolate*, int, char**)in shell.o
:info:build       RunMain(v8::Isolate*, int, char**)in shell.o
:info:build       RunMain(v8::Isolate*, int, char**)in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       Read(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Read(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Version(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Load(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Load(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build   "v8::FunctionTemplate::New(void (*)(v8::FunctionCallbackInfo<v8::Value> const&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)", referenced from:
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build   "v8::HandleScope::HandleScope(v8::Isolate*)", referenced from:
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build       ExecuteString(v8::Isolate*, v8::Handle<v8::String>, v8::Handle<v8::Value>, bool, bool)in shell.o
:info:build       RunShell(v8::Handle<v8::Context>)      in shell.o
:info:build       _main in shell.o
:info:build       Print(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Print(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Load(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build   "v8::TryCatch::~TryCatch()", referenced from:
:info:build       ExecuteString(v8::Isolate*, v8::Handle<v8::String>, v8::Handle<v8::Value>, bool, bool)in shell.o
:info:build   "v8::Template::Set(v8::Handle<v8::String>, v8::Handle<v8::Data>, v8::PropertyAttribute)", referenced from:
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build       CreateShellContext(v8::Isolate*)      in shell.o
:info:build   "v8::Isolate::GetCurrent()", referenced from:
:info:build       _main in shell.o
:info:build   "v8::V8::InitializeICU()", referenced from:
:info:build       _main in shell.o
:info:build   "v8::String::Utf8Value::~Utf8Value()", referenced from:
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build       ExecuteString(v8::Isolate*, v8::Handle<v8::String>, v8::Handle<v8::Value>, bool, bool)in shell.o
:info:build       Read(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Read(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Print(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Load(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build       Load(v8::FunctionCallbackInfo<v8::Value> const&)  in shell.o
:info:build   "v8::TryCatch::Exception() const", referenced from:
:info:build       ReportException(v8::Isolate*, v8::TryCatch*)     in shell.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status

Attachments (1)

v8.main.log.bz2 (29.9 KB) - added by ryandesign (Ryan Carsten Schmidt) 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: v8.main.log.bz2 added

comment:1 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from frodwith@… to macports-tickets@…
Status: newassigned

comment:2 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Resolution: fixed
Status: assignedclosed

In 3ef45bcf4bfb54b9c1e9c74eb3b54c111e0095c5/macports-ports (master):

v8: delete neglected port

Port has been unable to fetch.
Closes: #52532
See: #53467

Upstream project continues to publish new releases frequently.
Version in MacPorts (from 2014) has known security issues.

Dependents were rethinkdb (removed in 2018) and mongodb
(no longer uses MacPorts' v8).

Closes: #41677
Closes: #41678
Closes: #41924
Closes: #45908
Closes: #47163

Note: See TracTickets for help on using tickets.