Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158559 - app-text/xmlto depends on xmltex
Summary: app-text/xmlto depends on xmltex
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 10:45 UTC by Michael Hill
Modified: 2009-05-22 12:44 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hill 2006-12-19 10:45:33 UTC
Portage 2.1.2_rc3-r6 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 i686)
=================================================================
System uname: 2.6.19-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.6
Last Sync: Tue, 19 Dec 2006 13:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache digest distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/ http://www.gtlib.cc.gatech.edu/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi aiglx alsa alsa_cards_snd_intel8x0 apache2 apm audiofile bash-completion bcmath berkdb bitmap-fonts bzip2 bzlib cairo calendar cli cracklib crypt cups dbase dbx dedicated dga dlloader doc dri dvd dvdr elibc_glibc emboss encode expat fbcon fftw firefox flac flatfile font-server foomaticdb gd gecko-sdk gif ginac gnutls gpgme gpm gs gtk gtk2 hardenedphp hou iconv imagemagick imlib inifile input_devices_keyboard input_devices_mouse isdnlog jack jpeg jpeg2k kernel_linux lcms libwww logrotate logwatch mbox memlimit mikmod milter mime mmap mmx mp3 mp4 mpeg mpi mpm-prefork mysql ncurses no-suexec nocardbus nocd nodrm nomotif nowin nptl nptlonly nsplugin ogg opengl oss pam pcntl pcre pda pdf perl php pie plotutils png posix ppds pppd python qt3 qt4 quicktime readline real realmedia reflection rtsp samba sdl server session shared sharedmem simplexml skins sndfile sockets sou spell spl sse ssl svg sysvipc tcl tcpd threads tidy tiff tk truetype truetype-fonts type1-fonts udev ups usb userland_GNU userlocales vhosts video_cards_nvidia video_cards_vga videos vorbis win32codecs wmp wv wxgtk1 wxwindows xine xml xorg xpm xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


When trying to run "xmlto pdf test.xml", I got the following:

Making portrait pages on A4 paper (210mmx297mm)
/usr/share/xmlto/format/docbook/../fo/pdf: line 15: pdfxmltex: command not found

emerge'ing xmltex allowed the processing to continue.

Installed versions:
app-text/xmlto-0.0.18
dev-tex/xmltex-1.9-r1
Comment 1 Michael Hill 2006-12-19 11:11:12 UTC
The next error was this:

