Projects

Ticket #171 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

[trunk/#762] build fails in ripper extension

Reported by: roberto@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.5
Component: MacRuby Keywords: bison, ripper
Cc:

Description

Trunk at both #760 and #762 fails the same way inside the ripper extension:

I have bison 2.4 from macports, running on 10.5.5.

compiling ripper bison -t -v -oy.tab.c ripper.y ripper.y:2920.25-26: $$ for the midrule at $6 of `primary' has no declared type make: *** [ripper.c] Error 1 rake aborted! Command failed with status (1): -I./lib -I.ext/common -I./- -r.... /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:971:in `sh' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:984:in `call' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:984:in `sh' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1072:in `sh' /Users/roberto/Build/SVN/MacRuby/rakefile:549 /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in `invoke_with_call_chain' /opt/local/lib/ruby/1.8/monitor.rb:242:in `synchronize' [...]

Change History

Changed 3 years ago by roberto@…

Sorry, formatting is messed up...

compiling ripper
bison -t -v -oy.tab.c ripper.y
ripper.y:2920.25-26: $$ for the midrule at $6 of `primary' has no declared type
make: *** [ripper.c] Error 1
rake aborted!
Command failed with status (1): [./miniruby -I./lib -I.ext/common -I./- -r....]
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:971:in `sh'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:984:in `call'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:984:in `sh'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1072:in `sh'
/Users/roberto/Build/SVN/MacRuby/rakefile:549
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call'

Changed 3 years ago by chris@…

I got this too, there are two workrounds, either deactivate the bison port, or manually edit the ripper makefile to use /usr/bin/bison.

Ideally the makefile should specify the bison it needs

Changed 2 years ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from MacRuby 0.4 to MacRuby 0.5

It's most likely no longer an issue. Closing.

Note: See TracTickets for help on using tickets.