Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227593 - app-text/xetex removal request (was: fails to build (fontconfig issue?))
Summary: app-text/xetex removal request (was: fails to build (fontconfig issue?))
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard: Pending removal: 2009-05-17
Keywords:
: 227595 (view as bug list)
Depends on:
Blocks: 227443
  Show dependency tree
 
Reported: 2008-06-16 18:50 UTC by Evil Compile Person
Modified: 2009-05-17 01:11 UTC (History)
3 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 Evil Compile Person 2008-06-16 18:50:04 UTC
O2 -march=i686 -pipe  -I../../../texk/web2c/../../libs/teckit/source/Public-headers -DHAVE_CONFIG_H  -I. -I../../../texk/web2c -I.. -I../../../texk/web2c/..   -O2 -march=i686 -pipe  -DXETEX_OTHER -c xetex2.c -o xetex2.o
test -d xetexdir || mkdir xetexdir
grep '^@d XeTeX_version_string==' ../../../texk/web2c/xetexdir/xetex-new.ch \
          | sed "s/^.*'-//;s/'.*$//" >xetexdir/xetex.version
test -d xetexdir || mkdir xetexdir
sed s/XETEX-VERSION/`cat xetexdir/xetex.version`/ \
          ../../../texk/web2c/xetexdir/xetexextra.in >xetexdir/xetexextra.h
sed s/TEX-OR-MF-OR-MP/xetex/ ../../../texk/web2c/lib/texmfmp.c >xetexextra.c
gcc -DHAVE_CONFIG_H  -I. -I../../../texk/web2c -I.. -I../../../texk/web2c/..   -O2 -march=i686 -pipe  -I../../../texk/web2c/../../libs/teckit/source/Public-headers -DHAVE_CONFIG_H  -I. -I../../../texk/web2c -I.. -I../../../texk/web2c/..   -O2 -march=i686 -pipe  -DXETEX_OTHER -c xetexextra.c -o xetexextra.o
xetexextra.c: In function 'ipcpage':
xetexextra.c:610: warning: passing argument 2 of '__builtin_strncpy' from incompatible pointer type
gcc -DHAVE_CONFIG_H  -I. -I../../../texk/web2c -I.. -I../../../texk/web2c/..   -O2 -march=i686 -pipe  -DHAVE_CONFIG_H  -I. -I../../../texk/web2c -I.. -I../../../texk/web2c/..   -O2 -march=i686 -pipe  -DXETEX_OTHER -c ../../../texk/web2c/xetexdir/trans.c -o trans.o
gcc -DHAVE_CONFIG_H  -I. -I../../../texk/web2c -I.. -I../../../texk/web2c/..   -O2 -march=i686 -pipe  -I../../libs/icu-xetex/common -I../../../texk/web2c/../../libs/icu-xetex/common -I../../../texk/web2c/../../libs/icu-xetex/layout -DLE_USE_CMEMORY -I../../../texk/web2c/../../libs/freetype2/include -I../../../texk/web2c/../../libs/teckit/source/Public-headers -DHAVE_CONFIG_H  -I. -I../../../texk/web2c -I.. -I../../../texk/web2c/..   -O2 -march=i686 -pipe  -DXETEX_OTHER -c ../../../texk/web2c/xetexdir/XeTeX_ext.c -o XeTeX_ext.o
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.h:36,
                 from ../../../texk/web2c/xetexdir/XeTeX_ext.c:68:
../../../texk/web2c/xetexdir/XeTeXFontMgr.h:40:35: error: fontconfig/fontconfig.h: No such file or directory
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.h:36,
                 from ../../../texk/web2c/xetexdir/XeTeX_ext.c:68:
