luatex-0.40.5 unconditionally depends on X, thus making texlive unusable on mashines without X installed because of unconditional dependency on luatex (at least for texlive-2008.ebuild). If this cannot be fixed in luatex, then luatex itself should be optional for texlive.
$ portageq metadata / ebuild dev-tex/luatex-0.40.5 DEPEND dev-libs/zziplib media-libs/libpng virtual/poppler sys-libs/zlib >=sys-devel/libtool-2.2.6 dev-util/pkgconfig =sys-devel/automake-1.10* >=sys-devel/autoconf-2.61 sys-devel/libtool I dont see anything X related; please be more explicit and reopen.
configure script of luatex-0.40.5 requires X libs to be available: checking for installed fontconfig headers and library... yes checking for X... no configure: error: Sorry, could not find required X include and library files. What bothers me is why '--with-x' is passed to configure: make: running /bin/sh ./configure '--disable-option-checking' '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--disable-cxx-runtime-hack' '--disable-afm2pl' '--disable-aleph' '--disable-bibtex' '--disable-bibtex8' '--disable-cfftot1' '--disable-cjkutils' '--disable-detex' '--disable-devnag' '--disable-dialog' '--disable-dtl' '--enable-dump-share' '--disable-dvi2tty' '--disable-dvidvi' '--without-dviljk' '--disable-dvipdfm' '--disable-dvipdfmx' '--disable-dvipos' '--disable-dvipsk' '--disable-gsftopk' '--disable-lacheck' '--disable-lcdf-typetools' '--disable-makeindexk' '--disable-mf' '--disable-mmafm' '--disable-mmpfb' '--disable-mp' '--disable-musixflx' '--disable-otfinfo' '--disable-otftotfm' '--disable-pdfopen' '--disable-pdftex' '--disable-ps2eps' '--disable-ps2pkm' '--disable-psutils' '--disable-seetexk' '--disable-t1dotlessj' '--disable-t1lint' '--disable-t1rawafm' '--disable-t1reencode' '--disable-t1testpage' '--disable-t1utils' '--disable-tex' '--disable-tex4htk' '--disable-tpic2pdftex' '--disable-ttf2pk' '--disable-ttfdump' '--disable-ttftotype42' '--disable-vlna' '--disable-web-progs' '--disable-xdv2pdf' '--disable-xdvipdfmx' '--without-system-kpathsea' '--with-system-gd' '--with-system-teckit' '--with-system-t1lib' '--with-system-xpdf' '--disable-largefile' '--disable-multiplatform' '--disable-shared' '--with-system-zlib' '--with-system-libpng' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector' 'LDFLAGS=-Wl,-O1' 'CXXFLAGS=-march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector' '--enable-native-texlive-build' '--with-x' '--enable-web2c=yes' '--cache-file=/dev/null' '--srcdir=.' $ emerge --info Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.28.9-sheryl x86_64) ================================================================= System uname: Linux-2.6.28.9-sheryl-x86_64-Intel-R-_Celeron-R-_CPU_2.53GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 20 Jun 2009 03:45:03 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p24 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" FFLAGS="-march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector" GENTOO_MIRRORS=" ftp://bircoph/distributive/gentoo ftp://ftp.chg.ru/pub/Linux/gentoo http://mirror.yandex.ru//gentoo-distfiles http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="ru en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="aalib acl acpi adns amd64 bash-completion blas bluetooth bzip2 caps cdb cli clisp cracklib crypt cscope ctype cups curl curlwrappers cvs cxx cyrillic djvu doc eap-tls editor encode enscript examples exif expat fftw foomaticdb fortran ftp gdbm geoip gif ginac git gmp gnuplot gnutls gpgme gpm gsl hardened hdf5 iconv idn imap iproute2 ipv6 isdnlog javascript jpeg jpeg2k keyscrub kpathsea lapack latex libcaca libwww lm_sensors logrotate lzo maildir mailwrapper mbox md5sum mhash midi mime mmap mmx mng mppe-mppc mudflap multilib mysql mysqli ncurses netcdf network-cron nls nntp nocd nptlonly objc objc++ offensive openexr openmp otr pam pch pcntl pcre pdf perl plotutils png pop posix ppds pppd raw readline recode reflection rle samba scanner session sharedmem slang slp smtp sockets socks5 sparse spell spl sse sse2 sse3 ssl subversion supernodal sysfs syslog szip tcpd tiff unicode usb vim vim-syntax wifi xattr yaz zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host dir mime" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 195543 [details] build.log
Created attachment 195545 [details] environment
Confirmed. I'm building a new server amd64, USE="-X" and this is preventing and emerge of texlive. checking for installed fontconfig headers and library... yes checking for X... no configure: error: Sorry, could not find required X include and library files. make[1]: *** [subtexk] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-tex/luatex-0.40.5/work/luatex-beta-0.40.5/source/texk' make: *** [all-recursive] Error 1
See http://www.mail-archive.com/dev-luatex@ntg.nl/msg00928.html for discussion and fix. However, I added: src_configure() { ... econf \ ... --without-mf-x-toolkit \ --without-x to the ebuild, and it had no effect. I think the problem could be adjusted here in the ebuild, but I don't know why that didn't work. Later in the above thread, a reference was made to a commit in the "TL" (TexLive?) SVN that improves option handling in this area.
thanks, i was able to reproduce the issue on a X-less chroot; it should be fixed now by adding --without-x. @Jeff: if this isn't enough for you, please post a full build log.
It works for me with --without-x added to econf option list.