Subject: pkg/35933: graphviz does not work as expected by dependent pkgs
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dan@oenone.localdomain>
List: pkgsrc-bugs
Date: 03/06/2007 08:25:00
>Number:         35933
>Category:       pkg
>Synopsis:       graphviz does not work as expected by dependent pkgs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 06 08:25:00 +0000 2007
>Originator:     Daniel Carosone
>Release:        NetBSD 4.99.13
>Organization:
	
>Environment:
System: NetBSD oenone 4.99.13 NetBSD 4.99.13 (_oenone_) #26: Wed Feb 28 21:35:51 EST 2007 dan@oenone:/home/NetBSD/obj/p3/home/NetBSD/HEAD/src/sys/arch/i386/compile/_oenone_ i386
Architecture: i386
Machine: i386

pkgsrc-current as of today
>Description:
Firstly, thanks to joerg for his efforts at fixing graphviz, several 
times over, so that it now builds again. 
 
However, this just takes me back to the same problem I have had since
graphviz was first upgraded to 2.12, namely that it does not work as
it used to, or as expected by other pkgs in the tree. 

Something is missing or broken or has changed (deliberately) in a way
that has not been accommodated by these other pkgs and not flagged as
an incompatibility.

Neither the pkgdepgraph or monotone-viz pkgs work properly since
graphviz was upgraded to 2.12, early in January.

pkgdepgraph produces a dot file which, when fed to dotty, produces a
huge stream of parse error messages, and a graph missing shape
outlines.

There's a long stream of: 
 dotty.lefty: draw language parser error: 18
 dotty.lefty: draw language parser error: 18
 dotty.lefty: draw language parser error: 18

interspersed with the occasional:
 dotty.lefty: draw language parser error: 30


monotone-viz throws an exception on startup:

 fetch_agraph exn: File "database.ml", line 200, characters 2-8: Assertion failed

I don't clearly understand why this happens in the database.ml code,
but it started happening together with the graphviz upgrade.

>How-To-Repeat:

lintpkgsrc -i | pkgdepgraph | dotty - 

run monotone-viz in a monotone workspace

>Fix:

.. would be very much appreciated! :-)