When emerging games-roguelike/stone-soup-0.11.1-r1, with or without the "lua" USE flag, when lua is either not present (only for "-lua" flag) or has been emerged with "-deprecated", stone-soup fails to emerge. (I have only tried with the other flags set to "-debug ncurses -test -tiles") Reproducible: Always Steps to Reproduce: USE="-deprecated" emerge lua && emerge stone-soup or USE="-deprecated" emerge lua && USE="-lua" emerge stone-soup or emerge -c lua && USE="-lua" emerge stone-soup Actual Results: With the "-lua" flag and without lua emerged, 'emerge stone-soup' fails with: >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-roguelike/stone-soup-0.11.1-r1/work/stone_soup-0.11.1/source ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-roguelike/stone-soup-0.11.1-r1/work/stone_soup-0.11.1/source ... make DATADIR=/usr/share/games/stone-soup V=1 prefix=/usr/games SAVEDIR=~/.crawl NO_LUA_BINDINGS=y * If you experience any problems building Crawl, please take a second look * rebuilding crawl: new build flags or prefix * Need to build contribs: lua/src make: *** contrib: No such file or directory. Stop. make: *** [.contrib-libs] Error 2 With the "lua" flag set, and with lua emerged with the "-deprecated" flag, 'emerge stone-soup' fails with: ... i686-pc-linux-gnu-g++ -O2 -march=i686 -Wall -Wformat-security -Wundef -Wno-array-bounds -Wno-parentheses -Wno-unused-parameter -Wwrite-strings -Wshadow -Wuninitialized -Icontrib/install/i686-pc-linux-gnu/include -Iutil -I. -I/usr/include -Irltiles -I/usr/include/ncursesw -DWIZARD -DASSERTS -DCLUA_BINDINGS -DSAVE_DIR_PATH=\"~/.crawl\" -DDATA_DIR_PATH=\"/usr/share/games/stone-soup/\" -MMD -c cluautil.cc -o cluautil.o cluautil.cc: In function ‘void luaopen_setmeta(lua_State*, const char*, const luaL_Reg*, const char*)’: cluautil.cc:65:40: error: ‘luaL_openlib’ was not declared in this scope cluautil.cc: In function ‘void clua_register_metatable(lua_State*, const char*, const luaL_Reg*, int (*)(lua_State*))’: cluautil.cc:91:37: error: ‘luaL_openlib’ was not declared in this scope make: *** [cluautil.o] Error 1 * ERROR: games-roguelike/stone-soup-0.11.1-r1 failed (compile phase): * emake failed
Created attachment 332182 [details, diff] ebuild patch I believe that this patch to the ebuild will fix the problem, but I don't have extensive experience with it.
+ 13 Dec 2012; Julian Ospald <hasufell@gentoo.org> stone-soup-0.10.3.ebuild, + stone-soup-0.11.0.ebuild, stone-soup-0.11.1.ebuild, + stone-soup-0.11.1-r1.ebuild: + fix dependencies, remove broken lua useflag wrt #447056 +
even arch testers didn't notice, good job ;)