Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Embedded

failing to arm...-emerge python-2.6.3

 

 

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded


michael.buchzik at php-pro

Oct 18, 2009, 7:37 AM

Post #1 of 11 (2151 views)
Permalink
failing to arm...-emerge python-2.6.3

Hello,

I'm new to this list and also relatively new (several weeks) to
cross-compiling.
I'm trying to create a Gentoo Base system for a Netus G20 (mounted on a
Fox Board G20, http://netus.acmesystems.it/doku.php ).

It's mostly done, but some last ebuilds fail. So I hope, someone here on
this list might help me.
The output of armv5tejl-softfloat-linux-gnueabi-emerge -pv system:
http://php-pro.de/tmp/emerge-system.txt
armv5tejl-softfloat-linux-gnueabi-emerge --info:
http://php-pro.de/tmp/info.txt
And the build log of the "bad guy":
http://php-pro.de/tmp/python-2.6.3-arm-build.log
On the host system, also python 2.6.3 is installed.

one second question is: will I need libtool to be able to continue
emerging on the arm system? it depends on libperl, and libperl also
won't cross-compile and so I would like to do that later on the
arm-system ...

Thanks in advance,
Michael


david at blue-labs

Oct 18, 2009, 11:08 AM

Post #2 of 11 (2107 views)
Permalink
Re: failing to arm...-emerge python-2.6.3 [In reply to]

2.6.3 doesn't compile for me, 2.6.2-r2 does. i don't know if you have
an overlay for this, but the 2.6.2-r2 out of the openmoko overlay builds
and runs fine. i think you've already noted that you need to have the
same python version built on target as on host.

i've no idea about libperl, don't want to go there :>

-david

M. Buchzik wrote:
> Hello,
>
> I'm new to this list and also relatively new (several weeks) to
> cross-compiling.
> I'm trying to create a Gentoo Base system for a Netus G20 (mounted on a
> Fox Board G20, http://netus.acmesystems.it/doku.php ).
>
> It's mostly done, but some last ebuilds fail. So I hope, someone here on
> this list might help me.
> The output of armv5tejl-softfloat-linux-gnueabi-emerge -pv system:
> http://php-pro.de/tmp/emerge-system.txt
> armv5tejl-softfloat-linux-gnueabi-emerge --info:
> http://php-pro.de/tmp/info.txt
> And the build log of the "bad guy":
> http://php-pro.de/tmp/python-2.6.3-arm-build.log
> On the host system, also python 2.6.3 is installed.
>
> one second question is: will I need libtool to be able to continue
> emerging on the arm system? it depends on libperl, and libperl also
> won't cross-compile and so I would like to do that later on the
> arm-system ...
>
> Thanks in advance,
> Michael
>
>


maxposedon at gmail

Oct 18, 2009, 3:07 PM

Post #3 of 11 (2099 views)
Permalink
Re: failing to arm...-emerge python-2.6.3 [In reply to]

I'll fix python in openmoko overlay soon(in next few days)

On 10/18/09, David Ford <david [at] blue-labs> wrote:
> 2.6.3 doesn't compile for me, 2.6.2-r2 does. i don't know if you have
> an overlay for this, but the 2.6.2-r2 out of the openmoko overlay builds
> and runs fine. i think you've already noted that you need to have the
> same python version built on target as on host.
>
> i've no idea about libperl, don't want to go there :>
>
> -david
>
> M. Buchzik wrote:
>> Hello,
>>
>> I'm new to this list and also relatively new (several weeks) to
>> cross-compiling.
>> I'm trying to create a Gentoo Base system for a Netus G20 (mounted on a
>> Fox Board G20, http://netus.acmesystems.it/doku.php ).
>>
>> It's mostly done, but some last ebuilds fail. So I hope, someone here on
>> this list might help me.
>> The output of armv5tejl-softfloat-linux-gnueabi-emerge -pv system:
>> http://php-pro.de/tmp/emerge-system.txt
>> armv5tejl-softfloat-linux-gnueabi-emerge --info:
>> http://php-pro.de/tmp/info.txt
>> And the build log of the "bad guy":
>> http://php-pro.de/tmp/python-2.6.3-arm-build.log
>> On the host system, also python 2.6.3 is installed.
>>
>> one second question is: will I need libtool to be able to continue
>> emerging on the arm system? it depends on libperl, and libperl also
>> won't cross-compile and so I would like to do that later on the
>> arm-system ...
>>
>> Thanks in advance,
>> Michael
>>
>>
>
>
>


david at blue-labs

Oct 18, 2009, 3:10 PM

Post #4 of 11 (2090 views)
Permalink
Re: failing to arm...-emerge python-2.6.3 [In reply to]

i have a long list of this-makes-it-work that i wrote up while i was
emerging everything for my 'moko

Maksim 'max_posedon' Melnikau wrote:
> I'll fix python in openmoko overlay soon(in next few days)
>


michael.buchzik at php-pro

Oct 19, 2009, 7:30 AM

Post #5 of 11 (2094 views)
Permalink
Re: failing to arm...-emerge python-2.6.3 [In reply to]

thanks for your info.
I installed the openmoko layer, but I don't think it's used.
Is there a way to force the usage of a layer?
http://www.gentoo.org/proj/en/overlays/userguide.xml says ~arch might do
that, but I already use the ~arm-Keyword ...
http://php-pro.de/tmp/python-2.6.2-r2-build.log and
http://php-pro.de/tmp/python-2.6.2-r2-openmoko-build.log don't really
differ.

Thanks,
Michael

