[MacPorts] #41846: Error: org.macports.build for port lua-luaexpat returned: command execution failed
#41846: Error: org.macports.build for port lua-luaexpat returned: command execution failed -----------------------+-------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: lua-luaexpat -----------------------+-------------------------------- {{{ src/lxplib.c: In function ‘lxpclose’: src/lxplib.c:69: warning: implicit declaration of function ‘lua_unref’ src/lxplib.c:69: warning: nested extern declaration of ‘lua_unref’ src/lxplib.c: In function ‘f_ExternaEntity’: src/lxplib.c:228: warning: implicit declaration of function ‘lua_getref’ src/lxplib.c:228: warning: nested extern declaration of ‘lua_getref’ src/lxplib.c: At top level: src/lxplib.c:500: error: array type has incomplete element type src/lxplib.c:512: error: array type has incomplete element type src/lxplib.c: In function ‘luaopen_lxp’: src/lxplib.c:539: warning: implicit declaration of function ‘luaL_openlib’ src/lxplib.c:539: warning: nested extern declaration of ‘luaL_openlib’ }}} -- Ticket URL: <https://trac.macports.org/ticket/41846> MacPorts <http://www.macports.org/> Ports system for OS X
#41846: lua-luaexpat: error: array type has incomplete element type ---------------------------+-------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: lua-luaexpat | ---------------------------+-------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/41846#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41846: lua-luaexpat: error: array type has incomplete element type ---------------------------+-------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: lua-luaexpat | ---------------------------+-------------------------------- Comment (by devans@…): This is indicative of a lua 5.2 API incompatibility issue. This version of the port only supports lua 5.1. Current upstream repository http://code.matthewwild.co.uk/lua-expat is at version 1.3.0 and purports to support lua 5.2. Required by libquvi-scripts (#42520). -- Ticket URL: <https://trac.macports.org/ticket/41846#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41846: lua-luaexpat: error: array type has incomplete element type ---------------------------+-------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: lua-luaexpat | ---------------------------+-------------------------------- Comment (by snc@…): I've attached an update to 1.2.0, as I cannot find 1.3.0. 1.2.0 continues to have issues, which is unsurprising since there have been no tags or releases of Lua 5.2 compatibility work. The unknown `luaL_reg` is defined in lua's lauxlib.h and #included in src/lxplib.c, so I'm not sure why the compiler is bailing. {{{ src/lxplib.c:520:39: error: array has incomplete element type 'const struct luaL_reg' static const struct luaL_reg lxp_meths[] = { ^ src/lxplib.c:520:21: note: forward declaration of 'struct luaL_reg' static const struct luaL_reg lxp_meths[] = { ^ src/lxplib.c:533:39: error: array has incomplete element type 'const struct luaL_reg' static const struct luaL_reg lxp_funcs[] = { ^ src/lxplib.c:520:21: note: forward declaration of 'struct luaL_reg' static const struct luaL_reg lxp_meths[] = { ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/41846#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41846: lua-luaexpat: error: array type has incomplete element type ---------------------------+-------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: lua-luaexpat | ---------------------------+-------------------------------- Changes (by snc@…): * status: new => closed * version: 2.2.1 => * resolution: => fixed Comment: There was a case discrepancy: luaL_reg versus luaL_Reg. Thanks for geekosaur for finding. Updated to 1.2.0 in r117743. Since this now builds against Lua 5.2, I'll mark as closed. -- Ticket URL: <https://trac.macports.org/ticket/41846#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts