Bug#873329: Bug#873324: minetest FTBFS with luajit 2.1

Adrian Bunk bunk at debian.org
Sat Aug 26 21:30:03 UTC 2017


On Sat, Aug 26, 2017 at 11:14:33PM +0200, Markus Koschany wrote:
> Am 26.08.2017 um 17:34 schrieb Adrian Bunk:
> > Source: minetest
> > Version: 0.4.16+repack-2
> > Severity: serious
> > 
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/minetest.html
> > 
> > ...
> > In file included from /build/1st/minetest-0.4.16+repack/src/script/common/c_content.cpp:19:0:
> > /build/1st/minetest-0.4.16+repack/src/script/common/c_content.h:32:10: fatal error: lua.h: No such file or directory
> >  #include <lua.h>
> >           ^~~~~~~
> > compilation terminated.
> > src/CMakeFiles/minetestserver.dir/build.make:161: recipe for target 'src/CMakeFiles/minetestserver.dir/script/common/c_content.cpp.o' failed
> > make[3]: *** [src/CMakeFiles/minetestserver.dir/script/common/c_content.cpp.o] Error 1
> > 
> 
> Thank you for the report. These issues are caused by a
> non-existent/wrong include directory in libluajit-5.1-dev though.
> I have filed [1] a few minutes ago.
> 
> [1] https://bugs.debian.org/873357

Can you double-check what you wrote in that bug?

For me (on amd64) lua.h is already correctly under 
/usr/include/luajit-2.1 and "pkg-config --cflags luajit"
gives the right flag.

minetest hardcoding include/luajit-2.0 is the actual bug.

> Regards,
> 
> Markus

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Pkg-games-devel mailing list