Skip to contentSkip to conversation

yocto help needed

DISCUSSION Pushpa Teja 2 participants 2 messages May 23, 2014 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

Good morning,
I want to start to work on yacto please z provide me the guidance how to start it .

Regards ,
pushpa

Quoted 326 lines

From: [email protected]
Subject: yocto Digest, Vol 44, Issue 103
To: [email protected]
Date: Thu, 22 May 2014 06:50:28 -0700

Send yocto mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.yoctoproject.org/listinfo/yocto
or, via email, send a message with subject or body 'help' to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific than "Re: Contents of yocto digest..."

Today's Topics:

1. Re: help needed (Alexandru Vaduva)
2. Re: help needed (Burton, Ross)
3. Re: [meta-mingw] build error (Stefan Seefeld)
4. Re: help needed (Paul Eggleton)
5. Re: help needed (Alexandru Vaduva)
6. Re: Help with building app recipe (Diego Sueiro)

----------------------------------------------------------------------

Message: 1
Date: Thu, 22 May 2014 06:00:02 -0700 (PDT)
From: Alexandru Vaduva <[email protected]>
To: Paul Eggleton <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [yocto] help needed
Message-ID:

	<[email protected]>

Content-Type: text/plain; charset="us-ascii"

The hack will put the line: require perl-ptest.incinside a if structure. The if will test if ptest is in the image-features or not.

On Thursday, May 22, 2014 3:43 PM, Paul Eggleton <[email protected]> wrote:

Quoted 4 lines · On Thursday 22 May 2014 05:38:41 Alexandru Vaduva wrote:

it appear, it shouldn`t I believe.
I have a hack to include the perl-ptest module only when ptest enabled on image_featuresbut it does not look nice. I do not believe this solves the problem.

Sorry, I'm not quite following. What is this hack?

Cheers,
Paul

Signature · 18 lines
Paul Eggleton
Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140522/44f84bb2/attachment-0001.html>

------------------------------

Message: 2
Date: Thu, 22 May 2014 14:09:24 +0100
From: "Burton, Ross" <[email protected]>
To: Alexandru Vaduva <[email protected]>
Cc: Paul Eggleton <[email protected]>,
	"[email protected]" <[email protected]>
Subject: Re: [yocto] help needed
Message-ID:
	<CAJTo0LaA9S1gJyO0g3nCn3vzyuVLON4-SyP9KUv0Gj+9KG16Aw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Quoted 1 line · Alexandru Vaduva

it appear, it shouldn`t I believe.

Can you share this depends.dot file please? For what it's worth, I can't replicate this with oe-core master

Ross

------------------------------

Message: 3
Date: Thu, 22 May 2014 09:10:30 -0400
From: Stefan Seefeld <[email protected]>
To: Richard Purdie <[email protected]>
Cc: [email protected]
Subject: Re: [yocto] [meta-mingw] build error
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Quoted 12 lines · Richard Purdie
Quoted 11 lines · Stefan Seefeld

Hello,

I started experimenting with the meta-mingw layer today, using the 'daisy' branch for both, poky as well as meta-mingw.

Running bitbake meta-toolchain, the build process failed in one of the last steps (1003 of 1005) with:

ERROR: nativesdk-packagegroup-sdk-host not found in the base feeds (x86_64-nativesdk-mingw32 noarch any all).

Quoted 8 lines
Quoted 4 lines

Any idea what I may be missing ? I'm using

MACHINE ??= "qemux86"
SDKMACHINE ?= "x86_64-mingw32"

Which pacxkage backend were you using? If you didn't use ipk, I'd suggest trying it. In theory others should work but its ipk I've been using when working with those layers.

OK, I was using rpm (the default), but now switched to ipk. That results in a different error in meta/lib/oe/sdk.py:55, where do_populate() tries to link ld.so.cache into a non-existent directory.
I have attempted a fix with the attached patch.

With that, things now appear to be working. (I think things should also work with 'rpm' as package backend, though, right ? Should I file a bug report somewhere to put that on record ?)

Thanks,
Stefan

Signature · 21 lines
Stefan Seefeld
CodeSourcery / Mentor Embedded
http://www.mentor.com/embedded-software/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdk.py.diff
Type: text/x-patch
Size: 756 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140522/29c38402/attachment-0001.bin>

------------------------------

Message: 4
Date: Thu, 22 May 2014 14:14:43 +0100
From: Paul Eggleton <[email protected]>
To: Alexandru Vaduva <[email protected]>
Cc: [email protected]
Subject: Re: [yocto] help needed
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Quoted 8 lines · On Thursday 22 May 2014 06:00:02 Alexandru Vaduva wrote:
Quoted 6 lines · Paul Eggleton
Quoted 4 lines · On Thursday 22 May 2014 05:38:41 Alexandru Vaduva wrote:

