Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534150 - 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
Summary: dev-lua/luafilesystem-1.6.2 with dev-lang/lua-5.2.3-r1 - src/lfs.c:59:17: fat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rafael Martins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-31 20:25 UTC by Dennis Schridde
Modified: 2017-05-01 21:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,2.04 KB, text/plain)
2014-12-31 20:25 UTC, Dennis Schridde
Details
patch for luafilesystem-1.6.2.ebuild (luafilesystem-1.6.2.ebuild.patch,2.74 KB, patch)
2015-02-22 15:04 UTC, Dennis Schridde
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2014-12-31 20:25:21 UTC
Created attachment 392822 [details]
build.log

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 <lluixhi@gmail.com>
AuthorDate: Mon Mar 20 12:21:14 2017 -0700
Commit:     Patrice Clement <monsieurp@gentoo.org>
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.

Gentoo-Bug: https://bugs.gentoo.org/534150
Gentoo-Bug: https://bugs.gentoo.org/584492
Closes: https://github.com/gentoo/gentoo/pull/4263

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