Package Base Details: lua-utf8

Git Clone URL: https://aur.archlinux.org/lua-utf8.git (read-only, click to copy)
Submitter: caleb
Maintainer: caleb (Xabre)
Last Packager: caleb
Votes: 4
Popularity: 0.090340
First Submitted: 2016-04-23 08:16
Last Updated: 2020-08-06 08:22

Latest Comments

caleb commented on 2020-05-05 14:38

@tyrannis.hawk and @8BitSloth My apologies, this actually appears to be a bug in makepkg but it can be mitigated as you suggest. Usually with package builds you do not need to duplicate dependencies in the makedepends that are already part of depends, it will infer then. Apparently that doesn't work right for subpackages that specify their own separate depends. Manually adding the makedepends to the pkgbase does help mitigate, so I'll do that.

tyrannis.hawk commented on 2020-05-05 14:07

It does fail to build in a clean build environment.

Warning: Lua 5.2 interpreter not found at /usr

Modules may not install with the correct configurations. You may want to specify the path prefix to your build of Lua 5.2 using --lua-dir

Error: Build error: Lua header file lua.h not found (looked in /usr/include/lua5.2).
You need to install the Lua development package for your system.

and

Warning: Lua 5.1 interpreter not found at /usr

Modules may not install with the correct configurations. You may want to specify the path prefix to your build of Lua 5.1 using --lua-dir
sh: /usr/bin/lua5.1: No such file or directory

Error: Build error: Lua header file lua.h not found (looked in /usr/include/lua5.1).
You need to install the Lua development package for your system.

This can be fixed by adding 'lua51' and 'lua52' to the makedepends. Could you please add these to your PKGBUILD?

caleb commented on 2020-05-03 16:12

@8BitSloth This package isn't out of date. The Lua52 dependency (and Lua51) are because this builds sub-packages for all three major versions of Lua. These are only all required at build time (makedepends). The build package for each version only requires its respective version of Lua.