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

Bug 434236

Summary: dev-lua/luafilesystem-1.5.0 with dev-lang/lua-5.2.1 - src/lfs.c:779:30: error: array type has incomplete element type
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: [OLD] DevelopmentAssignee: Rafael Martins (RETIRED) <rafaelmartins>
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on: 437028    
Bug Blocks: 407091    
Attachments: build.log

Description Dennis Schridde 2012-09-07 19:41:11 UTC
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: In function ‘lfs_g_setmode’:
src/lfs.c:311:47: warning: unused parameter ‘f’ [-Wunused-parameter]
src/lfs.c:311:54: warning: unused parameter ‘arg’ [-Wunused-parameter]
src/lfs.c: At top level:
src/lfs.c:779:30: error: array type has incomplete element type
src/lfs.c: In function ‘luaopen_lfs’:
src/lfs.c:798:2: warning: implicit declaration of function ‘luaL_register’ [-Wimplicit-function-declaration]
src/lfs.c:798:2: warning: nested extern declaration of ‘luaL_register’ [-Wnested-externs]
src/lfs.c: At top level:
src/lfs.c:779:30: warning: ‘fslib’ defined but not used [-Wunused-variable]
make: *** [src/lfs.o] Error 1

Reproducible: Always
Comment 1 Dennis Schridde 2012-09-07 19:41:47 UTC
Created attachment 323152 [details]
Comment 2 Dennis Schridde 2012-10-03 00:36:07 UTC
"Current version is 1.6.0. It was developed for Lua 5.1 but also works with Lua 5.2." -- seen on the $HOMEPAGE.
Comment 3 Dennis Schridde 2012-10-03 01:09:12 UTC
Suggestion: Restrict dependency of lfs 1.5.0 to Lua 5.1 and make Lua 5.2 users use lfs 1.6.2.
Comment 4 Dennis Schridde 2013-12-03 18:44:37 UTC
Any news on this? It's been a year...
Comment 5 Pacho Ramos gentoo-dev 2017-11-09 13:56:36 UTC
1.6.3 is compatible with lua-5.2