tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: weird assertion failure installing graphviz



On Sat, Feb 07, 2009 Joerg wrote:
> 
> Does dot -c alone crash for you?

Yes, of course -- I just added the verbose flags to show a bit more
about what's going on, or not going on as the case may be.

I should have been more explicit to note that the assert() causing the
failure is doing so because it (i.e. "dot -c") is unable to establish
the existence of the required "dot" output format, and indeed the output
of my second test confirms that "dot" is not an available output format.

I should also note that "dot_static -c" does not abort -- and dot_static
has a lot more output formats available, including the required "dot"
format:

# dot_static -vvv -Txxx
Using textlayout: textlayout:cairo
Using layout: dot:dot_layout
Using render: xdot:core
Format: "xxx" not recognized. Use one of: canon cmap cmapx cmapx_np dia dot fig 
gd gd2 gif hpgl imap imap_np ismap jpe jpeg jpg mif mp pcl pdf pic plain 
plain-ext png ps ps2 svg svgz vml vmlz vrml vtx wbmp xdot

# dot -vvv -Txxx
Error: /usr/pkg/lib/graphviz/config is zero sized, or other read error.
Format: "xxx" not recognized. Use one of: dia hpgl mif mp pcl pic vtx


>  What version *exactly* of the
> package do you have?

Like I said, graphviz-2.16.1, as seen in pkgsrc-2008Q2.  :-)

(PKGREVISION=2 so it builds as "graphviz-2.16.1nb2")


I should also note that from pkgsrc-2007Q1 I was able to build a working
graphviz package on an older system:

$ dot -V
dot - Graphviz version 2.12 (Sat Sep 27 02:01:52 UTC 2008)
$ dot -vvv -Txxxx
Renderer type: "xxxx" not recognized. Use one of: canon cmap cmapx dia dot fig 
gd gd2 gif glitz gtk hpgl imap ismap jpeg jpg mif mp pcl pdf pic plain 
plain-ext png ps ps2 svg svgz vrml vtx wbmp xdot xlib
$ dot_static -vvv -Txxxx
Renderer type: "xxxx" not recognized. Use one of: canon cmap cmapx dia dot fig 
gd gd2 gif glitz gtk hpgl imap ismap jpeg jpg mif mp pcl pdf pic plain 
plain-ext png ps ps2 svg svgz vrml vtx wbmp xdot xlib

Note how the output format lists match between dot and dot_static.

-- 
                                                Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852   VE3TCP    RoboHack 
<woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>       Secrets of the Weird 
<woods%weird.com@localhost>

Attachment: pgp_r_gcqSRik.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index