valadoc-0.56.18 is incompatible with graphviz-13.0.0
Description:
graphviz 13.0.0 had some breaking api changes, which causes valadoc to segfault, making it unusable.
graphviz did change the type of an array length parameter from unsigned int
to size_t
causing a segfault. I provided a patch below which fixes this issue. However there are more breaking changes in graphviz changelog, which are not addressed in that patch, so other programs written in vala and using graphviz could run into issues. I can provide a patch addressing all the breaking breaking changes in the vapi if so requested, but didn't get around to to look into all of the changes yet.
Additional info:
-
package version(s):
vala 0.56.18-3
graphviz 13.0.0-1 -
link to upstream bug report, if any:
https://gitlab.gnome.org/GNOME/vala/-/issues/1621
Steps to reproduce:
Trying to run valadoc for any project segfaults. A minimal Project to reproduce:
//test.vala
namespace Test {
public class Test {
}
}
then run
valadoc -o docs --package-name test test.vala