graphviz-2.30.1-11 does not build in rawhide due to ghostscript font issue: make[3]: Entering directory `/builddir/build/BUILD/graphviz-2.30.1/cmd/dot' CC dot-dot.o CC dot-no_builtins.o CC dot_builtins-dot.o CC dot_builtins-dot_builtins.o groff -Tps -man ./dot.1 | ps2pdf - - >dot.1.pdf CCLD dot CCLD dot_builtins Error: /invalidfont in /findfont Operand stack: Times-Italic@0 --nostringval-- Times-Italic Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1884 1 3 %oparray_pop 1883 1 3 %oparray_pop 1867 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1836 3 4 %oparray_pop Dictionary stack: --dict:1167/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)-- --dict:59/120(L)-- Current allocation mode is local Last OS error: Not a directory GPL Ghostscript 9.07: Unrecoverable error, exit code 1 make[3]: [dot.1.pdf] Error 1 (ignored)
Created attachment 784845 [details] Strace output
I originally reported this issue as an Okular issue. Then I reopened that bug by mistake. https://bugzilla.redhat.com/show_bug.cgi?id=969660 I am reposting the comments I made there. I have an up-to-date system and I can confirm that ghostscript-9.07-10.fc19 is installed. I have reported the issue originally thinking it was due to Okular I am trying to open that PDF with gs and I get Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Querying operating system for font files... Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Didn't find this font on the system! Unable to substitute for font. **** Error reading a content stream. The page may be incomplete. **** File did not complete the page properly and may be damaged. When trying to use the ps version of that PDF I get GPL Ghostscript 9.07 (2013-02-14) Copyright (C) 2012 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Querying operating system for font files... Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Didn't find this font on the system! Unable to substitute for font. Error: /invalidfont in /findfont Operand stack: F0_999999 1 1 --nostringval-- Courier Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1884 1 3 %oparray_pop 1883 1 3 %oparray_pop 1867 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1836 5 4 %oparray_pop Dictionary stack: --dict:1163/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)-- --dict:67/75(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 12568 GPL Ghostscript 9.07: Unrecoverable error, exit code 1
I built it OK in rawhide - graphviz-2.30.1-14.fc20, thus closing. Marc-Andre: If you are able to reproduce this in rawhide with graphviz-2.30.1-14.fc20, please open new bug.
(In reply to Marc-Andre Laverdiere from comment #2) ... > Can't find (or can't open) font file NimbusMonL-Regu. > Didn't find this font on the system! ... NimbusMonL-Regu is /usr/share/fonts/default/Type1/n022003l.pfb, which in turn is part of the urw-fonts package. It is required for ghostscript's substitution of standard 13 to work. The attachment (https://bugzilla.redhat.com/attachment.cgi?id=784845) seems to suggest you have only 97 fonts installed, and none of which matches the standard 13's. At least on fc19, urw-fonts is an explicit dependence of ghostscript, and should already been installed: $ rpm -q --whatrequires urw-fonts htmldoc-1.8.27-24.fc19.x86_64 libwmf-0.2.8.4-36.fc19.i686 xpdf-3.03-6.fc19.x86_64 pdf-renderer-0-0.13.128svn.20110310.fc19.noarch libgnomeprint22-2.18.8-6.fc19.x86_64 libgnomeprint22-2.18.8-6.fc19.i686 grace-5.1.23-4.fc19.x86_64 libwmf-0.2.8.4-36.fc19.x86_64 xfig-common-3.2.5-36.b.fc19.x86_64 GraphicsMagick-1.3.18-2.fc19.x86_64 ghostscript-9.07-10.fc19.x86_64 ghostscript-9.07-10.fc19.i686 graphviz-2.30.1-10.fc19.x86_64