Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

perl6 install fail

by freakcoco (Sexton)
on Jun 28, 2017 at 04:07 UTC ( [id://1193742]=perlquestion: print w/replies, xml ) Need Help??

freakcoco has asked for the wisdom of the Perl Monks concerning the following question:

I try to build perl6 on my ubuntu system(version => "Ubuntu 15.04",architectures=>ARM Cortex-A7)

sudo apt-get install build-essential git libssl-dev git clone https://github.com/tadzik/rakudobrew ~/.rakudobrew echo 'export PATH=~/.rakudobrew/bin:$PATH' >> ~/.bashrc source ~/.bashrc rakudobrew build moar

when i build moar I got this :

e4f3358fa81b8359fab2eb4dd3fb32e8eace8799 HEAD is now at e4f3358... Make Any (-) Map|Iterable about 2x faster ATTENTION: no --prefix supplied, building and installing to /home/oran +gepi/.rakudobrew/moar-nom/install sh: 1: /home/orangepi/.rakudobrew/moar-nom/install/bin/nqp-m: not foun +d HEAD is now at 0b45398... Stub setbuffersizefh for JVM. Building NQP ... /usr/bin/perl Configure.pl --prefix=/home/orangepi/.rakudobrew/moar-no +m/install --backends=moar --make-install --git-protocol=https --git-r +eference=/home/orangepi/.rakudobrew/bin/../git_reference --gen-moar Creating tools/build/install-jvm-runner.pl ... Can't exec "/home/orangepi/.rakudobrew/moar-nom/install/bin/moar": No +such file or directory at tools/lib/NQP/Configure.pm line 287. Use of uninitialized value $moar_version_output in pattern match (m//) + at tools/lib/NQP/Configure.pm line 300. HEAD is now at 7405dfa... Implement output buffering for sync file han +dles. Configuring and building MoarVM ... /usr/bin/perl Configure.pl --optimize --prefix=/home/orangepi/.rakudob +rew/moar-nom/install --make-install Welcome to MoarVM! Updating submodules .................................... OK Configuring native build environment ................... OK trying to compile a simple C program ............... YES probing whether your compiler thinks that it is gcc YES probing how your compiler does static inline ....... static __inli +ne__ your CPU can read unaligned values for only int32 probing the size of pointers ....................... 4 JIT isn't supported on platforms with 4 byte pointers. probing C type support for: _Bool, bool ............ YES: _Bool,bo +ol probing computed goto support ...................... YES probing pthread_yield support ...................... NO probing support of rdtscp intrinsic ................ NO make: make compile: gcc -Wdeclaration-after-statement -Werror=declaration-af +ter-statement -O3 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC includes: -I3rdparty/libuv/include -I3rdparty/libuv/src -I3rdpart +y/libatomic_ops/src -I3rdparty/libtommath -I3rdparty/dynasm -I3rdpart +y/dyncall/dynload -I3rdparty/dyncall/dyncall -I3rdparty/dyncall/dynca +llback link: gcc -O3 -DNDEBUG -Wl,-rpath,"/@libdir@" libs: -lm -lpthread -lrt -ldl byte order: little endian Configuring 3rdparty libs .............................. OK 3rdparty: 3rdparty/dyncall/dyncall/libdyncall_s.a 3rdparty/dyncall/dyncallback/libdyncallback_s.a 3rdparty/dyncall/dynload/libdynload_s.a 3rdparty/libatomic_ops/src/libatomic_ops.a 3rdparty/libtommath/libtommath.a 3rdparty/libuv/libuv.a 3rdparty/sha1/libsha1.a 3rdparty/tinymt/libtinymt.a Generating src/gen/config.c ............................ OK Generating src/gen/config.h ............................ OK Generating Makefile .................................... OK Generating tools/check.mk .............................. OK Generating build/mk-moar-pc.pl ......................... OK Configuration SUCCESS. Type 'make' to build and 'make help' to see a list of available make targets. compiling src/main.o compiling src/core/callsite.o compiling src/core/args.o compiling src/core/exceptions.o src/core/exceptions.c: In function ‘handler_can_handle’: src/core/exceptions.c:79:57: warning: cast from pointer to integer of +different size [-Wpointer-to-int-cast] MVMuint64 block_label = block_has_label ? (MVMuint64)(f +->work[fh->label_reg].o) : 0; ^ src/core/exceptions.c:80:49: warning: cast from pointer to integer of +different size [-Wpointer-to-int-cast] MVMuint64 thrown_label = payload ? (MVMuint64)payload : +0; ^ compiling src/core/interp.o src/core/interp.c: In function ‘MVM_interp_run’: src/core/interp.c:1878:42: warning: cast from pointer to integer of di +fferent size [-Wpointer-to-int-cast] GET_REG(cur_op, 0).i64 = (MVMint64)GET_REG(cur_op, 2) +.o; ^ src/core/interp.c:5622:39: warning: cast to pointer from integer of di +fferent size [-Wint-to-pointer-cast] char *cache = (char *)MVM_BC_get_I64(cur_op, +12); ^ compiling src/core/threadcontext.o compiling src/core/compunit.o compiling src/core/bytecode.o compiling src/core/frame.o compiling src/core/callstack.o compiling src/core/validation.o compiling src/core/bytecodedump.o compiling src/core/threads.o compiling src/core/ops.o compiling src/core/hll.o compiling src/core/loadbytecode.o compiling src/math/num.o compiling src/core/coerce.o compiling src/core/dll.o compiling src/core/ext.o compiling src/core/nativecall.o compiling src/core/nativecall_dyncall.o src/core/nativecall_dyncall.c: In function ‘MVM_nativecall_invoke’: src/core/nativecall_dyncall.c:786:25: warning: cast from pointer to in +teger of different size [-Wpointer-to-int-cast] (MVMint64)*(DCpointer *)free_rws[num_rws]); ^ compiling src/core/continuation.o compiling src/core/intcache.o compiling src/core/fixedsizealloc.o compiling src/core/regionalloc.o compiling src/gen/config.o compiling src/gc/orchestrate.o compiling src/gc/allocation.o compiling src/gc/worklist.o compiling src/gc/roots.o compiling src/gc/collect.o compiling src/gc/gen2.o compiling src/gc/wb.o compiling src/gc/objectid.o src/gc/objectid.c: In function ‘MVM_gc_object_id’: src/gc/objectid.c:11:14: warning: cast from pointer to integer of diff +erent size [-Wpointer-to-int-cast] id = (MVMuint64)obj; ^ src/gc/objectid.c:33:14: warning: cast from pointer to integer of diff +erent size [-Wpointer-to-int-cast] id = (MVMuint64)entry->gen2_addr; ^ compiling src/gc/finalize.o compiling src/gc/debug.o compiling src/io/io.o compiling src/io/eventloop.o compiling src/io/syncfile.o compiling src/io/syncstream.o compiling src/io/syncpipe.o compiling src/io/syncsocket.o compiling src/io/fileops.o compiling src/io/dirops.o compiling src/io/procops.o compiling src/io/timers.o compiling src/io/filewatchers.o compiling src/io/signals.o compiling src/io/asyncsocket.o compiling src/io/asyncsocketudp.o compiling src/6model/reprs.o compiling src/6model/reprconv.o compiling src/6model/containers.o compiling src/6model/parametric.o compiling src/6model/reprs/MVMString.o compiling src/6model/reprs/VMArray.o compiling src/6model/reprs/MVMHash.o compiling src/6model/reprs/MVMCFunction.o compiling src/6model/reprs/KnowHOWREPR.o compiling src/6model/reprs/KnowHOWAttributeREPR.o compiling src/6model/reprs/P6str.o compiling src/6model/reprs/P6opaque.o compiling src/6model/reprs/MVMCode.o compiling src/6model/reprs/MVMOSHandle.o compiling src/6model/reprs/MVMCompUnit.o compiling src/6model/reprs/MVMStaticFrame.o compiling src/6model/reprs/P6int.o compiling src/6model/reprs/P6num.o compiling src/6model/reprs/Uninstantiable.o compiling src/6model/reprs/HashAttrStore.o compiling src/6model/reprs/MVMThread.o compiling src/6model/reprs/MVMIter.o compiling src/6model/reprs/MVMContext.o compiling src/6model/reprs/SCRef.o compiling src/6model/reprs/Lexotic.o compiling src/6model/reprs/MVMCallCapture.o compiling src/6model/reprs/P6bigint.o compiling src/6model/reprs/NFA.o compiling src/6model/reprs/MVMException.o compiling src/6model/reprs/MVMDLLSym.o compiling src/6model/reprs/MVMMultiCache.o compiling src/6model/reprs/MVMContinuation.o compiling src/6model/reprs/NativeCall.o compiling src/6model/reprs/CPointer.o compiling src/6model/reprs/CStr.o compiling src/6model/reprs/CArray.o compiling src/6model/reprs/CStruct.o compiling src/6model/reprs/CUnion.o compiling src/6model/reprs/ReentrantMutex.o compiling src/6model/reprs/ConditionVariable.o compiling src/6model/reprs/Semaphore.o compiling src/6model/reprs/ConcBlockingQueue.o compiling src/6model/reprs/MVMAsyncTask.o compiling src/6model/reprs/MVMNull.o compiling src/6model/reprs/CPPStruct.o compiling src/6model/reprs/NativeRef.o compiling src/6model/reprs/MultiDimArray.o compiling src/6model/reprs/Decoder.o compiling src/6model/6model.o compiling src/6model/bootstrap.o compiling src/6model/sc.o compiling src/6model/serialization.o compiling src/mast/compiler.o compiling src/mast/driver.o compiling src/spesh/dump.o compiling src/spesh/graph.o compiling src/spesh/codegen.o compiling src/spesh/candidate.o compiling src/spesh/manipulate.o compiling src/spesh/args.o compiling src/spesh/facts.o compiling src/spesh/optimize.o src/spesh/optimize.c: In function ‘optimize_coverage_log’: src/spesh/optimize.c:1230:26: warning: cast to pointer from integer of + different size [-Wint-to-pointer-cast] char *cache = (char *)ins->operands[3].lit_i64; ^ compiling src/spesh/deopt.o compiling src/spesh/log.o compiling src/spesh/threshold.o compiling src/spesh/inline.o compiling src/spesh/osr.o compiling src/spesh/lookup.o compiling src/jit/graph.o src/jit/graph.c: In function ‘jgb_consume_ins’: src/jit/graph.c:1910:59: warning: cast from pointer to integer of diff +erent size [-Wpointer-to-int-cast] { MVM_JIT_LITERAL_PTR, { (MVMint64)h +ll_config } }, ^ src/jit/graph.c:2382:59: warning: cast from pointer to integer of diff +erent size [-Wpointer-to-int-cast] { MVM_JIT_LITERAL_PTR, { (MVMint64)" +decodertakeline" } } }; ^ compiling src/jit/compile.o src/jit/compile.c: In function ‘MVM_jit_enter_code’: src/jit/compile.c:138:18: warning: format ‘%lu’ expects argument of ty +pe ‘long unsigned int’, but argument 5 has type ‘size_t’ [-Wformat=] tc->cur_frame->sequence_nr, code->seq_nr); ^ src/jit/compile.c:138:18: warning: format ‘%li’ expects argument of ty +pe ‘long int’, but argument 6 has type ‘int’ [-Wformat=] compiling src/jit/log.o compiling src/strings/decode_stream.o compiling src/strings/ascii.o compiling src/strings/parse_num.o compiling src/strings/utf8.o compiling src/strings/utf8_c8.o compiling src/strings/nfg.o compiling src/strings/ops.o compiling src/strings/unicode.o compiling src/strings/normalize.o compiling src/strings/latin1.o compiling src/strings/utf16.o compiling src/strings/windows1252.o compiling src/math/bigintops.o compiling src/profiler/instrument.o src/profiler/instrument.c: In function ‘dump_call_graph_node’: src/profiler/instrument.c:359:23: warning: cast from pointer to intege +r of different size [-Wpointer-to-int-cast] box_i(tc, (MVMint64)pcn->sf)); ^ src/profiler/instrument.c:375:23: warning: cast from pointer to intege +r of different size [-Wpointer-to-int-cast] box_i(tc, (MVMint64)pcn->native_target_name)); ^ src/profiler/instrument.c:436:68: warning: cast from pointer to intege +r of different size [-Wpointer-to-int-cast] MVM_repr_bind_key_o(tc, alloc_info, pds->id, box_i(tc, (M +VMint64)type)); ^ compiling src/profiler/log.o src/profiler/log.c: In function ‘MVM_profile_log_allocated’: src/profiler/log.c:230:31: warning: cast from pointer to integer of di +fferent size [-Wpointer-to-int-cast] MVMuint32 distance = ((MVMuint64)tc->nursery_alloc - (MVMuint +64)obj); ^ src/profiler/log.c:230:62: warning: cast from pointer to integer of di +fferent size [-Wpointer-to-int-cast] MVMuint32 distance = ((MVMuint64)tc->nursery_alloc - (MVMuint +64)obj); ^ src/profiler/log.c:238:13: warning: cast from pointer to integer of di +fferent size [-Wpointer-to-int-cast] if ((MVMuint64)obj > (MVMuint64)tc->nursery_tospace && distan +ce <= obj->header.size && obj != ptd->last_counted_allocation) { ^ src/profiler/log.c:238:30: warning: cast from pointer to integer of di +fferent size [-Wpointer-to-int-cast] if ((MVMuint64)obj > (MVMuint64)tc->nursery_tospace && distan +ce <= obj->header.size && obj != ptd->last_counted_allocation) { ^ compiling src/profiler/profile.o compiling src/profiler/heapsnapshot.o compiling src/profiler/telemeh.o compiling src/instrument/crossthreadwrite.o compiling src/instrument/line_coverage.o src/instrument/line_coverage.c: In function ‘instrument_graph’: src/instrument/line_coverage.c:135:36: warning: cast from pointer to i +nteger of different size [-Wpointer-to-int-cast] ins->operands[3].lit_i64 = (MVMint64)line_report_store; ^ compiling src/platform/sys.o compiling src/moar.o compiling src/platform/posix/mmap.o compiling src/platform/posix/time.o compiling src/jit/stub.o building dyncall... In file included from dyncall_callvm.c:57:0: dyncall_callvm_arm32_arm_armhf.c: In function ‘a_double’: dyncall_callvm_arm32_arm_armhf.c:119:5: error: ISO C90 forbids mixed d +eclarations and code [-Werror=declaration-after-statement] union { ^ cc1: some warnings being treated as errors make[2]: *** [dyncall_callvm.o] Error 1 make[1]: *** [libdyncall] Error 2 Makefile:614: recipe for target '3rdparty/dyncall/dyncall/libdyncall_s +.a' failed make: *** [3rdparty/dyncall/dyncall/libdyncall_s.a] Error 2 sh: 1: /home/orangepi/.rakudobrew/moar-nom/install/bin/moar: not found Cleaning up ... /usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage1/gen /usr/bin/perl tools/build/gen-cat.pl moar src/how/Archetypes.nqp src/h +ow/RoleToRoleApplier.nqp src/how/NQPConcreteRoleHOW.nqp src/how/RoleT +oClassApplier.nqp src/how/NQPCurriedRoleHOW.nqp src/how/NQPParametric +RoleHOW.nqp src/how/NQPClassHOW.nqp src/how/NQPNativeHOW.nqp src/how/ +NQPAttribute.nqp src/how/NQPModuleHOW.nqp src/how/EXPORTHOW.nqp > ge +n/moar/stage1/nqpmo.nqp /home/orangepi/.rakudobrew/moar-nom/install/bin/moar --libpath=src/vm/ +moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL +--no-regex-lib --target=mbc \ --output=gen/moar/stage1/nqpmo.moarvm gen/moar/stage1/nqpmo.nqp sh: 1: /home/orangepi/.rakudobrew/moar-nom/install/bin/moar: not found Makefile:240: recipe for target 'gen/moar/stage1/nqpmo.moarvm' failed make: *** [gen/moar/stage1/nqpmo.moarvm] Error 127 Command failed (status 512): make Command failed (status 512): /usr/bin/perl Configure.pl --prefix=/home +/orangepi/.rakudobrew/moar-nom/install --backends=moar --make-install + --git-protocol=https --git-reference=/home/orangepi/.rakudobrew/bin/ +../git_reference --gen-moar Failed running /usr/bin/perl Configure.pl --backends=moar --gen-moar - +-git-reference="/home/orangepi/.rakudobrew/bin/../git_reference" --ma +ke-install at /home/orangepi/.rakudobrew/bin/rakudobrew line 57. main::run("/usr/bin/perl Configure.pl --backends=moar --gen-moar - +-git-r"...) called at /home/orangepi/.rakudobrew/bin/rakudobrew line +382 main::build_impl("moar", undef, "") called at /home/orangepi/.raku +dobrew/bin/rakudobrew line 115

how to fix this problem?

Replies are listed 'Best First'.
Re: perl6 install fail
by marto (Cardinal) on Jun 28, 2017 at 04:32 UTC

    Looks like a known issue with building from source on devices with relatively small amounts of RAM. The suggested alternative is to install binary release. Alternatively you could cross compile yourself on a system with more resources.

Re: perl6 install fail
by Anonymous Monk on Jun 28, 2017 at 04:32 UTC

    perl6 did not build for want of moar for want of (lib)dyncall. Have you contacted the project (https://github.com/tadzik/rakudobrew) for help?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1193742]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-19 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found