On Fri, Mar 22, 2024 at 08:50:41AM +0100, Thomas Klausner wrote: > On Thu, Mar 21, 2024 at 05:18:20PM -0700, Malte Dehling wrote: > > I think the PLIST was correct and the real issue is that doc/Doxyfile > > contains > > > > DOT_PATH = /opt/local/bin > > > > which should be changed to > > > > DOT_PATH = ${PREFIX}/bin > > > > Sorry, I missed that because ${PREFIX}/bin is in my path. > > > > I've attached a patch that should fix the issue. Note that it also > > fixes a mistake in one of the optimization flags. > > I tried the patch but I then see > > => Checking file-check results for RE-flex-4.1.2 > ERROR: ************************************************************ > ERROR: The following files are in the PLIST but not in /scratch/devel/RE-flex/work/.destdir/usr/pkg: [...] > ERROR: ************************************************************ > ERROR: The following files are in /scratch/devel/RE-flex/work/.destdir/usr/pkg but not in the PLIST: [...] > *** Error code 1 I think we should keep the patch since it fixes real issues. > I'll attach the whole build log, perhaps you can find out what's > different between our systems (a missing dependency perhaps?). I see the following lines in your log (and many similar ones): dot: graph is too large for cairo-renderer bitmaps. Scaling by 0.0100269 to fit Error: Edge length 147796.289062 larger than maximum 65535 allowed. Check for overwide node(s). [...] /scratch/devel/RE-flex/work/RE-flex-4.1.2/doc/html/class_reflex__coll__graph.dot:1: error: Problems running dot: exit code=1, command='/usr/pkg/bin/dot', arguments='"/scratch/devel/RE-flex/work/RE-flex-4.1.2/doc/html/class_reflex__coll__graph.dot" -Tpng -o "/scratch/devel/RE-flex/work/RE-flex-4.1.2/doc/html/class_reflex__coll__graph.png"' So dot fails to generate the output .map and .png files and instead the .dot files are left in doc/html (which explains the PLIST issue.) I have the latest graphviz 8.1.0nb9 installed with only the default option (gd) enabled. My guess would be something went wrong before dot is even run. Can you have a look at $WRKSRC/doc/html/class_reflex__coll__graph.dot ? It should be a very simple graph of 23 nodes. On my system, the generated png is 1763x787 in size, nowhere near the cairo limit. I'll set up a clean system and see if I can replicate the issue there. Cheers, -- Malte Dehling
Attachment:
signature.asc
Description: PGP signature