Unable to build Rakudo - make fails on perl6-grammar.pir with 'Killed'

--=__PartD7FA7021.0__=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi
=20
I've been trying to build Rakudo from source using Ubuntu Server 10.10. Con=
figure.pl ran successfully but running make always ends with the following =
error:
make: *** [src/gen/perl6-grammar.pir] Killed
=20
Am I doing something wrong or am I just missing some library or other? I've=
 googled this and it seems a few other people have the same thing (mostly f=
rom output pasted in pastebin) but I can't find anyone whose posted a solut=
ion to the problem.
=20
It built Parrot itself when using configure.pl so I assume I have a version=
 compatible with the source tar I'm using? Unfortunately I couldn't do a gi=
t checkout as our firewall is blocking github but I'm using the October 201=
0 tar.
=20
Full output from make is available on pastebin: http://pastebin.com/9LDiVs0=
q=20
=20
Thanks,
Ian Kent


This message and any attachments are intended for the persons named as addr=
essees only and may contain confidential information. In addition they may =
be protected by copyright.=20

If you receive it in error, notify us, delete it and do not make use of or =
copy it. You must not copy, disseminate or otherwise distribute or publish =
this message, except for the purposes for which this message is intended, w=
ithout our consent.=20

Please note that this e-mail has been created in the knowledge that Interne=
t e-mail is not a 100% secure communications medium. We advise that you und=
erstand and accept this lack of security when e-mailing us.

For company information, guidance and how to file documents online,
please see our website www.companieshouse.gov.uk.

This message has been scanned for viruses by Hosted Security, a service fro=
m Websense.


--=__PartD7FA7021.0__=--
0
ikent
11/19/2010 8:24:17 AM
perl.perl6.compiler 1238 articles. 0 followers. Follow

3 Replies
310 Views

Similar Articles

[PageSpeed] 14

Hi,

thanks for your report

Am 19.11.2010 09:24, schrieb Ian Kent:
> I've been trying to build Rakudo from source using Ubuntu Server 10.10. Configure.pl ran successfully but running make always ends with the following error:
> make: *** [src/gen/perl6-grammar.pir] Killed
>
> Am I doing something wrong or am I just missing some library or other?

I'd guess that you ran into some sort of resource limit: either the 
memory was exhausted, or there's a CPU time limit or something.

Could you please check that? let a program like top or htop running 
while you're compiling, and see if the current process uses up all 
memory. Also check the output of 'ulimit -a' (or post it here if you 
don't know how to read it.

Cheers,
Moritz
0
moritz
11/19/2010 8:45:26 AM
--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 19, 2010 at 09:45:26AM +0100, Moritz Lenz wrote:
> Hi,
>=20
> thanks for your report
>=20
> Am 19.11.2010 09:24, schrieb Ian Kent:
> >I've been trying to build Rakudo from source using Ubuntu Server 10.10. =
Configure.pl ran successfully but running make always ends with the followi=
ng error:
> >make: *** [src/gen/perl6-grammar.pir] Killed
> >
> >Am I doing something wrong or am I just missing some library or other?
>=20
> I'd guess that you ran into some sort of resource limit: either the
> memory was exhausted, or there's a CPU time limit or something.
>=20
> Could you please check that? let a program like top or htop running
> while you're compiling, and see if the current process uses up all
> memory. Also check the output of 'ulimit -a' (or post it here if you
> don't know how to read it.

It's definitely memory exhaustion.  Linux sends SIGKILL to processes when
memory is exhausted; there are detailed diagnostics in the kernel message l=
og,
displayed by the 'dmesg' command.

Building Rakudo requires quite a bit of memory (it varies quite a bit
=66rom release to release, I've seen a range of 400MB to 2000MB).

Actually the most memory-intensive stage is src/gen/core.pir.  Failure duri=
ng
grammar.pir indicates that you are *well* below the minimum requirement.  A=
re
you trying to build this on a 128MB VM slice or something?

-sorear

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkzmPEAACgkQFBz7OZ2P+dKj0ACfbeFXK7hQDyeEEziv2aJxMz1g
3+kAn3JSxX7uaeC7KikNY518cyWch2eP
=MqHe
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--
0
stefanor
11/19/2010 8:58:41 AM
--=__Part7954DE85.2__=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi both
=20
Thanks for your quick replies.
=20
"Are you trying to build this on a 128MB VM slice or something?"
- You hit the nail on the head - you even got the memory allocation spot on=
! Had been using a VM I built to run the w3c validator and completely forgo=
tten I'd dropped the memory down to minimum. Just upped the memory to 1gb a=
nd started make again and it zoomed straight through grammar and is now bui=
lding core.
Always something so simple!
=20
Thanks once again,
Ian
=20

>>> On 19/11/2010 at 08:58, in message <20101119085840.GA17953@localhost.lo=
caldomain>, "Stefan O'Rear" <stefanor@cox.net> wrote:
On Fri, Nov 19, 2010 at 09:45:26AM +0100, Moritz Lenz wrote:
> Hi,
>=20
> thanks for your report
>=20
> Am 19.11.2010 09:24, schrieb Ian Kent:
> >I've been trying to build Rakudo from source using Ubuntu Server 10.10. =
Configure.pl ran successfully but running make always ends with the followi=
ng error:
> >make: *** [src/gen/perl6-grammar.pir] Killed
> >
> >Am I doing something wrong or am I just missing some library or other?
>=20
> I'd guess that you ran into some sort of resource limit: either the
> memory was exhausted, or there's a CPU time limit or something.
>=20
> Could you please check that? let a program like top or htop running
> while you're compiling, and see if the current process uses up all
> memory. Also check the output of 'ulimit -a' (or post it here if you
> don't know how to read it.

It's definitely memory exhaustion.  Linux sends SIGKILL to processes when
memory is exhausted; there are detailed diagnostics in the kernel message l=
og,
displayed by the 'dmesg' command.

Building Rakudo requires quite a bit of memory (it varies quite a bit
from release to release, I've seen a range of 400MB to 2000MB).

Actually the most memory-intensive stage is src/gen/core.pir.  Failure duri=
ng
grammar.pir indicates that you are *well* below the minimum requirement.  A=
re
you trying to build this on a 128MB VM slice or something?

-sorear


This message and any attachments are intended for the persons named as addr=
essees only and may contain confidential information. In addition they may =
be protected by copyright.=20

If you receive it in error, notify us, delete it and do not make use of or =
copy it. You must not copy, disseminate or otherwise distribute or publish =
this message, except for the purposes for which this message is intended, w=
ithout our consent.=20

Please note that this e-mail has been created in the knowledge that Interne=
t e-mail is not a 100% secure communications medium. We advise that you und=
erstand and accept this lack of security when e-mailing us.

For company information, guidance and how to file documents online,
please see our website www.companieshouse.gov.uk.

This message has been scanned for viruses by Hosted Security, a service fro=
m Websense.


--=__Part7954DE85.2__=--
0
ikent
11/19/2010 9:08:37 AM
Reply:

Similar Artilces:

''''''''''''''''''''
Name: haznen Email: haznenatyahoodotcom Product: Gran Paradiso Alpha 8 Summary: '''''''''''''''''''' Comments: '''''''''''''''''''''''''''''''''''' Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061204 UGES/1.7.2.0 GranParadiso/3.0a1 From URL: http://www.mozilla.org/projects/granparadiso/ Note to readers: Hendrix gives...

'Unable to validate data', 'Authentication of viewstate failed', 'Invalid_Viewstate'
I' trying to run my web application locally. These are the erros I get on the first postback. However, the initial load works ok. The same web application works fine on a remote server. Iv'e downloaded the .NET1.1 SP1, as it fixes some problems similiar to mine. However the installation has encountered an error, and asked me to debug it. (Funny) So I cancled it, but regretfuly XP update treats it like it's installed. Not sure it is, not sure it isn't, not sure if it'll even help.. Here's the stack trace: [HttpException (0x80004005): Unable to validate data.] System.W...

'Unable to validate data', 'Authentication of viewstate failed', 'Invalid_Viewstate' #2
I' trying to run my web application locally. These are the erros I get on the first postback. However, the initial load works ok. The same web application works fine on a remote server. Iv'e downloaded the .NET1.1 SP1, as it fixes some problems similiar to mine. However the installation has encountered an error, and asked me to debug it. (Funny) So I cancled it, but regretfuly XP update treats it like it's installed. Not sure it is, not sure it isn't, not sure if it'll even help.. Here's the stack trace: [HttpException (0x80004005): Unable to validate data.] System.W...

'''''
Name: mario Email: ramar17atfastwebnetdotit Product: Gran Paradiso Alpha 2 Summary: ''''' Comments: K: Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2) Gecko/20070206 GranParadiso/3.0a2 ...

Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Compilation.BuildResultCompiledGlobalAsaxType'
I always get the below exception if I make a configuration change to the web.config file then request a page without re-building the project. Exception: Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Compilation.BuildResultCompiledGlobalAsaxType'. Stack Trace: [InvalidCastException]: Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Compilation.BuildResultCompiledGlobalAsaxType'.   at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrec...

[perl6/specs] fac7a1: can't mix 'my Dog $x' with 'my $x of Dog'
----==_mimepart_521397ad3ea1b_457f66fd50681b7 Date: Tue, 20 Aug 2013 09:22:05 -0700 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-ID: <521397ad3f5fc_457f66fd50682f0@hookshot-fe4-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: fac7a1ae9b6407749ef236d4f9510ef5d6ab8163 https://github.com/perl6/specs/commit/fac7a1ae9b6407749ef236d4f9510ef5d6ab8163 Author: Larry Wall <larry@wall.org> Date: 2013-08-20 (Tue, 20 Aug 2013) Changed paths: M S02-...

[perl6/specs] 221ef4: Don't use 'uniq', use 'unique' instead
----==_mimepart_544d16a05dcdf_6d4c3fa4b3d272a0340d4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 221ef4b034019de158b293391bb3df670ab81c6b https://github.com/perl6/specs/commit/221ef4b034019de158b293391bb3df670ab81c6b Author: Elizabeth Mattijsen <liz@dijkmat.nl> Date: 2014-10-26 (Sun, 26 Oct 2014) Changed paths: M S04-control.pod M S17-concurrency.pod M S32-setting-library/Containers.pod Log Message: ----------- Don't use '...

[perl6/specs] 50885e: beyond 'hyper' we now have 'race'
----==_mimepart_4f4e64eeacd24_1ba63fa22f108af419666b Date: Wed, 29 Feb 2012 09:48:30 -0800 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-ID: <4f4e64eeadc1b_1ba63fa22f108af41967b8@sh1.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 50885ef9b2798ac73f9f0001bb5892a336ce7200 https://github.com/perl6/specs/commit/50885ef9b2798ac73f9f0001bb5892a336ce7200 Author: Larry Wall <larry@wall.org> Date: 2012-02-29 (Wed, 29 Feb 2012) Changed paths: M S02-bits...

[perl6/specs] ab289f: [S02] Remove '$$' and '@$$' fossils, spotted at #...
----==_mimepart_543b9dbb5021d_3a9d3f902f8392b85123 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: ab289f425229f89d9ae3499ef02f3e408ef03777 https://github.com/perl6/specs/commit/ab289f425229f89d9ae3499ef02f3e408ef03777 Author: pmichaud <pmichaud@pobox.com> Date: 2014-10-13 (Mon, 13 Oct 2014) Changed paths: M S02-bits.pod Log Message: ----------- [S02] Remove '$$' and '@$$' fossils, spotted at #apw2014. ----==_mimepart_...

[perl6/specs] 70c1b2: [spurt]: s/':new'/':createonly'/ as suggested by...
----==_mimepart_4ff70bdb3c465_7bf41af1ae489746 Date: Fri, 06 Jul 2012 09:01:31 -0700 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-ID: <4ff70bdb3d5a7_7bf41af1ae489821@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 70c1b249af96815a909229a2addd880ee8937134 https://github.com/perl6/specs/commit/70c1b249af96815a909229a2addd880ee8937134 Author: pmichaud <pmichaud@pobox.com> Date: 2012-07-06 (Fri, 06 Jul 2012) Changed paths: M S32-setting-librar...

What's the difference between 'Build' and 'Publish'
Greetings....this subject might belong in one of the Visual Studio forums but it's so danged noob-sque.... I'm particularly confused by the 'Precompiled' term in the Publish operation. I'm interested in the path of least resistance between my VS project and my public IIS webserver. thx--steve...  Build means creating the assembly of the project ( .dll or .exe file) wich contains MSIL and a manifest file. When you publish your project u just produce the structure of your folder without producing a .dll file when you want to deploy your Web Project. ...

'do' won't 'do' if '/'
Greetings to All from Au, Have a NetWare Perl 5.8.4 and wanted to tweak File\Spec\NW.pm to try and standardise on '/' separators. If I run a test script (t/uni/lower.t) with an unmodified NW.pm, it calls t/uni/case.pl, that, in case.pl, (when the path separators are '\'), the $file is '..\lib\unicore\To\Lower.pl' and the following code portion works, with $simple getting a returned table: sub casetest { my ($base, $spec, $func) = @_; my $file = File::Spec->catfile(File::Spec->catdir(File::Spec->updir, "lib", &qu...

'()' escaped to '\(\)' is breaking my build
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#cccccc" text="#663366"> <font face="Times New Roman, Times, serif">Hi,<br> <br> This is my Makefile.PL:<br> <br> </font> <blockquote type="cite"><tt>use 5.010001;<br> use ExtUtils::MakeMaker;<br> # See lib/ExtUtils/MakeMaker.pm for details of how to influence<br> # the contents of the Makefile that is written.<br> WriteMakefile(&l...

The difference between 'Build' and 'Rebuild'
In Visual Studio, whats the difference between choosing to 'Build Solution' as opposed to 'Rebuild Solution'? I don't know VS.NET details but typically 'Build' will only build any 'parts' where the source code has changed. i.e. if you click build immedietly after a build it should do nothing. Rebuild should cause all source files to be recompiled regardless of source code changes. This can come in handy when changes in on project may effect another project that didn't have to be updated.Mike Schellenberger - MCAD...

'''
Name: L Lachowsky Email: e2brutus_10atyahoodotcom Product: Firefox Summary: ''' Comments: why duddn this surprise me... I change default server from IE to Mozilla, and then i get error messages. well, shud I decide to not get on my computer with Mozilla..or shud I risk security breeches with IE....hmmm at least i can get on the internet with IE Browser Details: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this fee...

Web resources about - Unable to build Rakudo - make fails on perl6-grammar.pir with 'Killed' - perl.perl6.compiler

Resources last updated: 12/1/2015 2:44:12 AM