public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge luatex-0.30.3 fails
@ 2009-09-03  0:33 Strake
  2009-09-03  6:04 ` Arttu V.
  0 siblings, 1 reply; 3+ messages in thread
From: Strake @ 2009-09-03  0:33 UTC (permalink / raw
  To: gentoo-user

I am trying to emerge luatex, but it fails with the following message:

 *
 * ERROR: dev-tex/luatex-0.30.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2620:  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"
 *  The die message:
 *   failed to build luatex
 *
 * If you need support, post the topmost build error, and the call
stack if relevant.
 * A complete build log is located at
'/var/tmp/portage/dev-tex/luatex-0.30.3/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-tex/luatex-0.30.3/temp/environment'.
 *

This has me thoroughly perplexed. I have remerged mplib, to no avail.
The linker error is as follows:

/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-g++ -o luatex
-Wl,-O1  luatexini.o luatex0.o luatex1.o luatex2.o luatex3.o
luatexextra.o luatex-pool.o   luatexdir/libpdf.a -lpng -lz -lpoppler
../../libs/md5/md5.o ../../libs/obsdcompat/libopenbsd-compat.a
../../libs/lua51/liblua.a ../../libs/slnunicode/slnunico.o
../../libs/luazip/src/luazip.o -lzzip -lz
../../libs/luafilesystem/src/lfs.o ../../libs/luasocket/src/socket.a
../../libs/luapeg/lpeg.o ../../libs/luamd5/md5lib.o
../../libs/luamd5/md5.o  ../../libs/luazlib/lgzip.o
../../libs/luazlib/lzlib.o ../../libs/luafontforge/libff.a
/usr/lib64/libmplib/mplib.la   lib/lib.a ../kpathsea/libkpathsea.la
-lm
x86_64-pc-linux-gnu-g++ -o luatex -Wl,-O1 luatexini.o luatex0.o
luatex1.o luatex2.o luatex3.o luatexextra.o luatex-pool.o
../../libs/md5/md5.o ../../libs/slnunicode/slnunico.o
../../libs/luazip/src/luazip.o ../../libs/luafilesystem/src/lfs.o
../../libs/luapeg/lpeg.o ../../libs/luamd5/md5lib.o
../../libs/luamd5/md5.o ../../libs/luazlib/lgzip.o
../../libs/luazlib/lzlib.o  luatexdir/libpdf.a /usr/lib64/libpng12.so
-lpoppler ../../libs/obsdcompat/libopenbsd-compat.a
../../libs/lua51/liblua.a /usr/lib64/libzzip.so -lz
../../libs/luasocket/src/socket.a ../../libs/luafontforge/libff.a
/usr/lib64/libmplib/mplib.so lib/lib.a ../kpathsea/.libs/libkpathsea.a
-lm -Wl,--rpath -Wl,/usr/lib64 -Wl,--rpath -Wl,/usr/lib64/libmplib
-Wl,--rpath -Wl,/usr/lib64 -Wl,--rpath -Wl,/usr/lib64/libmplib
/usr/lib64/libmplib/mplib.so: undefined reference to `lua_newtable'
/usr/lib64/libmplib/mplib.so: undefined reference to `lua_tostring'
/usr/lib64/libmplib/mplib.so: undefined reference to `luaL_getmetatable'
collect2: ld returned 1 exit status
make: *** [luatex] Error 1

There are no other versions of luatex available to emerge (all marked ~amd64).

-- 
MFD



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] emerge luatex-0.30.3 fails
  2009-09-03  0:33 [gentoo-user] emerge luatex-0.30.3 fails Strake
@ 2009-09-03  6:04 ` Arttu V.
  2009-09-04  0:58   ` Strake
  0 siblings, 1 reply; 3+ messages in thread
From: Arttu V. @ 2009-09-03  6:04 UTC (permalink / raw
  To: gentoo-user

On 9/3/09, Strake <strake888@gmail.com> wrote:
> /usr/lib64/libmplib/mplib.so: undefined reference to `lua_newtable'
> /usr/lib64/libmplib/mplib.so: undefined reference to `lua_tostring'
> /usr/lib64/libmplib/mplib.so: undefined reference to `luaL_getmetatable'
> collect2: ld returned 1 exit status
> make: *** [luatex] Error 1

http://bugs.gentoo.org/show_bug.cgi?id=267457
http://bugs.gentoo.org/show_bug.cgi?id=265635

-- 
Arttu V.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] emerge luatex-0.30.3 fails
  2009-09-03  6:04 ` Arttu V.
@ 2009-09-04  0:58   ` Strake
  0 siblings, 0 replies; 3+ messages in thread
From: Strake @ 2009-09-04  0:58 UTC (permalink / raw
  To: gentoo-user

Thank you! This worked fantastically.

Strangely enough, this bug never turned up during my search, but I
probably tried the wrong terms.

2009/9/3 Arttu V. <arttuv69@gmail.com>:
> On 9/3/09, Strake <strake888@gmail.com> wrote:
>> /usr/lib64/libmplib/mplib.so: undefined reference to `lua_newtable'
>> /usr/lib64/libmplib/mplib.so: undefined reference to `lua_tostring'
>> /usr/lib64/libmplib/mplib.so: undefined reference to `luaL_getmetatable'
>> collect2: ld returned 1 exit status
>> make: *** [luatex] Error 1
>
> http://bugs.gentoo.org/show_bug.cgi?id=267457
> http://bugs.gentoo.org/show_bug.cgi?id=265635
>
> --
> Arttu V.
>
>



-- 
MFD



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-03 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-03  0:33 [gentoo-user] emerge luatex-0.30.3 fails Strake
2009-09-03  6:04 ` Arttu V.
2009-09-04  0:58   ` Strake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox