2011/2/18 Andy Dougherty <[email protected]>

> On Fri, 18 Feb 2011, Fran?ois Perrad wrote:
>
> > 2011/2/18 Andy Dougherty <[email protected]>
>
> > Lua's build fails almost immediately with
> >
> >    cp t/lua-TestMore/src/Test/More.lua lua/library/Test/More.lua
> >    Can't open 't/lua-TestMore/src/Test/More.lua' (No such file or
> > directory)
>
> > In Lua directory, run :
> >   $ git submodule init
> >   $ git submodule update
>
> I don't have git available on the system in question; I was just running
> from the .tar.gz generated by the 'Download' link on github.  (Git won't
> build there without excessive work.  Don't even get me started on the fun
> of porting git.  I'll just note that my last patches to fix it were
> rejected, so I've given up trying.)
>
> So I went to another machine, ran
>
>    git clone http://github.com/fperrad/lua.git
>    cd lua
>     git submodule init
>    git submodule update
>
> exported the directory back to the SPARC system, ran
>
>    parrot setup.pir build
>
> and immediately got
>
>
Could you try the small attached patch.

I think that the opcode 'spawnw' has some bug on your platform.

François


> perl build/translator.pl --output lua/lib/luabytecode_gen.pir
> lua/lib/luabytecode.rules
> exit status: 65280
> command: perl build/translator.pl --output lua/lib/luabytecode_gen.pir
> lua/lib/luabytecode.rules
>
> current instr.: 'setup' pc 885 (runtime/parrot/library/distutils.pir:390)
>
> thrown from:
> called from Sub 'system' pc 57 (runtime/parrot/library/osutils.pir:42)
> called from Sub 'prebuild' pc 493 (setup.pir:185)
> called from Sub 'run_step' pc 939
> (runtime/parrot/library/distutils.pir:418)
> current instr.: 'setup' pc 885 (runtime/parrot/library/distutils.pir:390)
>
>
> I don't know why it's giving that output.  Running the command
> manually,
>
> perl build/translator.pl --output lua/lib/luabytecode_gen.pir
> lua/lib/luabytecode.rules
>
> works fine, but running setup.pir again just bombs out on the next
> command.  Repeating the process of manually running the failing
> command eventually gets me to the following output:
>
> perl /home/doughera/my/parrot/lib/3.1.0-devel/tools/build/pmc2c.pl --dump
> --include /home/doughera/my/parrot/src/3.1.0-devel --include
> /home/doughera/my/parrot/src/3.1.0-devel/pmc --include dynext/pmc
> dynext/pmc/lua.pmc
> exit status: 65280
> command: perl /home/doughera/my/parrot/lib/3.1.0-devel/tools/build/
> pmc2c.pl --dump --include /home/doughera/my/parrot/src/3.1.0-devel
> --include /home/doughera/my/parrot/src/3.1.0-devel/pmc --include dynext/pmc
> dynext/pmc/lua.pmc
>
> current instr.: 'setup' pc 885 (runtime/parrot/library/distutils.pir:390)
>
> thrown from:
> called from Sub 'system' pc 57 (runtime/parrot/library/osutils.pir:42)
> called from Sub '__build_dynpmc' pc 3637
> (runtime/parrot/library/distutils.pir:1349)
> called from Sub 'build_dynpmc' pc 3396
> (runtime/parrot/library/distutils.pir:1298)
> called from Sub '_build_dynpmc' pc 3212
> (runtime/parrot/library/distutils.pir:1246)
> called from Sub 'run_step' pc 939
> (runtime/parrot/library/distutils.pir:418)
> current instr.: 'setup' pc 885 (runtime/parrot/library/distutils.pir:390)
>
> And no matter how many times I manually run (successfully!) the perl
> command, the setup.pir script insists on trying it again, which, of
> course, fails.  So here I'm stuck again.
>
> At this point, I'm afraid I don't have any time to pursue this
> further.
>
> Anyway, thanks for the help, but I'm afraid this is as far as I can go
> for now.
>
> --
>     Andy Dougherty              [email protected]
>

Attachment: osutils.patch
Description: Binary data

_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to