get more information on plugin registering failures
Steps to reproduce
Packaged Graphviz pre 10.0.0 version, Git commit id e4afbd63 for Debian (packages can be installed on Sid from Experimental with 'apt -t experimental install libgvplugin-poppler'). i386 build log is here: https://buildd.debian.org/status/fetch.php?pkg=graphviz&arch=i386&ver=10.0.0%7Egit231018-1&stamp=1697999888&raw=0
The poppler plugin was compiled and installed, but the 'dot -c' generated configuration file contains many FAILS line containing lasi and cairo. Some of these:
loadimage {
gd:gd 1
gd2:gd 1
gif:gd 1
jpeg:gd 1
jpe:gd 1
jpg:gd 1
png:gd 1
xbm:gd 1
gd:ps 1
#FAILS gd:lasi 1
gd2:ps 1
#FAILS gd2:lasi 1
gif:ps 1
#FAILS gif:lasi 1
jpeg:ps 1
jpg:ps 1
jpe:ps 1
#FAILS jpeg:lasi 1
#FAILS jpg:lasi 1
#FAILS jpe:lasi 1
png:ps 1
#FAILS png:lasi 1
xbm:ps 1
#FAILS xbm:lasi 1
#FAILS gd:cairo 1
#FAILS gd2:cairo 1
#FAILS gif:cairo 1
#FAILS jpeg:cairo 1
#FAILS jpg:cairo 1
#FAILS jpe:cairo 1
#FAILS png:cairo -1
#FAILS xbm:cairo 1
}
device {
#FAILS gif:cairo 10
#FAILS wbmp:cairo 5
#FAILS jpe:cairo 5
#FAILS jpeg:cairo 5
#FAILS jpg:cairo 5
#FAILS png:cairo 5
#FAILS gd:cairo 5
#FAILS gd2:cairo 5
}
}
libgvplugin_poppler.so.6 poppler {
loadimage {
#FAILS pdf:cairo 1
}
}
Expected Behaviour
I would like to use the pdf output generation as well.
Actual Behaviour
As a result of the above, when I try to use the PDF generation, 'dot -Tpdf test.dot -o test.pdf' states: Format: "pdf" not recognized. Use one of: canon cmap [...] 'dot -c' still runs, generate the same config file and silently exists.
OS Version
It is Linux, Debian Trixie/Sid.
Graphviz Version
dot - graphviz version 10.0.0~dev.0 (0)
Additional info
I think it was the same with Graphviz 8.x and 9.x, but as this is the first time I checked the config file and tried PDF generation I can't prove it (yet). ldd /usr/lib/[arch-triplet]/graphviz/libgvplugin_poppler.so.6.0.0 shows libcairo is linked with and found:
libcairo.so.2 => /lib/[arch-triplet]/libcairo.so.2 (0x00007fe2deac1000)
It is the 1.18.0 version of Cairo.
The output of 'dot -c -v' doesn't give additional information. It just doesn't list pdf.