Date: Sun, 04 Nov 2018 11:01:03 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 232953] mail/opendkim does not compile with lua > 5.2. Patch included. Message-ID: <bug-232953-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232953 Bug ID: 232953 Summary: mail/opendkim does not compile with lua > 5.2. Patch included. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: pr@aoek.com CC: freebsd-ports@dan.me.uk Flags: maintainer-feedback?(freebsd-ports@dan.me.uk) CC: freebsd-ports@dan.me.uk Created attachment 198932 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D198932&action= =3Dedit Patches mail/opendkim to depend on lua 5.1 or 5.2 opendkim depends on lua (any version) but it does not compile with lua > 5.= 2, so if you set default lua version to, say, 5.3 the port breaks: cc -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/include -I/usr/local/include/lua53 -DCONFIG_BASE=3D\"/usr/local/etc\" -O2 -pipe=20 -fstack-protector -fno-strict-aliasing -MT miltertest-miltertest.o -MD -MP = -MF .deps/miltertest-miltertest.Tpo -c -o miltertest-miltertest.o `test -f 'miltertest.c' || echo './'`miltertest.c miltertest.c:4016:2: warning: implicit declaration of function 'luaL_regist= er' is invalid in C99 [-Wimplicit-function-declaration] luaL_register(l, "mt", mt_library); ^ miltertest.c:4171:54: error: too few arguments to function call, expected 5, have 4 script =3D=3D NULL ? "(stdin)" : script)) ^ /usr/local/include/lua53/lua.h:280:1: note: 'lua_load' declared here LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt, ^ /usr/local/include/lua53/luaconf.h:254:18: note: expanded from macro 'LUA_A= PI' #define LUA_API extern ^ 1 warning and 1 error generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/mail/opendkim/work/opendkim-2.10.3/miltertest *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/mail/opendkim/work/opendkim-2.10.3 *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/mail/opendkim/work/opendkim-2.10.3 *** Error code 1 Stop. make: stopped in /usr/ports/mail/opendkim Note that the port relays on default lua version: OPTIONS_DEFAULT=3D FILTER LUA UNBOUND The attached patch addresses the issue. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232953-7788>