On Tue, 2026-04-21 at 14:10 -0500, G. Branden Robinson wrote:
> At 2026-04-21T10:01:40+0100, Richard Purdie wrote:
> > We are seeing occasional failures for eqn being missing when
> > building 
> > mom examples, e.g.:
> 
> "We" == the Yocto Project?

Yes, sorry, I should have been clearer. The Yocto Project has seen this
a few times in our CI builds recently.

> > > groff-1.24.0/groff: error: couldn't exec eqn: Permission denied
> > > pdfmom: fatal error: groff-1.24.0/test-groff exited with status
> > > 24
> > > make[2]: *** [Makefile:19256: contrib/mom/examples/slide-
> > > demo.pdf] Error 1
> > 
> > It may find eqn from the host system if installed too.
> 
> Hmm, yes, that's not good.
> 
> > Fix the build dependencies to add eqn, pic, tbl and preconv since
> > a quick strace indicates them all being used here.
> 
> Yes, and the definition of the `MOMPDFMOM` macro earlier in the same
> Automake script makes their use explicit.
> 
> Good catch!  Thank you!  You can expect to see this fix in my next
> push.

Thanks, I figured this was the easiest way to explain/illustrate the
issue and propose a fix for at least some elements of it. I did wonder
if there were other places where dependencies might be missing but I'm
not well placed to understand those.

Thanks for looking at it!

Cheers,

Richard

Reply via email to