[Bug 229866] devel/lua-lpeg: broken due to wrong CFLAGS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 18 15:07:39 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229866
Bug ID: 229866
Summary: devel/lua-lpeg: broken due to wrong CFLAGS
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: sunpoet at FreeBSD.org
Reporter: andrew at tao11.riddles.org.uk
Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
Assignee: sunpoet at FreeBSD.org
Created attachment 195247
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195247&action=edit
patch for lua-lpeg/Makefile
This port defines -DLUA_32BITS in CFLAGS, which guarantees that it will fail to
load when using any standard Lua build (whether from ports or upstream).
(LUA_32BITS is a non-standard compile option to Lua that forces the use of
32-bit integers AND 32-bit floats as the (only) numeric types; this option is
not useful except on platforms with no 64-bit support at all. As this changes
the Lua ABI, it makes /absolutely no sense/ to set this in a module build; the
module should pick up the value from luaconf.h.)
Also, it fails to install the re.lua module, which is probably the most
commonly-used interface to lpeg.
% lua53
Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio
> require 'lpeg'
core and library have incompatible numeric types
Patch attached.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list