* [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing
@ 2012-03-12 9:28 Andreas Müller
2012-03-12 10:50 ` Koen Kooi
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Andreas Müller @ 2012-03-12 9:28 UTC (permalink / raw)
To: meta-ti
TI installation tool requires 32bit glibc [1]
[1] https://lists.yoctoproject.org/pipermail/meta-ti/2012-January/000357.html
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
recipes-ti/includes/ti-eula-unpack.inc | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/recipes-ti/includes/ti-eula-unpack.inc b/recipes-ti/includes/ti-eula-unpack.inc
index 7c6e7b7..310d19f 100644
--- a/recipes-ti/includes/ti-eula-unpack.inc
+++ b/recipes-ti/includes/ti-eula-unpack.inc
@@ -19,6 +19,14 @@ python ti_bin_do_unpack() {
import os
+ # InstallJammer requires 32bit version of glibc
+ lib32path = '/lib'
+ if os.path.exists('/lib64') and ( os.path.islink('/lib64') or os.path.islink('/lib') ):
+ lib32path = '/lib32'
+ if not os.path.exists('%s/libc.so.6' % lib32path):
+ raise bb.build.FuncFailed, \
+ "\nTI installer requires 32bit glibc libraries for proper operation e.g on Fedora run 'yum install glibc.i686'"
+
localdata = bb.data.createCopy(d)
bb.data.update_data(localdata)
--
1.7.6.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing
2012-03-12 9:28 [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing Andreas Müller
@ 2012-03-12 10:50 ` Koen Kooi
2012-03-12 20:12 ` Denys Dmytriyenko
2012-03-15 17:35 ` Enrico
2 siblings, 0 replies; 5+ messages in thread
From: Koen Kooi @ 2012-03-12 10:50 UTC (permalink / raw)
To: Andreas Müller; +Cc: meta-ti@yoctoproject.org
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Op 12 mrt. 2012 om 10:28 heeft Andreas Müller <schnitzeltony@googlemail.com> het volgende geschreven:
> TI installation tool requires 32bit glibc [1]
>
> [1] https://lists.yoctoproject.org/pipermail/meta-ti/2012-January/000357.html
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
> recipes-ti/includes/ti-eula-unpack.inc | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/recipes-ti/includes/ti-eula-unpack.inc b/recipes-ti/includes/ti-eula-unpack.inc
> index 7c6e7b7..310d19f 100644
> --- a/recipes-ti/includes/ti-eula-unpack.inc
> +++ b/recipes-ti/includes/ti-eula-unpack.inc
> @@ -19,6 +19,14 @@ python ti_bin_do_unpack() {
>
> import os
>
> + # InstallJammer requires 32bit version of glibc
> + lib32path = '/lib'
> + if os.path.exists('/lib64') and ( os.path.islink('/lib64') or os.path.islink('/lib') ):
> + lib32path = '/lib32'
> + if not os.path.exists('%s/libc.so.6' % lib32path):
> + raise bb.build.FuncFailed, \
> + "\nTI installer requires 32bit glibc libraries for proper operation e.g on Fedora run 'yum install glibc.i686'"
> +
> localdata = bb.data.createCopy(d)
> bb.data.update_data(localdata)
>
> --
> 1.7.6.5
>
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing
2012-03-12 9:28 [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing Andreas Müller
2012-03-12 10:50 ` Koen Kooi
@ 2012-03-12 20:12 ` Denys Dmytriyenko
2012-03-15 17:35 ` Enrico
2 siblings, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2012-03-12 20:12 UTC (permalink / raw)
To: Andreas M??ller; +Cc: meta-ti
On Mon, Mar 12, 2012 at 10:28:05AM +0100, Andreas M??ller wrote:
> TI installation tool requires 32bit glibc [1]
>
> [1] https://lists.yoctoproject.org/pipermail/meta-ti/2012-January/000357.html
>
> Signed-off-by: Andreas M??ller <schnitzeltony@googlemail.com>
Thanks, pushed with a slight update in the exception description.
--
Denys
> ---
> recipes-ti/includes/ti-eula-unpack.inc | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/recipes-ti/includes/ti-eula-unpack.inc b/recipes-ti/includes/ti-eula-unpack.inc
> index 7c6e7b7..310d19f 100644
> --- a/recipes-ti/includes/ti-eula-unpack.inc
> +++ b/recipes-ti/includes/ti-eula-unpack.inc
> @@ -19,6 +19,14 @@ python ti_bin_do_unpack() {
>
> import os
>
> + # InstallJammer requires 32bit version of glibc
> + lib32path = '/lib'
> + if os.path.exists('/lib64') and ( os.path.islink('/lib64') or os.path.islink('/lib') ):
> + lib32path = '/lib32'
> + if not os.path.exists('%s/libc.so.6' % lib32path):
> + raise bb.build.FuncFailed, \
> + "\nTI installer requires 32bit glibc libraries for proper operation e.g on Fedora run 'yum install glibc.i686'"
> +
> localdata = bb.data.createCopy(d)
> bb.data.update_data(localdata)
>
> --
> 1.7.6.5
>
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing
2012-03-12 9:28 [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing Andreas Müller
2012-03-12 10:50 ` Koen Kooi
2012-03-12 20:12 ` Denys Dmytriyenko
@ 2012-03-15 17:35 ` Enrico
2012-03-15 17:47 ` Denys Dmytriyenko
2 siblings, 1 reply; 5+ messages in thread
From: Enrico @ 2012-03-15 17:35 UTC (permalink / raw)
To: Andreas Müller; +Cc: meta-ti
On Mon, Mar 12, 2012 at 10:28 AM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> TI installation tool requires 32bit glibc [1]
>
> [1] https://lists.yoctoproject.org/pipermail/meta-ti/2012-January/000357.html
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
> recipes-ti/includes/ti-eula-unpack.inc | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
I think it causes this error on a 32bit kubuntu 11.10:
NOTE: package ti-xdctools-3_23_00_32-r0: task do_unpack: Started
ERROR: Function failed:
TI installer requires 32bit glibc libraries for proper operation
run 'yum install glibc.i686' on Fedora or 'apt-get install
ia32-libs' on Ubuntu/Debian
ERROR: Logfile of failure stored in: /stuff/setup-scripts-new/.....
Log data follows:
| NOTE: Unpacking /stuff/setup-scripts-new/....
| NOTE: Unpacking /stuff/setup-scripts-new/...
| ERROR: Function failed:
| TI installer requires 32bit glibc libraries for proper operation
| run 'yum install glibc.i686' on Fedora or 'apt-get install
ia32-libs' on Ubuntu/Debian
NOTE: package ti-xdctools-3_23_00_32-r0: task do_unpack: Failed
ERROR: Task 3587
(/stuff/setup-scripts-new/sources/meta-ti/recipes-ti/devtools/ti-xdctools_3.23.00.32.bb,
do_unpack) failed with exit code '1'
Maybe the problem is that in my system libc is:
/lib/i386-linux-gnu/libc.so.6 -> libc-2.13.so
I know 32bit host is not officially supported (if i remember
correctly) but since the problem is only there it would be nice to
keep it working.
Enrico
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing
2012-03-15 17:35 ` Enrico
@ 2012-03-15 17:47 ` Denys Dmytriyenko
0 siblings, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2012-03-15 17:47 UTC (permalink / raw)
To: Enrico; +Cc: meta-ti
On Thu, Mar 15, 2012 at 06:35:59PM +0100, Enrico wrote:
> On Mon, Mar 12, 2012 at 10:28 AM, Andreas M?ller
> <schnitzeltony@googlemail.com> wrote:
> > TI installation tool requires 32bit glibc [1]
> >
> > [1] https://lists.yoctoproject.org/pipermail/meta-ti/2012-January/000357.html
> >
> > Signed-off-by: Andreas M?ller <schnitzeltony@googlemail.com>
> > ---
> > recipes-ti/includes/ti-eula-unpack.inc | 8 ++++++++
> > 1 files changed, 8 insertions(+), 0 deletions(-)
>
> I think it causes this error on a 32bit kubuntu 11.10:
>
> NOTE: package ti-xdctools-3_23_00_32-r0: task do_unpack: Started
> ERROR: Function failed:
> TI installer requires 32bit glibc libraries for proper operation
> run 'yum install glibc.i686' on Fedora or 'apt-get install
> ia32-libs' on Ubuntu/Debian
> ERROR: Logfile of failure stored in: /stuff/setup-scripts-new/.....
> Log data follows:
> | NOTE: Unpacking /stuff/setup-scripts-new/....
> | NOTE: Unpacking /stuff/setup-scripts-new/...
> | ERROR: Function failed:
> | TI installer requires 32bit glibc libraries for proper operation
> | run 'yum install glibc.i686' on Fedora or 'apt-get install
> ia32-libs' on Ubuntu/Debian
> NOTE: package ti-xdctools-3_23_00_32-r0: task do_unpack: Failed
> ERROR: Task 3587
> (/stuff/setup-scripts-new/sources/meta-ti/recipes-ti/devtools/ti-xdctools_3.23.00.32.bb,
> do_unpack) failed with exit code '1'
>
> Maybe the problem is that in my system libc is:
>
> /lib/i386-linux-gnu/libc.so.6 -> libc-2.13.so
That's multiarch... I was afraid of that when commiting the change - it's no
longer as easy to check for 32/64 bit libc as to just look at /lib32 or
/lib64... And looks like more and more distros are moving towards multiarch,
unfortunately it's not yet well standardized and there are some differences in
the implementation. Wookey had a nice presentation at the last ELC about
multiarch in Debian...
http://elinux.org/images/d/d8/Multiarch_and_Why_You_Should_Care-_Running%2C_Installing_and_Crossbuilding_With_Multiple_Architectures.pdf
> I know 32bit host is not officially supported (if i remember
> correctly) but since the problem is only there it would be nice to
> keep it working.
--
Denys
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-03-15 17:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-12 9:28 [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing Andreas Müller
2012-03-12 10:50 ` Koen Kooi
2012-03-12 20:12 ` Denys Dmytriyenko
2012-03-15 17:35 ` Enrico
2012-03-15 17:47 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.