../../../texk/web2c/xetexdir/XeTeXFontMgr.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from ../../../texk/web2c/xetexdir/XeTeX_ext.c:68:
../../../texk/web2c/xetexdir/XeTeXLayoutInterface.h:56: error: expected ')' before 'fontRef'
../../../texk/web2c/xetexdir/XeTeXLayoutInterface.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'findFontByName'
../../../texk/web2c/xetexdir/XeTeXLayoutInterface.h:65: error: expected ')' before 'fontRef'
../../../texk/web2c/xetexdir/XeTeXLayoutInterface.h:69: error: expected ')' before 'fontRef'
../../../texk/web2c/xetexdir/XeTeXLayoutInterface.h:86: error: expected ')' before 'fontRef'
../../../texk/web2c/xetexdir/XeTeXLayoutInterface.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getFontRef'
../../../texk/web2c/xetexdir/XeTeX_ext.c:446: error: expected ')' before 'fontRef'
../../../texk/web2c/xetexdir/XeTeX_ext.c: In function 'findnativefont':
../../../texk/web2c/xetexdir/XeTeX_ext.c:706: error: 'PlatformFontRef' undeclared (first use in this function)
../../../texk/web2c/xetexdir/XeTeX_ext.c:706: error: (Each undeclared identifier is reported only once
../../../texk/web2c/xetexdir/XeTeX_ext.c:706: error: for each function it appears in.)
../../../texk/web2c/xetexdir/XeTeX_ext.c:706: error: expected ';' before 'fontRef'
../../../texk/web2c/xetexdir/XeTeX_ext.c:747: warning: assignment makes pointer from integer without a cast
../../../texk/web2c/xetexdir/XeTeX_ext.c:754: error: 'fontRef' undeclared (first use in this function)
../../../texk/web2c/xetexdir/XeTeX_ext.c:758: warning: initialization makes pointer from integer without a cast
../../../texk/web2c/xetexdir/XeTeX_ext.c:775: warning: assignment makes pointer from integer without a cast
../../../texk/web2c/xetexdir/XeTeX_ext.c:780: warning: assignment makes pointer from integer without a cast
../../../texk/web2c/xetexdir/XeTeX_ext.c: In function 'makefontdef':
../../../texk/web2c/xetexdir/XeTeX_ext.c:1037: error: 'PlatformFontRef' undeclared (first use in this function)
../../../texk/web2c/xetexdir/XeTeX_ext.c:1037: error: expected ';' before 'fontRef'
../../../texk/web2c/xetexdir/XeTeX_ext.c:1072: error: 'fontRef' undeclared (first use in this function)
make: *** [XeTeX_ext.o] Error 1
ls: cannot access Work/texk/web2c/xetex: No such file or directory
 *
 * ERROR: app-text/xetex-0.995 failed.

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-vs2.2.0-gentoo i686)
=================================================================
System uname: 2.6.20-vs2.2.0-gentoo i686 Intel(R) Pentium(R) D CPU 3.20GHz
Timestamp of tree: Fri, 13 Jun 2008 17:45:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acl berkdb cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl ssl tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2008-06-20 10:30:35 UTC
*** Bug 227595 has been marked as a duplicate of this bug. ***
Comment 2 Nico R. 2009-03-01 12:57:02 UTC
A patch from Ubuntu, added in texlive-bin-2007-12ubuntu3, seems to fix the problem for me. See <URL:https://launchpad.net/ubuntu/gutsy/+source/texlive-bin/2007-12ubuntu3>, look for “65_gcc43”. Debian also uses that patch, see <URL:http://patch-tracking.debian.net/package/texlive-bin/2007.dfsg.2-4>, for example, and look for “gcc43-compile-fix”.

I’m still a bit confused about why the build breaks at that special location and with the error message given in comment 0. Someone should test whether the patch fixes the issue for her/him. Thanks!

By the way, I’m using g++-4.3.3.
Comment 3 Ulrich Müller gentoo-dev 2009-03-17 21:18:12 UTC
Reassigning to TeX team since joslwah retired (see bug 129199).

To summarise the state of affairs:
- package fails to build
- Gentoo maintainer has retired
- newer version is included in texlive-core (and blocks against it)
- depends on tetex which is going away
- no reverse dependencies

Looks to me like a clear candidate for removal.


(In reply to comment #2)
> A patch from Ubuntu, added in texlive-bin-2007-12ubuntu3, seems to fix the
> problem for me.

As you say, xetex is now included in texlive.
Comment 4 Ulrich Müller gentoo-dev 2009-03-18 11:39:26 UTC
Package masked:

# Ulrich Mueller <ulm@gentoo.org> (18 Mar 2009)
# Depends on teTeX. Fails to build.
# Newer version is included in app-text/texlive-core.
# Masked for removal in 60 days, bug 227593.
app-text/xetex
Comment 5 Thomas Worthington 2009-04-02 12:01:51 UTC
I currently have xetex installed with tetex. I don't see any inherent reason why xetex should not compile under tetex all of a sudden. Nor, for that matter, does the error message appear to have anything to do with the other TeX components. As far as I can see it is a bug in the xetex build script which is causing it to not find fontconfig.h - a system header file.

I have several machines which are full of customised TeX scripts and programs which call TeX that would take weeks to test and replace if I installed texlive. If there's no actual dependancy between xetex and texlive (and there isn't) I see no value in creating one.
Comment 6 Ulrich Müller gentoo-dev 2009-04-02 18:25:24 UTC
(In reply to comment #5)
> I have several machines which are full of customised TeX scripts and programs
> which call TeX that would take weeks to test and replace if I installed
> texlive.

Sorry, but fact is that there are open security bugs for teTeX, and nobody is going to fix them. app-text/xetex depends on it, so it has to go, too. You can maintain it in a local overlay if you absolutely need it.

Installed packages will not disappear from your systems if we remove them from the Portage tree. Nobody forces you to install TeXlive. However, there won't be any support for teTeX any more (neither from upstream nor from Gentoo).
Comment 7 Thomas Worthington 2009-04-03 09:15:41 UTC
"Sorry, but fact is that there are open security bugs for teTeX, and nobody is
going to fix them. app-text/xetex depends on it, so it has to go, too."

Sorry, but the fact is that xetex does not depend on any particular version of TeX: either tetex or texlive. I am currently using xetex with tetex on Gentoo. 

If there is a bug in the xetex build and a patch exists for it then the patch should be applied and the false dependancy on one particular TeX distribution removed from the ebuild. Xetex should depend on virtual/tex-base not app-tex/texlive.

That is what the "virtual" category is for, after all.
Comment 8 Ulrich Müller gentoo-dev 2009-04-03 12:09:21 UTC
> Sorry, but the fact is that xetex does not depend on any particular version
> of TeX: either tetex or texlive.

xetex-0.995.ebuild has:
RDEPEND="app-text/xdvipdfmx >=app-text/tetex-3.0"
DEPEND=">=app-text/tetex-3.0"

For TeXlive we have app-text/texlive-core providing the xetex binary, and dev-texlive/texlive-xetex for supporting TeX packages.

app-text/xetex cannot be installed along with app-text/texlive-core because the installed files would collide (and texlive-core blocks against app-text/xetex).

> Xetex should depend on virtual/tex-base not app-tex/texlive.

Since it wouldn't work with TeXlive (see above) and teTeX is going away, this would only be useful for using app-text/xetex together with pTeX.
Comment 9 Alexis Ballier gentoo-dev 2009-04-04 14:47:47 UTC
if you go to xetex homepage you'll notice this:

Update — September 2008

The latest release of XeTeX is version 0.999.6, which is included in  TeX Live 2008 and redistributions such as MacTeX 2008 and gwTeX that are based on TL.

An earlier version, release 0.995, remains available as a standalone Installer package from the Downloads page or through  i‑Installer. This version can be installed into an older (pre-2007) release of teTeX or gwTeX, but is no longer recommended for general use.
Comment 10 Ulrich Müller gentoo-dev 2009-05-17 01:11:01 UTC
Removed.