Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153132 - Please test and keyword app-text/xetex-0.995 and app-text/xdvipdfmx-0.3
Summary: Please test and keyword app-text/xetex-0.995 and app-text/xdvipdfmx-0.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Joshua (RETIRED)
URL:
Whiteboard:
Keywords:
: 154231 154232 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-28 04:45 UTC by Joshua (RETIRED)
Modified: 2007-08-25 22:52 UTC (History)
9 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 Joshua (RETIRED) gentoo-dev 2006-10-28 04:45:59 UTC
New packages.  xdvipdfmx is an extended version of xdvi which is used by XeTeX to generate pdf files.  XeTeX is an extended version of TeX which can be used for unicode typesetting as well as vertical languages.
Comment 1 Ferris McCormick (RETIRED) gentoo-dev 2006-10-28 07:11:27 UTC
xdvipdfmx is good for ~sparc.

xetex is not:  The build fails at install, thus (last few lines of build)
=======================
cp: cannot create regular file `/var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf': No such file or directory
./rebuild-formats: line 11: /var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf: No such file or directory
fmtutil: config file `/var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf' not found.
fmtutil: config file `/var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf' not found.
fmtutil: config file `/var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf' not found.
fmtutil: config file `/var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf' not found.
texlinks: config file `fmtutil.cnf' not found.
==================================
Now, this file is installed in the running system in several places, thus:
=========================
/etc/texmf/web2c/fmtutil.cnf
/etc/texmf/fmtutil.d/00fmtutil.cnf
/var/lib/texmf/web2c/fmtutil.cnf

But there is no way I can see to put it in the build directory, because it is not part of the source for xetex.

Fix that or tell me where I am going wrong, and then xetex is good for sparc.
Comment 2 Joshua (RETIRED) gentoo-dev 2006-10-28 08:49:36 UTC
(In reply to comment #1)

Right.  I slipped up.  Fix is going in.

Please update and then it should work.  At least I can see one thing that I got wrong.  Hopefully there aren't others.

Comment 3 Ferris McCormick (RETIRED) gentoo-dev 2006-10-28 09:14:03 UTC
(In reply to comment #2)
> (In reply to comment #1)
> 
> Right.  I slipped up.  Fix is going in.
> 
> Please update and then it should work.  At least I can see one thing that I got
> wrong.  Hopefully there aren't others.
> 

I still see the same failure:
fmtutil: config file `/var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf' not found
(This is with one new patchfile: files/xetex-0.995-rebuild.patch
Comment 4 Ferris McCormick (RETIRED) gentoo-dev 2006-10-28 10:19:13 UTC
Let me add some information:  Now, the fmtutil,cnf file is in work/xetex-0.995/Work/texk/web2c/fmtutil.cnf

But the install process has to move it to image//var/lib/texmf/web2c/fmtutil.cnf
For whatever reason, the #Auxiliary files install-data:: target is not run in time or at all; at the time of the failure, an examination of image/ shows none of the Aux files have been installed yet.  I suppose fmtutil.cnf could be a target itself, and the 'make install' could look like:

install: install-fmtutil.cnf install-exec install-data

That's sort of ugly, but it might work (xetex is installed, and if the install-exec target in THIS Makefile is used to install it, that should work.

Unfortunately, I have tried that by hand, and it does not.  So, I don't see how xetex gets installed; it's not from the web2c Makefile.  fmtutil.cnf has to be installed at the same time as xetex is, but I don't see where that happens. :(
Comment 5 Joshua (RETIRED) gentoo-dev 2006-10-29 01:55:17 UTC
(In reply to comment #4)

New patch committed.  Problem was that tetex-2 and -3 put certain files in different places.

NB.  There will be an error shown with Hungarian hyphenation.  It should be safe to ignore for now, but I'll work on it.
Comment 6 Joshua (RETIRED) gentoo-dev 2006-10-29 03:18:17 UTC
Hyphenation problems have been fixed. 
 
Magyar, Russian and Serbian hyphenation dictionaries are no longer built since they are broken.  xetex and xelatex now should work properly with both tetex-2 and tetex-3.
Comment 7 Gour 2006-10-29 04:26:54 UTC
Hi!

Attempt to build on ~amd64 fails with:

.+ texhash /var/tmp/portage/app-text/xetex-0.995/image/usr/share/texmf
texhash: Updating /var/tmp/portage/app-text/xetex-0.995/image/usr/share/texmf/ls-R... 
texhash: Done.
+ sh ./rebuild-formats
cp: cannot create regular file `/var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf': No such file or directory
./rebuild-formats: line 11: /var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf: No such file or directory
fmtutil: config file `/var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf' not found.
fmtutil: config file `/var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf' not found.
fmtutil: config file `/var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf' not found.
fmtutil: config file `/var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c/fmtutil.cnf' not found.
texlinks: config file `fmtutil.cnf' not found.

!!! ERROR: app-text/xetex-0.995 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_install
  ebuild.sh, line 1022:   Called src_install
  xetex-0.995.ebuild, line 44:   Called die


Sincerely,
Gour

ps. btw, it's great to see xetex coming to portage!
Comment 8 Ferris McCormick (RETIRED) gentoo-dev 2006-10-29 04:44:19 UTC
(In reply to comment #5)
> (In reply to comment #4)
> 
> New patch committed.  Problem was that tetex-2 and -3 put certain files in
> different places.
> 
> NB.  There will be an error shown with Hungarian hyphenation.  It should be
> safe to ignore for now, but I'll work on it.
> 
That got it, ~sparc keyword added. I note, however, that when I try to run the samples, there seem to be a lot of missing fonts.  Or perhaps they have to be loaded separately from someplace else?  (E.g., the Chinese example from the xetex home page wants \punc=BiauKai/AAT:vertical).
Comment 9 Joshua (RETIRED) gentoo-dev 2006-10-29 05:04:11 UTC
(In reply to comment #8)
> (In reply to comment #5)
> > (In reply to comment #4)
> > 
> > New patch committed.  Problem was that tetex-2 and -3 put certain files in
> > different places.
> > 
> > NB.  There will be an error shown with Hungarian hyphenation.  It should be
> > safe to ignore for now, but I'll work on it.
> > 
> That got it, ~sparc keyword added. I note, however, that when I try to run the
> samples, there seem to be a lot of missing fonts.  Or perhaps they have to be
> loaded separately from someplace else?  (E.g., the Chinese example from the
> xetex home page wants \punc=BiauKai/AAT:vertical).
> 

    Yeah.  That is a problem.  Some of the fonts, such as CODE2000 are shareware, so may be more interesting for portage.  Others I'd be interested in help tracking down.



Comment 10 Tristan Ravitch 2006-10-29 09:42:02 UTC
With the update from comments 5 and 6, both xdvipdfmx and xetex build and work fine on amd64.
Thanks for the ebuilds, I've been fighting with xetex trying to get it to build for some time.
Comment 11 Gour 2006-10-29 10:12:25 UTC
(In reply to comment #10)
> With the update from comments 5 and 6, both xdvipdfmx and xetex build and work
> fine on amd64.
> Thanks for the ebuilds, I've been fighting with xetex trying to get it to build
> for some time.
> 

I downloaded today's update (from CVS) and report the XeTeX builds and works on ~amd64.

Sincerely,
Gour
Comment 12 nixnut (RETIRED) gentoo-dev 2006-10-30 11:20:26 UTC
~ppc keywords added
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2006-10-30 12:30:22 UTC
Marked ~hppa.
Comment 14 Markus Meier gentoo-dev 2006-10-30 13:32:14 UTC
xdvipdfmx-0.3:
1. emerges on x86
2. passes collision test

xetex:
1. emerges on x86, please note:
A Notice: the following files contain executable stacks
 Files with executable stacks will not work properly (or at all!)
 on some architectures/operating systems.  A bug should be filed
 at http://bugs.gentoo.org/ to make sure the file is fixed.
 For more information, see http://hardened.gentoo.org/gnu-stack.xml
 Please include this file in your report:
 /var/tmp/portage/app-text/xetex-0.995/temp/scanelf-execstack.log
RWX --- --- usr/bin/xetex

and:
Hyphenation patterns `gahyph.tex' Version 1.0 <2004/01/22>
! Not a letter.
l.6089 ...rt&#45671;coirt&#45667;hreata&#45671;creata&#45668;hoirte<U+F264>
                                                  hoirtear
?
! Emergency stop.
l.6089 ...rt&#45671;coirt&#45667;hreata&#45671;creata&#45668;hoirte<U+F264>
                                                  hoirtear
No pages of output.
Transcript written on xelatex.log.
Error: `xetex -ini  -jobname=xelatex -progname=xelatex *xelatex.ini' failed

###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
  /var/tmp/portage/app-text/xetex-0.995/image//var/lib/texmf/web2c
for details.
###############################################################################

This is a summary of all `failed' messages and warnings:
`xetex -ini  -jobname=xelatex -progname=xelatex *xelatex.ini' failed
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /usr/share/texmf/ls-R...
texhash: Updating /usr/share/texmf-site/ls-R...
texhash: Updating /var/cache/fonts/ls-R...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.

2. passes collision test


[ebuild   R   ] app-text/xetex-0.995  0 kB [1]
[ebuild   R   ] app-text/xdvipdfmx-0.3  0 kB [1]

Portage 2.1.2_rc1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18.1 i686)
=================================================================
System uname: 2.6.18.1 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 30 Oct 2006 17:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="autoconfig collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LINGUAS="en de en_GB"
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/normal"
SYNC="rsync://192.168.2.1/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 bash-completion berkdb bidi bitmap-fonts bzip2 cairo cdr clamav cli cracklib crypt css cups curl dbus divx divx4linux dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode ethereal exif ffmpeg firefox font-server fortran freetype gcj gd gdbm gif gnome gnuplot gnutls gphoto2 gpm graphviz gs gstreamer gtk hal hardenedphp iconv ieee1394 imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipod ipv6 isdnlog java jikes jpeg kde kdeenablefinal kernel_linux libclamav libg++ linguas_de linguas_en linguas_en_GB live logitech-mouse mad maildir mikmod mmx mono mozcalendar mozdevelop mozilla mozsvg mp3 mpeg ncurses network nls no-htdocs nptl nptlonly ntfs nvidia oav ogg oggvorbis opengl oss pam pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline real reflection ruby samba screen sdl session spell spl sse sse2 ssl stream subversion svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_radeon vlm vorbis wifi win32codecs wxwindows xcomposite xine xinerama xml2 xorg xprint xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2006-10-31 03:33:34 UTC
I really like all those programs with an X:

xetex86ified
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-11-06 04:41:17 UTC
*** Bug 154232 has been marked as a duplicate of this bug. ***
Comment 17 Ferris McCormick (RETIRED) gentoo-dev 2006-11-06 05:58:47 UTC
~amd64 done; all working well for me now.  Thanks for all the support.
Comment 18 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-11-06 09:00:03 UTC
*** Bug 154231 has been marked as a duplicate of this bug. ***
Comment 19 Raúl Porcel (RETIRED) gentoo-dev 2007-03-26 11:21:04 UTC
~ia64 done
Comment 20 tralalas 2007-04-14 12:34:54 UTC
Question of understanding / Just an idea:

I understood XeTeX as an alternativ to the classical tex. And that XeTeX is indipendent of the used scriptingsystem (e.g. Latex or Context). Are there any technical reasons for the tetex dependency?


I am asking as I can use Context+XeTeX completly without the tetex-package. Would it be good to make the XeteX package dependency to tetex optinal with an use-flag?

Comment 21 Joshua (RETIRED) gentoo-dev 2007-05-04 12:41:29 UTC
Closing.
(In reply to comment #20)
> Question of understanding / Just an idea:
> 
> I understood XeTeX as an alternativ to the classical tex. And that XeTeX is
> indipendent of the used scriptingsystem (e.g. Latex or Context). Are there any
> technical reasons for the tetex dependency?
> 
   It is an alternative, but it is built upon teTeX at the moment.  There are plans for getting it into TeXlive, but they aren't completed yet.  Once we move over to TeXlive instead of teTeX then it should include XeTeX anyway.

> 
> I am asking as I can use Context+XeTeX completly without the tetex-package.
> Would it be good to make the XeteX package dependency to tetex optinal with an
> use-flag?
> 
   If you feel that you can get it to compile, then feel free to try and submit a patch for it.


Closing the bug here since we're now stabilising!

Comment 22 Barry Schwartz 2007-05-04 15:03:07 UTC
(In reply to comment #21)
>    It is an alternative, but it is built upon teTeX at the moment.  There are
> plans for getting it into TeXlive, but they aren't completed yet.  Once we move
> over to TeXlive instead of teTeX then it should include XeTeX anyway.

TeXlive 7 includes XeTeX and has been available for a while, but its ConTeXt breaks stuff I had written for ConTeXt+XeTeX using the teTeX-based ebuilds. From the XeTeX mailing list, I think other people also have run into problems with XeTeX and recent versions of ConTeXt.