Re: [yocto] How to compile Qt library with bitbake?

2011-04-01 Thread Saul Wold

On 03/31/2011 11:15 PM, Li, Simon wrote:

Hi, Saul,
Thanks for your reply. However, I got error messages as below:
It seems not support "poky-image-sato-sdk"
Simon for 0.9 version then it would be poky-image-sdk, we changed the 
image name in 1.0.  Sorry for the confusion.


Sau!


=
simonli@simonli-Aspire-2930:~/Yocto_related/pocky-4.0-build$ bitbake 
poky-image-sato-sdk
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to 
increase performance.
NOTE: Handling BitBake files: \ (0844/0844) [100 %]
Parsing of 844 .bb files complete (791 cached, 53 parsed). 997 targets, 34 
skipped, 0 masked, 0 errors.

OE Build Configuration:
BB_VERSION= "1.11.0"
METADATA_BRANCH   = ""
METADATA_REVISION = ""
TARGET_ARCH   = "i586"
TARGET_OS = "linux"
MACHINE   = "qemux86"
DISTRO= "poky"
DISTRO_VERSION= "0.9"
TARGET_FPU= ""

ERROR: Nothing PROVIDES 'poky-image-sato-sdk'
Command execution failed: Traceback (most recent call last):
   File 
"/home/simonli/Yocto_related/laverne-4.0.1/scripts/..//bitbake/lib/bb/command.py",
 line 88, in runAsyncCommand
 commandmethod(self.cmds_async, self, options)
   File 
"/home/simonli/Yocto_related/laverne-4.0.1/scripts/..//bitbake/lib/bb/command.py",
 line 184, in buildTargets
 command.cooker.buildTargets(pkgs_to_build, task)
   File 
"/home/simonli/Yocto_related/laverne-4.0.1/scripts/..//bitbake/lib/bb/cooker.py",
 line 756, in buildTargets
 taskdata.add_provider(localdata, self.status, k)
   File 
"/home/simonli/Yocto_related/laverne-4.0.1/scripts/..//bitbake/lib/bb/taskdata.py",
 line 354, in add_provider
 self.add_provider_internal(cfgData, dataCache, item)
   File 
"/home/simonli/Yocto_related/laverne-4.0.1/scripts/..//bitbake/lib/bb/taskdata.py",
 line 374, in add_provider_internal
 raise bb.providers.NoProvider(item)
NoProvider: poky-image-sato-sdk
=
Best Regards,

Simon


-Original Message-
From: Wold, Saul
Sent: Friday, April 01, 2011 12:37 AM
To: Li, Simon
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] How to compile Qt library with bitbake?

On 03/30/2011 11:52 PM, Li, Simon wrote:

To whom may concern,

Since Qt library is not existed in the default build configuration, I
have to port it by myself.

Is there any plan to compile Qt in the Yocto? I cannot find Qt with
zypper as well.


Simon,

Qt4 is part of the yocto meta data.

The poky-image-sato-sdk image contains the qt4-pkgs, so you can use the
following command to build the image:

bitbake poky-image-sato-sdk

Sau!



If not, is there any document to describe how to complie Qt with bitbake?

Best Regards,

Simon Li

Intel Software&  Service Group

B1 #205 Tun-Hwa North Rd, Taipei, Taiwan

Desk



+886-2-2514-4287

Mobile



+886-987-303-523

E-Mail



simon...@intel.com



___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto




___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to compile Qt library with bitbake?

2011-04-01 Thread Gary Thomas

On 04/01/2011 12:37 AM, Li, Simon wrote:

Hi, Gary,
Yes, it works. However, after build finished, I still cann't find any libQt* 
files.


Where did you look (what packages did you install)?

Just add this line to your config:
  IMAGE_FEATURES += "qt4-pkgs"
This should then build an image which has the QT4 package set.

You could also install them individually, but there are quite a few...


-Original Message-
From: Gary Thomas [mailto:g...@mlbassoc.com]
Sent: Friday, April 01, 2011 12:35 AM
To: Li, Simon
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] How to compile Qt library with bitbake?

On 03/31/2011 12:52 AM, Li, Simon wrote:

To whom may concern,

Since Qt library is not existed in the default build configuration, I have to 
port it by myself.

