mariadb: fix sporadic build failure 5976/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 29 Apr 2018 07:37:21 +0000 (09:37 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 29 Apr 2018 07:41:35 +0000 (09:41 +0200)
Observed once in about two dozen builds on the bots:

make[6]: *** No rule to make target '/build/lede-snapshots/arm_cortex-a7_neon-vfpv4/build/sdk/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/libevent.so', needed by 'tests/async_queries'.  Stop.

Address this by adding libevent2 to PKG_BUILD_DEPENDS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
utils/mariadb/Makefile

index a42f61f9e42868d71a14cc8a995267f400788437..49901401111e581bac617ce7c4df65203ad26741 100644 (file)
@@ -24,7 +24,8 @@ PKG_BUILD_PARALLEL:=1
 PKG_USE_MIPS16:=0
 
 HOST_BUILD_DEPENDS:=libxml2/host
-PKG_BUILD_DEPENDS:=mariadb/host
+# Without libevent2 tests/async_queries sporadically fails on the bots
+PKG_BUILD_DEPENDS:=libevent2 mariadb/host
 
 CMAKE_INSTALL:=1