[MacPorts] #41046: lua-luahpdf fails to install on Mavericks wich macports 2.2.1
#41046: lua-luahpdf fails to install on Mavericks wich macports 2.2.1 ------------------------------+-------------------------------- Reporter: roberto.avanzi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: lua, lua-luahpdf | Port: lua-luahpdf ------------------------------+-------------------------------- When I try to install lua-luahpdf I obtain following error ravanzi-mac:build mocenigo$ sudo port install lua-luahpdf ---> Computing dependencies for lua-luahpdf ---> Building lua-luahpdf Error: org.macports.build for port lua-luahpdf returned: command execution failed Please see the log file for port lua-luahpdf for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_lua-luahpdf/lua-luahpdf/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port lua-luahpdf failed I am not sure why. May be a CLANG/GCC thing and this leaves something undefined, however I get the following error in the log hpdf.c:265:17: error: use of undeclared identifier 'LUA_ENVIRONINDEX' also hpdf.c:3732:16: error: unknown type name 'luaL_reg'; did you mean 'luaL_Reg'? and then other commands fail. Roberto -- Ticket URL: <https://trac.macports.org/ticket/41046> MacPorts <http://www.macports.org/> Ports system for OS X
#41046: lua-luahpdf fails to install on Mavericks wich macports 2.2.1 -------------------------------+-------------------------- Reporter: roberto.avanzi@… | Owner: and.damore@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: lua-luahpdf | -------------------------------+-------------------------- Changes (by macsforever2000@…): * keywords: lua, lua-luahpdf => * owner: macports-tickets@… => and.damore@… Old description:
When I try to install lua-luahpdf I obtain following error
ravanzi-mac:build mocenigo$ sudo port install lua-luahpdf ---> Computing dependencies for lua-luahpdf ---> Building lua-luahpdf Error: org.macports.build for port lua-luahpdf returned: command execution failed Please see the log file for port lua-luahpdf for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_lua-luahpdf/lua-luahpdf/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port lua-luahpdf failed
I am not sure why. May be a CLANG/GCC thing and this leaves something undefined, however I get the following error in the log hpdf.c:265:17: error: use of undeclared identifier 'LUA_ENVIRONINDEX' also hpdf.c:3732:16: error: unknown type name 'luaL_reg'; did you mean 'luaL_Reg'? and then other commands fail.
Roberto
New description: When I try to install lua-luahpdf I obtain following error {{{ ravanzi-mac:build mocenigo$ sudo port install lua-luahpdf ---> Computing dependencies for lua-luahpdf ---> Building lua-luahpdf Error: org.macports.build for port lua-luahpdf returned: command execution failed Please see the log file for port lua-luahpdf for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_lua-luahpdf/lua-luahpdf/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port lua-luahpdf failed }}} I am not sure why. May be a CLANG/GCC thing and this leaves something undefined, however I get the following error in the log {{{ hpdf.c:265:17: error: use of undeclared identifier 'LUA_ENVIRONINDEX' also hpdf.c:3732:16: error: unknown type name 'luaL_reg'; did you mean 'luaL_Reg'? }}} and then other commands fail. Roberto -- Comment: In the future, please use WikiFormatting and Cc the port maintainers ({{{port info --maintainers lua-luahpdf}}}). Please attach the complete main.log file. -- Ticket URL: <https://trac.macports.org/ticket/41046#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41046: lua-luahpdf fails to install on Mavericks wich macports 2.2.1 -------------------------------+-------------------------- Reporter: roberto.avanzi@… | Owner: and.damore@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: lua-luahpdf | -------------------------------+-------------------------- Comment (by and.damore@…): This is due to the upgrade of lua to 5.2, LUA_ENVIRONINDEX doesn't exist anymore. We need to settle the lua question first, probably introducing a lua51 port for compatibility. Meanwhile you can revert lua to 5.1 using [https://trac.macports.org/wiki/howto/InstallingOlderPort these instructions], I understand it's not a smooth solution to the issue but it should allow you to have a working luahpdf while the real problem is solved. -- Ticket URL: <https://trac.macports.org/ticket/41046#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41046: lua-luahpdf fails to install on Mavericks wich macports 2.2.1 -------------------------------+-------------------------- Reporter: roberto.avanzi@… | Owner: and.damore@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: lua-luahpdf | -------------------------------+-------------------------- Comment (by roberto.avanzi@…): Thank you for the explanation! -- Ticket URL: <https://trac.macports.org/ticket/41046#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41046: lua-luahpdf fails to install on Mavericks wich macports 2.2.1 -------------------------------+-------------------------- Reporter: roberto.avanzi@… | Owner: and.damore@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: lua-luahpdf | -------------------------------+-------------------------- Changes (by jeremyhu@…): * keywords: => mavericks -- Ticket URL: <https://trac.macports.org/ticket/41046#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41046: lua-luahpdf fails to install on Mavericks wich macports 2.2.1 -------------------------------+-------------------------- Reporter: roberto.avanzi@… | Owner: and.damore@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: mavericks Port: lua-luahpdf | -------------------------------+-------------------------- Changes (by and.damore@…): * status: new => closed * resolution: => fixed Comment: Updated to library version 1.5 in r118205, luahpdf now supports lua 5.2. Tested on Mavericks with XCode 5.1 . -- Ticket URL: <https://trac.macports.org/ticket/41046#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts