[opensuse-packaging] Having a problem with graphviz dot when trying to package kde4 api
Hi, I'm trying to package the kde4 api documentation, home:plater kdeapi4, but although dot succeeds to convert "dot -Tpng -o graph_legend.png graph_legend.dot" on my system, the command fails when using build service and I'm tearing my hair out trying to find the missing library, error output: Problems running dot: exit code=1, command='dot', arguments='"/usr/src/packages/BUILDROOT/kdeapi4-4.4.3-257.2.x86_64/usr/share/doc/kdelibs-4.4.3-apidocs/graph_legend.dot" -Tpng -o "/usr/src/packages/BUILDROOT/kdeapi4-4.4.3-257.2.x86_64/usr/share/doc/kdelibs-4.4.3-apidocs/graph_legend.png"' I've added BuildRequires: graphviz-devel libpng-devel graphviz-gd along with the usual kde4 dependencies and I still can't get it right. Can you help? Thanks Dave P I sent the above message to the listed graphviz maintainer. Who would have thought that a gnome package was needed to build the kde api. I've added graphviz-gnome and I no longer get the above dot problem. What I do get now is a warning message :- Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin' Can anybody shed some light on this problem? I can see why nobody has packaged the kde4 api because it's a large package and it takes a long time to build, also slows my computer to a crawl when building locally. Thanks Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 06/01/2010 10:01 AM, Dave Plater wrote:
Hi, I'm trying to package the kde4 api documentation, home:plater kdeapi4, but although dot succeeds to convert "dot -Tpng -o graph_legend.png graph_legend.dot" on my system, the command fails when using build service and I'm tearing my hair out trying to find the missing library, error output: Problems running dot: exit code=1, command='dot', arguments='"/usr/src/packages/BUILDROOT/kdeapi4-4.4.3-257.2.x86_64/usr/share/doc/kdelibs-4.4.3-apidocs/graph_legend.dot" -Tpng -o "/usr/src/packages/BUILDROOT/kdeapi4-4.4.3-257.2.x86_64/usr/share/doc/kdelibs-4.4.3-apidocs/graph_legend.png"'
I've added BuildRequires: graphviz-devel libpng-devel graphviz-gd along with the usual kde4 dependencies and I still can't get it right. Can you help? Thanks Dave P I sent the above message to the listed graphviz maintainer. Who would have thought that a gnome package was needed to build the kde api. I've added graphviz-gnome and I no longer get the above dot problem. What I do get now is a warning message :- Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
Can anybody shed some light on this problem? I can see why nobody has packaged the kde4 api because it's a large package and it takes a long time to build, also slows my computer to a crawl when building locally. Thanks Dave P
Fixed with xorg-x11-fonts. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Dave Plater (davejplater@gmail.com) [20100601 10:35]:
Fixed with xorg-x11-fonts.
Could please open a bug and assign it to pth@novell.com so that I might include it in graphviz's dependencies? Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 06/01/2010 08:02 PM, Philipp Thomas wrote:
* Dave Plater (davejplater@gmail.com) [20100601 10:35]:
Fixed with xorg-x11-fonts.
Could please open a bug and assign it to pth@novell.com so that I might include it in graphviz's dependencies?
Philipp
Created https://bugzilla.novell.com/show_bug.cgi?id=610873 and assigned it to you. What about the "png needing graphviz-gnome problem, maybe you could try adding something to the description? I've stripped the build requirements down to : BuildRequires: doxygen libqt4-devel-doc-data fdupes graphviz-gnome xorg-x11-fonts Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Dave Plater (davejplater@gmail.com) [20100602 09:43]:
Created https://bugzilla.novell.com/show_bug.cgi?id=610873 and assigned it to you.
And I just closed it fixed :) Now grasphviz-gnome requires xorg-x11-fonts.
What about the "png needing graphviz-gnome problem, maybe you could try adding something to the description?
graphviz already recommends graphviz-gnome and graphviz-gd but these aren't hard requires to not directly pull in the whole gnome stuff. I've added a note to the description of graphviz saying that you need graphviz-gnome for png output. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Dave Plater (davejplater@gmail.com) [20100601 10:01]:
I've added BuildRequires: graphviz-devel libpng-devel graphviz-gd along with the usual kde4 dependencies and I still can't get it right.
Your're only creating documentation, so you shouldn't need any -devel package. Please try without them and only graphviz-gd and graphviz as direct BuildRequires. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Dave Plater
-
Philipp Thomas