[ragel-users] Packaging ragel for Fedora Extras

Gilles J. Seguin s... at infonet.ca
Thu Mar 29 06:08:25 UTC 2007


On Fri, 2007-03-23 at 18:26 -0600, Jeremy Hinegardner wrote:
> Hi all,
> 
> I'm packaging up ragel for inclusion in Fedora Extras

thanks a lot

> and I came across a parallel make dependency bug.  It seems
> the dependency graph as it
> currently stands can start building some of the command line
> applications before the common and redfsm libraries are complete. The
> attached patch should fix it.  

interesting, problem was not showing up here, from log

+ make -j2
make[1]: Entering directory `/h1/rpmbuild/BUILD/ragel-5.19/ragel'
make[1]: Entering directory `/h1/rpmbuild/BUILD/ragel-5.19/common'
ar -cr common.a common.o 
make[1]: Leaving directory `/h1/rpmbuild/BUILD/ragel-5.19/common'
make[1]: Entering directory `/h1/rpmbuild/BUILD/ragel-5.19/redfsm'
ar -cr redfsm.a redfsm.o gendata.o xmltags.o xmlscan.o xmlparse.o 
make[1]: Leaving directory `/h1/rpmbuild/BUILD/ragel-5.19/redfsm'
make[1]: Entering directory `/h1/rpmbuild/BUILD/ragel-5.19/rlgen-cd'
g++  -o ragel main.o parsetree.o parsedata.o fsmstate.o fsmbase.o
fsmattach.o fsmmin.o fsmgraph.o fsmap.o xmlcodegen.o rlscan.o
rlparse.o ../common/common.a
make[1]: Leaving directory `/h1/rpmbuild/BUILD/ragel-5.19/ragel'
make[1]: Entering directory `/h1/rpmbuild/BUILD/ragel-5.19/rlgen-java'
make[1]: Leaving directory `/h1/rpmbuild/BUILD/ragel-5.19/rlgen-java'
make[1]: Entering directory `/h1/rpmbuild/BUILD/ragel-5.19/rlgen-ruby'
g++  -o rlgen-ruby main.o
rubycodegen.o ../common/common.a ../redfsm/redfsm.a 
make[1]: Leaving directory `/h1/rpmbuild/BUILD/ragel-5.19/rlgen-ruby'
make[1]: Entering directory `/h1/rpmbuild/BUILD/ragel-5.19/rlgen-dot'
g++  -o rlgen-dot main.o
gvdotgen.o ../common/common.a ../redfsm/redfsm.a
make[1]: Leaving directory `/h1/rpmbuild/BUILD/ragel-5.19/rlgen-dot'
g++  -o rlgen-cd main.o fsmcodegen.o tabcodegen.o ftabcodegen.o
flatcodegen.o fflatcodegen.o gotocodegen.o fgotocodegen.o
ipgotocodegen.o splitcodegen.o ../common/common.a ../redfsm/redfsm.a
make[1]: Leaving directory `/h1/rpmbuild/BUILD/ragel-5.19/rlgen-cd'

> I've also made a patch for the ragel(1) man page. It was referencing
> rlcodegen(1) which doesn't appear to exist anymore, and didn't mention
> ragel created ruby code.  It is also attached.
> 
> I personally haven't used ragel for any of my projects, just seen it via
> other projects and noticed it hadn't been built for Fedora yet, so i
> thought I would do that.

a spec file was on previous release, should have release my spec earlier
but my spec file was not able to produce the debuginfo rpm package
though everything else was working fine
i got
+ /usr/lib/rpm/find-debuginfo.sh /h1/rpmbuild/BUILD/ragel-5.19
finish stripping
0 blocks

that last line means that the cpio utility has empty source from the
stripping.
And more crazy if i run the script manually, it work !!

i will try your source rpm and will comment




More information about the ragel-users mailing list