David Ford schrieb:
> 2.6.3 doesn't compile for me, 2.6.2-r2 does. i don't know if you have
> an overlay for this, but the 2.6.2-r2 out of the openmoko overlay builds
> and runs fine. i think you've already noted that you need to have the
> same python version built on target as on host.
>
> i've no idea about libperl, don't want to go there :>
>
> -david
>
> M. Buchzik wrote:
>
>> Hello,
>>
>> I'm new to this list and also relatively new (several weeks) to
>> cross-compiling.
>> I'm trying to create a Gentoo Base system for a Netus G20 (mounted on a
>> Fox Board G20, http://netus.acmesystems.it/doku.php ).
>>
>> It's mostly done, but some last ebuilds fail. So I hope, someone here on
>> this list might help me.
>> The output of armv5tejl-softfloat-linux-gnueabi-emerge -pv system:
>> http://php-pro.de/tmp/emerge-system.txt
>> armv5tejl-softfloat-linux-gnueabi-emerge --info:
>> http://php-pro.de/tmp/info.txt
>> And the build log of the "bad guy":
>> http://php-pro.de/tmp/python-2.6.3-arm-build.log
>> On the host system, also python 2.6.3 is installed.
>>
>> one second question is: will I need libtool to be able to continue
>> emerging on the arm system? it depends on libperl, and libperl also
>> won't cross-compile and so I would like to do that later on the
>> arm-system ...
>>
>> Thanks in advance,
>> Michael
>>
>>
>>
>
>
>


peter at stuge

Oct 19, 2009, 10:42 AM

Post #6 of 11 (2093 views)
Permalink
Re: failing to arm...-emerge python-2.6.3 [In reply to]

M. Buchzik wrote:
> I installed the openmoko layer, but I don't think it's used.
> Is there a way to force the usage of a layer?

You don't say if you are using layman or added the overlay manually.
Make sure that the overlay is pulled in from make.conf. See layman
docs and make.conf docs.


//Peter


michael.buchzik at php-pro

Oct 19, 2009, 11:28 AM

Post #7 of 11 (2091 views)
Permalink
Re: failing to arm...-emerge python-2.6.3 [In reply to]

Peter Stuge schrieb:
> Make sure that the overlay is pulled in from make.conf. See layman
> docs and make.conf docs. You don't say if you are using layman or added the overlay manually.
>
thanks a lot!
i used layman and thought PORTDIR_OVERLAY="/usr/local/portage" was
enough, but in addition with the exact openmoko-drirectory it now worked
(/usr/local/portage/layman/openmoko/trunk/openmoko-target).

Thank you all! :-)

Michael


peter at stuge

Oct 19, 2009, 11:55 AM

Post #8 of 11 (2089 views)
Permalink
Re: failing to arm...-emerge python-2.6.3 [In reply to]

M. Buchzik wrote:
> > Make sure that the overlay is pulled in from make.conf. See
> > layman docs and make.conf docs.
>
> thanks a lot!
> i used layman and thought PORTDIR_OVERLAY="/usr/local/portage" was
> enough,

Please do read the documentation.

--8<-- man layman
CONFIGURATION
..
make.conf
..
prefer having a very small external file that only contains the
setting for PORTAGE_OVERLAYS. This file is then sourced at the end
of /etc/make.conf. This is the reason why layman suggests running
"echo "source /usr/portage/local/layman/make.conf" >>
/etc/make.conf" after it has been installed.
-->8--


//Peter


michael.buchzik at php-pro

Oct 19, 2009, 12:16 PM

Post #9 of 11 (2090 views)
Permalink
Re: failing to arm...-emerge python-2.6.3 [In reply to]

Peter Stuge schrieb:
> Please do read the documentation.
Sorry, reading and understanding are two different things ;-)
I read it, had a look into /usr/portage/local/layman/make.conf and saw
no reason ... my failure :o

Well, nevertheless you helped me a lot, my work - programming the
embedded device - now can begin! thanks to you ...

Michael


peter at stuge

Oct 19, 2009, 1:26 PM

Post #10 of 11 (2090 views)
Permalink
Re: failing to arm...-emerge python-2.6.3 [In reply to]

Hey Michael,

M. Buchzik wrote:
> > Please do read the documentation.
>
> Sorry, reading and understanding are two different things ;-)

True! Read again and again until it becomes clear. Read slowly.
I have to do that too, and it pays off.


> I read it, had a look into /usr/portage/local/layman/make.conf and
> saw no reason ... my failure :o

The important bit was that about echo and PORTDIR_OVERLAY.


> Well, nevertheless you helped me a lot, my work - programming the
> embedded device - now can begin! thanks to you ...

You're welcome.


//Peter


maxposedon at gmail

Nov 29, 2009, 7:07 AM

Post #11 of 11 (1796 views)
Permalink
Re: failing to arm...-emerge python-2.6.3 [In reply to]

Hi!

I finally find time for python-2.6.4, and updated patches, so

openmoko overlay now have crosscompile-aware python

On 10/19/09, Peter Stuge <peter [at] stuge> wrote:
> Hey Michael,
>
> M. Buchzik wrote:
>> > Please do read the documentation.
>>
>> Sorry, reading and understanding are two different things ;-)
>
> True! Read again and again until it becomes clear. Read slowly.
> I have to do that too, and it pays off.
>
>
>> I read it, had a look into /usr/portage/local/layman/make.conf and
>> saw no reason ... my failure :o
>
> The important bit was that about echo and PORTDIR_OVERLAY.
>
>
>> Well, nevertheless you helped me a lot, my work - programming the
>> embedded device - now can begin! thanks to you ...
>
> You're welcome.
>
>
> //Peter
>
>

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.