Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490556 - www-servers/nginx[nginx_modules_http_lua] fails to build with >=dev-lang/lua-5.2
Summary: www-servers/nginx[nginx_modules_http_lua] fails to build with >=dev-lang/lua-5.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL: https://github.com/chaoslawful/lua-ng...
Whiteboard:
Keywords:
Depends on:
Blocks: lua-5.2
  Show dependency tree
 
Reported: 2013-11-06 12:41 UTC by Tiziano Müller (RETIRED)
Modified: 2016-01-22 13:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2013-11-06 12:41:02 UTC
[...]

	/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_control.c
In file included from /var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_log.c:15:0:
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h: In function 'ngx_http_lua_get_req':
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h:215:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
     lua_rawget(L, LUA_GLOBALSINDEX);
                   ^
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h:215:19: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h: In function 'ngx_http_lua_set_req':
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h:228:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
     lua_rawset(L, LUA_GLOBALSINDEX);
                   ^
make[1]: *** [objs/addon/src/ngx_http_lua_log.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_subrequest.c:15:0:
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h: In function 'ngx_http_lua_get_req':
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h:215:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
     lua_rawget(L, LUA_GLOBALSINDEX);
                   ^
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h:215:19: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h: In function 'ngx_http_lua_set_req':
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h:228:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
     lua_rawset(L, LUA_GLOBALSINDEX);
                   ^
make[1]: *** [objs/addon/src/ngx_http_lua_subrequest.o] Error 1
In file included from /var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_ndk.c:14:0:
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h: In function 'ngx_http_lua_get_req':
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h:215:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
     lua_rawget(L, LUA_GLOBALSINDEX);
                   ^
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h:215:19: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h: In function 'ngx_http_lua_set_req':
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h:228:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
     lua_rawset(L, LUA_GLOBALSINDEX);
                   ^
make[1]: *** [objs/addon/src/ngx_http_lua_ndk.o] Error 1
make[1]: Leaving directory `/var/tmp/paludis/www-servers-nginx-1.5.6/work/nginx-1.5.6'
In file included from /var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_control.c:14:0:
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h: In function 'ngx_http_lua_get_req':
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h:215:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
     lua_rawget(L, LUA_GLOBALSINDEX);
                   ^
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h:215:19: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h: In function 'ngx_http_lua_set_req':
/var/tmp/paludis/www-servers-nginx-1.5.6/work/lua-nginx-module-0.9.0/src/ngx_http_lua_util.h:228:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
     lua_rawset(L, LUA_GLOBALSINDEX);
                   ^
make[1]: *** [objs/addon/src/ngx_http_lua_control.o] Error 1
make: *** [build] Error 2

!!! ERROR in www-servers/nginx-1.5.6::gentoo:
!!! In /usr/libexec/paludis/utils/emake at line 30
!!! emake returned error 2
Comment 1 Johan Bergström 2014-01-14 23:32:52 UTC
Should we do a tighter version check in the ebuild? Doesn't seem to happen very soon..
Comment 2 Johan Bergström 2016-01-22 13:52:32 UTC
Since we dep on the 0 slot this should be fixed.