it appear, it shouldn`t I believe.
I have a hack to include the perl-ptest module only when ptest enabled on image_featuresbut it does not look nice. I do not believe this solves the problem.

Quoted 4 lines
Quoted 1 line

Sorry, I'm not quite following. What is this hack?

The hack will put the line: require perl-ptest.incinside a if structure. The if will test if ptest is in the image-features or not.

There's nothing in that file that explicitly adds a dependency from perl (or any other package) on the perl-ptest package. So far as far as I know, nobody has yet reproduced the issue you're reporting. Are you building the exact same version of the perl recipe? Have you modified the recipe at all?

Cheers,
Paul

Signature · 17 lines
Paul Eggleton
Intel Open Source Technology Centre


------------------------------

Message: 5
Date: Thu, 22 May 2014 06:24:58 -0700 (PDT)
From: Alexandru Vaduva <[email protected]>
To: Paul Eggleton <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [yocto] help needed
Message-ID:
	<[email protected]>
Content-Type: text/plain; charset="us-ascii"

I attached the depends .dot file and also a small perl-ptest.info file with only the perl-ptest occurences.

On Thursday, May 22, 2014 4:15 PM, Paul Eggleton <[email protected]> wrote:

Quoted 8 lines · On Thursday 22 May 2014 06:00:02 Alexandru Vaduva wrote:
Quoted 6 lines · Paul Eggleton
Quoted 4 lines · On Thursday 22 May 2014 05:38:41 Alexandru Vaduva wrote:

it appear, it shouldn`t I believe.
I have a hack to include the perl-ptest module only when ptest enabled on image_featuresbut it does not look nice. I do not believe this solves the problem.

Quoted 4 lines
Quoted 1 line

Sorry, I'm not quite following. What is this hack?

The hack will put the line: require perl-ptest.incinside a if structure. The if will test if ptest is in the image-features or not.

There's nothing in that file that explicitly adds a dependency from perl (or any other package) on the perl-ptest package. So far as far as I know, nobody has yet reproduced the issue you're reporting. Are you building the exact same version of the perl recipe? Have you modified the recipe at all?

Cheers,
Paul

Signature · 64 lines
Paul Eggleton
Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140522/0a852a50/attachment-0001.html>

------------------------------

Message: 6
Date: Thu, 22 May 2014 10:50:03 -0300
From: Diego Sueiro <[email protected]>
To: Khem Raj <[email protected]>
Cc: "[email protected]" <[email protected]>,	Neuer User
	<[email protected]>
Subject: Re: [yocto] Help with building app recipe
Message-ID:
	<CAMCfZKGM7JmHRvLYpeAeZukOUGDyEzzvvuQ9a_RpJS0t7r9wCw@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Folks,

I'm trying to accomplish this in a 64bits host machine. But I'm getting
errors the following error on compile task:

| In file included from
/<snip>/tmp/sysroots/x86_64-linux/usr/include/python3.3m/Python.h:50:0,
|                  from ../../git/src/qpython_priv.h:22,
|                  from moc_qpython_priv.cpp:9:
| /<snip>/sysroots/x86_64-linux/usr/include/python3.3m/pyport.h:820:2:
error: #error "LONG_BIT definition appears wrong for platform (bad
gcc/glibc config?)."
|  #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc
config?)."
|   ^


Searching on Google it says that this is a known bug when trying to
cross-compile Python stuff for 32bits machines on 64bits hosts.

It seems that the guys from Buildroot could get this solved:
http://lists.busybox.net/pipermail/buildroot/2011-August/045257.html
I'm trying to find the "magical" patch to how to get this fixed.

Also found this link too:
http://blog.devork.be/2009/02/compiling-32-bit-python-on-amd64.html

But I'm not quite sure how to get this fixed on Yocto. Should it need to be
fixed on the pyotherside, or python3, or python3-native recipe?


Any directions are appreciated.



Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>

/*long live rock 'n roll*/
Quoted 11 lines · Khem Raj
Quoted 2 lines · Neuer User

If I change the sed line to "#!/usr/bin/env python3", that would probably work then. But would it break something else?

would be fine.
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140522/fea3f300/attachment.html>

------------------------------

Signature · 8 lines
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto


End of yocto Digest, Vol 44, Issue 103
**************************************
#2 lore raw

Hi,

You can go through bunch of very good documents available at
https://www.yoctoproject.org/documentation/current

For immediate, you can start with
http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html

//Gaurang Shastri

Quoted 369 lines · Pushpa Teja

Good morning,
I want to start to work on yacto please z provide
me the guidance how to start it .

Regards ,
pushpa

Quoted 47 lines

From: [email protected]
Subject: yocto Digest, Vol 44, Issue 103
To: [email protected]
Date: Thu, 22 May 2014 06:50:28 -0700

