Skip to contentSkip to conversation

ti-eula-unpack problem

PATCH R U Local 2 participants 2 messages Mar 21, 2012 – Mar 22, 2012

lore
Share & tools
lore

R U Local

author
#0 lore raw

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.

(quoted diff) +0 -0

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.

#1 lore raw
Quoted 4 lines · R U Local

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.

Ah, you cross-posted this to different mailing lists, but not the correct one... :) This should have gone to meta-ti, which this change belongs to and where I copied the reply to:

https://lists.yoctoproject.org/listinfo/meta-ti

Quoted 47 lines

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.

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

index dcabe9d..f37f026 100644

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

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

recipes-ti/includes/ti-eula-unpack.inc +0 -1
@@ -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.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel