[oe-commits] [meta-openembedded] branch dizzy-next updated: mariadb: add dependency libevent

git at git.openembedded.org git at git.openembedded.org
Mon Feb 8 13:09:14 UTC 2016


martin_jansa pushed a commit to branch dizzy-next
in repository meta-openembedded.

The following commit(s) were added to refs/heads/dizzy-next by this push:
       new  70beecb   mariadb: add dependency libevent
70beecb is described below

commit 70beecb2716bca1b9dfbc7d6a264233e1f05e82b
Author: Kang Kai <kai.kang at windriver.com>
AuthorDate: Tue Nov 18 17:54:38 2014 +0800

    mariadb: add dependency libevent
    
    mariadb failed to build:
    | make[2]: *** No rule to make target
      '/.../bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/libevent.so',
      needed by 'tests/async_queries'.  Stop.
    | make[2]: Leaving directory
      '/.../bitbake_build/tmp/work/core2-64-wrs-linux/mariadb/5.5.40-r0/build'
      CMakeFiles/Makefile2:6742: recipe for target 'tests/CMakeFiles/async_queries.dir/all' failed
    | make[1]: *** [tests/CMakeFiles/async_queries.dir/all] Error 2
    
    It is an rare case that when configure mariadb, libevent exists in
    sysroot. But when do compile for mariadb, libevent is gone somehow. That
    causes build fails. Run follow commands could reproduce this error:
    
    $ bitbake libevent
    $ bitbake mariadb -c cleansstate
    $ bitbake mariadb -c configure
    $ bitbake libevent -c clean
    $ bitbake mariadb
    
    Add if without libevent, test case tests/async_queries.c will not be built.
    The case is helpful to do unit test. So add libevent as a dependency to fix the
    error and make sure async_queries.c will be built.
    
    Signed-off-by: Kai Kang <kai.kang at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-support/mysql/mariadb_5.5.39.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/mysql/mariadb_5.5.39.bb b/meta-oe/recipes-support/mysql/mariadb_5.5.39.bb
index fee5b62..ca9b2ec 100644
--- a/meta-oe/recipes-support/mysql/mariadb_5.5.39.bb
+++ b/meta-oe/recipes-support/mysql/mariadb_5.5.39.bb
@@ -2,7 +2,7 @@ require ${PN}_${PV}.inc
 
 EXTRA_OECMAKE += "-DSTACK_DIRECTION=-1"
 
-DEPENDS += "mariadb-native ncurses zlib readline libaio"
+DEPENDS += "mariadb-native ncurses zlib readline libaio libevent"
 
 PROVIDES += "mysql5"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list