Making portrait pages on A4 paper (210mmx297mm)
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)
entering extended mode
(./tmp.fo
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
xmltex version: 2002/06/25 v1.9 (Exp):
(/usr/share/texmf/tex/xmltex/xmltex.cfg) 
No File: tmp.cfg

! LaTeX Error: File `fotex.xmt' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: xmt)

Enter file name: 
! Emergency stop.
<read *> 
         
l.2 ...djustment="disregard-shifts" language="en">
                                                  <fo:layout-master-set><fo:...

No pages of output.
Transcript written on tmp.log.


So I emerge'ed passivetex and it got a little farther.  So I would add app-text/passivetex to the list of dependencies.

The current error is:

Making portrait pages on A4 paper (210mmx297mm)
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)
entering extended mode
(./tmp.fo
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
xmltex version: 2002/06/25 v1.9 (Exp):
(/usr/share/texmf/tex/xmltex/xmltex.cfg) 
No File: tmp.cfg (/usr/share/texmf/tex/passivetex/fotex.xmt)
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/passivetex/fotex.sty
)
No file tmp.aux.
(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
No file tmp.out.
No file tmp.out.
INFO: Using normal, i.e. nonfrench-spacing in document
(/usr/share/texmf/tex/latex/psnfss/t1phv.fd) [1{/var/lib/texmf/fonts/map/pdftex
/updmap/pdftex.map}]
Overfull \vbox (10.0pt too high) has occurred while \output is active
(/usr/share/texmf/tex/latex/psnfss/ts1ptm.fd)
! TeX capacity exceeded, sorry [save size=5000].
\utfeight@protect@chars ...\string ##3\string ##4}
                                                  
l.219 />
        </fo:block></fo:block></fo:flow></fo:page-sequence><fo:page-sequence...

!  ==> Fatal error occurred, the output PDF file is not finished!
Transcript written on tmp.log.


I'm not sure how to resolve that one, but at least it doesn't appear to be a missing file/package this time.
Comment 2 David Brown 2006-12-20 23:33:43 UTC
The file fotex.xmt appears to be under the contrib/passivetex directory on xmltex, which is not installed by the package.  Without it, xmlto doesn't seem to work.  Perhaps this bug should be against xmltex, to either just install the contrib stuff, or do so with a use flag.
Comment 3 David Brown 2006-12-20 23:55:00 UTC
This seems to be fixed by installing the 'app-text/passivetex' package as well.  I am now able to build pdf files from xml docbook source.  The output has some garbage in it, though  '0pt' occurs at the top of the document, possibly because of the contents of my document.
Comment 4 Dave Hughes 2007-01-12 01:32:02 UTC
Just ran across a very similar set of problems when trying to use xmlto:

"pdfxmltex: command not found"
fixed by emerging passivetex

followed by:

"! TeX capacity exceeded, sorry [save size=5000]."
fixed by doubling the save_size parameter in /etc/texmf/texmf.d/00texmf.cnf and running /usr/sbin/texmf-update

Currently, stuck on the following error (which occurs when trying to get xmlto to build anything that relies on TeX, like PS, PDF, etc.):


$ xmlto pdf helloworld.docbook
Making portrait pages on USletter paper (8.5inx11in)
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)
entering extended mode
(./tmp.fo
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
xmltex version: 2002/06/25 v1.9 (Exp):
(/usr/share/texmf/tex/xmltex/xmltex.cfg)
No File: tmp.cfg (/usr/share/texmf/tex/passivetex/fotex.xmt)
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/passivetex/fotex.sty
)
No file tmp.aux.
(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
No file tmp.out.
No file tmp.out.
INFO: Using normal, i.e. nonfrench-spacing in document
(/usr/share/texmf/tex/latex/psnfss/t1phv.fd) [1{/var/lib/texmf/fonts/map/pdftex
/updmap/pdftex.map}]
Overfull \vbox (10.0pt too high) has occurred while \output is active [2]
Overfull \vbox (10.0pt too high) has occurred while \output is active [3]
(/usr/share/texmf/tex/latex/amsfonts/umsa.fd)
(/usr/share/texmf/tex/latex/amsfonts/umsb.fd)
(/usr/share/texmf/tex/latex/wasysym/uwasy.fd)
(/usr/share/texmf/tex/latex/stmaryrd/ustmry.fd) [4]

! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.304 ..." hyphenation-remain-character-count="2">
                                                  Chapter 1. Hello, world<...

?
! Emergency stop.
 ...

l.304 ..." hyphenation-remain-character-count="2">
                                                  Chapter 1. Hello, world<...

!  ==> Fatal error occurred, the output PDF file is not finished!
Transcript written on tmp.log.


However, I doubt this is a Gentoo-specific error. From what little I've managed to dig up with Google it seems likely to be a PassiveTex issue. Just in case though, here's the installed versions:

app-text/xmlto-0.0.18
dev-tex/xmltex-1.9-r1
app-text/passivetex-1.25
app-text/docbook-xsl-stylesheets-1.70.1

At the moment, I'm not too bothered as I've managed to get PDF output working with the SGML toolchain (i.e. docbook2pdf) instead.
Comment 5 Marat Radchenko 2007-06-08 08:52:38 UTC
hello? is it going to be fixed?
Comment 6 Leonardo Boshell (RETIRED) gentoo-dev 2007-08-14 23:55:59 UTC
Adding tex herd to the CC list. Unfortunately right now there aren't many knowledgeable developers who can help with this.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-05-22 12:44:30 UTC
should be fixed with USE latex by 0.0.22