Patchwork [1/2] xbmc: add `zlib` to `DEPENDS`

login
register
mail settings
Submitter Paul Menzel
Date Dec. 24, 2010, 7:03 p.m.
Message ID <1293217389.4027.39.camel@mattotaupa>
Download mbox | patch
Permalink /patch/122/
State Superseded
Headers show

Comments

Paul Menzel - Dec. 24, 2010, 7:03 p.m.
Date: Wed, 1 Dec 2010 17:27:33 +0100

Task `compile` fails with `/bin/grep: /usr/lib/libz.la: No such file or directory`.

	| make -C ..
	| make[2]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass'
	|  cd . && /bin/sh ./config.status Makefile
	| config.status: creating Makefile
	| make[2]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass'
	| make[2]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass'
	| make[3]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass'
	| Making all in libass
	| make[4]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass/libass'
	|  cd .. && /bin/sh ./config.status libass/Makefile depfiles
	| config.status: creating libass/Makefile
	| config.status: executing depfiles commands
	| make[4]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass/libass'
	| make[4]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass/libass'
	|   CC    ass.o
	|   CC    ass_cache.o
	|   CC    ass_font.o
	|   CC    ass_fontconfig.o
	|   CC    ass_render.o
	|   CC    ass_utils.o
	|   CC    ass_bitmap.o
	|   CC    ass_library.o
	|   CC    ass_drawing.o
	|   CC    ass_parse.o
	|   CC    ass_strtod.o
	|   LINK  libass.la
	| arm-angstrom-linux-gnueabi-libtool: link: warning: library `/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libfreetype.la' was moved.
	| /bin/grep: /usr/lib/libz.la: No such file or directory
	| /bin/sed: can't read /usr/lib/libz.la: No such file or directory
	| arm-angstrom-linux-gnueabi-libtool: link: `/usr/lib/libz.la' is not a valid libtool archive
	| make[4]: *** [libass.la] Error 1
	| make[4]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass/libass'
	| make[3]: *** [all-recursive] Error 1
	| make[3]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass'
	| make[2]: *** [all] Error 2
	| make[2]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass'
	| make[1]: *** [../libass/.libs/libass.so] Error 2
	| make[1]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass/xbmc'
	| make: *** [dvdpcodecs] Error 2
	| FATAL: oe_runmake failed
	| ERROR: Function do_compile failed

Adding `zlib` to `DEPENDS` fixes the problem for `angstrom-2008.1` and `minimal` with `MACHINE = "beagleboard"`.

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 recipes/xbmc/xbmc_svn.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/recipes/xbmc/xbmc_svn.bb b/recipes/xbmc/xbmc_svn.bb
index ad95a8a..3ca90e0 100644
--- a/recipes/xbmc/xbmc_svn.bb
+++ b/recipes/xbmc/xbmc_svn.bb
@@ -1,13 +1,13 @@ 
 DESCRIPTION = "XBMC Media Center"
 LICENSE = "xbmc"
 
-DEPENDS = "libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo2 enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native"
+DEPENDS = "libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo2 enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib"
 require recipes/egl/egl.inc
 
 SRCREV = "e2ab481ebe964321c358ab9d6402088c714adcbe"
 
 PV = "10.05"
-PR = "r9"
+PR = "r10"
 PR_append = "+gitr${SRCPV}"
 
 SRC_URI = "git://xbmc.git.sourceforge.net/gitroot/xbmc/xbmc;protocol=git;branch=master \