Bug#1052902: yosys: FTBFS: make[2]: *** [Makefile:971: docs/gen_images] Error 2

Daniel Gröber dxld at darkboxed.org
Fri Sep 29 17:31:31 BST 2023


Hi Santiago,

On Fri, Sep 29, 2023 at 05:50:54PM +0200, Santiago Vila wrote:
> Well, "yosys" was one of the packages which FTBFS for me.
> It was version 0.23-6, and it failed in a different way.
> 
> But something tells me that this bug reported by Lucas
> could easily be another Makefile bug.
> 
> So, instead of trying to reproduce the problem by building
> the package in your machine, I suggest that you take the provided
> build log, collate it with the current Makefiles, and try to
> determine how could it happen at all.

I tried to diff the logs but latex is hillariously good at outputting
random interleaved chunks of text in an unpredictable order so that wasn't
really any help in seeing whats going on.

> For example, the build log says this:
> 
> I can't find file `verilog_flow.aux'.
> 
> The interesting question here would be:
> 
> Are you sure that the Makefiles are correctly written in
> such a way that the verilog_flow.aux file is always created
> before some other process tries to use it?

Upstream uses latexmk for calling pdflatex. That should usually take care
of such things properly, at least I haven't seen it fail like this before.

It's possible this is a make level concurrency issue but before I go down
that rabbit hole I want to exclude any of the more easily debugged
problems, like: different dependency versions which is trivial to diff
given the buildinfo file.

IMO these should be included in MBF FTBFS filings as a matter of course as
it's easily the most likeley reason for breakage.

Thanks,
--Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20230929/fa0221ba/attachment.sig>


More information about the debian-science-maintainers mailing list