Package Details: mingw-w64-lua 5.4.1-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-lua.git (read-only, click to copy)
Package Base: mingw-w64-lua
Description: A powerful light-weight programming language designed for extending applications. (mingw-w64)
Upstream URL: http://www.lua.org/
Licenses: MIT
Submitter: naelstrof
Maintainer: jazztickets
Last Packager: jazztickets
Votes: 6
Popularity: 0.000000
First Submitted: 2012-07-28 21:07
Last Updated: 2020-10-16 14:44

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Martchus commented on 2020-05-18 09:09

When rebuilding against the new GCC I've run into the following error:

i686-w64-mingw32-gcc -shared -Wl,--out-implib,liblua53.dll.a -o lua53.dll lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o lbitlib.o lcorolib.o ldblib.o liolib.o lmathlib.o loslib.o lstrlib.o ltablib.o lutf8lib.o loadlib.o linit.o 
/usr/lib/gcc/i686-w64-mingw32/10.1.0/../../../../i686-w64-mingw32/bin/ld: lobject.o:lobject.c:(.text+0xb0f): undefined reference to `__memcpy_chk'
/usr/lib/gcc/i686-w64-mingw32/10.1.0/../../../../i686-w64-mingw32/bin/ld: lobject.o:lobject.c:(.text+0xcc3): undefined reference to `__chk_fail'
/usr/lib/gcc/i686-w64-mingw32/10.1.0/../../../../i686-w64-mingw32/bin/ld: lobject.o:lobject.c:(.text+0x1091): undefined reference to `__chk_fail'
/usr/lib/gcc/i686-w64-mingw32/10.1.0/../../../../i686-w64-mingw32/bin/ld: loslib.o:loslib.c:(.text+0xafb): undefined reference to `__memcpy_chk'
/usr/lib/gcc/i686-w64-mingw32/10.1.0/../../../../i686-w64-mingw32/bin/ld: lstrlib.o:lstrlib.c:(.text+0x20c9): undefined reference to `__memcpy_chk'
/usr/lib/gcc/i686-w64-mingw32/10.1.0/../../../../i686-w64-mingw32/bin/ld: lstrlib.o:lstrlib.c:(.text+0x2748): undefined reference to `__chk_fail'
collect2: error: ld returned 1 exit status

https://martchus.no-ip.biz/build-data/rebuild-dw2/mingw-w64-lua/pkg/build.log

I suppose this package needs to use mingw-w64-make.

xantares commented on 2018-08-29 20:03

@cbb you can ask upstream

cbb commented on 2018-08-14 10:36

Any chance of adding a pkg-config file for this? Using it to build Lua C modules currently requires manually specifying CFLAGS/LDFLAGS/LDLIBS/INSTALL_CMOD/INSTALL_LMOD instead of having them auto-detected.

calegria commented on 2017-08-30 00:01

I can confirm that lua can be built by just upgrading the lua version to 5.3.4 and the md5sums.

jazztickets commented on 2015-12-04 05:59

The PKGBUILD is currently broken for x86_64-w64-mingw32. The 32 bit libraries clobber the 64 bit ones, or causing the 64 libs to not get built.

You can see that they're the same:
find /usr -iname "*lua*dll*" -exec md5sum {} \;

xantares commented on 2013-10-31 07:50

Hi,
Care to replace !libtool by staticlibs in the options array ?
xan.

naelstrof commented on 2013-04-06 05:57

I'll do my best. I have about 15 packages I have to update. It may take a while.

Schala commented on 2013-04-06 04:38

Oh! And be sure to divide the install into package(). Pacman 4.1 now deprecates PKGBUILDs without package()

Schala commented on 2013-04-06 04:35

I recommend always use the top mirror on mirror status, even if it's not in your country.

naelstrof commented on 2013-04-06 03:43

Ah sorry, my mirror was out of date. Switched mirrors and figured it out. Thanks!