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.
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.
(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.
(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
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. :(
(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.
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.
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!
(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).
(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.
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.
(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
~ppc keywords added
Marked ~hppa.
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뉧coirt뉣hreata뉧creata뉤hoirte<U+F264> hoirtear ? ! Emergency stop. l.6089 ...rt뉧coirt뉣hreata뉧creata뉤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
I really like all those programs with an X: xetex86ified
*** Bug 154232 has been marked as a duplicate of this bug. ***
~amd64 done; all working well for me now. Thanks for all the support.
*** Bug 154231 has been marked as a duplicate of this bug. ***
~ia64 done
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?
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!
(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.