Is there any plan to compile Qt in the Yocto? I cannot find Qt with zypper as 
well.

If not, is there any document to describe how to complie Qt with bitbake?


There are recipes for QT4 in the mainline Poky tree.  Just build via:
bitbake qt4-x11-free
 -or-
bitbake qt4-embedded

These work fine for me.



--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Eclipse plug-in does not detect my target

2011-04-01 Thread Leon Woestenberg
Hello Jessica,

On Mon, Mar 14, 2011 at 10:56 PM, Leon Woestenberg
 wrote:
> On Sun, Mar 13, 2011 at 12:55 AM, Zhang, Jessica
>  wrote:
>> Leon Woestenberg wrote:
>>> built, I wanted to test the Eclipse plug-in. After selecting Poky Tree
>>> mode in the Yocto Tool configuration, I could not make it detect the
>>> target; the drop down box remained empty.
>>>
>> Did you run "bitbake meta-ide-support", the eclipse plug-in will detect the
>> target architecture based on the environment script file under the toolchain
>> root location, e.g. build/tmp/environment-setup-i586-poky-linux.
>>
> No I didn't. I will continue to work on this end of this week. Thanks,
>
Confirmed that worked.

Thanks,
-- 
Leon
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Eclipse plug-in does not detect my target

2011-04-01 Thread Zhang, Jessica
Leon Woestenberg wrote:
> Hello Jessica,
> 
> On Mon, Mar 14, 2011 at 10:56 PM, Leon Woestenberg
>  wrote:
>> On Sun, Mar 13, 2011 at 12:55 AM, Zhang, Jessica
>>  wrote:
>>> Leon Woestenberg wrote:
 built, I wanted to test the Eclipse plug-in. After selecting Poky
 Tree mode in the Yocto Tool configuration, I could not make it
 detect the target; the drop down box remained empty.
 
>>> Did you run "bitbake meta-ide-support", the eclipse plug-in will
>>> detect the target architecture based on the environment script file
>>> under the toolchain root location, e.g.
>>> build/tmp/environment-setup-i586-poky-linux. 
>>> 
>> No I didn't. I will continue to work on this end of this week.
>> Thanks, 
>> 
> Confirmed that worked.

Thanks for the update and glad to hear your problem is resolved...

Cheers,
Jessica


smime.p7s
Description: S/MIME cryptographic signature
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Failure while running bitbake: gcc-4.5.0.tar.bz2 seems to be corrupted

2011-04-01 Thread Saxena, Rahul
The file seems to be copied from here by bitbake:

http://gcc.get-software.com/releases/gcc-4.5.0/gcc-4.5.0.tar.bz2

I manually downloaded it too it still shows up to be corrupted.

Not sure what does one do in such cases..

Thanks
Rahul

From: Tian, Kevin
Sent: Thursday, March 31, 2011 9:45 PM
To: Saxena, Rahul; yocto@yoctoproject.org
Subject: RE: [yocto] Failure while running bitbake: gcc-4.5.0.tar.bz2 seems to 
be corrupted

could you try manually download the tar ball from the link, and then copy to 
the /home/rsaxena/poky-4.0-build/downloads/?

Thanks
Kevin

From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Saxena, Rahul
Sent: Friday, April 01, 2011 11:31 AM
To: yocto@yoctoproject.org
Subject: [yocto] Failure while running bitbake: gcc-4.5.0.tar.bz2 seems to be 
corrupted

Hi,

 I get a failure when I run the bitbake  example stated in the Yocto Project 
Quick Start Guide

$ bitbake poky-image-sato

Gives the following error:

>>
NOTE: Running task 256 of 1633 (ID: 1585, 
/home/rsaxena/poky-laverne-4.0/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.0.bb,
 do_unpack)
NOTE: package gcc-cross-initial-4.5.0-r10: task do_unpack: Started
NOTE: Unpacking /home/rsaxena/poky-4.0-build/downloads/gcc-4.5.0.tar.bz2 to 
/home/rsaxena/poky-4.0-build/tmp/work/i586-poky-linux/gcc-cross-initial-4.5.0-r10/
ERROR: Task failed:
NOTE: package gcc-cross-initial-4.5.0-r10: task do_unpack: Failed
ERROR: Task 1585 
(/home/rsaxena/poky-laverne-4.0/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.0.bb,
 do_unpack) failed with 1
