[MacPorts] #45343: LuaJIT @2.0.3 distribution broken by MacPorts: "Segmentation fault: 11"

MacPorts noreply at macports.org
Sat Oct 11 11:15:38 PDT 2014


#45343: LuaJIT @2.0.3 distribution broken by MacPorts: "Segmentation fault: 11"
-----------------------------------+--------------------------------
 Reporter:  macports.jgonggrijp@…  |      Owner:  macports-tickets@…
     Type:  defect                 |     Status:  new
 Priority:  Normal                 |  Milestone:
Component:  ports                  |    Version:  2.3.1
 Keywords:                         |       Port:  luajit
-----------------------------------+--------------------------------
 OS X 10.9.5, Xcode 6.0.1

 While trying to run my project Euler solutions (that I wrote in Lua), I
 found that MacPorts-installed LuaJIT 2.0.3 crashes on nearly all scripts
 with "Segmentation fault: 11". Only two, extremely trivial scripts run as
 expected. I will attach two example scripts: 052.lua (project Euler
 spoiler alert), which crashes, and loops.lua, which doesn't.

 I have verified that the fault is with MacPorts by downloading LuaJIT
 2.0.3 directly from luajit.org and running the plain vanilla installation
 with make && make install. The resulting executable (installed under
 /usr/local/bin) runs all scripts perfectly fine.

 Uninstalling, cleaning and reinstalling the port does not help. The
 problem persists.

 The LuaJIT installation page contains some instructions for distribution
 maintainer (see bottom of http://luajit.org/install.html), which seem to
 indicate that the software can be easily broken by changing too much about
 the installation procedure.

-- 
Ticket URL: <https://trac.macports.org/ticket/45343>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list