Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 534150

Summary: dev-lua/luafilesystem-1.6.2 with dev-lang/lua-5.2.3-r1 - src/lfs.c:59:17: fatal error: lua.h: No such file or directory
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: [OLD] DevelopmentAssignee: Rafael Martins (RETIRED) <rafaelmartins>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build.log
patch for luafilesystem-1.6.2.ebuild

Description Dennis Schridde 2014-12-31 20:25:21 UTC
Created attachment 392822 [details]

dev-lua/luafilesystem-1.6.2 fails to build with the :5.2 slot of dev-lang/lua (dev-lang/lua-5.2.3-r1:5.2):
x86_64-pc-linux-gnu-gcc -pipe -O2 -march=athlon64-sse3 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic -I/usr/include   -c -o src/lfs.o src/lfs.c
src/lfs.c:59:17: fatal error: lua.h: No such file or directory
Comment 1 Dennis Schridde 2015-02-22 15:04:08 UTC
Created attachment 397234 [details, diff]
patch for luafilesystem-1.6.2.ebuild

Proposed patch to build luafilesystem against multiple installed versions of Lua. I suggest to split this logic into a lua.eclass, analogous to the python-r1.eclass.
Comment 2 Patrice Clement gentoo-dev 2017-05-01 21:17:45 UTC
commit 6a72293d8433cae71f10a47417c9be9937d4cb57 (HEAD -> master, origin/master, origin/HEAD)
Author:     Aric Belsito <>
AuthorDate: Mon Mar 20 12:21:14 2017 -0700
Commit:     Patrice Clement <>
CommitDate: Mon May 1 23:16:47 2017 +0200

dev-lua/luafilesystem: version bump to 1.6.3.

This commit:
* bumps ebuild EAPI to version 6.
* adds luajit support to luafilesystem.


dev-lua/luafilesystem/Manifest                   |  1 +
dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild | 53 ++++++++++++++++++++++++
dev-lua/luafilesystem/metadata.xml               |  4 ++
3 files changed, 58 insertions(+)
create mode 100644 dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild