[meta-ti] [arago-devel] ti-eula-unpack

Denys Dmytriyenko denis at denix.org
Wed Mar 21 20:16:08 PDT 2012


On Thu, Mar 22, 2012 at 10:38:14AM +1300, R U Local wrote:
> 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.

-- 
Denys


> 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.
> 
>  
> 

> _______________________________________________
> arago-devel mailing list
> arago-devel at gforge.ti.com
> https://gforge.ti.com/mailman/listinfo/arago-devel




More information about the meta-ti mailing list