Description of problem:
As we are requested to build packages against gcc43,
I tried to rebuild ruby-hpricot.
However rebuild of ruby-hpricot fails with ragel 0.6.
When I download ragel to 5.25-2.fc9 rebuild succeeds even
Jeremy, honestly saying I am not familiar with ragel.
Would you help me fixing hpricot (if something is wrong with
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try to rebuild ruby-hpricot
With ragel-5.25-2.fc9 rebuild is okay
ruby-hpricot should require ragel to build. The ragel generated .c and .java
file ships with hpricot. It looks like it is a bug in the rakefile that causes
ragel to get run for every compile, when it doesn't need to.
ragel has changed some of its command line options in 6.0 and the main 'ragel'
command now does both the front and the backend jobs. So there is no need to |
to rlgen-cd and such.
But it also looks like hpricot's .rl files are not good for ragel 6.0 in any
That makes 2 upstream bugs to file. One for the rakefile running ragel every
time( when building from .tgz), and another for the .rl files not working with
I have attached a Rakefile patch to the hpricot-0.6 distribution that should
allow you to remove ragel as a build dependency for hpricot. I'll send this
patch upstream (http://code.whytheluckystiff.net/hpricot/report) if you want to
also file a bug with them that says that hpricot doesn't build with ragel 6.0
Created attachment 294528 [details]
Patch to hpricot-0.6 rakefile so ragel is not run less .rl file is altered.
upstream for running ragel filed :
upstream for failure to work with ragel filed :
Jeremy, thank you for analyzing hpricot, writing a patch and
filing bugs on upstream!
Now with your patch hpricot successfully builds with ragel 6.0+.
I will keep track of upstream bugs. I want to keep this bug open
unless upstream reacts to the bugs you filed.
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Fixed in rubygem-hpricot-0.6.164-3.fc11, thank you.