Bug 677114 - libstdc++-docs broken images (fonts)
Summary: libstdc++-docs broken images (fonts)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: graphviz
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Patrick Laughton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-13 13:33 UTC by Jan Kratochvil
Modified: 2011-03-10 03:08 UTC (History)
6 users (show)

Fixed In Version: graphviz-2.26.3-4.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-22 16:16:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Kratochvil 2011-02-13 13:33:23 UTC
Description of problem:
HTML docs have broken images.

Version-Release number of selected component (if applicable):
libstdc++-docs-4.6.0-0.6.fc15.1.x86_64

How reproducible:
Always.

Steps to Reproduce:
display the HTML docs

Actual results:
rawhide "tree" variant:
/usr/share/doc/libstdc++-docs-4.6.0/html/api/a01681.png

Expected results:
f14 "tree" variant:
/usr/share/doc/libstdc++-docs-4.5.1/html/api/a02191.png

Additional info:
fonts are missing

Comment 1 Jakub Jelinek 2011-02-13 17:33:25 UTC
Generating dependency graph for directory include/ext/pb_ds/
Gesh: latex: command not found
Problems running latex. Check your installation or look for typos in _formulas.tex and check _formulas.log!
sh: dvips: command not found
Problems running dvips. Check your installation!
(process:8749): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
(process:8748): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
(process:8761): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'

Benjamin, is the fonts issue related to missing dvips/latex, or just some fonts or other packages?  I'm quite unfamiliar with doxygen.
Nevertheless, if TeX is required for building gcc, it would be quite ugly...

Comment 2 Benjamin Kosnik 2011-02-15 00:27:47 UTC
Hmm. I haven't ever seen this. I'm currently running with pango-1.28.1-4.fc14.x86_64 on F14.

This doesn't look related to dvips/latex. For 4.6.0, if that stuff is not on the system then "make html" is aliased to a dummy rule, does nothing. Indeed, removing texlive-latex from my F14 workstation such that there is no "latex" in my path, and re-generating the 4.6.0 docs works. I do get this message in the log:

Generating bitmaps for formulas in HTML...
sh: latex: command not found
Problems running latex. Check your installation or look for typos in _formulas.tex and check _formulas.log!
Generating image form_0.png for formula
dvips: ! DVI file can't be opened.
Problems running dvips. Check your installation!
finalizing index lists...
Generating dot graphs using 9 parallel threads...

Anyway. It completes without error and the generated docs are fine. They don't have the fonts erroring out and the doxygen graphs generated with the weird square characters. 

This happens on both x86 and x86_64. 

My suspicions are that this is some problem with finding font files. That's usually what is going on when you see this kind of visual artifacting. Doxygen actually generates a TTF file for use in formulas and then uses that. Maybe the way you add user directories to the font search path changed for F15?

Googling a bit confirms something to do with Pango and pango modules, but that is just second hand guessing via google searching, more of a place to start. 

Maybe ask Owen?

Comment 3 Benjamin Kosnik 2011-02-15 00:29:37 UTC
To clarify, "make html" doesn't track latex deps. Only "make pdf." I did a better job at explaining it here:
http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_hacking.html

Comment 4 Benjamin Kosnik 2011-02-15 02:32:04 UTC
Or trying to access parts of a character set that does not have glyphs for that number.

Comment 5 Jakub Jelinek 2011-02-22 15:43:20 UTC
After some stracing, this apparently broke because of:
http://pkgs.fedoraproject.org/gitweb/?p=graphviz.git;a=commitdiff;h=36b7ab18a31385cbc5fa655e3bdad469a9aa2d07
where in %changelog it says that it now BuildRequires: urw-fonts, but actually
replaced the old Requires: urw-fonts with BuildRequires :(.

Comment 6 Jaroslav Škarvada 2011-02-22 16:16:52 UTC
Thanks, fixed in graphviz-2.26.3-4.fc16 and I am going to fix this also in f13-f15.

Comment 7 Fedora Update System 2011-02-22 16:35:52 UTC
graphviz-2.26.3-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/graphviz-2.26.3-4.fc15

Comment 8 Fedora Update System 2011-02-22 16:50:51 UTC
graphviz-2.26.3-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/graphviz-2.26.3-2.fc14

Comment 9 Fedora Update System 2011-02-22 16:58:49 UTC
graphviz-2.26.3-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/graphviz-2.26.3-2.fc13

Comment 10 Fedora Update System 2011-02-23 11:33:22 UTC
gcc-4.6.0-0.9.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/gcc-4.6.0-0.9.fc15

Comment 11 Fedora Update System 2011-03-01 16:06:54 UTC
Package gcc-4.6.0-0.11.fc15:
* should fix your issue,
* was pushed to the Fedora 15 updates-testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gcc-4.6.0-0.11.fc15'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/gcc-4.6.0-0.11.fc15
then log in and leave karma (feedback).

Comment 12 Fedora Update System 2011-03-03 03:37:48 UTC
gcc-4.6.0-0.11.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2011-03-04 09:57:07 UTC
graphviz-2.26.3-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2011-03-04 10:04:29 UTC
graphviz-2.26.3-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2011-03-10 03:08:25 UTC
graphviz-2.26.3-4.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.