ERROR: 
'/home/rsaxena/poky-laverne-4.0/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.0.bb'
 failed
<<

I find that if I manually try to untar the downloaded gcc-4.5.0.tar.bz2 file, I 
get a "not a bzip2 file" error.
I get the same error if I  download the file again and untar it.

So it seems like the  gcc-4.5.0.tar.bz2 is corrupted for some reason.

Pl let me know of any suggestions on how to get this resolved..

Thanks
Rahul
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Failure while running bitbake: gcc-4.5.0.tar.bz2 seems to be corrupted

2011-04-01 Thread Tian, Kevin
could you double confirm the link below is used in your side?

Ideally the gnu mirror should be used, e.g. 
ftp://ftp.gnu.org/gnu/gcc/gcc-4.5.1/gcc-4.5.1.tar.bz2 in my log though it's 
4.5.1

If the upstream tar ball itself is broken, there's nothing to do with bitbake 
itself. You have to find an alternative download site with a good tar ball, or 
wait for the original link to fix the problem. We did observe one or a few such 
issues, but it's very rare case and we haven't seen such report on gcc yet.

Thanks
Kevin

From: Saxena, Rahul
Sent: Saturday, April 02, 2011 5:44 AM
To: Tian, Kevin; yocto@yoctoproject.org
Subject: RE: [yocto] Failure while running bitbake: gcc-4.5.0.tar.bz2 seems to 
be corrupted

The file seems to be copied from here by bitbake:

http://gcc.get-software.com/releases/gcc-4.5.0/gcc-4.5.0.tar.bz2

I manually downloaded it too it still shows up to be corrupted.

Not sure what does one do in such cases..

Thanks
Rahul

From: Tian, Kevin
Sent: Thursday, March 31, 2011 9:45 PM
To: Saxena, Rahul; yocto@yoctoproject.org
Subject: RE: [yocto] Failure while running bitbake: gcc-4.5.0.tar.bz2 seems to 
be corrupted

could you try manually download the tar ball from the link, and then copy to 
the /home/rsaxena/poky-4.0-build/downloads/?

Thanks
Kevin

From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Saxena, Rahul
Sent: Friday, April 01, 2011 11:31 AM
To: yocto@yoctoproject.org
Subject: [yocto] Failure while running bitbake: gcc-4.5.0.tar.bz2 seems to be 
corrupted

Hi,

 I get a failure when I run the bitbake  example stated in the Yocto Project 
Quick Start Guide

$ bitbake poky-image-sato

Gives the following error:

>>
NOTE: Running task 256 of 1633 (ID: 1585, 
/home/rsaxena/poky-laverne-4.0/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.0.bb,
 do_unpack)
NOTE: package gcc-cross-initial-4.5.0-r10: task do_unpack: Started
NOTE: Unpacking /home/rsaxena/poky-4.0-build/downloads/gcc-4.5.0.tar.bz2 to 
/home/rsaxena/poky-4.0-build/tmp/work/i586-poky-linux/gcc-cross-initial-4.5.0-r10/
ERROR: Task failed:
NOTE: package gcc-cross-initial-4.5.0-r10: task do_unpack: Failed
ERROR: Task 1585 
(/home/rsaxena/poky-laverne-4.0/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.0.bb,
 do_unpack) failed with 1
ERROR: 
'/home/rsaxena/poky-laverne-4.0/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.0.bb'
 failed
<<

I find that if I manually try to untar the downloaded gcc-4.5.0.tar.bz2 file, I 
get a "not a bzip2 file" error.
I get the same error if I  download the file again and untar it.

So it seems like the  gcc-4.5.0.tar.bz2 is corrupted for some reason.

Pl let me know of any suggestions on how to get this resolved..

Thanks
Rahul
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/2] linux-yocto/crownbay: update configuration

2011-04-01 Thread Bruce Ashfield
The crownbay has been updated for 2.6.37, the BSP branch
already contans the changes, and this is the update of meta
to the new config values:

  crownbay: update eg20t config
  crownbay: set cpu type to MATOM

Signed-off-by: Bruce Ashfield 
---
 .../conf/distro/include/poky-default-revisions.inc |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/distro/include/poky-default-revisions.inc 
