All of lore.kernel.org
 help / color / mirror / Atom feed
* perl-native fails on Ubuntu 11.04
@ 2011-05-05  9:50 Søren Holm
  2011-05-05 10:57 ` Gary Thomas
  0 siblings, 1 reply; 12+ messages in thread
From: Søren Holm @ 2011-05-05  9:50 UTC (permalink / raw)
  To: openembedded-devel

Please apply this patch to make perl-native build on Ubuntu 11.04

https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch

- 
Søren Holm



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: perl-native fails on Ubuntu 11.04
  2011-05-05  9:50 perl-native fails on Ubuntu 11.04 Søren Holm
@ 2011-05-05 10:57 ` Gary Thomas
  2011-05-05 10:58   ` Graeme Gregory
  2011-05-14  8:39   ` Ulf Samuelsson
  0 siblings, 2 replies; 12+ messages in thread
From: Gary Thomas @ 2011-05-05 10:57 UTC (permalink / raw)
  To: openembedded-devel

On 05/05/2011 03:50 AM, Søren Holm wrote:
> Please apply this patch to make perl-native build on Ubuntu 11.04
>
> https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch

This patch only works for x86_64 systems.  A corrected version
replaces `uname -m` with * in
   ++test -f /usr/lib/*-linux-gnu/libc.so && glibpth="/usr/lib/*-linux-gnu $glibpth"

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: perl-native fails on Ubuntu 11.04
  2011-05-05 10:57 ` Gary Thomas
@ 2011-05-05 10:58   ` Graeme Gregory
  2011-05-14  8:39   ` Ulf Samuelsson
  1 sibling, 0 replies; 12+ messages in thread
From: Graeme Gregory @ 2011-05-05 10:58 UTC (permalink / raw)
  To: openembedded-devel

On 05/05/2011 11:57, Gary Thomas wrote:
> On 05/05/2011 03:50 AM, Søren Holm wrote:
>> Please apply this patch to make perl-native build on Ubuntu 11.04
>>
>> https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch 
>>
>
> This patch only works for x86_64 systems.  A corrected version
> replaces `uname -m` with * in
>   ++test -f /usr/lib/*-linux-gnu/libc.so && 
> glibpth="/usr/lib/*-linux-gnu $glibpth"
>
Probably best to merge the fix from oe-core where its had testing.

Graeme




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: perl-native fails on Ubuntu 11.04
  2011-05-05 10:57 ` Gary Thomas
  2011-05-05 10:58   ` Graeme Gregory
@ 2011-05-14  8:39   ` Ulf Samuelsson
  2011-05-14 14:32     ` Tom Rini
  1 sibling, 1 reply; 12+ messages in thread
From: Ulf Samuelsson @ 2011-05-14  8:39 UTC (permalink / raw)
  To: openembedded-devel

2011-05-05 12:57, Gary Thomas skrev:
> On 05/05/2011 03:50 AM, Søren Holm wrote:
>> Please apply this patch to make perl-native build on Ubuntu 11.04
>>
>> https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch 
>>
>
> This patch only works for x86_64 systems.  A corrected version
> replaces `uname -m` with * in
>   ++test -f /usr/lib/*-linux-gnu/libc.so && 
> glibpth="/usr/lib/*-linux-gnu $glibpth"
>


Yes ,  Just installed Ubuntu 11.04 on a machine and I tried that patch 
and failed.
'uname -m`  returns i686  but the library is in i386-linux-gnu
I symlinked i686-linux-gnu to i386-linux-gnu, and then the build completes.

`uname -i`  will return i386 so that is an alternative as well.


Best Regards
Ulf Samuelsson





^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: perl-native fails on Ubuntu 11.04
  2011-05-14  8:39   ` Ulf Samuelsson
@ 2011-05-14 14:32     ` Tom Rini
  2011-05-14 20:56       ` Samuelsson, Ulf
  0 siblings, 1 reply; 12+ messages in thread
From: Tom Rini @ 2011-05-14 14:32 UTC (permalink / raw)
  To: openembedded-devel

On 05/14/2011 01:39 AM, Ulf Samuelsson wrote:
> 2011-05-05 12:57, Gary Thomas skrev:
>> On 05/05/2011 03:50 AM, Søren Holm wrote:
>>> Please apply this patch to make perl-native build on Ubuntu 11.04
>>>
>>> https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch
>>>
>>
>> This patch only works for x86_64 systems.  A corrected version
>> replaces `uname -m` with * in
>>   ++test -f /usr/lib/*-linux-gnu/libc.so &&
>> glibpth="/usr/lib/*-linux-gnu $glibpth"
>>
> 
> 
> Yes ,  Just installed Ubuntu 11.04 on a machine and I tried that patch
> and failed.
> 'uname -m`  returns i686  but the library is in i386-linux-gnu
> I symlinked i686-linux-gnu to i386-linux-gnu, and then the build completes.
> 
> `uname -i`  will return i386 so that is an alternative as well.

On my x86_64 ubuntu 10.04 box it returns unknown, so I think we'll have
to use the glob.

-- 
Tom Rini
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: perl-native fails on Ubuntu 11.04
  2011-05-14 14:32     ` Tom Rini
@ 2011-05-14 20:56       ` Samuelsson, Ulf
  2011-05-14 22:43         ` Ulf Samuelsson
  0 siblings, 1 reply; 12+ messages in thread
From: Samuelsson, Ulf @ 2011-05-14 20:56 UTC (permalink / raw)
  To: openembedded-devel, openembedded-devel

Maybe try that if the others fail?

Best Regards
Ulf Samuelsson




-----Ursprungligt meddelande-----
Från: openembedded-devel-bounces@lists.openembedded.org genom Tom Rini
Skickat: lö 2011-05-14 16:32
Till: openembedded-devel@lists.openembedded.org
Ämne: Re: [oe] perl-native fails on Ubuntu 11.04
 
On 05/14/2011 01:39 AM, Ulf Samuelsson wrote:
> 2011-05-05 12:57, Gary Thomas skrev:
>> On 05/05/2011 03:50 AM, Søren Holm wrote:
>>> Please apply this patch to make perl-native build on Ubuntu 11.04
>>>
>>> https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch
>>>
>>
>> This patch only works for x86_64 systems.  A corrected version
>> replaces `uname -m` with * in
>>   ++test -f /usr/lib/*-linux-gnu/libc.so &&
>> glibpth="/usr/lib/*-linux-gnu $glibpth"
>>
> 
> 
> Yes ,  Just installed Ubuntu 11.04 on a machine and I tried that patch
> and failed.
> 'uname -m`  returns i686  but the library is in i386-linux-gnu
> I symlinked i686-linux-gnu to i386-linux-gnu, and then the build completes.
> 
> `uname -i`  will return i386 so that is an alternative as well.

On my x86_64 ubuntu 10.04 box it returns unknown, so I think we'll have
to use the glob.

-- 
Tom Rini
Mentor Graphics Corporation

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: perl-native fails on Ubuntu 11.04
  2011-05-14 20:56       ` Samuelsson, Ulf
@ 2011-05-14 22:43         ` Ulf Samuelsson
  2011-05-15 12:17           ` Gary Thomas
  0 siblings, 1 reply; 12+ messages in thread
From: Ulf Samuelsson @ 2011-05-14 22:43 UTC (permalink / raw)
  To: openembedded-devel


> Skickat: lö 2011-05-14 16:32
> Till: openembedded-devel@lists.openembedded.org
> Ämne: Re: [oe] perl-native fails on Ubuntu 11.04
>
> On 05/14/2011 01:39 AM, Ulf Samuelsson wrote:
>> 2011-05-05 12:57, Gary Thomas skrev:
>>> On 05/05/2011 03:50 AM, Søren Holm wrote:
>>>> Please apply this patch to make perl-native build on Ubuntu 11.04
>>>>
>>>> https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch
>>>>
>>> This patch only works for x86_64 systems.  A corrected version
>>> replaces `uname -m` with * in
>>>    ++test -f /usr/lib/*-linux-gnu/libc.so&&
>>> glibpth="/usr/lib/*-linux-gnu $glibpth"
>>>
>>
>> Yes ,  Just installed Ubuntu 11.04 on a machine and I tried that patch
>> and failed.
>> 'uname -m`  returns i686  but the library is in i386-linux-gnu
>> I symlinked i686-linux-gnu to i386-linux-gnu, and then the build completes.
>>
>> `uname -i`  will return i386 so that is an alternative as well.
> On my x86_64 ubuntu 10.04 box it returns unknown, so I think we'll have
> to use the glob.
>

How about using:
dirname `find /usr/lib/*-linux-gnu/libc.so`

Best Regards
Ulf Samuelsson





^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: perl-native fails on Ubuntu 11.04
  2011-05-14 22:43         ` Ulf Samuelsson
@ 2011-05-15 12:17           ` Gary Thomas
  2011-05-15 13:15             ` Ulf Samuelsson
  0 siblings, 1 reply; 12+ messages in thread
From: Gary Thomas @ 2011-05-15 12:17 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Ulf Samuelsson

On 05/14/2011 04:43 PM, Ulf Samuelsson wrote:
>
>> Skickat: lö 2011-05-14 16:32
>> Till: openembedded-devel@lists.openembedded.org
>> Ämne: Re: [oe] perl-native fails on Ubuntu 11.04
>>
>> On 05/14/2011 01:39 AM, Ulf Samuelsson wrote:
>>> 2011-05-05 12:57, Gary Thomas skrev:
>>>> On 05/05/2011 03:50 AM, Søren Holm wrote:
>>>>> Please apply this patch to make perl-native build on Ubuntu 11.04
>>>>>
>>>>> https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch
>>>>>
>>>> This patch only works for x86_64 systems. A corrected version
>>>> replaces `uname -m` with * in
>>>> ++test -f /usr/lib/*-linux-gnu/libc.so&&
>>>> glibpth="/usr/lib/*-linux-gnu $glibpth"
>>>>
>>>
>>> Yes , Just installed Ubuntu 11.04 on a machine and I tried that patch
>>> and failed.
>>> 'uname -m` returns i686 but the library is in i386-linux-gnu
>>> I symlinked i686-linux-gnu to i386-linux-gnu, and then the build completes.
>>>
>>> `uname -i` will return i386 so that is an alternative as well.
>> On my x86_64 ubuntu 10.04 box it returns unknown, so I think we'll have
>> to use the glob.
>>
>
> How about using:
> dirname `find /usr/lib/*-linux-gnu/libc.so`

That's no different than just the glob

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: perl-native fails on Ubuntu 11.04
  2011-05-15 12:17           ` Gary Thomas
@ 2011-05-15 13:15             ` Ulf Samuelsson
  2011-05-15 17:41               ` Gary Thomas
  0 siblings, 1 reply; 12+ messages in thread
From: Ulf Samuelsson @ 2011-05-15 13:15 UTC (permalink / raw)
  To: openembedded-devel

2011-05-15 14:17, Gary Thomas skrev:
> On 05/14/2011 04:43 PM, Ulf Samuelsson wrote:
>>
>>> Skickat: lö 2011-05-14 16:32
>>> Till: openembedded-devel@lists.openembedded.org
>>> Ämne: Re: [oe] perl-native fails on Ubuntu 11.04
>>>
>>> On 05/14/2011 01:39 AM, Ulf Samuelsson wrote:
>>>> 2011-05-05 12:57, Gary Thomas skrev:
>>>>> On 05/05/2011 03:50 AM, Søren Holm wrote:
>>>>>> Please apply this patch to make perl-native build on Ubuntu 11.04
>>>>>>
>>>>>> https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch 
>>>>>>
>>>>>>
>>>>> This patch only works for x86_64 systems. A corrected version
>>>>> replaces `uname -m` with * in
>>>>> ++test -f /usr/lib/*-linux-gnu/libc.so&&
>>>>> glibpth="/usr/lib/*-linux-gnu $glibpth"
>>>>>
>>>>
>>>> Yes , Just installed Ubuntu 11.04 on a machine and I tried that patch
>>>> and failed.
>>>> 'uname -m` returns i686 but the library is in i386-linux-gnu
>>>> I symlinked i686-linux-gnu to i386-linux-gnu, and then the build 
>>>> completes.
>>>>
>>>> `uname -i` will return i386 so that is an alternative as well.
>>> On my x86_64 ubuntu 10.04 box it returns unknown, so I think we'll have
>>> to use the glob.
>>>
>>
>> How about using:
>> dirname `find /usr/lib/*-linux-gnu/libc.so`
>
> That's no different than just the glob
>

I may be mistaken, but I think that with the glob,
glibpth will contain    "/usr/lib/*-linux-gnu"
with the proposed patch,
glibpth will contain (on my machine) "/usr/lib/i386-linux-gnu"

Not a big difference, I admit, but I think the latter is a tad more 
efficient.

BR
Ulf Samuelsson



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: perl-native fails on Ubuntu 11.04
  2011-05-15 13:15             ` Ulf Samuelsson
@ 2011-05-15 17:41               ` Gary Thomas
  2011-05-17  8:33                 ` Søren Holm
  0 siblings, 1 reply; 12+ messages in thread
From: Gary Thomas @ 2011-05-15 17:41 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Ulf Samuelsson

On 05/15/2011 07:15 AM, Ulf Samuelsson wrote:
> 2011-05-15 14:17, Gary Thomas skrev:
>> On 05/14/2011 04:43 PM, Ulf Samuelsson wrote:
>>>
>>>> Skickat: lö 2011-05-14 16:32
>>>> Till: openembedded-devel@lists.openembedded.org
>>>> Ämne: Re: [oe] perl-native fails on Ubuntu 11.04
>>>>
>>>> On 05/14/2011 01:39 AM, Ulf Samuelsson wrote:
>>>>> 2011-05-05 12:57, Gary Thomas skrev:
>>>>>> On 05/05/2011 03:50 AM, Søren Holm wrote:
>>>>>>> Please apply this patch to make perl-native build on Ubuntu 11.04
>>>>>>>
>>>>>>> https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch
>>>>>>>
>>>>>> This patch only works for x86_64 systems. A corrected version
>>>>>> replaces `uname -m` with * in
>>>>>> ++test -f /usr/lib/*-linux-gnu/libc.so&&
>>>>>> glibpth="/usr/lib/*-linux-gnu $glibpth"
>>>>>>
>>>>>
>>>>> Yes , Just installed Ubuntu 11.04 on a machine and I tried that patch
>>>>> and failed.
>>>>> 'uname -m` returns i686 but the library is in i386-linux-gnu
>>>>> I symlinked i686-linux-gnu to i386-linux-gnu, and then the build completes.
>>>>>
>>>>> `uname -i` will return i386 so that is an alternative as well.
>>>> On my x86_64 ubuntu 10.04 box it returns unknown, so I think we'll have
>>>> to use the glob.
>>>>
>>>
>>> How about using:
>>> dirname `find /usr/lib/*-linux-gnu/libc.so`
>>
>> That's no different than just the glob
>>
>
> I may be mistaken, but I think that with the glob,
> glibpth will contain "/usr/lib/*-linux-gnu"
> with the proposed patch,
> glibpth will contain (on my machine) "/usr/lib/i386-linux-gnu"
>
> Not a big difference, I admit, but I think the latter is a tad more efficient.

No, the glob will be expanded in the assignment (globs inside of "" strings
are expanded by the shell)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: perl-native fails on Ubuntu 11.04
  2011-05-15 17:41               ` Gary Thomas
@ 2011-05-17  8:33                 ` Søren Holm
  2011-05-17  9:51                   ` Anders Darander
  0 siblings, 1 reply; 12+ messages in thread
From: Søren Holm @ 2011-05-17  8:33 UTC (permalink / raw)
  To: openembedded-devel

Søndag 15 maj 2011 19:41:27 skrev Gary Thomas:
> 
> No, the glob will be expanded in the assignment (globs inside of "" strings
> are expanded by the shell)
> 

This is still not fixed. I have the change from  https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch
running and it works great. Why do we not apply that?

-- 
Søren Holm



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: perl-native fails on Ubuntu 11.04
  2011-05-17  8:33                 ` Søren Holm
@ 2011-05-17  9:51                   ` Anders Darander
  0 siblings, 0 replies; 12+ messages in thread
From: Anders Darander @ 2011-05-17  9:51 UTC (permalink / raw)
  To: openembedded-devel

On Tue, May 17, 2011 at 10:33, Søren Holm <sgh@sgh.dk> wrote:
> Søndag 15 maj 2011 19:41:27 skrev Gary Thomas:
>> No, the glob will be expanded in the assignment (globs inside of "" strings
>> are expanded by the shell)
> This is still not fixed. I have the change from  https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch
> running and it works great. Why do we not apply that?

Good question.
Although we should use the glob-version from oe-core, as there were
some problems using `uname -m`.

Regards,
Anders



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-05-17  9:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-05  9:50 perl-native fails on Ubuntu 11.04 Søren Holm
2011-05-05 10:57 ` Gary Thomas
2011-05-05 10:58   ` Graeme Gregory
2011-05-14  8:39   ` Ulf Samuelsson
2011-05-14 14:32     ` Tom Rini
2011-05-14 20:56       ` Samuelsson, Ulf
2011-05-14 22:43         ` Ulf Samuelsson
2011-05-15 12:17           ` Gary Thomas
2011-05-15 13:15             ` Ulf Samuelsson
2011-05-15 17:41               ` Gary Thomas
2011-05-17  8:33                 ` Søren Holm
2011-05-17  9:51                   ` Anders Darander

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.