Skip to contentSkip to conversation

ti-eula-unpack

arago-devel Denys Dmytriyenko 1 participant 1 message Mar 22, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 10 lines · R U Local

Dear List,

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

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.

Thanks for the patch, but it's a wrong list - it has been discussed a few days ago on meta-ti (copied here):

https://lists.yoctoproject.org/pipermail/meta-ti/2012-March/000804.html

While it may fix Ubuntu 11.10, I'm still not sure about other distros. One of the suggestions was to switch it to warning, so it won't stop the build if the check fails, but user gets notified.

Signature · 1 line
Denys
Quoted 40 lines
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.

_______________________________________________
arago-devel mailing list
[email protected]
https://gforge.ti.com/mailman/listinfo/arago-devel