miltertest aborts with lua 5.2

From: Hirohisa Yamaguchi <umq.461_at_gmail.com>
Date: Wed, 3 Apr 2013 17:25:22 +0900

Hi,

I've just tried to build opendkim with lua 5.2.
They built without any warning.

But tests won't run.

| --snipped--
| *** configuration validity checks
| Abort trap (core dumped)
| Abort trap (core dumped)
| PASS: t-conf-check
| Abort trap (core dumped)
| FAIL: t-lua-rbl
| Abort trap (core dumped)
| FAIL: t-sign-ss-replace
| Abort trap (core dumped)
| FAIL: t-sign-atps
| Abort trap (core dumped)
| FAIL: t-verify-ss-atps
| ==================================
| 34 of 35 tests failed
| Please report to bugs_at_opendkim.org
| ==================================
| *** [check-TESTS] Error code 1
|
| Stop in /usr/ports/mail/opendkim/work/opendkim-2.8.2/opendkim/tests.

I think the patch attached will work okay with most of the tests.


btw, lua 5.2 does not have pkg-config file (i.e. lua.pc or something
similar name).
So, PKG_CHECK_MODULES([LIBLUA], [lua5.2],...) does not work in most
environments.
Manual search is required for lua 5.2, I think.


Regards,
-- 
Hirohisa Yamaguchi
  <umq.461_at_gmail.com>



Received on Wed Apr 03 2013 - 08:25:39 PST

This archive was generated by hypermail 2.3.0 : Wed Apr 03 2013 - 08:27:01 PST