[Pkg-electronics-devel] Bug#1133986: yosys: Documentation fail to build with "Dimension too large."
Petter Reinholdtsen
pere at hungry.com
Thu Apr 16 08:34:19 BST 2026
Package: src:yosys
Version: 0.52-1
Severity: critical
Tags: patch
After fixing the missing graphviz dependency and getting the
documentation building again, the build now crash with this error:
[46 <./rdata_map_luts.pdf>]
! Dimension too large.
(See <URL: https://buildd.debian.org/status/fetch.php?pkg=yosys&arch=all&ver=0.52-3&stamp=1776236472&raw=0 >
for the details.)
I believe the fix is to tell dot to reduce the resolution of the PDFs
generated from the .dot files. The attached patch solve the problem
when added to debian/patches/.
I picked size and dpi settings fairly at random, and suspect other
values might be better, but do not know how to decide which value is
good or bad, and leave that to someone who know how to evaluate good
dimensions for these generated PDFs.
--
Happy hacking
Petter Reinholdtsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1000-dot-resolution.patch
Type: text/x-diff
Size: 851 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-electronics-devel/attachments/20260416/dfc67a17/attachment.patch>
More information about the Pkg-electronics-devel
mailing list