Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created November 26, 2019 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dogbert17/a8d8a4a9596dd236dfcb62d23accacdd to your computer and use it in GitHub Desktop.
Save dogbert17/a8d8a4a9596dd236dfcb62d23accacdd to your computer and use it in GitHub Desktop.
Failed build
pi@raspberrypi:~/repos/rakudo $ git pull
remote: Enumerating objects: 160, done.
remote: Counting objects: 100% (160/160), done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 174 (delta 107), reused 122 (delta 82), pack-reused 14
Receiving objects: 100% (174/174), 164.41 KiB | 350.00 KiB/s, done.
Resolving deltas: 100% (107/107), completed with 27 local objects.
From https://github.com/rakudo/rakudo
fc3094191..4181ca613 master -> origin/master
8f43623c5..42c784b64 add-type-to-positional-in-usage -> origin/add-type-to-positional-in-usage
3ac6cca3d..d4bc6783f release-2019.11 -> origin/release-2019.11
Fetching submodule 3rdparty/nqp-configure
From https://github.com/perl6/nqp-configure
1cd8bdc..ff0bad1 master -> origin/master
Updating fc3094191..4181ca613
Fast-forward
3rdparty/nqp-configure | 2 +-
Configure.pl | 7 ++++++-
src/Perl6/Grammar.nqp | 9 +++++++--
src/Perl6/Metamodel/Naming.nqp | 45 +++++++++++++++++++++++++--------------------
t/02-rakudo/13-exceptions.t | 11 ++++++++++-
t/harness6 | 2 +-
tools/lib/NQP/Config/Rakudo.pm | 52 ++++++++++++++++++++++++++++++++++++----------------
tools/templates/NQP_REVISION | 2 +-
8 files changed, 87 insertions(+), 43 deletions(-)
Submodule path '3rdparty/nqp-configure': checked out 'ff0bad14dec25520fb09504f4474011b117363cc'
pi@raspberrypi:~/repos/rakudo $ perl Configure.pl --gen-moar --gen-nqp --backends=moar
===ATTENTION===
No --prefix supplied, building and installing to /home/pi/repos/rakudo/install
===WARNING===
/home/pi/repos/rakudo/install/bin/nqp-m version 2019.07.1-164-g58996e370 is outdated, 2019.07.1-167-gba6378efd expected.
remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 23 (delta 12), reused 22 (delta 12), pack-reused 0
Unpacking objects: 100% (23/23), done.
From https://github.com/perl6/nqp
58996e370..ba6378efd master -> origin/master
Fetching submodule 3rdparty/nqp-configure
From https://github.com/perl6/nqp-configure
1cd8bdc..ff0bad1 master -> origin/master
Fetching submodule 3rdparty/nqp-configure
Building NQP ...
/usr/bin/perl Configure.pl --prefix=/home/pi/repos/rakudo/install --make-install --git-protocol=https --no-relocatable --no-ignore-errors --silent-build --no-force-rebuild --backends=moar --gen-moar
Found /home/pi/repos/rakudo/install/bin/moar version 2019.07.1-321-g97615be0a, which is new enough.
Cleaning up ...
+++ Preparing MOAR build directories
++++++ BUILDING MOAR BACKEND
++++++ STAGE1 ++++++
+++ Generating gen/moar/stage1/nqpmo.nqp
+++ Compiling gen/moar/stage1/nqpmo.moarvm
+++ Compiling gen/moar/stage1/ModuleLoader.moarvm
+++ Generating gen/moar/stage1/NQPCORE.setting
+++ Compiling gen/moar/stage1/NQPCORE.setting.moarvm
+++ Generating gen/moar/stage1/QASTNode.nqp
+++ Compiling gen/moar/stage1/QASTNode.moarvm
+++ Generating gen/moar/stage1/QRegex.nqp
+++ Compiling gen/moar/stage1/QRegex.moarvm
+++ Generating gen/moar/stage1/NQPHLL.nqp
+++ Generating gen/moar/stage1/MASTNodes.nqp
+++ Compiling gen/moar/stage1/MASTOps.moarvm
+++ Compiling gen/moar/stage1/MASTNodes.moarvm
+++ Compiling gen/moar/stage1/NQPHLL.moarvm
+++ Generating gen/moar/stage1/QAST.nqp
+++ Compiling gen/moar/stage1/QAST.moarvm
+++ Generating gen/moar/stage1/NQPP6QRegex.nqp
+++ Compiling gen/moar/stage1/NQPP6QRegex.moarvm
+++ Creating stage 1 NQP
++++++ STAGE2 ++++++
+++ Generating gen/moar/stage2/nqpmo.nqp
+++ Compiling gen/moar/stage2/nqpmo.moarvm
+++ Compiling gen/moar/stage2/ModuleLoader.moarvm
+++ Generating gen/moar/stage2/NQPCORE.setting
+++ Compiling gen/moar/stage2/NQPCORE.setting.moarvm
+++ Generating gen/moar/stage2/QASTNode.nqp
+++ Compiling gen/moar/stage2/QASTNode.moarvm
+++ Generating gen/moar/stage2/QRegex.nqp
+++ Compiling gen/moar/stage2/QRegex.moarvm
+++ Generating gen/moar/stage2/NQPHLL.nqp
+++ Generating gen/moar/stage2/MASTNodes.nqp
+++ Compiling gen/moar/stage2/MASTOps.moarvm
+++ Compiling gen/moar/stage2/MASTNodes.moarvm
+++ Compiling gen/moar/stage2/NQPHLL.moarvm
+++ Generating gen/moar/stage2/QAST.nqp
+++ Compiling gen/moar/stage2/QAST.moarvm
+++ Generating gen/moar/stage2/NQPP6QRegex.nqp
+++ Compiling gen/moar/stage2/NQPP6QRegex.moarvm
+++ Creating stage 2 NQP
+++ Installing MOAR stage 2 files locally
+++ Setting up nqp-m
Option force-rebuild does not take an argument
Configure.pl - NQP Configure
General Options:
--help Show this text
--prefix=dir Install files in dir
--sdkroot=dir When given, use for searching build tools here, e.g.
nqp, java etc.
--sysroot=dir When given, use for searching runtime components here
--nqp-home=dir Directory to install NQP files to
--backends=list Backends to use: moar,jvm,js
--gen-moar Download, build, and install a copy of MoarVM to use before writing the Makefile
--force-rebuild Forces rebuild of moar if used with --gen-moar
--moar-option='--option=value'
Options to pass to MoarVM configuration for --gen-moar
--with-moar='/path/to/moar'
Provide path to already installed moar binary
--with-asm='/path/to/jar'
--with-asm-tree='/path/to/jar'
--with-jline='/path/to/jar'
--with-jna='/path/to/jar'
Provide paths to already installed jars
--github-user=<user>
Fetch all repositories (rakudo, nqp, roast, MoarVM) from
this github user. Note that the user must have all
required repos forked from the originals.
--nqp-repo=<url>
--moar-repo=<url>
User-defined URL to fetch corresponding components
from. The URL will also be used to setup git push.
--git-protocol={ssh,https,git}
Protocol to use for git clone. Default: https
--make-install Immediately run `MAKE install` after configuring
--git-depth=<number>
Use the --git-depth option for git clone with parameter number
--git-reference=<path>
Use --git-reference option to identify local path where git repositories are stored
For example: --git-reference=/home/user/repo/for_perl6
Folders 'nqp', 'MoarVM' with corresponding git repos should be in for_perl6 folder
--ignore-errors
Can ignore errors such as what version MoarVM or the JVM is. May not work for other
errors currently.
--expand=<template>
Expand template file. With this option Makefile is not
generated. The result is send to stdout unless --out
specified.
--out=<file> Filename to send output of --expand into.
--set-var="config_variable=value"
Sets a config_variable to "value". Can be used multiple
times.
--no-silent-build Don't echo commands in Makefile target receipt.
Please note that the --gen-moar option is there for convenience only and will
actually immediately - at Configure time - compile and install moar. Moar will
live under the path given to --prefix, unless other targeting options are used.
Configure.pl also reads options from 'config.default' in the current directory.
make: *** [Makefile:632: nqp-m] Error 1
Command failed (status 512): make
at /home/pi/repos/rakudo/nqp/3rdparty/nqp-configure/lib/NQP/Config.pm line 35.
NQP::Config::__ANON__("Command failed (status 512): make\x{a}") called at /home/pi/repos/rakudo/nqp/3rdparty/nqp-configure/lib/NQP/Config.pm line 1426
NQP::Config::system_or_die("make") called at Configure.pl line 124
Command failed (status 512): /usr/bin/perl Configure.pl --prefix=/home/pi/repos/rakudo/install --make-install --git-protocol=https --no-relocatable --no-ignore-errors --silent-build --no-force-rebuild --backends=moar --gen-moar
at /home/pi/repos/rakudo/3rdparty/nqp-configure/lib/NQP/Config.pm line 34.
NQP::Config::__ANON__("Command failed (status 512): /usr/bin/perl Configure.pl --pre"...) called at /home/pi/repos/rakudo/3rdparty/nqp-configure/lib/NQP/Config.pm line 1462
NQP::Config::system_or_die("/usr/bin/perl", "Configure.pl", "--prefix=/home/pi/repos/rakudo/install", "--make-install", "--git-protocol=https", "--no-relocatable", "--no-ignore-errors", "--silent-build", ...) called at /home/pi/repos/rakudo/tools/lib/NQP/Config/Rakudo.pm line 695
NQP::Config::Rakudo::gen_nqp(NQP::Config::Rakudo=HASH(0xae32b0)) called at Configure.pl line 115
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment