New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nqp: cannot build with pre-installed moar #231
Comments
|
This seems to do: Though, I had to patch nqp to accept debian's version format diff --git a/tools/lib/NQP/Configure.pm b/tools/lib/NQP/Configure.pm
index 873a8cd..3fa8d09 100644
--- a/tools/lib/NQP/Configure.pm
+++ b/tools/lib/NQP/Configure.pm
@@ -56,9 +56,9 @@ sub system_or_die {
sub parse_revision {
my $rev = shift;
my $sep = qr/[_.]/;
- $rev =~ /(\d+)$sep(\d+)(?:$sep(\d+))?(?:-(\d+)-g[a-f0-9]*)?$/
+ $rev =~ /(\d+)$sep(\d+)(?:$sep(\d+))?(?:-(\d+)-g[a-f0-9]*)?(?:-(\d+))?$/
or die "Unrecognized revision specifier '$rev'\n";
- return ($1, $2, $3 || 0, $4 || 0);
+ return ($1, $2, $3 || 0, $4 || 0, $5 || 0);
}Will this be needed? Or will the version be what you've shown in your paste? |
|
@paultcochrane please hook in if needed. |
|
Ahh, and as mentioned in IRC the 2015.03's nqp still does create the $ /usr/bin/nqp-m -e 'say(42)'
42 |
|
If someone wants to try the MoarVM debian package, it lives here: git://git.debian.org/git/pkg-rakudo/pkg-moarvm.git I just had to: |
|
Using To get what Debian users will get, you should:
To clean up the source directory you can do To view the content of an installed package, do Hope this helps |
|
I'm surprised by the issue with With a moarvm package install with Debian package manager, I have a normal behavior: This should solve the package build issue. I'll try that later and keep you posted. Thanks for the help |
That command was what worked for me in order to build Debian packages
This was a rough first cut intended to develop the Debian control files to In the comment I made about
This works (for some definition of "work"), however isn't very easy to use. Thus I was wondering if an option could be added to the nqp configuration Sorry this ended up a bit long, however I wanted to have sufficient detail Cheers, Paul [1] whether or not this is the right place to develop the Debian control |
agreed. It shouldn't be necessary to patch nqp's version handling to get |
|
For the record, debian has a patch to avoid using git to get nqp version. This patch was not applied when FROGGS built the package, hence the weirdness... |
|
But to be clear: It looks like we can build/package nqp-maor now too without chaning moar at all, right? |
|
nqp builds fine now with a pre-installed moar: But I have one failure during tests: Is this fixable ? |
|
@FROGGS : yes, there's no need to change moar or nqp. Well, may be update |
Hello
On Debian/sid, the The command
perl Configure.pl --backends=moar --with-moar=/usr/bin/moarworks fine (well, it does not complain).But make fails with:
(02:07:41 PM) domidumont: make: /home/domi/debian-dev/perl6-stuff/nqp/install/bin/moar: Command not foundFull log:
Any clue ?
The text was updated successfully, but these errors were encountered: