Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265635 - dev-tex/luatex-0.30.3 fails to compile due to undefined references
Summary: dev-tex/luatex-0.30.3 fails to compile due to undefined references
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-10 10:31 UTC by Dexter Magnific
Modified: 2009-04-26 15:57 UTC (History)
1 user (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 Dexter Magnific 2009-04-10 10:31:06 UTC
Hi,

I followed the TeTeX to TeXLive migration guideline in the gentoo site.
When emerging luatex, the compilation fails due to undefined references



Reproducible: Always

Steps to Reproduce:
1. emerge luatex

Actual Results:  
/usr/lib/libmplib/mplib.so: undefined reference to `lua_newtable'
/usr/lib/libmplib/mplib.so: undefined reference to `lua_tostring'
/usr/lib/libmplib/mplib.so: undefined reference to `luaL_getmetatable'
collect2: ld returned 1 exit status
make: *** [luatex] Error 1
 * 
 * ERROR: dev-tex/luatex-0.30.3 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2483:  Called die
 * The specific snippet of code:
 *       emake LIBMPLIBDEP="/usr/$(get_libdir)/libmplib/mplib.la" LDZZIPLIB="$(pkg-config --libs zziplib)" ZZIPLIBINC="$(pkg-config --cflags zziplib)" LIBXPDFDEP="" LDLIBXPDF="$(pkg-config --libs poppler)" LIBXPDFINCLUDE="$(pkg-config --cflags poppler)" LIBXPDFCPPFLAGS="$(pkg-config --cflags poppler)" LIBPNGINCLUDES="$(pkg-config --cflags libpng)" ZLIBSRCDIR="." luatex || die "failed to build luatex"


Expected Results:  
Should compile fine.

My dev-lang/lua package is up tp date (5.1.4-r1)
TexLive won't compile without luatex.

* emerge --info :

Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.6.1-r0, 2.6.28-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-glibc2.0
Timestamp of tree: Thu, 09 Apr 2009 12:30:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.1.7
dev-lang/python:     2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
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/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages nodoc parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://pandemonium.tiscali.de/pub/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS=""
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/layman/desktop-effects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa asf berkdb bluetooth branding bzip2 cairo caps cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode evo exif fam ffmpeg firefox fortran gdbm gif glitz glut gmp gpm hal iconv imagemagick inotify ipv6 isdnlog jack jpeg kde kdeprefix kipi ladspa laptop ldap libnotify logrotate lua mad midi mikmod mmx mmxext mp3 mpeg mudflap musicbrainz ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pcmcia pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg svga sysfs tcpd tetex theora tidy tiff truetype unicode usb utempter v4l v4l2 vcd visualization vorbis win32codecs x86 xcb xcomposite xine xinerama xml xorg xulrunner xv xvid xvmc zeroconf 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 mmap_emul 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="mouse keyboard synaptics v4l wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dexter Magnific 2009-04-10 11:03:15 UTC
FIXED : re-emerge mplib after updating lua
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-26 15:57:18 UTC
*** Bug 267457 has been marked as a duplicate of this bug. ***