The bug tracker is again down, so I am sending this here.
Looks like a change introduced yesterday has broken libubox compilation for
buildbots & some users. Forum discussion here:
https://forum.openwrt.org/viewtopic.php?id=40213
My diagnosis in a forum message:
It is coming from libubox related change done yesterday. (I am using nbd's
git mirror, as the Openwrt bug tracker seems to have again network/database
problems.)
http://nbd.name/gitweb.cgi?p=openwrt.git;a=blobdiff;f=package/libs/libubox/Makefile;h=ba0d6b8fea073f32f06e08a5a9520fa63b040d5e;hp=c98cefbf82782a260d2363b93877f8fa686869b9;hb=35dfe0afe97b283ad2514b7725623dab9f3da979;hpb=1ca13d1351bc09148c204a22c8a8cfed99623b28
That change bumped the version of libubox, including a change done already in
September:
http://nbd.name/gitweb.cgi?p=luci2/libubox.git;a=commitdiff;h=a81cb397efa3fd705d0989d992b677e57f237413
That file introduced the uloop.c and its reference to non-existing(?) lua.h
All recent buildbot builds have crashed, too.
http://buildbot.openwrt.org/one_line_per_build
However, I was able to build by own trunk version without problems, possibly
because I build the full LucI from a local source repository. That might be
true also for nbd, who introduced that change to the source code. And that
might explain, why that error has got introduced in the first place.
Ps. Buildbots report the error as:
...
-- The C compiler identification is GNU 4.6.4
-- Check for working C compiler:
/builds/openwrt/slave/ar71xx/build/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc
-- Check for working C compiler:
/builds/openwrt/slave/ar71xx/build/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc
-- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at lua/CMakeLists.txt:36 (MESSAGE):
Lua was not found on your system
CMake Error at lua/CMakeLists.txt:49 (INSTALL):
install TARGETS given no LIBRARY DESTINATION for module target "uloop_lua".
-- Configuring incomplete, errors occurred!
make[2]: ***
[/builds/openwrt/slave/ar71xx/build/build_dir/target-mips_r2_uClibc-0.9.33.2/libubox-2012-10-29/.configured_]
Error 1
make[2]: Leaving directory
`/builds/openwrt/slave/ar71xx/build/package/libs/libubox'
make[1]: *** [package/libs/libubox/compile] Error 2
make[1]: Leaving directory `/builds/openwrt/slave/ar71xx/build'
make: *** [package/compile] Error 2
program finished with exit code 2
or even more clearly:
[100%] Building C object lua/CMakeFiles/uloop_lua.dir/uloop.c.o
/build/openwrt/slave/au1000/build/build_dir/target-mipsel_uClibc-0.9.33.2/libubox-2012-10-29/lua/uloop.c:21:17:
fatal error: lua.h: No such file or directory
compilation terminated.
make[5]: *** [lua/CMakeFiles/uloop_lua.dir/uloop.c.o] Error 1
make[5]: Leaving directory
`/ramdisk/openwrt/target-mipsel_uClibc-0.9.33.2/libubox-2012-10-29'
make[4]: *** [lua/CMakeFiles/uloop_lua.dir/all] Error 2
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel