Closed zoffixznet closed 6 years ago
Stops with sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
zoffix@DESKTOP-MVLLQ4S:~/rakudo$ make install cd rakudo && make install make[1]: Entering directory '/home/zoffix/rakudo/rakudo' /usr/bin/perl tools/build/check-nqp-version.pl /home/zoffix/rakudo/install/bin/nqp-m mkdir -p -- /home/zoffix/rakudo/install/bin mkdir -p -- /home/zoffix/rakudo/install/share/nqp/lib/Perl6 /home/zoffix/rakudo/install/bin/moar --libpath="blib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" perl6.moarvm --nqp-lib=blib -e "for @*ARGS.head(*-1) { given (@*ARGS[*-1] ~ '/' ~ .IO.basename.Str) { say 'rm -f ' ~ .Str; .IO.unlink if .IO.e } }" blib/Perl6/ModuleLoader.moarvm blib/Perl6/World.moarvm blib/Perl6/Grammar.moarvm blib/Perl6/Ops.moarvm blib/Perl6/Actions.moarvm blib/Perl6/Optimizer.moarvm blib/Perl6/Pod.moarvm blib/Perl6/Compiler.moarvm blib/Perl6/Metamodel.moarvm blib/Perl6/BOOTSTRAP.moarvm //home/zoffix/rakudo/install/share/nqp/lib/Perl6 rm -f //home/zoffix/rakudo/install/share/nqp/lib/Perl6/ModuleLoader.moarvm rm -f //home/zoffix/rakudo/install/share/nqp/lib/Perl6/World.moarvm rm -f //home/zoffix/rakudo/install/share/nqp/lib/Perl6/Grammar.moarvm rm -f //home/zoffix/rakudo/install/share/nqp/lib/Perl6/Ops.moarvm rm -f //home/zoffix/rakudo/install/share/nqp/lib/Perl6/Actions.moarvm rm -f //home/zoffix/rakudo/install/share/nqp/lib/Perl6/Optimizer.moarvm rm -f //home/zoffix/rakudo/install/share/nqp/lib/Perl6/Pod.moarvm rm -f //home/zoffix/rakudo/install/share/nqp/lib/Perl6/Compiler.moarvm rm -f //home/zoffix/rakudo/install/share/nqp/lib/Perl6/Metamodel.moarvm rm -f //home/zoffix/rakudo/install/share/nqp/lib/Perl6/BOOTSTRAP.moarvm cp -- blib/Perl6/ModuleLoader.moarvm blib/Perl6/World.moarvm blib/Perl6/Grammar.moarvm blib/Perl6/Ops.moarvm blib/Perl6/Actions.moarvm blib/Perl6/Optimizer.moarvm blib/Perl6/Pod.moarvm blib/Perl6/Compiler.moarvm blib/Perl6/Metamodel.moarvm blib/Perl6/BOOTSTRAP.moarvm /home/zoffix/rakudo/install/share/nqp/lib/Perl6 mkdir -p -- /home/zoffix/rakudo/install/share/perl6/lib mkdir -p -- /home/zoffix/rakudo/install/share/perl6/runtime /home/zoffix/rakudo/install/bin/moar --libpath="blib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" perl6.moarvm --nqp-lib=blib -e "for @*ARGS.head(*-1) { given (@*ARGS[*-1] ~ '/' ~ .IO.basename.Str) { say 'rm -f ' ~ .Str; .IO.unlink if .IO.e } }" CORE.setting.moarvm CORE.d.setting.moarvm RESTRICTED.setting.moarvm /home/zoffix/rakudo/install/share/perl6/runtime rm -f /home/zoffix/rakudo/install/share/perl6/runtime/CORE.setting.moarvm rm -f /home/zoffix/rakudo/install/share/perl6/runtime/CORE.d.setting.moarvm rm -f /home/zoffix/rakudo/install/share/perl6/runtime/RESTRICTED.setting.moarvm /home/zoffix/rakudo/install/bin/moar --libpath="blib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" perl6.moarvm --nqp-lib=blib -e "for @*ARGS.head(*-1) { given (@*ARGS[*-1] ~ '/' ~ .IO.basename.Str) { say 'rm -f ' ~ .Str; .IO.unlink if .IO.e } }" perl6.moarvm perl6-debug.moarvm /home/zoffix/rakudo/install/share/perl6/runtime rm -f /home/zoffix/rakudo/install/share/perl6/runtime/perl6.moarvm rm -f /home/zoffix/rakudo/install/share/perl6/runtime/perl6-debug.moarvm cp -- CORE.setting.moarvm CORE.d.setting.moarvm RESTRICTED.setting.moarvm /home/zoffix/rakudo/install/share/perl6/runtime cp -- perl6.moarvm perl6-debug.moarvm /home/zoffix/rakudo/install/share/perl6/runtime mkdir -p -- /home/zoffix/rakudo/install/share/perl6/runtime/dynext cp -- dynext/libperl6_ops_moar.so /home/zoffix/rakudo/install/share/perl6/runtime/dynext ./perl6-m tools/build/upgrade-repository.pl /home/zoffix/rakudo/install/share/perl6 ./perl6-m tools/build/upgrade-repository.pl /home/zoffix/rakudo/install/share/perl6/vendor ./perl6-m tools/build/upgrade-repository.pl /home/zoffix/rakudo/install/share/perl6/site ./perl6-m tools/build/install-core-dist.pl /home/zoffix/rakudo/install/share/perl6 installed! /home/zoffix/rakudo/install/bin/moar --libpath="blib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" perl6.moarvm --nqp-lib=blib tools/build/create-moar-runner.pl "/home/zoffix/rakudo/install/bin/moar" perl6.moarvm /home/zoffix/rakudo/install/bin/perl6-m "/home/zoffix/rakudo/install/share/perl6/runtime" "" "" "/home/zoffix/rakudo/install/share/nqp/lib" "/home/zoffix/rakudo/install/share/nqp/lib" "/home/zoffix/rakudo/install/share/perl6/lib" "/home/zoffix/rakudo/install/share/perl6/runtime" /home/zoffix/rakudo/install/bin/moar --libpath="blib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" perl6.moarvm --nqp-lib=blib tools/build/create-moar-runner.pl "/home/zoffix/rakudo/install/bin/moar" perl6-debug.moarvm /home/zoffix/rakudo/install/bin/perl6-debug-m "/home/zoffix/rakudo/install/share/perl6/runtime" "" "" "/home/zoffix/rakudo/install/share/nqp/lib" "/home/zoffix/rakudo/install/share/nqp/lib" "/home/zoffix/rakudo/install/share/perl6/lib" "/home/zoffix/rakudo/install/share/perl6/runtime" chmod -- 755 /home/zoffix/rakudo/install/bin/perl6-m /home/zoffix/rakudo/install/bin/moar --libpath="blib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" perl6.moarvm --nqp-lib=blib tools/build/create-moar-runner.pl "/home/zoffix/rakudo/install/bin/moar" perl6.moarvm /home/zoffix/rakudo/install/bin/perl6-gdb-m "/home/zoffix/rakudo/install/share/perl6/runtime" "gdb" "" "/home/zoffix/rakudo/install/share/nqp/lib" "/home/zoffix/rakudo/install/share/perl6/lib" "/home/zoffix/rakudo/install/share/perl6/runtime" /home/zoffix/rakudo/install/bin/moar --libpath="blib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" perl6.moarvm --nqp-lib=blib tools/build/create-moar-runner.pl "/home/zoffix/rakudo/install/bin/moar" perl6.moarvm /home/zoffix/rakudo/install/bin/perl6-lldb-m "/home/zoffix/rakudo/install/share/perl6/runtime" "lldb" "" "/home/zoffix/rakudo/install/share/nqp/lib" "/home/zoffix/rakudo/install/share/perl6/lib" "/home/zoffix/rakudo/install/share/perl6/runtime" /home/zoffix/rakudo/install/bin/moar --libpath="blib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" perl6.moarvm --nqp-lib=blib tools/build/create-moar-runner.pl "/home/zoffix/rakudo/install/bin/moar" perl6.moarvm /home/zoffix/rakudo/install/bin/perl6-valgrind-m "/home/zoffix/rakudo/install/share/perl6/runtime" "valgrind" "" "/home/zoffix/rakudo/install/share/nqp/lib" "/home/zoffix/rakudo/install/share/perl6/lib" "/home/zoffix/rakudo/install/share/perl6/runtime" /home/zoffix/rakudo/install/bin/moar --libpath="blib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" --libpath="/home/zoffix/rakudo/install/share/nqp/lib" perl6.moarvm --nqp-lib=blib tools/build/create-moar-runner.pl "/home/zoffix/rakudo/install/bin/moar" perl6.moarvm /home/zoffix/rakudo/install/bin/perl6-m "/home/zoffix/rakudo/install/share/perl6/runtime" "" "" "/home/zoffix/rakudo/install/share/nqp/lib" "/home/zoffix/rakudo/install/share/nqp/lib" "/home/zoffix/rakudo/install/share/perl6/lib" "/home/zoffix/rakudo/install/share/perl6/runtime" cp -- /home/zoffix/rakudo/install/bin/perl6-m /home/zoffix/rakudo/install/bin/perl6 chmod -- 755 /home/zoffix/rakudo/install/bin/perl6 make[1]: Leaving directory '/home/zoffix/rakudo/rakudo' /usr/bin/perl -MExtUtils::Command -e cp /home/zoffix/rakudo/install/bin/perl6-m perl6 /usr/bin/perl -MExtUtils::Command -e chmod 755 perl6 == Installing modules for MoarVM cd modules/zef && sh -c "PATH=/home/zoffix/rakudo/install/bin:/home/zoffix/bin:/home/zoffix/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/rakudo/install/bin:/mnt/c/rakudo/install/share/perl6/site/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/PuTTY:/mnt/c/Program Files/Git/cmd:/mnt/c/Strawberry/c/bin:/mnt/c/Strawberry/perl/site/bin:/mnt/c/Strawberry/perl/bin:/mnt/c/Program Files/PostgreSQL/9.6/bin:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Users/zoffi/AppData/Local/atom/bin:/snap/bin /home/zoffix/rakudo/install/bin/perl6-m -Ilib bin/zef install ." sh: 1: Syntax error: "(" unexpected Makefile:65: recipe for target 'modules-install-m' failed make: *** [modules-install-m] Error 2 zoffix@DESKTOP-MVLLQ4S:~/rakudo$
Can probably be reproduced by running with a PATH containing an entry with a space.
probable dup of #114
Yup. Looks exactly the same.
Stops with
sh: 1: Syntax error: "(" unexpected