monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Issue 224 - Monotone does not compile with LUA 5.2(.2)


From: code
Subject: [Monotone-devel] Issue 224 - Monotone does not compile with LUA 5.2(.2) (monotone)
Date: Fri, 11 Oct 2013 14:11:20 +0200

Hello,

A new issue has been created:

224 - Monotone does not compile with LUA 5.2(.2)
Project: monotone
Status: New
Reported by: Olaf Seibert
Labels:
 Type:Defect
 Priority:Medium

Description:

Steps to reproduce the problem:
-------------------------------

1. I tried to build the pkgsrc-packaged version of monotone-1.0, with lua-5.2.2 
installed.
2. The build failed.

Expected result:
----------------

A clean build.

Actual results:
---------------

There are several issues:

Monotone uses several #defines which don't exist any more: LUA_GLOBALSINDEX, 
LUAI_MAXCSTACK, lua_strlen.

luaext_platform.cc uses another #define which does not exist any more: 
LUA_ENVIRONINDEX.
Looking for a quick fix it turned out that the function where it is used is 
trying something intimate with internal lua functions from liolib.c. However 
that stuff has been completely changed between lua 5.1 and 5.2. So a quick fix 
for somebody not intimate friends with lua *and* monotone is out of the 
question.

This is a serious portability problem!

Output of `mtn version --full`:
-------------------------------

--
Issue: https://code.monotone.ca/p/monotone/issues/224/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]