1 |
I am trying to emerge luatex, but it fails with the following message: |
2 |
|
3 |
* |
4 |
* ERROR: dev-tex/luatex-0.30.3 failed. |
5 |
* Call stack: |
6 |
* ebuild.sh, line 49: Called src_compile |
7 |
* environment, line 2620: Called die |
8 |
* The specific snippet of code: |
9 |
* emake LIBMPLIBDEP="/usr/$(get_libdir)/libmplib/mplib.la" |
10 |
LDZZIPLIB="$(pkg-config --libs zziplib)" ZZIPLIBINC="$(pkg-config |
11 |
--cflags zziplib)" LIBXPDFDEP="" LDLIBXPDF="$(pkg-config --libs |
12 |
poppler)" LIBXPDFINCLUDE="$(pkg-config --cflags poppler)" |
13 |
LIBXPDFCPPFLAGS="$(pkg-config --cflags poppler)" |
14 |
LIBPNGINCLUDES="$(pkg-config --cflags libpng)" ZLIBSRCDIR="." luatex |
15 |
|| die "failed to build luatex" |
16 |
* The die message: |
17 |
* failed to build luatex |
18 |
* |
19 |
* If you need support, post the topmost build error, and the call |
20 |
stack if relevant. |
21 |
* A complete build log is located at |
22 |
'/var/tmp/portage/dev-tex/luatex-0.30.3/temp/build.log'. |
23 |
* The ebuild environment file is located at |
24 |
'/var/tmp/portage/dev-tex/luatex-0.30.3/temp/environment'. |
25 |
* |
26 |
|
27 |
This has me thoroughly perplexed. I have remerged mplib, to no avail. |
28 |
The linker error is as follows: |
29 |
|
30 |
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-g++ -o luatex |
31 |
-Wl,-O1 luatexini.o luatex0.o luatex1.o luatex2.o luatex3.o |
32 |
luatexextra.o luatex-pool.o luatexdir/libpdf.a -lpng -lz -lpoppler |
33 |
../../libs/md5/md5.o ../../libs/obsdcompat/libopenbsd-compat.a |
34 |
../../libs/lua51/liblua.a ../../libs/slnunicode/slnunico.o |
35 |
../../libs/luazip/src/luazip.o -lzzip -lz |
36 |
../../libs/luafilesystem/src/lfs.o ../../libs/luasocket/src/socket.a |
37 |
../../libs/luapeg/lpeg.o ../../libs/luamd5/md5lib.o |
38 |
../../libs/luamd5/md5.o ../../libs/luazlib/lgzip.o |
39 |
../../libs/luazlib/lzlib.o ../../libs/luafontforge/libff.a |
40 |
/usr/lib64/libmplib/mplib.la lib/lib.a ../kpathsea/libkpathsea.la |
41 |
-lm |
42 |
x86_64-pc-linux-gnu-g++ -o luatex -Wl,-O1 luatexini.o luatex0.o |
43 |
luatex1.o luatex2.o luatex3.o luatexextra.o luatex-pool.o |
44 |
../../libs/md5/md5.o ../../libs/slnunicode/slnunico.o |
45 |
../../libs/luazip/src/luazip.o ../../libs/luafilesystem/src/lfs.o |
46 |
../../libs/luapeg/lpeg.o ../../libs/luamd5/md5lib.o |
47 |
../../libs/luamd5/md5.o ../../libs/luazlib/lgzip.o |
48 |
../../libs/luazlib/lzlib.o luatexdir/libpdf.a /usr/lib64/libpng12.so |
49 |
-lpoppler ../../libs/obsdcompat/libopenbsd-compat.a |
50 |
../../libs/lua51/liblua.a /usr/lib64/libzzip.so -lz |
51 |
../../libs/luasocket/src/socket.a ../../libs/luafontforge/libff.a |
52 |
/usr/lib64/libmplib/mplib.so lib/lib.a ../kpathsea/.libs/libkpathsea.a |
53 |
-lm -Wl,--rpath -Wl,/usr/lib64 -Wl,--rpath -Wl,/usr/lib64/libmplib |
54 |
-Wl,--rpath -Wl,/usr/lib64 -Wl,--rpath -Wl,/usr/lib64/libmplib |
55 |
/usr/lib64/libmplib/mplib.so: undefined reference to `lua_newtable' |
56 |
/usr/lib64/libmplib/mplib.so: undefined reference to `lua_tostring' |
57 |
/usr/lib64/libmplib/mplib.so: undefined reference to `luaL_getmetatable' |
58 |
collect2: ld returned 1 exit status |
59 |
make: *** [luatex] Error 1 |
60 |
|
61 |
There are no other versions of luatex available to emerge (all marked ~amd64). |
62 |
|
63 |
-- |
64 |
MFD |