Share

Rockit

Tracker: Bugs

5 Bootstrapping 0.3.8 fails - ID: 518252
Last Update: Comment added ( hwyss )

While trying to run install.rb under both ruby 1.6.6
and ruby 1.7.2 (CVS), the bootstrap fails with a parse
error:

galendril pts/3 [~/hatch/ruby-modules/rockit-0-3-8]
215/715 {0}$ ruby install.rb
Bootstrapping! This will take some time. Please be patient.
/usr/lib/ruby/site_ruby/resultcache.rb:5: warning:
already initialized constant BoundedLruCache
Boostrapping by generating parser from handcoded grammar
Normalizing grammar (0.11 s 100.00%)
Calculating states (0.04 s 40.20%)
Calculating lalr1_lookaheads (0.08 s 100.00%)
(0.25 s 100.00%)
Parsing rockit-grammar.grammar./glr_parser.rb:106:in
`handle_parse_error': No valid token found on stacks:
(ParseException)
stack 0: on line:
' ' Grammar for rockit grammars, version 0.5.1
^
|
--- Parse error!!
in state 0
the lexer returns tokens = [LT("Grammar", SymbolName),
LT("Grammar", StrToken133007101), LT("Grammar",
RegexpToken538185420)] (["#<Token:0x403b6588>",
"538793604 Grammar \"StrToken133007101\" 370999650",
"#<RegexpToken:0x403aab58>"])
and the valid tokens = []

from ./glr_parser.rb:78:in `parse'
from ./rockit.rb:45:in
`generate_parser_from_file_to_file'
from ./rockit.rb:44:in `call'
from ./base_extensions.rb:62:in `time_and_puts'
from ./rockit.rb:44:in
`generate_parser_from_file_to_file'
from bootstrap.rb:117
chmod 0755 /usr/lib/ruby/site_ruby/rockit
Installing library files
Installing executable


Michael Granger ( perlmage ) - 2002-02-16 00:34

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 2 )




Date: 2002-12-02 18:42
Sender: hwyss

Logged In: YES
user_id=248748

See Patch [ 647081 ] Fix Bootstrap for ruby 1.7.x

http://sourceforge.net/tracker/index.php?func=detail&aid=647081&group_id=26555&atid=387889


Date: 2002-02-16 00:40
Sender: perlmage

Logged In: YES
user_id=18220

Just a follow-up. I just checked out the latest from CVS,
and it installed with no errors. The tests fail, however. =:)


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.