Skip to contentSkip to conversation

mysql: depend on zlib to not build own one

PATCH New Marcin Juszkiewicz 1 participant 1 message May 23, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mysql: depend on zlib to not build own one

When mysql does not detect zlib during configure then their copy of zlib 1.2.3 is built. That leads to problems during rootfs creation:

|  * check_data_file_clashes: Package libz-staticdev wants to install file /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/genericarmv8-oe-linux/linaro-image-lamp/1.0-r0/rootfs/usr/lib/libz.a
|       But that file is already provided by package  * libmysqlclient-staticdev
|  * opkg_install_cmd: Cannot install package libz-staticdev.
---
 meta-oe/recipes-support/mysql/mysql5_5.1.40.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/mysql/mysql5_5.1.40.inc +1 -1
index 3d79e19..3b3a42d 100644
@@ -4,7 +4,7 @@ SECTION = "libs"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=477ab0a4c8ca64b482b3f2a365d0fdfa"
 
-DEPENDS = "ncurses"
+DEPENDS = "ncurses zlib"
 PR = "r11"
 
 SRC_URI = "http://downloads.mysql.com/archives/mysql-5.1/mysql-${PV}.tar.gz \
Signature · 1 line
1.8.1.2