Mailing List Archive

Ruby, Ragel, and Colm
Hi,

I just wanted to "emerge ruby" on a new Gentoo server which failed
at dev-util/ragel-7.0.4 with

make[3]: *** No rule to make target '/usr/lib64/libfsm.la', needed by 'ragel'. Stop.

(immediately before, dev-util/colm-0.14.7-r2 was installed successfully)

I already have found https://bugs.gentoo.org/766210 and https://bugs.gentoo.org/766051
both "resolved fixed" - but apparently not?!

With ">=dev-util/ragel-7.0.1" in package.mask, ragel 7.0.0.12 and colm 0.13.0.7 are
correctly installed. But I'm afraid that this won't be a solution forever...

Even more bizarre: On another Gentoo system I'm running for a long time, ragel 7.0.4
and colm 0.14.7-r2 *are* correctly installed - but I've no idea any more how I achieved
this a very long time ago.

I hesitate to open a new Gentoo Bugzilla bug because it might not be a real bug -
but what do I have to do on my new system that ruby (and all dependencies) can
be installed?

Thanks in advance,

-Matt
Re: Ruby, Ragel, and Colm [ In reply to ]
On Thu, 2022-12-08 at 18:49 +0100, Matthias Hanft wrote:
>
> I hesitate to open a new Gentoo Bugzilla bug because it might not be a real bug -
> but what do I have to do on my new system that ruby (and all dependencies) can
> be installed?
>
> Thanks in advance,
>

You shouldn't be afraid to open a bug, doing so has the advantage that
other people can "easily" find it if they're experiencing a similar
problem.

That said, try the ~arch version of ragel. It has a patch that improves
linking against libfsm, which appears in your error message.
Re: Ruby, Ragel, and Colm [ In reply to ]
On Thu, 2022-12-08 at 18:49 +0100, Matthias Hanft wrote:
> I just wanted to "emerge ruby" on a new Gentoo server which failed
> at dev-util/ragel-7.0.4 with
>
>   make[3]: *** No rule to make target '/usr/lib64/libfsm.la', needed by 'ragel'.  Stop.

I also had (I mean I still have the server, but I had it when it was
ruby-free, too.) a server, not new but previously Ruby-free, so I tried
to emerge it. No errors.

Do you have any packages (or the global) keyword ~amd64? Portage,
fresh off of a sync, emerged ragel at 7.0.4 and col at 0.14.7 which are
both lower than the versions you mentioned.
Re: Ruby, Ragel, and Colm [ In reply to ]
Michael Orlitzky wrote:
>
> That said, try the ~arch version of ragel. It has a patch that improves
> linking against libfsm, which appears in your error message.

Thanks, ~ragel-7.0.4-r2 did work.

(Still not knowing why the other server worked without any problems
with 7.0.4 without -r2 - but anyway...)

-Matt
Re: Ruby, Ragel, and Colm [ In reply to ]
Matt Connell wrote:
>
> Do you have any packages (or the global) keyword ~amd64? Portage,
> fresh off of a sync, emerged ragel at 7.0.4 and col at 0.14.7 which are
> both lower than the versions you mentioned.

No ~amd64 (except dev-db/firebird because there is no stable
version at all).

(NEW) n ~ # eshowkw colm
Keywords for dev-util/colm:
| | u |
| a a p s r a l | n |
| m r h p p i i s l o m m | e u s | r
| d a m p p c a x a s 3 p o 6 i | a s l | e
| 6 r 6 p p 6 r 8 6 c 9 h n 8 p | p e o | p
| 4 m 4 a c 4 c 6 4 v 0 a g k s | i d t | o
-------------+-------------------------------+-------+-------
0.13.0.7 | + + + + + + + + ~ o ~ ~ o o o | 7 # 0 | gentoo
0.14.7 | + + + + + + + ~ ~ ~ ~ ~ o o ~ | 7 o | gentoo
0.14.7-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ | 8 # | gentoo
[I]0.14.7-r2 | + ~ + ~ ~ + + + ~ ~ ~ ~ ~ o ~ | 8 o | gentoo
(NEW) n ~ # eshowkw ragel
Keywords for dev-util/ragel:
| | u |
| a a p s r a l | n |
| m r h p p i i s l o m m | e u s | r
| d a m p p c a x a s 3 p o 6 i | a s l | e
| 6 r 6 p p 6 r 8 6 c 9 h n 8 p | p e o | p
| 4 m 4 a c 4 c 6 4 v 0 a g k s | i d t | o
------------+-------------------------------+-------+-------
6.10 | + + + + + + + + ~ ~ ~ ~ o o ~ | 7 # 0 | gentoo
7.0.0.12 | + + + + + + + + ~ o ~ ~ o o o | 7 o | gentoo
7.0.4 | + + + + + + + ~ ~ ~ ~ ~ o o ~ | 7 o | gentoo
7.0.4-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ | 8 # | gentoo
[I]7.0.4-r2 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ | 8 o | gentoo

colm-0.14.7-r2 is marked stable; with ragel-7.0.4, I get the
error desscribed. ~ragel-7.0.4-r2 does work; didn't try
~ragel-7.0.4-r1.

But "works for me" now :-)

-Matt