>Number:         146258
>Category:       misc
>Synopsis:       xfs doc/pdf doesn't build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 03 00:20:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sam Sirlin
>Release:        8.0-STABLE
>Organization:
>Environment:
FreeBSD celeborn.my.domain 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat May  1 
17:53:50 PDT 2010     [email protected]:/usr/obj/usr/src/sys/CELEBORN  
amd64

>Description:
portupgrade fails on xfs, when trying to make the pdf. TeX sees per_client, and 
thinks we should be in math-mode with "c" a subscript of "per". Since that's 
obviously not what was intended, seems like xmlto isn't feeding proper code to 
TeX. Possibly some old stuff on my system is giving some bogus stylesheed 
information? The file it's using looks recent though...

-rw-r--r--  1 root  wheel  858 Jan 10 01:44 
/usr/local/share/xmlto/format/docbook/pdf


Here's the error
..
Writing index.html for article(designms)
/usr/local/bin/xmlto -m ./doc/xfs-design.xsl -o doc pdf ./doc/xfs-design.xml
Making portrait pages on letter paper (215.9mmx279.4mm)
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./tmp.fo
! Missing $ inserted.
<inserted text>
                $
<to be read again>
                   _
l.71 ...e.</fo:block></fo:block><fo:block id="per_
                                                  client_processing"><fo:blo...

?
! Emergency stop.
<inserted text>
                $
<to be read again>
                   _
l.71 ...e.</fo:block></fo:block><fo:block id="per_
                                                  client_processing"><fo:blo...

No pages of output.
Transcript written on tmp.log.
*** Error code 1

Stop in /usr1/sam/tmp/usr/ports/x11-fonts/xfs/work/xfs-1.1.0.
*** Error code 1

Stop in /usr1/sam/tmp/usr/ports/x11-fonts/xfs/work/xfs-1.1.0.
*** Error code 1

Stop in /usr/ports/x11-fonts/xfs.


>How-To-Repeat:
portupgrade xfs

or just make in /usr/ports/x11-fonts/xfs
>Fix:
I just disabled the creation of the pdf in the makefile; then build finishes 
(text and html docs build); install ok.

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to