Send yocto mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.yoctoproject.org/listinfo/yocto
or, via email, send a message with subject or body 'help' to [email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific than "Re: Contents of yocto digest..."

Today's Topics:

1. Re: help needed (Alexandru Vaduva)
2. Re: help needed (Burton, Ross)
3. Re: [meta-mingw] build error (Stefan Seefeld)
4. Re: help needed (Paul Eggleton)
5. Re: help needed (Alexandru Vaduva)
6. Re: Help with building app recipe (Diego Sueiro)

----------------------------------------------------------------------

Message: 1
Date: Thu, 22 May 2014 06:00:02 -0700 (PDT)
From: Alexandru Vaduva <[email protected]>
To: Paul Eggleton <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [yocto] help needed
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="us-ascii"

The hack will put the line: require perl-ptest.incinside a if structure. The if will test if ptest is in the image-features or not.

On Thursday, May 22, 2014 3:43 PM, Paul Eggleton <

Quoted 15 lines · [email protected]> wrote:
Quoted 4 lines · On Thursday 22 May 2014 05:38:41 Alexandru Vaduva wrote:

it appear, it shouldn`t I believe.
I have a hack to include the perl-ptest module only when ptest enabled on image_featuresbut it does not look nice. I do not believe this solves the problem.

Sorry, I'm not quite following. What is this hack?

Cheers,
Paul

Quoted 7 lines

--

Paul Eggleton
Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <

http://lists.yoctoproject.org/pipermail/yocto/attachments/20140522/44f84bb2/attachment-0001.html

Quoted 16 lines

------------------------------

Message: 2
Date: Thu, 22 May 2014 14:09:24 +0100
From: "Burton, Ross" <[email protected]>
To: Alexandru Vaduva <[email protected]>
Cc: Paul Eggleton <[email protected]>, "[email protected]" <[email protected]>
Subject: Re: [yocto] help needed
Message-ID:
<CAJTo0LaA9S1gJyO0g3nCn3vzyuVLON4-SyP9KUv0Gj+9KG16Aw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On 22 May 2014 13:38, Alexandru Vaduva <[email protected]>

Quoted 19 lines · wrote:
Quoted 1 line

it appear, it shouldn`t I believe.

Can you share this depends.dot file please? For what it's worth, I can't replicate this with oe-core master

Ross

------------------------------

Message: 3
Date: Thu, 22 May 2014 09:10:30 -0400
From: Stefan Seefeld <[email protected]>
To: Richard Purdie <[email protected]>
Cc: [email protected]
Subject: Re: [yocto] [meta-mingw] build error
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Quoted 8 lines
Quoted 7 lines · Richard Purdie
Quoted 6 lines · Stefan Seefeld

Hello,

I started experimenting with the meta-mingw layer today, using the 'daisy' branch for both, poky as well as meta-mingw.

Running bitbake meta-toolchain, the build process failed in one of

the

Quoted 27 lines
Quoted 5 lines
Quoted 5 lines

last steps (1003 of 1005) with:

ERROR: nativesdk-packagegroup-sdk-host not found in the base feeds (x86_64-nativesdk-mingw32 noarch any all).

Quoted 8 lines
Quoted 4 lines

Any idea what I may be missing ? I'm using

MACHINE ??= "qemux86"
SDKMACHINE ?= "x86_64-mingw32"

Which pacxkage backend were you using? If you didn't use ipk, I'd suggest trying it. In theory others should work but its ipk I've been using when working with those layers.

OK, I was using rpm (the default), but now switched to ipk. That results in a different error in meta/lib/oe/sdk.py:55, where do_populate() tries to link ld.so.cache into a non-existent directory.
I have attempted a fix with the attached patch.

With that, things now appear to be working. (I think things should also work with 'rpm' as package backend, though, right ? Should I file a bug report somewhere to put that on record ?)

Thanks,
Stefan

Quoted 11 lines

--
Stefan Seefeld
CodeSourcery / Mentor Embedded
http://www.mentor.com/embedded-software/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdk.py.diff
Type: text/x-patch
Size: 756 bytes
Desc: not available
URL: <

http://lists.yoctoproject.org/pipermail/yocto/attachments/20140522/29c38402/attachment-0001.bin

Quoted 13 lines

------------------------------

Message: 4
Date: Thu, 22 May 2014 14:14:43 +0100
From: Paul Eggleton <[email protected]>
To: Alexandru Vaduva <[email protected]>
Cc: [email protected]
Subject: Re: [yocto] help needed
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Quoted 12 lines
Quoted 11 lines · On Thursday 22 May 2014 06:00:02 Alexandru Vaduva wrote:
Quoted 7 lines · Paul Eggleton
Quoted 4 lines · On Thursday 22 May 2014 05:38:41 Alexandru Vaduva wrote:

it appear, it shouldn`t I believe.
I have a hack to include the perl-ptest module only when ptest enabled on image_featuresbut it does not look nice. I do not believe this solves the problem.

Sorry, I'm not quite following. What is this hack?

The hack will put the line: require perl-ptest.incinside a if

structure.

Quoted 3 lines
Quoted 1 line

The if will test if ptest is in the image-features or not.

There's nothing in that file that explicitly adds a dependency from perl

(or

Quoted 1 line

any other package) on the perl-ptest package. So far as far as I know,

nobody

Quoted 1 line

has yet reproduced the issue you're reporting. Are you building the

exact same

Quoted 23 lines

version of the perl recipe? Have you modified the recipe at all?

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre

------------------------------

Message: 5
Date: Thu, 22 May 2014 06:24:58 -0700 (PDT)
From: Alexandru Vaduva <[email protected]>
To: Paul Eggleton <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [yocto] help needed
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="us-ascii"

Quoted 1 line

I attached the depends .dot file and also a small perl-ptest.info file

with only the perl-ptest occurences.

Quoted 2 lines

On Thursday, May 22, 2014 4:15 PM, Paul Eggleton <

Quoted 7 lines · [email protected]> wrote:
Quoted 3 lines · On Thursday 22 May 2014 06:00:02 Alexandru Vaduva wrote:
Quoted 1 line · Paul Eggleton

On Thursday 22 May 2014 05:38:41 Alexandru Vaduva wrote:

Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

it appear, it shouldn`t I believe.
I have a hack to include the perl-ptest module only when ptest enabled on image_featuresbut it does not look nice. I do not believe this solves the problem.

Sorry, I'm not quite following. What is this hack?

The hack will put the line: require perl-ptest.incinside a if

structure.

Quoted 3 lines
Quoted 1 line

The if will test if ptest is in the image-features or not.

There's nothing in that file that explicitly adds a dependency from perl

(or

Quoted 1 line

any other package) on the perl-ptest package. So far as far as I know,

nobody

Quoted 1 line

has yet reproduced the issue you're reporting. Are you building the

exact same

Quoted 6 lines

version of the perl recipe? Have you modified the recipe at all?

Cheers,
Paul

Quoted 7 lines

--

Paul Eggleton
Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <

http://lists.yoctoproject.org/pipermail/yocto/attachments/20140522/0a852a50/attachment-0001.html

Quoted 35 lines

------------------------------

Message: 6
Date: Thu, 22 May 2014 10:50:03 -0300
From: Diego Sueiro <[email protected]>
To: Khem Raj <[email protected]>
Cc: "[email protected]" <[email protected]>, Neuer User <[email protected]>
Subject: Re: [yocto] Help with building app recipe Message-ID:
<CAMCfZKGM7JmHRvLYpeAeZukOUGDyEzzvvuQ9a_RpJS0t7r9wCw@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Folks,

I'm trying to accomplish this in a 64bits host machine. But I'm getting errors the following error on compile task:

| In file included from /<snip>/tmp/sysroots/x86_64-linux/usr/include/python3.3m/Python.h:50:0,

| from ../../git/src/qpython_priv.h:22,
| from moc_qpython_priv.cpp:9:
| /<snip>/sysroots/x86_64-linux/usr/include/python3.3m/pyport.h:820:2:

error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
| #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
| ^

Searching on Google it says that this is a known bug when trying to cross-compile Python stuff for 32bits machines on 64bits hosts.

Quoted 8 lines

It seems that the guys from Buildroot could get this solved:
http://lists.busybox.net/pipermail/buildroot/2011-August/045257.html
I'm trying to find the "magical" patch to how to get this fixed.

Also found this link too:
http://blog.devork.be/2009/02/compiling-32-bit-python-on-amd64.html

But I'm not quite sure how to get this fixed on Yocto. Should it need to

be

Quoted 7 lines

fixed on the pyotherside, or python3, or python3-native recipe?

Any directions are appreciated.

Quoted 8 lines

Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br<

http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego

Quoted 8 lines

/*long live rock 'n roll*/

Quoted 1 line · Khem Raj

On Fri, May 16, 2014 at 5:33 AM, Neuer User <[email protected]>

Quoted 10 lines · wrote:
Quoted 10 lines
Quoted 2 lines

If I change the sed line to "#!/usr/bin/env python3", that would probably work then. But would it break something else?

would be fine.
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Quoted 3 lines

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <

http://lists.yoctoproject.org/pipermail/yocto/attachments/20140522/fea3f300/attachment.html

Quoted 11 lines

------------------------------

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Quoted 2 lines

End of yocto Digest, Vol 44, Issue 103
**************************************

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto