* Package: dev-lua/toluapp-1.0.93  * Repository: gentoo  * Maintainer: rafaelmartins@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tolua++-1.0.93.tar.bz2 to /mnt/stockage/var-tmp-portage/portage/dev-lua/toluapp-1.0.93/work >>> Source unpacked in /mnt/stockage/var-tmp-portage/portage/dev-lua/toluapp-1.0.93/work >>> Preparing source in /mnt/stockage/var-tmp-portage/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93 ... >>> Source prepared. >>> Configuring source in /mnt/stockage/var-tmp-portage/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93 ... >>> Source configured. >>> Compiling source in /mnt/stockage/var-tmp-portage/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93 ... scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead. File "/mnt/stockage/var-tmp-portage/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93/SConstruct", line 19, in ('********* tolua is ', 'bin/tolua++_bootstrap') scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead. File "/mnt/stockage/var-tmp-portage/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93/src/tests/SCsub", line 2, in scons: done reading SConscript files. scons: Building targets ... x86_64-pc-linux-gnu-gcc -o src/bin/tolua.o -c -O2 -pipe -mtune=native -ansi -Wall -Iinclude src/bin/tolua.c src/bin/tolua.c: In function 'add_extra': src/bin/tolua.c:70:2: warning: implicit declaration of function 'luaL_getn' [-Wimplicit-function-declaration] len = luaL_getn(L, -1); ^ x86_64-pc-linux-gnu-gcc -o src/bin/toluabind_default.o -c -O2 -pipe -mtune=native -ansi -Wall -Iinclude src/bin/toluabind_default.c x86_64-pc-linux-gnu-gcc -o src/lib/tolua_event.o -c -O2 -pipe -mtune=native -ansi -Wall -Iinclude src/lib/tolua_event.c src/lib/tolua_event.c: In function 'storeatubox': src/lib/tolua_event.c:26:3: warning: implicit declaration of function 'lua_getfenv' [-Wimplicit-function-declaration] lua_getfenv(L, lo); ^ src/lib/tolua_event.c:31:4: warning: implicit declaration of function 'lua_setfenv' [-Wimplicit-function-declaration] lua_setfenv(L, lo); /* stack: k,v,table */ ^ x86_64-pc-linux-gnu-gcc -o src/lib/tolua_is.o -c -O2 -pipe -mtune=native -ansi -Wall -Iinclude src/lib/tolua_is.c x86_64-pc-linux-gnu-gcc -o src/lib/tolua_map.o -c -O2 -pipe -mtune=native -ansi -Wall -Iinclude src/lib/tolua_map.c src/lib/tolua_map.c: In function 'tolua_bnd_setpeer': src/lib/tolua_map.c:266:2: warning: implicit declaration of function 'lua_setfenv' [-Wimplicit-function-declaration] lua_setfenv(L, -2); ^ src/lib/tolua_map.c: In function 'tolua_bnd_getpeer': src/lib/tolua_map.c:274:2: warning: implicit declaration of function 'lua_getfenv' [-Wimplicit-function-declaration] lua_getfenv(L, -1); ^ src/lib/tolua_map.c: In function 'tolua_usertype': src/lib/tolua_map.c:398:2: warning: passing argument 2 of 'tolua_newmetatable' discards 'const' qualifier from pointer target type [enabled by default] if (tolua_newmetatable(L,ctype) && tolua_newmetatable(L,type)) ^ src/lib/tolua_map.c:28:12: note: expected 'char *' but argument is of type 'const char *' static int tolua_newmetatable (lua_State* L, char* name) ^ src/lib/tolua_map.c: In function 'tolua_beginmodule': src/lib/tolua_map.c:414:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function) lua_pushvalue(L,LUA_GLOBALSINDEX); ^ src/lib/tolua_map.c:414:19: note: each undeclared identifier is reported only once for each function it appears in src/lib/tolua_map.c: In function 'tolua_module': src/lib/tolua_map.c:448:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function) lua_pushvalue(L,LUA_GLOBALSINDEX); ^ src/lib/tolua_map.c: In function 'tolua_dobuffer': src/lib/tolua_map.c:699:36: warning: value computed is not used [-Wunused-value] luaL_loadbuffer(L, B, size, name) || lua_pcall(L, 0, 0, 0); ^ scons: *** [src/lib/tolua_map.o] Error 1 scons: building terminated because of errors. * ERROR: dev-lua/toluapp-1.0.93::gentoo failed (compile phase): * scons failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 773: Called die * The specific snippet of code: * scons CC="$(tc-getCC)" CCFLAGS="${CFLAGS} -ansi -Wall" CXX="$(tc-getCXX)" LINK="$(tc-getCC)" LINKFLAGS="${LDFLAGS}" shared=1 || die "scons failed" * * If you need support, post the output of `emerge --info '=dev-lua/toluapp-1.0.93::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lua/toluapp-1.0.93::gentoo'`. * The complete build log is located at '/mnt/stockage/var-tmp-portage/portage/dev-lua/toluapp-1.0.93/temp/build.log'. * The ebuild environment file is located at '/mnt/stockage/var-tmp-portage/portage/dev-lua/toluapp-1.0.93/temp/environment'. * Working directory: '/mnt/stockage/var-tmp-portage/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93' * S: '/mnt/stockage/var-tmp-portage/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93'