FS#50751 - [graphviz] warnings when gtk2 is not installed

Attached to Project: Arch Linux
Opened by Ralph Plawetzki (Ralph) - Monday, 12 September 2016, 08:43 GMT
Last edited by Jonathan Roemer (pid1) - Monday, 12 September 2016, 23:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
graphviz lists gtk2 as an optional dependency.

On a fresh installation of Arch linux (without gtk2) installing graphviz prints out the following warnings:
Warning: Could not load "/usr/lib/graphviz/libgvplugin_gtk.so.6" - file not found
Warning: Could not load "/usr/lib/graphviz/libgvplugin_gdk.so.6" - file not found
Warning: Could not load "/usr/lib/graphviz/libgvplugin_gtk.so.6" - file not found
Warning: Could not load "/usr/lib/graphviz/libgvplugin_gdk.so.6" - file not found

The graphviz package contains these files and the warnings are misleading.
They are printed because the post-install script executes usr/bin/dot -c. This needs gtk2 to be installed to avoid the above warnings.

Steps to reproduce:
sudo pacman -Rdd gtk2
sudo pacman -S graphviz
This task depends upon

Closed by  Jonathan Roemer (pid1)
Monday, 12 September 2016, 23:39 GMT
Reason for closing:  Not a bug
Additional comments about closing:  graphviz works as expected, and those are just warnings.

Loading...