[oe] ti-eula-unpack problem

R U Local roystonvasey at slingshot.co.nz
Wed Mar 21 21:15:26 UTC 2012


Dear List,

A resent change to ti-eula-unpack.inc to test for 32 bit compatability on 64
bit systems has broken the build on Ubuntu x64 11.10.

Ubuntu created multi-arch functionality between 11.4 and 11.10. There is are
now  /lib /lib64 and /lib32 directories and no symlinks.

The following patch corrects this on my system but I have no idea of its
effect on others.

 

diff --git a/recipes-ti/includes/ti-eula-unpack.inc
b/recipes-ti/includes/ti-eula-unpack.inc

index dcabe9d..f37f026 100644

--- a/recipes-ti/includes/ti-eula-unpack.inc

+++ b/recipes-ti/includes/ti-eula-unpack.inc

@@ -21,7 +21,7 @@ python ti_bin_do_unpack() {

     # InstallJammer requires 32bit version of glibc

     lib32path = '/lib'

-    if os.path.exists('/lib64') and ( os.path.islink('/lib64') or
os.path.islink('/lib') ):

+    if os.path.exists('/lib64') and ( os.path.islink('/lib64') or
os.path.islink('/lib') or os.path.exists('/lib32')):

        lib32path = '/lib32'

     if not os.path.exists('%s/libc.so.6' % lib32path):

        raise bb.build.FuncFailed, \

 

Cheers Mike.

 

 




More information about the Openembedded-devel mailing list