graphviz: dot on mipsel fails with emit.c:3873: bezier_bb: Assertion `bz.size > 0' failed

Johannes Schauer <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <20151107025214.9324.88948.reportbug__16410.452038008$1446975166$gmane$org@localhost>
Package: graphviz
Version: 2.38.0-10
Severity: important
Control: block 804296 by -1

Hi,

I ran into this problem when building my package botch on mipsel:

https://buildd.debian.org/status/fetch.php?pkg=botch&arch=mipsel&ver=0.17-2&stamp=1446862050

	dot -T png buildgraph1.dot > buildgraph1.png
	dot: emit.c:3873: bezier_bb: Assertion `bz.size > 0' failed.
	Aborted
	Makefile:14: recipe for target 'buildgraph1.png' failed
	make[2]: *** [buildgraph1.png] Error 134
	make[2]: Leaving directory '/«PKGBUILDDIR»/doc/wiki'
	Makefile:89: recipe for target 'doc' failed
	make[1]: *** [doc] Error 2
	make[1]: Leaving directory '/«PKGBUILDDIR»'
	dh_auto_build: make -j1 returned exit code 2
	debian/rules:6: recipe for target 'build-arch' failed
	make: *** [build-arch] Error 2

botch uses dot to generate a png from a dot file which fails with:

	dot: emit.c:3873: bezier_bb: Assertion `bz.size > 0' failed.

but also only on mipsel. The other architectures build just fine.

The problem can be trigged by the most minimal input:

	$ echo -ne 'digraph G {A -> B}' | dot
	dot: emit.c:3873: bezier_bb: Assertion `bz.size > 0' failed.
	Aborted

To reproduce this problem, on a porter box do the following:

	$ ssh etler.debian.org
	josch@etler:~$ mysid=sid$RANDOM
	josch@etler:~$ schroot -b -c sid -n $mysid
	josch@etler:~$ dd-schroot-cmd -c $mysid apt-get update
	josch@etler:~$ dd-schroot-cmd -c $mysid apt-get upgrade
	josch@etler:~$ dd-schroot-cmd -c $mysid apt-get install graphviz
	josch@etler:~$ schroot -r -c $mysid
	(sid_mipsel-dchroot)josch@etler:~$ echo -ne 'digraph G {A -> B}' | dot
	dot: emit.c:3873: bezier_bb: Assertion `bz.size > 0' failed.
	Aborted
	(sid_mipsel-dchroot)josch@etler:~$ logout
	josch@etler:~$ schroot -e -c $mysid
	josch@etler:~$ logout

Thanks!

cheers, josch
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.