Bug 22344

Summary: graphviz can't create any graph
Product: Mageia Reporter: rexy <richard>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: fri, marja11
Version: 6   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: graphviz-2.38.0-20.mga6.src.rpm CVE:
Status comment:

Description rexy 2018-01-07 17:06:56 CET
Description of problem:
the "dot" binary can't create any graph as it doesn't know any output format

Version-Release number of selected component (if applicable):
2.38.0.20

How reproducible:
Every time

Steps to Reproduce:
- install the RPM graphviz
- run : dot -Tpng
- error : Format "png" not recognized. Use one of: ... nothing

--- INFO ---
On Mga5, it works with the same version of graphviz (2.38.0.10) :
run : dot -Tpng (ok)
run : dot -Tfoo
error : Format "foo" not recognized. Use one of : bmp canon cmap cmapx ... +20 more formats.
Comment 1 rexy 2018-01-07 17:18:51 CET
After more investigation, i think it's just a lack of dependencies in the Graphviz RPM as it works on a full KDE install but not on a lxde one.
Comment 2 rexy 2018-01-07 18:04:06 CET
I need to run "dot -c" as root before using it in order to configure plugins.
I don't know why as the postinstall script should have done that before :
---
rpm -qi graphviz --scripts
postinstall scriptlet (using /bin/sh):
/usr/bin/dot -c
----
Comment 3 Marja Van Waes 2018-01-08 20:09:16 CET
Assigning to all packagers collectively, since there is no registered maintainer for graphviz.

CC: (none) => marja11
Assignee: bugsquad => pkg-bugs

Comment 4 rexy 2018-01-18 00:03:28 CET
I think, you can close this bug, as i can't reproduce it.
Sometimes i need to run "/usr/bin/dot -c" after installing this RPM.

Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 5 Morgan Leijström 2020-01-16 20:52:39 CET
This bug was filed for Mageia 6 which is now EOL.
Please reopen if it is still valid on Mageia 7.

Resolution: (none) => OLD
CC: (none) => fri
Status: UNCONFIRMED => RESOLVED