Navigation Menu

Skip to content
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

rakudo cannot be executed outside rakudo's build directory #858

Closed
p6rt opened this issue Apr 4, 2009 · 4 comments
Closed

rakudo cannot be executed outside rakudo's build directory #858

p6rt opened this issue Apr 4, 2009 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Apr 4, 2009

Migrated from rt.perl.org#64448 (status was 'resolved')

Searchable as RT64448$

@p6rt
Copy link
Author

p6rt commented Apr 4, 2009

From jswitzer@gmail.com

When moving outside of the rakudo git directory, the execution of the
fakexecutable and the PBC both fail. The following is transcript
demonstrating the issue​:

s1n@​citadel dotfiles $ ../rakudo/parrot/parrot ../rakudo/perl6.pbc -e 'use
v6'
No such file or directory
current instr.​: 'parrot;PCT;HLLCompiler;evalpmc' pc 888
(src/PCT/HLLCompiler.pir​:494)
called from Sub 'parrot;PCT;HLLCompiler;compile' pc 428
(src/PCT/HLLCompiler.pir​:301)
called from Sub 'parrot;PCT;HLLCompiler;eval' pc 920
(src/PCT/HLLCompiler.pir​:519)
called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1510
(src/PCT/HLLCompiler.pir​:798)
called from Sub 'parrot;Perl6;Compiler;main' pc 21742 (perl6.pir​:165)
s1n@​citadel dotfiles $ cd ../rakudo/
s1n@​citadel rakudo $ ./parrot/parrot ./perl6.pbc -e 'use v6'
s1n@​citadel rakudo $

According to pmichaud​:

(00​:10​:51) pmichaud​: oh, looks like a bug jnthn introduced.
(00​:11​:08) pmichaud​: I suspect I'll have to let him repair it.
(00​:12​:27) pmichaud​: The code being generated by actions.pm is now adding a
line like​: .include "src/pr_macros.pir"
(00​:12​:41) pmichaud​: which obviously won't work from outside of rakudo's
root.

Here's the commit that this correlates to​:

http://github.com/rakudo/rakudo/commit/083280926d746891697a2727bb936539976e2ee0

This is the version the error first became apparent​:

s1n@​citadel rakudo $ git log | head -1
commit fb2752d2baee1442c53e2c3bc2dff1ebe954cb3e

-Jason "s1n" Switzer

@p6rt
Copy link
Author

p6rt commented Apr 4, 2009

From @jnthn

jason switzer (via RT) wrote​:

According to pmichaud​:

(00​:10​:51) pmichaud​: oh, looks like a bug jnthn introduced.
(00​:11​:08) pmichaud​: I suspect I'll have to let him repair it.
(00​:12​:27) pmichaud​: The code being generated by actions.pm is now adding a
line like​: .include "src/pr_macros.pir"
(00​:12​:41) pmichaud​: which obviously won't work from outside of rakudo's
root.

Ah, yes, sorry. Worked around this now, though open to better solutions.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Apr 4, 2009

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt closed this as completed Apr 4, 2009
@p6rt
Copy link
Author

p6rt commented Apr 4, 2009

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant