Error building sam

20 views
Skip to first unread message

Yves Cloutier

unread,
Dec 11, 2016, 7:00:53 PM12/11/16
to ooc-lang
Hello all,

I get the following trying to buildsam:

rock -v
Parsing...
Resolving...
[lang/Backtrace] Falling back on execinfo.. (build extension if you want fancy backtraces)
[Exception in FileWriter]: File not found: .libs/ooc/sdk/Array.h(SIGABRT) abort program
/opt/rock/bin/rock(lang_Backtrace__BacktraceHandler_backtrace_impl+0xd5) [0x56c605]
/opt/rock/bin/rock(lang_Exception__Exception_getCurrentBacktrace+0x13) [0x557783]
/opt/rock/bin/rock(lang_Exception___signalHandler+0x124) [0x5578d4]
/usr/lib/libc.so.6(+0x330b0) [0x7fb2ea41b0b0]
/usr/lib/libc.so.6(gsignal+0xcf) [0x7fb2ea41b04f]
/usr/lib/libc.so.6(abort+0x16a) [0x7fb2ea41c47a]
/opt/rock/bin/rock(lang_Exception__Exception_throw_impl+0x43) [0x558ac3]
/opt/rock/bin/rock(io_FileWriter__FileWriter_new_withFileOverwrite+0xb0) [0x571440]
/opt/rock/bin/rock(io_File__File_copyTo_impl+0x35) [0x56e505]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x66b) [0x51a31b]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_Driver__Driver_copyLocals_impl+0x154) [0x519e04]
/opt/rock/bin/rock(rock_frontend_drivers_SequenceDriver__SequenceDriver_compile_impl+0x60) [0x529630]
/opt/rock/bin/rock(rock_frontend_CommandLine____rock_frontend_CommandLine_rock_frontend_CommandLine_closure325_thunk+0x1f) [0x49cf3f]
/opt/rock/bin/rock(os_Time__Time_measure+0x87) [0x565627]
/opt/rock/bin/rock() [0x49d7e2]
/opt/rock/bin/rock(rock_frontend_CommandLine__CommandLine_parse_impl+0x16b) [0x49d5cb]
/opt/rock/bin/rock(rock_frontend_CommandLine__CommandLine_init+0x87e) [0x49e9de]
/opt/rock/bin/rock(rock_frontend_CommandLine__CommandLine_new+0x5e) [0x4a083e]
/opt/rock/bin/rock(main+0xa2) [0x49cd12]
/usr/lib/libc.so.6(__libc_start_main+0xf1) [0x7fb2ea408291]
/opt/rock/bin/rock(_start+0x2a) [0x49cd4a]

The message indicates it's unable to find

.libs/ooc/sdk/Array.h

but I do see it under /opt/rock , which contains the .lib folderand others.

My bashrc has the following:

export OOC_LIBS="/opt/rock/.libs/"

I've also tried just export OOC_LIBS="/opt/rock/" but this doesn't seem to make any difference.

I installed rock using yaourt rock on Arch and running rock -V gives me:

rock 0.9.10 codename rita, built on Sun Dec 11 18:24:13 2016

I was so looking forward to trying ooc out but have spent the last couplehours fiddling around tryig to get sam to work :(





Reply all
Reply to author
Forward
0 new messages