Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98222 - app-text/passivetex-1.25 works on amd64
Summary: app-text/passivetex-1.25 works on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: AMD64 Testing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-07 08:10 UTC by Eric Anderson
Modified: 2005-11-25 10:41 UTC (History)
0 users

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


Attachments
Sample xsl-fo file (sample.fo,1.66 KB, application/xml)
2005-08-16 17:45 UTC, Eric Anderson
Details
PDF output of sample.fo (sample.pdf,20.12 KB, application/pdf)
2005-09-21 06:13 UTC, Eric Anderson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Anderson 2005-07-07 08:10:05 UTC
app-text/passivetex-1.25 compiled and helped generate a pdf from an xsl-fo without any changes. I used xmlto which uses passivetex when generating a pdf from an xsl-fo.  This package should have the amd64 keyword added.

Reproducible: Always

Gentoo Base System version 1.6.12
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo x86_64)
=================================================================
System uname: 2.6.12-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.3
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -fomit-frame-pointer -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bmp bzlib cairo cdparanoia cdr crypt cups curl dba dedicated dga directfb doc dvd dvdread emacs encode esd examples expat fam fbcon ffmpeg flac font-server foomaticdb fortran gd gd-external gdbm ggi gif gimp gnutls gpm gtk gtk2 guile hal imagemagick imlib ipv6 jack java javascript joystick jp2 jpeg junit ldap libcaca libwww lzw lzw-tiff mad matroska mikmod mng motif mozilla mp3 mpeg mplayer mysql ncurses netboot nls no-old-linux nptl nptlonly nvidia objc ofx ogg oggvorbis openal opengl oss pam pcmcia pcre pdflib perl php pic plotutils png posix ppds python qt quicktime rar readline real samba scanner sdl simplexml slang sndfile speex spell spl ssl stream svg symlink sysfs tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd vorbis wmf wxwindows xine xinerama xml xml2 xmms xosd xpm xprint xrandr xsl xv xvid xvmc zeroconf zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Jim Laflin 2005-08-13 17:10:53 UTC
Eric, having trouble testing this (it's likely because I am retarded)

If you can supply:
example xsl-fo file
command to run

I'll happily mark it TESTED, deal? ;)

Cheers
Jim
Comment 2 Eric Anderson 2005-08-16 17:45:45 UTC
Created attachment 66113 [details]
Sample xsl-fo file
Comment 3 Eric Anderson 2005-08-16 17:47:41 UTC
Woops, now I know how the attachment works...

Command to run (this command is provided by xmltex but relies on passivetex):
$ pdfxmltex sample.fo
Comment 4 Jim Laflin 2005-08-16 17:50:58 UTC
jim@gentoo ~ $ pdfxmltex sample.fo
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5)
(./sample.fo{/usr/share/texmf/pdftex/config/pdftex.cfg}
xmltex version: 2002/06/25 v1.9 (Exp):
(/usr/share/texmf/tex/xmltex/xmltex.cfg)
! I can't find file `sample.cfg'.
\@filef@und ->\jobname .cfg

...
l.1
    <?xml version="1.0" ?>
Please type another input file name:
Comment 5 Eric Anderson 2005-08-17 17:20:38 UTC
Ummm... I don't know what is wrong there... I tried downloading the sample
xsl-fo file and saved it as sample.fo and then ran "pdfxmltex sample.fo"... and
no problems... I will play around and see if I can break mine :)
Comment 6 Jim Laflin 2005-08-19 19:10:27 UTC
Looks like it tries to use 
"<filename>.cfg"

Do you have any config files lying around for it?

Jim
Comment 7 Eric Anderson 2005-09-12 10:33:37 UTC
Sorry for the VERY late reply - I have been without Internet.

Okay. My output should shed some light on the subject:

$ pdfxmltex sample.fo
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./sample.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: sample.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 sample.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 sample.out.
No file sample.out.
INFO: Using normal, i.e. nonfrench-spacing in document

Underfull \hbox (badness 10000) has occurred while \output is active
[]
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./sample.aux) )
(see the transcript file for additional information){/usr/share/texmf/fonts/enc
/dvips/psnfss/8r.enc}</usr/share/texmf/fonts/type1/urw/times/utmr8a.pfb>
Output written on sample.pdf (1 page, 20599 bytes).
Transcript written on sample.log.

The main differences I see is the use of a different pdfeTex and maybe a
different Tex distribution. I am using tetex-3.0-r2, are you using something else?
Comment 8 Jim Laflin 2005-09-17 12:57:04 UTC
* app-text/tetex
     Available versions:  !1.0.7-r13 2.0.2-r5 ~2.0.2-r6 ~3.0-r1 ~3.0-r2 ~3.0-r3
     Installed:           2.0.2-r5



I'm using the stable tetex. Will investigate other versions when I get a minute

Jim
Comment 9 Jim Laflin 2005-09-20 11:30:14 UTC
OK, merged tetex-3.0-r3 (the latest ~amd64) and it looks slightly more helpful

jim@gentoo ~ $ pdfxmltex sample.fo
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea: Running mktexfmt pdfxmltex.fmt
fmtutil: no info for format `pdfxmltex'.
I can't find the format file `pdfxmltex.fmt'!

Jim
Comment 10 Eric Anderson 2005-09-20 20:21:36 UTC
Hmm... I didn't have any such problem... Anyways, mine is located at:
/var/lib/texmf/web2c/pdfxmltex.fmt

I checked /var/db/pkg and it was installed as part of dev-tex/xmltex-1.9-r1.
Hope that helps.
Comment 11 Jim Laflin 2005-09-21 05:02:17 UTC
Hmm something is very wrong here

According to qpkg, xmltex did install that file, albeit to /usr/share/texmf/web2c/

But it isnt there?! Remerging xmltex fixed that.

Just need to check now exactly what makes it work (will downgrade tetex etc, it
could be because of my broken xmltex all along)

btw, what's supposed to be in the PDF file? 

Jim
Comment 12 Eric Anderson 2005-09-21 06:13:49 UTC
Created attachment 68931 [details]
PDF output of sample.fo

I uploaded what the output of sample.fo. Nothing really special, just a few
character codes with their coresponding representation.
Comment 13 Jim Laflin 2005-09-21 10:10:10 UTC
Yup that's exactly what I get, cool.

I'll check out the dependency issues (which version of tetex is really needed to
make this work) and get back to you

Jim
Comment 14 Jim Laflin 2005-09-22 10:17:38 UTC
Only works for me with >=tetex-3.0-r2. Bizarre

Waiting on somebody else to confirm this.

Jim
Comment 15 Eric Anderson 2005-10-01 11:34:31 UTC
I just downgraded to tetex-3.0-r1 and it still worked for me, so unless I can
downgrade incorrectly, then it seemed to work for r1.
Comment 16 Simon Stelling (RETIRED) gentoo-dev 2005-10-04 14:16:20 UTC
we're currently testing a new alias system, sorry for the bugspam
Comment 17 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-11-25 10:41:36 UTC
Seems to work just fine here, I am marking ~amd64. It possibly needs to depend 
upon tetex-3 to go stable.