Comment 9 for bug 1580385

Revision history for this message
Victor Tapia (vtapia) wrote :

I think I found the root cause of this issue. 0003-Link-against-lua-lpeg.patch tries to fix a linking error related to the function named luaopen_lpeg(), making nmap use the luaopen_lpeg() in lua-lpeg instead of the local function declared in lpeg.c (which are slightly different). The original linking issue was addressed upstream[1] by setting the function as extern[2] somewhere between 7.0.1 and 7.10, and that's why newer releases do not see this bug. I have a PPA[3] prepared to start testing, replacing 0003-Link-against-lua-lpeg.patch with the upstream fix.

[1] https://github.com/nmap/nmap/issues/237
[2] https://github.com/nmap/nmap/commit/9bcc6c09e22e3a32e8f89a13afee5a9a77b92b62
[3] https://launchpad.net/~vtapia/+archive/ubuntu/sf238253