Bug 130418 - media-gfx/graphviz contains erroneous pkg_postinst()
Bug#: 130418 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P1
Resolution: FIXED Assigned To: graphics@gentoo.org Reported By: juergennagel@gmail.com
Component: Applications
URL: 
Summary: media-gfx/graphviz contains erroneous pkg_postinst()
Keywords:  
Status Whiteboard: 
Opened: 2006-04-18 16:52 0000
Description:   Opened: 2006-04-18 16:52 0000
The code

----
pkg_postinst() {
        dot -c
}
----


leads to the following warning message during emerge:


----
>>> original instance of package unmerged safely.
dot: option -c unrecognized

Usage: dot [-Vv?] [-(GNE)name=val] [-(Tlso)<val>] <dot files>
 -V          - Print version and exit
 -v          - Enable verbose mode
 -Gname=val  - Set graph attribute 'name' to 'val'
 -Nname=val  - Set node attribute 'name' to 'val'
 -Ename=val  - Set edge attribute 'name' to 'val'
 -Tv         - Set output format to 'v'
 -lv         - Use external library 'v'
 -ofile      - Write output to 'file'
 -q[l]       - Set level of message suppression (=1)
 -s[v]       - Scale input by 'v' (=72)
 -y          - Invert y coordinate in output
>>> Regenerating /etc/ld.so.cache...
>>> media-gfx/graphviz-1.16-r1 merged.
----

------- Comment #1 From Jakub Moc (RETIRED) 2006-08-23 02:01:32 0000 -------
*** Bug 144823 has been marked as a duplicate of this bug. ***

------- Comment #2 From Jakub Moc (RETIRED) 2006-08-23 02:04:39 0000 -------
1.16-r1 and >=2.6 is broken, please fix this.

------- Comment #3 From Chris Bainbridge (RETIRED) 2007-02-19 17:19:59 0000 -------
Fixed graphviz-1.16-r1.ebuild. Couldn't reproduce with >=2.6, they all appear
to support 'dot -c'