b/meta/conf/distro/include/poky-default-revisions.inc
index 98db029..a2b6a98 100644
--- a/meta/conf/distro/include/poky-default-revisions.inc
+++ b/meta/conf/distro/include/poky-default-revisions.inc
@@ -109,7 +109,7 @@ SRCREV_machine_pn-linux-yocto_routerstationpro ?= 
"8db69980d76e1f863af409e701759
 SRCREV_machine_pn-linux-yocto_mpc8315e-rdb ?= 
"6861d8a4d58f8aa75997f7678cc454791544507a"
 SRCREV_machine_pn-linux-yocto_beagleboard ?= 
"69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3"
 SRCREV_machine_pn-linux-yocto ?= "69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3"
-SRCREV_meta_pn-linux-yocto ?= "16cabf8ce412b5f8599f92a9e11dfd0ee6e0ad12"
+SRCREV_meta_pn-linux-yocto ?= "51c761795b078bf3c80104ed6e73b3d995067384"
 SRCREV_pn-linux-libc-headers-yocto ??= 
"69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3"
 SRCREV_pn-matchbox-config-gtk ??= "3ed74dfb7c57be088a5ab36e446c0ccde9fa1028"
 SRCREV_pn-matchbox-desktop-sato ??= "76"
-- 
1.7.0.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/2] linux-yocto/meta: update kernel meta-data

2011-04-01 Thread Bruce Ashfield
Richard,

patch 1 in this series is a re-send of a previous change, since
it was still on the queue and it was worth keeping it in history
in order with the second change.

The second patch addresses [YOCTO #945], and the patch itself
has the following:

[ 
  As part of the update to 2.6.37 existing configuration and
  patches from the -stable kernel were left in place as a reminder
  of features and configuration carry forward. A lot of these
  reminders are no longer necessary and the kernel meta data
  needs to be cleaned up to prepare for activities related to
  newer kernels.

  Also in this meta update are configuration changes to allow
  common_pc derived BSPs to have a clean baseline configuration.
]

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: zedd/kernel
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Thanks,
Bruce Ashfield 
---


Bruce Ashfield (2):
  linux-yocto/crownbay: update configuration
  linux-yocto/meta: cleanup and streamline kernel meta data

 .../conf/distro/include/poky-default-revisions.inc |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 2/2] linux-yocto/meta: cleanup and streamline kernel meta data

2011-04-01 Thread Bruce Ashfield
Fixes [YOCTO #945]

As part of the update to 2.6.37 existing configuration and
patches from the -stable kernel were left in place as a reminder
of features and configuration carry forward. A lot of these
reminders are no longer necessary and the kernel meta data
needs to be cleaned up to prepare for activities related to
newer kernels.

Also in this meta update are configuration changes to allow
common_pc derived BSPs to have a clean baseline configuration.

Signed-off-by: Bruce Ashfield 
---
 .../conf/distro/include/poky-default-revisions.inc |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/distro/include/poky-default-revisions.inc 
b/meta/conf/distro/include/poky-default-revisions.inc
index a2b6a98..9a3ae7e 100644
--- a/meta/conf/distro/include/poky-default-revisions.inc
+++ b/meta/conf/distro/include/poky-default-revisions.inc
@@ -109,7 +109,7 @@ SRCREV_machine_pn-linux-yocto_routerstationpro ?= 
"8db69980d76e1f863af409e701759
 SRCREV_machine_pn-linux-yocto_mpc8315e-rdb ?= 
"6861d8a4d58f8aa75997f7678cc454791544507a"
 SRCREV_machine_pn-linux-yocto_beagleboard ?= 
"69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3"
 SRCREV_machine_pn-linux-yocto ?= "69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3"
-SRCREV_meta_pn-linux-yocto ?= "51c761795b078bf3c80104ed6e73b3d995067384"
+SRCREV_meta_pn-linux-yocto ?= "727fc4769aa920fc5bb3eb9a81bf92d0e6340903"
 SRCREV_pn-linux-libc-headers-yocto ??= 
"69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3"
 SRCREV_pn-matchbox-config-gtk ??= "3ed74dfb7c57be088a5ab36e446c0ccde9fa1028"
 SRCREV_pn-matchbox-desktop-sato ??= "76"
-- 
1.7.0.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto