>>> Unpacking source... >>> Unpacking lua-5.1.4.tar.gz to /var/tmp/portage/dev-lang/lua-5.1.4/work * Applying lua-5.1-make.patch ...  [ ok ] * Applying lua-5.1-module_paths.patch ...  [ ok ] >>> Source unpacked in /var/tmp/portage/dev-lang/lua-5.1.4/work >>> Compiling source in /var/tmp/portage/dev-lang/lua-5.1.4/work/lua-5.1.4 ... make -j3 CC=i686-pc-linux-gnu-gcc 'CFLAGS=-DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer' RPATH=//usr/lib/ LUA_LIBS=-lreadline 'LIB_LIBS=-lm -ldl' V=5.1.4 gentoo_all Makefile:201: warning: overriding commands for target `liblua.a' Makefile:51: warning: ignoring old commands for target `liblua.a' Makefile:204: warning: overriding commands for target `lua' Makefile:55: warning: ignoring old commands for target `lua' Makefile:210: warning: overriding commands for target `luac' Makefile:58: warning: ignoring old commands for target `luac' libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lapi.lo lapi.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lcode.lo lcode.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o ldebug.lo ldebug.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o ldo.lo ldo.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o ldump.lo ldump.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lfunc.lo lfunc.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lgc.lo lgc.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o llex.lo llex.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lmem.lo lmem.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lobject.lo lobject.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lopcodes.lo lopcodes.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lparser.lo lparser.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lstate.lo lstate.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lstring.lo lstring.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o ltable.lo ltable.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o ltm.lo ltm.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lundump.lo lundump.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lvm.lo lvm.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lzio.lo lzio.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lauxlib.lo lauxlib.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lbaselib.lo lbaselib.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o ldblib.lo ldblib.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o liolib.lo liolib.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lmathlib.lo lmathlib.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o loslib.lo loslib.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o ltablib.lo ltablib.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lstrlib.lo lstrlib.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o loadlib.lo loadlib.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o linit.lo linit.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o lua.o lua.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o luac.o luac.c libtool --quiet --tag=CC --mode=compile i686-pc-linux-gnu-gcc -c -DLUA_USE_LINUX -march=prescott -O2 -pipe -fomit-frame-pointer -o print.o print.c libtool --quiet --tag=CC --mode=link i686-pc-linux-gnu-gcc -version-info 6:4:1 \ -rpath //usr/lib/ -o liblua.la lapi.lo lcode.lo ldebug.lo ldo.lo ldump.lo lfunc.lo lgc.lo llex.lo lmem.lo lobject.lo lopcodes.lo lparser.lo lstate.lo lstring.lo ltable.lo ltm.lo lundump.lo lvm.lo lzio.lo lauxlib.lo lbaselib.lo ldblib.lo liolib.lo lmathlib.lo loslib.lo ltablib.lo lstrlib.lo loadlib.lo linit.lo -lm -ldl libtool --quiet --tag=CC --mode=link i686-pc-linux-gnu-gcc -static -o liblua.a lapi.lo lcode.lo ldebug.lo ldo.lo ldump.lo lfunc.lo lgc.lo llex.lo lmem.lo lobject.lo lopcodes.lo lparser.lo lstate.lo lstring.lo ltable.lo ltm.lo lundump.lo lvm.lo lzio.lo lauxlib.lo lbaselib.lo ldblib.lo liolib.lo lmathlib.lo loslib.lo ltablib.lo lstrlib.lo loadlib.lo linit.lo eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: eval: 1: libobjs+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libobjs+=: not found eval: 1: libtool_args+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: libobjs+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libobjs+=: not found eval: 1: non_pic_objects+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found libtool --quiet --tag=CC --mode=link i686-pc-linux-gnu-gcc -Wl,-E -o lua lua.o -lreadline -llua libtool --quiet --tag=CC --mode=link i686-pc-linux-gnu-gcc -static -Wl,-E -o lua_test lua.o liblua.la -lreadline libtool --quiet --tag=CC --mode=link i686-pc-linux-gnu-gcc -static -o luac luac.o print.o liblua.la eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status make: *** [luac] Error 1 make: *** Waiting for unfinished jobs.... /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status make: *** [lua_test] Error 1 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status make: *** [lua] Error 1 * * ERROR: dev-lang/lua-5.1.4 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2409: Called die * The specific snippet of code: * emake CC="${CC}" CFLAGS="-DLUA_USE_LINUX ${CFLAGS}" RPATH="${ROOT}/usr/$(get_libdir)/" LUA_LIBS="${mylibs}" LIB_LIBS="${liblibs}" V=${PV} gentoo_all || die "emake failed"; * The die message: * emake failed * * 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-lang/lua-5.1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/lua-5.1.4/temp/environment'. *