Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130418 - media-gfx/graphviz contains erroneous pkg_postinst()
Summary: media-gfx/graphviz contains erroneous pkg_postinst()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 144823 (view as bug list)
Depends on:
Blocks: 134575 165460
  Show dependency tree
 
Reported: 2006-04-18 16:52 UTC by Juergen Nagel
Modified: 2007-02-19 17:19 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Nagel 2006-04-18 16:52:20 UTC
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 Jakub Moc (RETIRED) gentoo-dev 2006-08-23 02:01:32 UTC
*** Bug 144823 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-23 02:04:39 UTC
1.16-r1 and >=2.6 is broken, please fix this.
Comment 3 Chris Bainbridge (RETIRED) gentoo-dev 2007-02-19 17:19:59 UTC
Fixed graphviz-1.16-r1.ebuild. Couldn't reproduce with >=2.6, they all appear to support 'dot -c'