All of lore.kernel.org
 help / color / mirror / Atom feed
* Application Development
@ 2013-06-05 13:05 Satya Swaroop Damarla
  2013-06-06  4:52 ` Zhang, Jessica
  0 siblings, 1 reply; 21+ messages in thread
From: Satya Swaroop Damarla @ 2013-06-05 13:05 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

Hi Guys,

I have an issue... I created a custom image based on NVIDIA Tegra2 with a
custom kernel. I installed  packages specific Tegra board and application
specific. Now we want to send the baord and the new linux image for
application development...

As I went through ADT manual, I only found qemu based toolchains but I want
to create toolchain based on my rootfs and kernel... so that the
development team can develop a voip application for the board... I am kind
of stuck how to proceed in this issue...

I really need a small way out and hopefully I will catch things
automatically..

Cheers,
Satya

[-- Attachment #2: Type: text/html, Size: 788 bytes --]

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

* Re: Application Development
  2013-06-05 13:05 Application Development Satya Swaroop Damarla
@ 2013-06-06  4:52 ` Zhang, Jessica
  2013-06-06  9:48   ` DAMARLA Satya Swaroop
  2013-06-06 11:07   ` DAMARLA Satya Swaroop
  0 siblings, 2 replies; 21+ messages in thread
From: Zhang, Jessica @ 2013-06-06  4:52 UTC (permalink / raw)
  To: Satya Swaroop Damarla, yocto

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

Hi Satya,



Use bitbake image-name -c populate_sdk, this allows you to create a toolchain with sysroot that match your target image that allows you to develop app against...



Cheers,

Jessica



From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop Damarla
Sent: Wednesday, June 05, 2013 6:05 AM
To: yocto@yoctoproject.org
Subject: [yocto] Application Development



Hi Guys,



I have an issue... I created a custom image based on NVIDIA Tegra2 with a custom kernel. I installed  packages specific Tegra board and application specific. Now we want to send the baord and the new linux image for application development...



As I went through ADT manual, I only found qemu based toolchains but I want to create toolchain based on my rootfs and kernel... so that the development team can develop a voip application for the board... I am kind of stuck how to proceed in this issue...



I really need a small way out and hopefully I will catch things automatically..



Cheers,

Satya


[-- Attachment #2: Type: text/html, Size: 4740 bytes --]

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

* Re: Application Development
  2013-06-06  4:52 ` Zhang, Jessica
@ 2013-06-06  9:48   ` DAMARLA Satya Swaroop
  2013-06-06 11:07   ` DAMARLA Satya Swaroop
  1 sibling, 0 replies; 21+ messages in thread
From: DAMARLA Satya Swaroop @ 2013-06-06  9:48 UTC (permalink / raw)
  To: Zhang, Jessica; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 4438 bytes --]

Hi Jessica & Philip,

I have an issue... This is such a long error ... I even did a fresh build
by deleting the "tmp" directory. The image build went very well but the
toolchain is always giving me a error...

*| Selecting previously unselected package xz-dev.*
*| Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...*
*| The following package disappeared from your system as*
*| all files have been overwritten by other packages:*
*|   avahi*
*| log_check: Using
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
as logfile*
*| Logfile is clean*
*| Installing NATIVESDK packages*
*| Ign file: ./ InRelease*
*| Ign file: ./ InRelease*
*| Ign file: ./ Release.gpg*
*| Ign file: ./ Release.gpg*
*| Get:1 file: ./ Release [24 B]*
*| Get:2 file: ./ Release [11 B]*
*| Ign file: ./ Translation-en*
*| Ign file: ./ Translation-en*
*| Reading package lists...*
*| W: Ignoring Provides line with DepCompareOp for package
nativesdk-pkgconfig__pkg-config__*
*| W: You may want to run apt-get update to correct these problems*
*| Reading package lists...*
*| Building dependency tree...*
*| Reading state information...*
*| Some packages could not be installed. This may mean that you have*
*| requested an impossible situation or if you are using the unstable*
*| distribution that some required packages have not yet been created*
*| or been moved out of Incoming.*
*| The following information may help to resolve the situation:*
*| *
*| The following packages have unmet dependencies:*
*|  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
it is not installable*
*|                                    Depends: gcc-cross-canadian-arm but
it is not installable*
*|                                    Depends: meta-environment-arm but it
is not installable*
*|                                    Depends: binutils-cross-canadian-arm
but it is not installable*
*| W: Ignoring Provides line with DepCompareOp for package
nativesdk-pkgconfig__pkg-config__*
*| W: You may want to run apt-get update to correct these problems*
*| E: Unable to correct problems, you have held broken packages.*
*| DEBUG: Python function do_populate_sdk finished*
*| ERROR: Function failed: populate_sdk_image (see
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
for further information)*
*ERROR: Task 10 (/home/damarla/yocto/poky/meta/recipes-graphics/images/
core-image-skidata.bb, do_populate_sdk) failed with exit code '1'*
*NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to be
rerun and 1 failed.*
*
*
*Summary: 1 task failed:*
*  /home/damarla/yocto/poky/meta/recipes-graphics/images/
core-image-skidata.bb, do_populate_sdk*
*Summary: There was 1 ERROR message shown, returning a non-zero exit code.*

I am not able to install those packages as they say there are no
installation candidate for them...



On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>wrote:

>  Hi Satya,****
>
> ** **
>
> Use bitbake image-name –c populate_sdk, this allows you to create a
> toolchain with sysroot that match your target image that allows you to
> develop app against…****
>
> ** **
>
> Cheers,****
>
> Jessica****
>
> ** **
>
> *From:* yocto-bounces@yoctoproject.org [mailto:
> yocto-bounces@yoctoproject.org] *On Behalf Of *Satya Swaroop Damarla
> *Sent:* Wednesday, June 05, 2013 6:05 AM
> *To:* yocto@yoctoproject.org
> *Subject:* [yocto] Application Development****
>
> ** **
>
> Hi Guys,****
>
> ** **
>
> I have an issue... I created a custom image based on NVIDIA Tegra2 with a
> custom kernel. I installed  packages specific Tegra board and application
> specific. Now we want to send the baord and the new linux image for
> application development... ****
>
> ** **
>
> As I went through ADT manual, I only found qemu based toolchains but I
> want to create toolchain based on my rootfs and kernel... so that the
> development team can develop a voip application for the board... I am kind
> of stuck how to proceed in this issue...****
>
> ** **
>
> I really need a small way out and hopefully I will catch things
> automatically..****
>
> ** **
>
> Cheers,****
>
> Satya****
>

[-- Attachment #2: Type: text/html, Size: 7589 bytes --]

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

* Re: Application Development
  2013-06-06  4:52 ` Zhang, Jessica
  2013-06-06  9:48   ` DAMARLA Satya Swaroop
@ 2013-06-06 11:07   ` DAMARLA Satya Swaroop
  2013-06-07  7:10     ` DAMARLA Satya Swaroop
  1 sibling, 1 reply; 21+ messages in thread
From: DAMARLA Satya Swaroop @ 2013-06-06 11:07 UTC (permalink / raw)
  To: Zhang, Jessica, yocto

[-- Attachment #1: Type: text/plain, Size: 4436 bytes --]

Hi Jessica & Philip,

I have an issue... This is such a long error ... I even did a fresh build
by deleting the "tmp" directory. The image build went very well but the
toolchain is always giving me a error...

*| Selecting previously unselected package xz-dev.*
*| Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...*
*| The following package disappeared from your system as*
*| all files have been overwritten by other packages:*
*|   avahi*
*| log_check: Using
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
as logfile*
*| Logfile is clean*
*| Installing NATIVESDK packages*
*| Ign file: ./ InRelease*
*| Ign file: ./ InRelease*
*| Ign file: ./ Release.gpg*
*| Ign file: ./ Release.gpg*
*| Get:1 file: ./ Release [24 B]*
*| Get:2 file: ./ Release [11 B]*
*| Ign file: ./ Translation-en*
*| Ign file: ./ Translation-en*
*| Reading package lists...*
*| W: Ignoring Provides line with DepCompareOp for package
nativesdk-pkgconfig__pkg-config__*
*| W: You may want to run apt-get update to correct these problems*
*| Reading package lists...*
*| Building dependency tree...*
*| Reading state information...*
*| Some packages could not be installed. This may mean that you have*
*| requested an impossible situation or if you are using the unstable*
*| distribution that some required packages have not yet been created*
*| or been moved out of Incoming.*
*| The following information may help to resolve the situation:*
*| *
*| The following packages have unmet dependencies:*
*|  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
it is not installable*
*|                                    Depends: gcc-cross-canadian-arm but
it is not installable*
*|                                    Depends: meta-environment-arm but it
is not installable*
*|                                    Depends: binutils-cross-canadian-arm
but it is not installable*
*| W: Ignoring Provides line with DepCompareOp for package
nativesdk-pkgconfig__pkg-config__*
*| W: You may want to run apt-get update to correct these problems*
*| E: Unable to correct problems, you have held broken packages.*
*| DEBUG: Python function do_populate_sdk finished*
*| ERROR: Function failed: populate_sdk_image (see
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
for further information)*
*ERROR: Task 10 (/home/damarla/yocto/poky/meta/recipes-graphics/images/
core-image-skidata.bb, do_populate_sdk) failed with exit code '1'*
*NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to be
rerun and 1 failed.*
*
*
*Summary: 1 task failed:*
*  /home/damarla/yocto/poky/meta/recipes-graphics/images/
core-image-skidata.bb, do_populate_sdk*
*Summary: There was 1 ERROR message shown, returning a non-zero exit code.*

I am not able to install those packages as they say there are no
installation candidate for them...


On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>wrote:

>  Hi Satya,****
>
> ** **
>
> Use bitbake image-name –c populate_sdk, this allows you to create a
> toolchain with sysroot that match your target image that allows you to
> develop app against…****
>
> ** **
>
> Cheers,****
>
> Jessica****
>
> ** **
>
> *From:* yocto-bounces@yoctoproject.org [mailto:
> yocto-bounces@yoctoproject.org] *On Behalf Of *Satya Swaroop Damarla
> *Sent:* Wednesday, June 05, 2013 6:05 AM
> *To:* yocto@yoctoproject.org
> *Subject:* [yocto] Application Development****
>
> ** **
>
> Hi Guys,****
>
> ** **
>
> I have an issue... I created a custom image based on NVIDIA Tegra2 with a
> custom kernel. I installed  packages specific Tegra board and application
> specific. Now we want to send the baord and the new linux image for
> application development... ****
>
> ** **
>
> As I went through ADT manual, I only found qemu based toolchains but I
> want to create toolchain based on my rootfs and kernel... so that the
> development team can develop a voip application for the board... I am kind
> of stuck how to proceed in this issue...****
>
> ** **
>
> I really need a small way out and hopefully I will catch things
> automatically..****
>
> ** **
>
> Cheers,****
>
> Satya****
>

[-- Attachment #2: Type: text/html, Size: 10175 bytes --]

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

* Re: Application Development
  2013-06-06 11:07   ` DAMARLA Satya Swaroop
@ 2013-06-07  7:10     ` DAMARLA Satya Swaroop
  2013-06-07 13:10       ` Hans Beckérus
  2013-06-07 14:03       ` Zhang, Jessica
  0 siblings, 2 replies; 21+ messages in thread
From: DAMARLA Satya Swaroop @ 2013-06-07  7:10 UTC (permalink / raw)
  To: Zhang, Jessica, yocto

[-- Attachment #1: Type: text/plain, Size: 5160 bytes --]

SHould we install development and debigging pacakages in the images when we
want to build a toolchain.. I mean this

 "dbg-pkgs"       - add -dbg packages for all installed packages
#                     (adds symbol information for debugging/profiling)
#  "dev-pkgs"       - add -dev packages for all installed packages
#                     (useful if you want to develop against libs in the
image)


Greets,
Satya


On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop <
swaroop.damarla@gmail.com> wrote:

> Hi Jessica & Philip,
>
> I have an issue... This is such a long error ... I even did a fresh build
> by deleting the "tmp" directory. The image build went very well but the
> toolchain is always giving me a error...
>
> *| Selecting previously unselected package xz-dev.*
> *| Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...*
> *| The following package disappeared from your system as*
> *| all files have been overwritten by other packages:*
> *|   avahi*
> *| log_check: Using
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
> as logfile*
> *| Logfile is clean*
> *| Installing NATIVESDK packages*
> *| Ign file: ./ InRelease*
> *| Ign file: ./ InRelease*
> *| Ign file: ./ Release.gpg*
> *| Ign file: ./ Release.gpg*
> *| Get:1 file: ./ Release [24 B]*
> *| Get:2 file: ./ Release [11 B]*
> *| Ign file: ./ Translation-en*
> *| Ign file: ./ Translation-en*
> *| Reading package lists...*
> *| W: Ignoring Provides line with DepCompareOp for package
> nativesdk-pkgconfig__pkg-config__*
> *| W: You may want to run apt-get update to correct these problems*
> *| Reading package lists...*
> *| Building dependency tree...*
> *| Reading state information...*
> *| Some packages could not be installed. This may mean that you have*
> *| requested an impossible situation or if you are using the unstable*
> *| distribution that some required packages have not yet been created*
> *| or been moved out of Incoming.*
> *| The following information may help to resolve the situation:*
> *| *
> *| The following packages have unmet dependencies:*
> *|  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
> it is not installable*
> *|                                    Depends: gcc-cross-canadian-arm but
> it is not installable*
> *|                                    Depends: meta-environment-arm but
> it is not installable*
> *|                                    Depends:
> binutils-cross-canadian-arm but it is not installable*
> *| W: Ignoring Provides line with DepCompareOp for package
> nativesdk-pkgconfig__pkg-config__*
> *| W: You may want to run apt-get update to correct these problems*
> *| E: Unable to correct problems, you have held broken packages.*
> *| DEBUG: Python function do_populate_sdk finished*
> *| ERROR: Function failed: populate_sdk_image (see
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
> for further information)*
> *ERROR: Task 10 (/home/damarla/yocto/poky/meta/recipes-graphics/images/
> core-image-skidata.bb, do_populate_sdk) failed with exit code '1'*
> *NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
> be rerun and 1 failed.*
> *
> *
> *Summary: 1 task failed:*
> *  /home/damarla/yocto/poky/meta/recipes-graphics/images/
> core-image-skidata.bb, do_populate_sdk*
> *Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> *
>
> I am not able to install those packages as they say there are no
> installation candidate for them...
>
>
> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>wrote:
>
>>  Hi Satya,****
>>
>> ** **
>>
>> Use bitbake image-name –c populate_sdk, this allows you to create a
>> toolchain with sysroot that match your target image that allows you to
>> develop app against…****
>>
>> ** **
>>
>> Cheers,****
>>
>> Jessica****
>>
>> ** **
>>
>> *From:* yocto-bounces@yoctoproject.org [mailto:
>> yocto-bounces@yoctoproject.org] *On Behalf Of *Satya Swaroop Damarla
>> *Sent:* Wednesday, June 05, 2013 6:05 AM
>> *To:* yocto@yoctoproject.org
>> *Subject:* [yocto] Application Development****
>>
>> ** **
>>
>> Hi Guys,****
>>
>> ** **
>>
>> I have an issue... I created a custom image based on NVIDIA Tegra2 with a
>> custom kernel. I installed  packages specific Tegra board and application
>> specific. Now we want to send the baord and the new linux image for
>> application development... ****
>>
>> ** **
>>
>> As I went through ADT manual, I only found qemu based toolchains but I
>> want to create toolchain based on my rootfs and kernel... so that the
>> development team can develop a voip application for the board... I am kind
>> of stuck how to proceed in this issue...****
>>
>> ** **
>>
>> I really need a small way out and hopefully I will catch things
>> automatically..****
>>
>> ** **
>>
>> Cheers,****
>>
>> Satya****
>>
>
>

[-- Attachment #2: Type: text/html, Size: 11297 bytes --]

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

* Re: Application Development
  2013-06-07  7:10     ` DAMARLA Satya Swaroop
@ 2013-06-07 13:10       ` Hans Beckérus
  2013-06-07 13:34         ` Gary Thomas
  2013-06-07 14:03       ` Zhang, Jessica
  1 sibling, 1 reply; 21+ messages in thread
From: Hans Beckérus @ 2013-06-07 13:10 UTC (permalink / raw)
  To: DAMARLA Satya Swaroop; +Cc: yocto

On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
<swaroop.damarla@gmail.com> wrote:
> SHould we install development and debigging pacakages in the images when we
> want to build a toolchain.. I mean this
>
>  "dbg-pkgs"       - add -dbg packages for all installed packages
> #                     (adds symbol information for debugging/profiling)
> #  "dev-pkgs"       - add -dev packages for all installed packages
> #                     (useful if you want to develop against libs in the
> image)
>
>
> Greets,
> Satya
>
I actually tried the 'bitbake <image> -c populate-sdk but it fails :(
Any clues to what make things go wrong this time? Nothing provides
meta-environment-arm??

Hans

| Note: adding Smart channel x86_64_nativesdk (25)
|
|
| Note: adding Smart channel all (10)
|
|
| Note: configuring RPM cross-install scriptlet_wrapper
|
| Updating cache...
######################################## [100%]
|
| Saving cache...
|
| Note: adding Smart RPM DB channel
|
| Note: to be installed:  nativesdk-packagegroup-sdk-host@all
packagegroup-cross-canadian-arm@all
| Loading cache...
| Updating cache...
######################################## [100%]
|
| Computing transaction...error: Can't install
packagegroup-cross-canadian-arm-1.0-r0@all: no package provides
meta-environment-arm
|
| Saving cache...
|
| DEBUG: Python function do_populate_sdk finished




>
> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> <swaroop.damarla@gmail.com> wrote:
>>
>> Hi Jessica & Philip,
>>
>> I have an issue... This is such a long error ... I even did a fresh build
>> by deleting the "tmp" directory. The image build went very well but the
>> toolchain is always giving me a error...
>>
>> | Selecting previously unselected package xz-dev.
>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>> | The following package disappeared from your system as
>> | all files have been overwritten by other packages:
>> |   avahi
>> | log_check: Using
>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>> as logfile
>> | Logfile is clean
>> | Installing NATIVESDK packages
>> | Ign file: ./ InRelease
>> | Ign file: ./ InRelease
>> | Ign file: ./ Release.gpg
>> | Ign file: ./ Release.gpg
>> | Get:1 file: ./ Release [24 B]
>> | Get:2 file: ./ Release [11 B]
>> | Ign file: ./ Translation-en
>> | Ign file: ./ Translation-en
>> | Reading package lists...
>> | W: Ignoring Provides line with DepCompareOp for package
>> nativesdk-pkgconfig__pkg-config__
>> | W: You may want to run apt-get update to correct these problems
>> | Reading package lists...
>> | Building dependency tree...
>> | Reading state information...
>> | Some packages could not be installed. This may mean that you have
>> | requested an impossible situation or if you are using the unstable
>> | distribution that some required packages have not yet been created
>> | or been moved out of Incoming.
>> | The following information may help to resolve the situation:
>> |
>> | The following packages have unmet dependencies:
>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>> it is not installable
>> |                                    Depends: gcc-cross-canadian-arm but
>> it is not installable
>> |                                    Depends: meta-environment-arm but it
>> is not installable
>> |                                    Depends: binutils-cross-canadian-arm
>> but it is not installable
>> | W: Ignoring Provides line with DepCompareOp for package
>> nativesdk-pkgconfig__pkg-config__
>> | W: You may want to run apt-get update to correct these problems
>> | E: Unable to correct problems, you have held broken packages.
>> | DEBUG: Python function do_populate_sdk finished
>> | ERROR: Function failed: populate_sdk_image (see
>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>> for further information)
>> ERROR: Task 10
>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>> do_populate_sdk) failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to be
>> rerun and 1 failed.
>>
>> Summary: 1 task failed:
>>
>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>> do_populate_sdk
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>> I am not able to install those packages as they say there are no
>> installation candidate for them...
>>
>>
>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>> wrote:
>>>
>>> Hi Satya,
>>>
>>>
>>>
>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>> toolchain with sysroot that match your target image that allows you to
>>> develop app against…
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Jessica
>>>
>>>
>>>
>>> From: yocto-bounces@yoctoproject.org
>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop Damarla
>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>> To: yocto@yoctoproject.org
>>> Subject: [yocto] Application Development
>>>
>>>
>>>
>>> Hi Guys,
>>>
>>>
>>>
>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with a
>>> custom kernel. I installed  packages specific Tegra board and application
>>> specific. Now we want to send the baord and the new linux image for
>>> application development...
>>>
>>>
>>>
>>> As I went through ADT manual, I only found qemu based toolchains but I
>>> want to create toolchain based on my rootfs and kernel... so that the
>>> development team can develop a voip application for the board... I am kind
>>> of stuck how to proceed in this issue...
>>>
>>>
>>>
>>> I really need a small way out and hopefully I will catch things
>>> automatically..
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Satya
>>
>>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
<swaroop.damarla@gmail.com> wrote:
> SHould we install development and debigging pacakages in the images when we
> want to build a toolchain.. I mean this
>
>  "dbg-pkgs"       - add -dbg packages for all installed packages
> #                     (adds symbol information for debugging/profiling)
> #  "dev-pkgs"       - add -dev packages for all installed packages
> #                     (useful if you want to develop against libs in the
> image)
>
>
> Greets,
> Satya
>
>
> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> <swaroop.damarla@gmail.com> wrote:
>>
>> Hi Jessica & Philip,
>>
>> I have an issue... This is such a long error ... I even did a fresh build
>> by deleting the "tmp" directory. The image build went very well but the
>> toolchain is always giving me a error...
>>
>> | Selecting previously unselected package xz-dev.
>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>> | The following package disappeared from your system as
>> | all files have been overwritten by other packages:
>> |   avahi
>> | log_check: Using
>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>> as logfile
>> | Logfile is clean
>> | Installing NATIVESDK packages
>> | Ign file: ./ InRelease
>> | Ign file: ./ InRelease
>> | Ign file: ./ Release.gpg
>> | Ign file: ./ Release.gpg
>> | Get:1 file: ./ Release [24 B]
>> | Get:2 file: ./ Release [11 B]
>> | Ign file: ./ Translation-en
>> | Ign file: ./ Translation-en
>> | Reading package lists...
>> | W: Ignoring Provides line with DepCompareOp for package
>> nativesdk-pkgconfig__pkg-config__
>> | W: You may want to run apt-get update to correct these problems
>> | Reading package lists...
>> | Building dependency tree...
>> | Reading state information...
>> | Some packages could not be installed. This may mean that you have
>> | requested an impossible situation or if you are using the unstable
>> | distribution that some required packages have not yet been created
>> | or been moved out of Incoming.
>> | The following information may help to resolve the situation:
>> |
>> | The following packages have unmet dependencies:
>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>> it is not installable
>> |                                    Depends: gcc-cross-canadian-arm but
>> it is not installable
>> |                                    Depends: meta-environment-arm but it
>> is not installable
>> |                                    Depends: binutils-cross-canadian-arm
>> but it is not installable
>> | W: Ignoring Provides line with DepCompareOp for package
>> nativesdk-pkgconfig__pkg-config__
>> | W: You may want to run apt-get update to correct these problems
>> | E: Unable to correct problems, you have held broken packages.
>> | DEBUG: Python function do_populate_sdk finished
>> | ERROR: Function failed: populate_sdk_image (see
>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>> for further information)
>> ERROR: Task 10
>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>> do_populate_sdk) failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to be
>> rerun and 1 failed.
>>
>> Summary: 1 task failed:
>>
>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>> do_populate_sdk
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>> I am not able to install those packages as they say there are no
>> installation candidate for them...
>>
>>
>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>> wrote:
>>>
>>> Hi Satya,
>>>
>>>
>>>
>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>> toolchain with sysroot that match your target image that allows you to
>>> develop app against…
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Jessica
>>>
>>>
>>>
>>> From: yocto-bounces@yoctoproject.org
>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop Damarla
>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>> To: yocto@yoctoproject.org
>>> Subject: [yocto] Application Development
>>>
>>>
>>>
>>> Hi Guys,
>>>
>>>
>>>
>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with a
>>> custom kernel. I installed  packages specific Tegra board and application
>>> specific. Now we want to send the baord and the new linux image for
>>> application development...
>>>
>>>
>>>
>>> As I went through ADT manual, I only found qemu based toolchains but I
>>> want to create toolchain based on my rootfs and kernel... so that the
>>> development team can develop a voip application for the board... I am kind
>>> of stuck how to proceed in this issue...
>>>
>>>
>>>
>>> I really need a small way out and hopefully I will catch things
>>> automatically..
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Satya
>>
>>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


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

* Re: Application Development
  2013-06-07 13:10       ` Hans Beckérus
@ 2013-06-07 13:34         ` Gary Thomas
  2013-06-07 13:40           ` Hans Beckérus
  0 siblings, 1 reply; 21+ messages in thread
From: Gary Thomas @ 2013-06-07 13:34 UTC (permalink / raw)
  To: yocto

On 2013-06-07 07:10, Hans Beckérus wrote:
> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
> <swaroop.damarla@gmail.com> wrote:
>> SHould we install development and debigging pacakages in the images when we
>> want to build a toolchain.. I mean this
>>
>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>> #                     (adds symbol information for debugging/profiling)
>> #  "dev-pkgs"       - add -dev packages for all installed packages
>> #                     (useful if you want to develop against libs in the
>> image)
>>
>>
>> Greets,
>> Satya
>>
> I actually tried the 'bitbake <image> -c populate-sdk but it fails :(
> Any clues to what make things go wrong this time? Nothing provides
> meta-environment-arm??

Do you have "tools-sdk" set in your IMAGE_FEATURES?

>
> Hans
>
> | Note: adding Smart channel x86_64_nativesdk (25)
> |
> |
> | Note: adding Smart channel all (10)
> |
> |
> | Note: configuring RPM cross-install scriptlet_wrapper
> |
> | Updating cache...
> ######################################## [100%]
> |
> | Saving cache...
> |
> | Note: adding Smart RPM DB channel
> |
> | Note: to be installed:  nativesdk-packagegroup-sdk-host@all
> packagegroup-cross-canadian-arm@all
> | Loading cache...
> | Updating cache...
> ######################################## [100%]
> |
> | Computing transaction...error: Can't install
> packagegroup-cross-canadian-arm-1.0-r0@all: no package provides
> meta-environment-arm
> |
> | Saving cache...
> |
> | DEBUG: Python function do_populate_sdk finished
>
>
>
>
>>
>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>> <swaroop.damarla@gmail.com> wrote:
>>>
>>> Hi Jessica & Philip,
>>>
>>> I have an issue... This is such a long error ... I even did a fresh build
>>> by deleting the "tmp" directory. The image build went very well but the
>>> toolchain is always giving me a error...
>>>
>>> | Selecting previously unselected package xz-dev.
>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>> | The following package disappeared from your system as
>>> | all files have been overwritten by other packages:
>>> |   avahi
>>> | log_check: Using
>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>> as logfile
>>> | Logfile is clean
>>> | Installing NATIVESDK packages
>>> | Ign file: ./ InRelease
>>> | Ign file: ./ InRelease
>>> | Ign file: ./ Release.gpg
>>> | Ign file: ./ Release.gpg
>>> | Get:1 file: ./ Release [24 B]
>>> | Get:2 file: ./ Release [11 B]
>>> | Ign file: ./ Translation-en
>>> | Ign file: ./ Translation-en
>>> | Reading package lists...
>>> | W: Ignoring Provides line with DepCompareOp for package
>>> nativesdk-pkgconfig__pkg-config__
>>> | W: You may want to run apt-get update to correct these problems
>>> | Reading package lists...
>>> | Building dependency tree...
>>> | Reading state information...
>>> | Some packages could not be installed. This may mean that you have
>>> | requested an impossible situation or if you are using the unstable
>>> | distribution that some required packages have not yet been created
>>> | or been moved out of Incoming.
>>> | The following information may help to resolve the situation:
>>> |
>>> | The following packages have unmet dependencies:
>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>> it is not installable
>>> |                                    Depends: gcc-cross-canadian-arm but
>>> it is not installable
>>> |                                    Depends: meta-environment-arm but it
>>> is not installable
>>> |                                    Depends: binutils-cross-canadian-arm
>>> but it is not installable
>>> | W: Ignoring Provides line with DepCompareOp for package
>>> nativesdk-pkgconfig__pkg-config__
>>> | W: You may want to run apt-get update to correct these problems
>>> | E: Unable to correct problems, you have held broken packages.
>>> | DEBUG: Python function do_populate_sdk finished
>>> | ERROR: Function failed: populate_sdk_image (see
>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>> for further information)
>>> ERROR: Task 10
>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>> do_populate_sdk) failed with exit code '1'
>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to be
>>> rerun and 1 failed.
>>>
>>> Summary: 1 task failed:
>>>
>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>> do_populate_sdk
>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>>
>>> I am not able to install those packages as they say there are no
>>> installation candidate for them...
>>>
>>>
>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>> wrote:
>>>>
>>>> Hi Satya,
>>>>
>>>>
>>>>
>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>> toolchain with sysroot that match your target image that allows you to
>>>> develop app against…
>>>>
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Jessica
>>>>
>>>>
>>>>
>>>> From: yocto-bounces@yoctoproject.org
>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop Damarla
>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>> To: yocto@yoctoproject.org
>>>> Subject: [yocto] Application Development
>>>>
>>>>
>>>>
>>>> Hi Guys,
>>>>
>>>>
>>>>
>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with a
>>>> custom kernel. I installed  packages specific Tegra board and application
>>>> specific. Now we want to send the baord and the new linux image for
>>>> application development...
>>>>
>>>>
>>>>
>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>> development team can develop a voip application for the board... I am kind
>>>> of stuck how to proceed in this issue...
>>>>
>>>>
>>>>
>>>> I really need a small way out and hopefully I will catch things
>>>> automatically..
>>>>
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Satya
>>>
>>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
> <swaroop.damarla@gmail.com> wrote:
>> SHould we install development and debigging pacakages in the images when we
>> want to build a toolchain.. I mean this
>>
>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>> #                     (adds symbol information for debugging/profiling)
>> #  "dev-pkgs"       - add -dev packages for all installed packages
>> #                     (useful if you want to develop against libs in the
>> image)
>>
>>
>> Greets,
>> Satya
>>
>>
>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>> <swaroop.damarla@gmail.com> wrote:
>>>
>>> Hi Jessica & Philip,
>>>
>>> I have an issue... This is such a long error ... I even did a fresh build
>>> by deleting the "tmp" directory. The image build went very well but the
>>> toolchain is always giving me a error...
>>>
>>> | Selecting previously unselected package xz-dev.
>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>> | The following package disappeared from your system as
>>> | all files have been overwritten by other packages:
>>> |   avahi
>>> | log_check: Using
>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>> as logfile
>>> | Logfile is clean
>>> | Installing NATIVESDK packages
>>> | Ign file: ./ InRelease
>>> | Ign file: ./ InRelease
>>> | Ign file: ./ Release.gpg
>>> | Ign file: ./ Release.gpg
>>> | Get:1 file: ./ Release [24 B]
>>> | Get:2 file: ./ Release [11 B]
>>> | Ign file: ./ Translation-en
>>> | Ign file: ./ Translation-en
>>> | Reading package lists...
>>> | W: Ignoring Provides line with DepCompareOp for package
>>> nativesdk-pkgconfig__pkg-config__
>>> | W: You may want to run apt-get update to correct these problems
>>> | Reading package lists...
>>> | Building dependency tree...
>>> | Reading state information...
>>> | Some packages could not be installed. This may mean that you have
>>> | requested an impossible situation or if you are using the unstable
>>> | distribution that some required packages have not yet been created
>>> | or been moved out of Incoming.
>>> | The following information may help to resolve the situation:
>>> |
>>> | The following packages have unmet dependencies:
>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>> it is not installable
>>> |                                    Depends: gcc-cross-canadian-arm but
>>> it is not installable
>>> |                                    Depends: meta-environment-arm but it
>>> is not installable
>>> |                                    Depends: binutils-cross-canadian-arm
>>> but it is not installable
>>> | W: Ignoring Provides line with DepCompareOp for package
>>> nativesdk-pkgconfig__pkg-config__
>>> | W: You may want to run apt-get update to correct these problems
>>> | E: Unable to correct problems, you have held broken packages.
>>> | DEBUG: Python function do_populate_sdk finished
>>> | ERROR: Function failed: populate_sdk_image (see
>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>> for further information)
>>> ERROR: Task 10
>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>> do_populate_sdk) failed with exit code '1'
>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to be
>>> rerun and 1 failed.
>>>
>>> Summary: 1 task failed:
>>>
>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>> do_populate_sdk
>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>>
>>> I am not able to install those packages as they say there are no
>>> installation candidate for them...
>>>
>>>
>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>> wrote:
>>>>
>>>> Hi Satya,
>>>>
>>>>
>>>>
>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>> toolchain with sysroot that match your target image that allows you to
>>>> develop app against…
>>>>
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Jessica
>>>>
>>>>
>>>>
>>>> From: yocto-bounces@yoctoproject.org
>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop Damarla
>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>> To: yocto@yoctoproject.org
>>>> Subject: [yocto] Application Development
>>>>
>>>>
>>>>
>>>> Hi Guys,
>>>>
>>>>
>>>>
>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with a
>>>> custom kernel. I installed  packages specific Tegra board and application
>>>> specific. Now we want to send the baord and the new linux image for
>>>> application development...
>>>>
>>>>
>>>>
>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>> development team can develop a voip application for the board... I am kind
>>>> of stuck how to proceed in this issue...
>>>>
>>>>
>>>>
>>>> I really need a small way out and hopefully I will catch things
>>>> automatically..
>>>>
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Satya
>>>
>>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

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


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

* Re: Application Development
  2013-06-07 13:34         ` Gary Thomas
@ 2013-06-07 13:40           ` Hans Beckérus
  2013-06-07 13:44             ` Hans Beckérus
  0 siblings, 1 reply; 21+ messages in thread
From: Hans Beckérus @ 2013-06-07 13:40 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto

On Fri, Jun 7, 2013 at 3:34 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2013-06-07 07:10, Hans Beckérus wrote:
>>
>> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
>> <swaroop.damarla@gmail.com> wrote:
>>>
>>> SHould we install development and debigging pacakages in the images when
>>> we
>>> want to build a toolchain.. I mean this
>>>
>>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>>> #                     (adds symbol information for debugging/profiling)
>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>> #                     (useful if you want to develop against libs in the
>>> image)
>>>
>>>
>>> Greets,
>>> Satya
>>>
>> I actually tried the 'bitbake <image> -c populate-sdk but it fails :(
>> Any clues to what make things go wrong this time? Nothing provides
>> meta-environment-arm??
>
>
> Do you have "tools-sdk" set in your IMAGE_FEATURES?
>
Actually no. I did not find a reference of it in the ADT documentation
so I did not know it was required.
It will try again.


>>
>> | Note: adding Smart channel x86_64_nativesdk (25)
>> |
>> |
>> | Note: adding Smart channel all (10)
>> |
>> |
>> | Note: configuring RPM cross-install scriptlet_wrapper
>> |
>> | Updating cache...
>> ######################################## [100%]
>> |
>> | Saving cache...
>> |
>> | Note: adding Smart RPM DB channel
>> |
>> | Note: to be installed:  nativesdk-packagegroup-sdk-host@all
>> packagegroup-cross-canadian-arm@all
>> | Loading cache...
>> | Updating cache...
>> ######################################## [100%]
>> |
>> | Computing transaction...error: Can't install
>> packagegroup-cross-canadian-arm-1.0-r0@all: no package provides
>> meta-environment-arm
>> |
>> | Saving cache...
>> |
>> | DEBUG: Python function do_populate_sdk finished
>>
>>
>>
>>
>>>
>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>>
>>>>
>>>> Hi Jessica & Philip,
>>>>
>>>> I have an issue... This is such a long error ... I even did a fresh
>>>> build
>>>> by deleting the "tmp" directory. The image build went very well but the
>>>> toolchain is always giving me a error...
>>>>
>>>> | Selecting previously unselected package xz-dev.
>>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>> | The following package disappeared from your system as
>>>> | all files have been overwritten by other packages:
>>>> |   avahi
>>>> | log_check: Using
>>>>
>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>> as logfile
>>>> | Logfile is clean
>>>> | Installing NATIVESDK packages
>>>> | Ign file: ./ InRelease
>>>> | Ign file: ./ InRelease
>>>> | Ign file: ./ Release.gpg
>>>> | Ign file: ./ Release.gpg
>>>> | Get:1 file: ./ Release [24 B]
>>>> | Get:2 file: ./ Release [11 B]
>>>> | Ign file: ./ Translation-en
>>>> | Ign file: ./ Translation-en
>>>> | Reading package lists...
>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>> nativesdk-pkgconfig__pkg-config__
>>>> | W: You may want to run apt-get update to correct these problems
>>>> | Reading package lists...
>>>> | Building dependency tree...
>>>> | Reading state information...
>>>> | Some packages could not be installed. This may mean that you have
>>>> | requested an impossible situation or if you are using the unstable
>>>> | distribution that some required packages have not yet been created
>>>> | or been moved out of Incoming.
>>>> | The following information may help to resolve the situation:
>>>> |
>>>> | The following packages have unmet dependencies:
>>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>>> it is not installable
>>>> |                                    Depends: gcc-cross-canadian-arm but
>>>> it is not installable
>>>> |                                    Depends: meta-environment-arm but
>>>> it
>>>> is not installable
>>>> |                                    Depends:
>>>> binutils-cross-canadian-arm
>>>> but it is not installable
>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>> nativesdk-pkgconfig__pkg-config__
>>>> | W: You may want to run apt-get update to correct these problems
>>>> | E: Unable to correct problems, you have held broken packages.
>>>> | DEBUG: Python function do_populate_sdk finished
>>>> | ERROR: Function failed: populate_sdk_image (see
>>>>
>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>> for further information)
>>>> ERROR: Task 10
>>>>
>>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>> do_populate_sdk) failed with exit code '1'
>>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>> be
>>>> rerun and 1 failed.
>>>>
>>>> Summary: 1 task failed:
>>>>
>>>>
>>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>> do_populate_sdk
>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>> code.
>>>>
>>>> I am not able to install those packages as they say there are no
>>>> installation candidate for them...
>>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>>> wrote:
>>>>>
>>>>>
>>>>> Hi Satya,
>>>>>
>>>>>
>>>>>
>>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>>> toolchain with sysroot that match your target image that allows you to
>>>>> develop app against…
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Jessica
>>>>>
>>>>>
>>>>>
>>>>> From: yocto-bounces@yoctoproject.org
>>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop
>>>>> Damarla
>>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>>> To: yocto@yoctoproject.org
>>>>> Subject: [yocto] Application Development
>>>>>
>>>>>
>>>>>
>>>>> Hi Guys,
>>>>>
>>>>>
>>>>>
>>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with
>>>>> a
>>>>> custom kernel. I installed  packages specific Tegra board and
>>>>> application
>>>>> specific. Now we want to send the baord and the new linux image for
>>>>> application development...
>>>>>
>>>>>
>>>>>
>>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>>> development team can develop a voip application for the board... I am
>>>>> kind
>>>>> of stuck how to proceed in this issue...
>>>>>
>>>>>
>>>>>
>>>>> I really need a small way out and hopefully I will catch things
>>>>> automatically..
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Satya
>>>>
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
>> <swaroop.damarla@gmail.com> wrote:
>>>
>>> SHould we install development and debigging pacakages in the images when
>>> we
>>> want to build a toolchain.. I mean this
>>>
>>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>>> #                     (adds symbol information for debugging/profiling)
>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>> #                     (useful if you want to develop against libs in the
>>> image)
>>>
>>>
>>> Greets,
>>> Satya
>>>
>>>
>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>>
>>>>
>>>> Hi Jessica & Philip,
>>>>
>>>> I have an issue... This is such a long error ... I even did a fresh
>>>> build
>>>> by deleting the "tmp" directory. The image build went very well but the
>>>> toolchain is always giving me a error...
>>>>
>>>> | Selecting previously unselected package xz-dev.
>>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>> | The following package disappeared from your system as
>>>> | all files have been overwritten by other packages:
>>>> |   avahi
>>>> | log_check: Using
>>>>
>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>> as logfile
>>>> | Logfile is clean
>>>> | Installing NATIVESDK packages
>>>> | Ign file: ./ InRelease
>>>> | Ign file: ./ InRelease
>>>> | Ign file: ./ Release.gpg
>>>> | Ign file: ./ Release.gpg
>>>> | Get:1 file: ./ Release [24 B]
>>>> | Get:2 file: ./ Release [11 B]
>>>> | Ign file: ./ Translation-en
>>>> | Ign file: ./ Translation-en
>>>> | Reading package lists...
>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>> nativesdk-pkgconfig__pkg-config__
>>>> | W: You may want to run apt-get update to correct these problems
>>>> | Reading package lists...
>>>> | Building dependency tree...
>>>> | Reading state information...
>>>> | Some packages could not be installed. This may mean that you have
>>>> | requested an impossible situation or if you are using the unstable
>>>> | distribution that some required packages have not yet been created
>>>> | or been moved out of Incoming.
>>>> | The following information may help to resolve the situation:
>>>> |
>>>> | The following packages have unmet dependencies:
>>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>>> it is not installable
>>>> |                                    Depends: gcc-cross-canadian-arm but
>>>> it is not installable
>>>> |                                    Depends: meta-environment-arm but
>>>> it
>>>> is not installable
>>>> |                                    Depends:
>>>> binutils-cross-canadian-arm
>>>> but it is not installable
>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>> nativesdk-pkgconfig__pkg-config__
>>>> | W: You may want to run apt-get update to correct these problems
>>>> | E: Unable to correct problems, you have held broken packages.
>>>> | DEBUG: Python function do_populate_sdk finished
>>>> | ERROR: Function failed: populate_sdk_image (see
>>>>
>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>> for further information)
>>>> ERROR: Task 10
>>>>
>>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>> do_populate_sdk) failed with exit code '1'
>>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>> be
>>>> rerun and 1 failed.
>>>>
>>>> Summary: 1 task failed:
>>>>
>>>>
>>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>> do_populate_sdk
>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>> code.
>>>>
>>>> I am not able to install those packages as they say there are no
>>>> installation candidate for them...
>>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>>> wrote:
>>>>>
>>>>>
>>>>> Hi Satya,
>>>>>
>>>>>
>>>>>
>>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>>> toolchain with sysroot that match your target image that allows you to
>>>>> develop app against…
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Jessica
>>>>>
>>>>>
>>>>>
>>>>> From: yocto-bounces@yoctoproject.org
>>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop
>>>>> Damarla
>>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>>> To: yocto@yoctoproject.org
>>>>> Subject: [yocto] Application Development
>>>>>
>>>>>
>>>>>
>>>>> Hi Guys,
>>>>>
>>>>>
>>>>>
>>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with
>>>>> a
>>>>> custom kernel. I installed  packages specific Tegra board and
>>>>> application
>>>>> specific. Now we want to send the baord and the new linux image for
>>>>> application development...
>>>>>
>>>>>
>>>>>
>>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>>> development team can develop a voip application for the board... I am
>>>>> kind
>>>>> of stuck how to proceed in this issue...
>>>>>
>>>>>
>>>>>
>>>>> I really need a small way out and hopefully I will catch things
>>>>> automatically..
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Satya
>>>>
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


On Fri, Jun 7, 2013 at 3:34 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2013-06-07 07:10, Hans Beckérus wrote:
>>
>> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
>> <swaroop.damarla@gmail.com> wrote:
>>>
>>> SHould we install development and debigging pacakages in the images when
>>> we
>>> want to build a toolchain.. I mean this
>>>
>>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>>> #                     (adds symbol information for debugging/profiling)
>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>> #                     (useful if you want to develop against libs in the
>>> image)
>>>
>>>
>>> Greets,
>>> Satya
>>>
>> I actually tried the 'bitbake <image> -c populate-sdk but it fails :(
>> Any clues to what make things go wrong this time? Nothing provides
>> meta-environment-arm??
>
>
> Do you have "tools-sdk" set in your IMAGE_FEATURES?
>
>
>>
>> Hans
>>
>> | Note: adding Smart channel x86_64_nativesdk (25)
>> |
>> |
>> | Note: adding Smart channel all (10)
>> |
>> |
>> | Note: configuring RPM cross-install scriptlet_wrapper
>> |
>> | Updating cache...
>> ######################################## [100%]
>> |
>> | Saving cache...
>> |
>> | Note: adding Smart RPM DB channel
>> |
>> | Note: to be installed:  nativesdk-packagegroup-sdk-host@all
>> packagegroup-cross-canadian-arm@all
>> | Loading cache...
>> | Updating cache...
>> ######################################## [100%]
>> |
>> | Computing transaction...error: Can't install
>> packagegroup-cross-canadian-arm-1.0-r0@all: no package provides
>> meta-environment-arm
>> |
>> | Saving cache...
>> |
>> | DEBUG: Python function do_populate_sdk finished
>>
>>
>>
>>
>>>
>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>>
>>>>
>>>> Hi Jessica & Philip,
>>>>
>>>> I have an issue... This is such a long error ... I even did a fresh
>>>> build
>>>> by deleting the "tmp" directory. The image build went very well but the
>>>> toolchain is always giving me a error...
>>>>
>>>> | Selecting previously unselected package xz-dev.
>>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>> | The following package disappeared from your system as
>>>> | all files have been overwritten by other packages:
>>>> |   avahi
>>>> | log_check: Using
>>>>
>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>> as logfile
>>>> | Logfile is clean
>>>> | Installing NATIVESDK packages
>>>> | Ign file: ./ InRelease
>>>> | Ign file: ./ InRelease
>>>> | Ign file: ./ Release.gpg
>>>> | Ign file: ./ Release.gpg
>>>> | Get:1 file: ./ Release [24 B]
>>>> | Get:2 file: ./ Release [11 B]
>>>> | Ign file: ./ Translation-en
>>>> | Ign file: ./ Translation-en
>>>> | Reading package lists...
>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>> nativesdk-pkgconfig__pkg-config__
>>>> | W: You may want to run apt-get update to correct these problems
>>>> | Reading package lists...
>>>> | Building dependency tree...
>>>> | Reading state information...
>>>> | Some packages could not be installed. This may mean that you have
>>>> | requested an impossible situation or if you are using the unstable
>>>> | distribution that some required packages have not yet been created
>>>> | or been moved out of Incoming.
>>>> | The following information may help to resolve the situation:
>>>> |
>>>> | The following packages have unmet dependencies:
>>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>>> it is not installable
>>>> |                                    Depends: gcc-cross-canadian-arm but
>>>> it is not installable
>>>> |                                    Depends: meta-environment-arm but
>>>> it
>>>> is not installable
>>>> |                                    Depends:
>>>> binutils-cross-canadian-arm
>>>> but it is not installable
>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>> nativesdk-pkgconfig__pkg-config__
>>>> | W: You may want to run apt-get update to correct these problems
>>>> | E: Unable to correct problems, you have held broken packages.
>>>> | DEBUG: Python function do_populate_sdk finished
>>>> | ERROR: Function failed: populate_sdk_image (see
>>>>
>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>> for further information)
>>>> ERROR: Task 10
>>>>
>>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>> do_populate_sdk) failed with exit code '1'
>>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>> be
>>>> rerun and 1 failed.
>>>>
>>>> Summary: 1 task failed:
>>>>
>>>>
>>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>> do_populate_sdk
>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>> code.
>>>>
>>>> I am not able to install those packages as they say there are no
>>>> installation candidate for them...
>>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>>> wrote:
>>>>>
>>>>>
>>>>> Hi Satya,
>>>>>
>>>>>
>>>>>
>>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>>> toolchain with sysroot that match your target image that allows you to
>>>>> develop app against…
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Jessica
>>>>>
>>>>>
>>>>>
>>>>> From: yocto-bounces@yoctoproject.org
>>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop
>>>>> Damarla
>>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>>> To: yocto@yoctoproject.org
>>>>> Subject: [yocto] Application Development
>>>>>
>>>>>
>>>>>
>>>>> Hi Guys,
>>>>>
>>>>>
>>>>>
>>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with
>>>>> a
>>>>> custom kernel. I installed  packages specific Tegra board and
>>>>> application
>>>>> specific. Now we want to send the baord and the new linux image for
>>>>> application development...
>>>>>
>>>>>
>>>>>
>>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>>> development team can develop a voip application for the board... I am
>>>>> kind
>>>>> of stuck how to proceed in this issue...
>>>>>
>>>>>
>>>>>
>>>>> I really need a small way out and hopefully I will catch things
>>>>> automatically..
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Satya
>>>>
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
>> <swaroop.damarla@gmail.com> wrote:
>>>
>>> SHould we install development and debigging pacakages in the images when
>>> we
>>> want to build a toolchain.. I mean this
>>>
>>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>>> #                     (adds symbol information for debugging/profiling)
>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>> #                     (useful if you want to develop against libs in the
>>> image)
>>>
>>>
>>> Greets,
>>> Satya
>>>
>>>
>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>>
>>>>
>>>> Hi Jessica & Philip,
>>>>
>>>> I have an issue... This is such a long error ... I even did a fresh
>>>> build
>>>> by deleting the "tmp" directory. The image build went very well but the
>>>> toolchain is always giving me a error...
>>>>
>>>> | Selecting previously unselected package xz-dev.
>>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>> | The following package disappeared from your system as
>>>> | all files have been overwritten by other packages:
>>>> |   avahi
>>>> | log_check: Using
>>>>
>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>> as logfile
>>>> | Logfile is clean
>>>> | Installing NATIVESDK packages
>>>> | Ign file: ./ InRelease
>>>> | Ign file: ./ InRelease
>>>> | Ign file: ./ Release.gpg
>>>> | Ign file: ./ Release.gpg
>>>> | Get:1 file: ./ Release [24 B]
>>>> | Get:2 file: ./ Release [11 B]
>>>> | Ign file: ./ Translation-en
>>>> | Ign file: ./ Translation-en
>>>> | Reading package lists...
>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>> nativesdk-pkgconfig__pkg-config__
>>>> | W: You may want to run apt-get update to correct these problems
>>>> | Reading package lists...
>>>> | Building dependency tree...
>>>> | Reading state information...
>>>> | Some packages could not be installed. This may mean that you have
>>>> | requested an impossible situation or if you are using the unstable
>>>> | distribution that some required packages have not yet been created
>>>> | or been moved out of Incoming.
>>>> | The following information may help to resolve the situation:
>>>> |
>>>> | The following packages have unmet dependencies:
>>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>>> it is not installable
>>>> |                                    Depends: gcc-cross-canadian-arm but
>>>> it is not installable
>>>> |                                    Depends: meta-environment-arm but
>>>> it
>>>> is not installable
>>>> |                                    Depends:
>>>> binutils-cross-canadian-arm
>>>> but it is not installable
>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>> nativesdk-pkgconfig__pkg-config__
>>>> | W: You may want to run apt-get update to correct these problems
>>>> | E: Unable to correct problems, you have held broken packages.
>>>> | DEBUG: Python function do_populate_sdk finished
>>>> | ERROR: Function failed: populate_sdk_image (see
>>>>
>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>> for further information)
>>>> ERROR: Task 10
>>>>
>>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>> do_populate_sdk) failed with exit code '1'
>>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>> be
>>>> rerun and 1 failed.
>>>>
>>>> Summary: 1 task failed:
>>>>
>>>>
>>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>> do_populate_sdk
>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>> code.
>>>>
>>>> I am not able to install those packages as they say there are no
>>>> installation candidate for them...
>>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>>> wrote:
>>>>>
>>>>>
>>>>> Hi Satya,
>>>>>
>>>>>
>>>>>
>>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>>> toolchain with sysroot that match your target image that allows you to
>>>>> develop app against…
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Jessica
>>>>>
>>>>>
>>>>>
>>>>> From: yocto-bounces@yoctoproject.org
>>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop
>>>>> Damarla
>>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>>> To: yocto@yoctoproject.org
>>>>> Subject: [yocto] Application Development
>>>>>
>>>>>
>>>>>
>>>>> Hi Guys,
>>>>>
>>>>>
>>>>>
>>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with
>>>>> a
>>>>> custom kernel. I installed  packages specific Tegra board and
>>>>> application
>>>>> specific. Now we want to send the baord and the new linux image for
>>>>> application development...
>>>>>
>>>>>
>>>>>
>>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>>> development team can develop a voip application for the board... I am
>>>>> kind
>>>>> of stuck how to proceed in this issue...
>>>>>
>>>>>
>>>>>
>>>>> I really need a small way out and hopefully I will catch things
>>>>> automatically..
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Satya
>>>>
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: Application Development
  2013-06-07 13:40           ` Hans Beckérus
@ 2013-06-07 13:44             ` Hans Beckérus
  0 siblings, 0 replies; 21+ messages in thread
From: Hans Beckérus @ 2013-06-07 13:44 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto

On Fri, Jun 7, 2013 at 3:40 PM, Hans Beckérus <hans.beckerus@gmail.com> wrote:
> On Fri, Jun 7, 2013 at 3:34 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>> On 2013-06-07 07:10, Hans Beckérus wrote:
>>>
>>> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>>
>>>> SHould we install development and debigging pacakages in the images when
>>>> we
>>>> want to build a toolchain.. I mean this
>>>>
>>>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>>>> #                     (adds symbol information for debugging/profiling)
>>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>> #                     (useful if you want to develop against libs in the
>>>> image)
>>>>
>>>>
>>>> Greets,
>>>> Satya
>>>>
>>> I actually tried the 'bitbake <image> -c populate-sdk but it fails :(
>>> Any clues to what make things go wrong this time? Nothing provides
>>> meta-environment-arm??
>>
>>
>> Do you have "tools-sdk" set in your IMAGE_FEATURES?
>>
> Actually no. I did not find a reference of it in the ADT documentation
> so I did not know it was required.
> It will try again.
>
>
Whoooo. tools-sdk seems to drag in a complete X11 environment! I do
not want that :(
Is there some more lean approach to this I can take? ;)

>>>
>>> | Note: adding Smart channel x86_64_nativesdk (25)
>>> |
>>> |
>>> | Note: adding Smart channel all (10)
>>> |
>>> |
>>> | Note: configuring RPM cross-install scriptlet_wrapper
>>> |
>>> | Updating cache...
>>> ######################################## [100%]
>>> |
>>> | Saving cache...
>>> |
>>> | Note: adding Smart RPM DB channel
>>> |
>>> | Note: to be installed:  nativesdk-packagegroup-sdk-host@all
>>> packagegroup-cross-canadian-arm@all
>>> | Loading cache...
>>> | Updating cache...
>>> ######################################## [100%]
>>> |
>>> | Computing transaction...error: Can't install
>>> packagegroup-cross-canadian-arm-1.0-r0@all: no package provides
>>> meta-environment-arm
>>> |
>>> | Saving cache...
>>> |
>>> | DEBUG: Python function do_populate_sdk finished
>>>
>>>
>>>
>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>>> <swaroop.damarla@gmail.com> wrote:
>>>>>
>>>>>
>>>>> Hi Jessica & Philip,
>>>>>
>>>>> I have an issue... This is such a long error ... I even did a fresh
>>>>> build
>>>>> by deleting the "tmp" directory. The image build went very well but the
>>>>> toolchain is always giving me a error...
>>>>>
>>>>> | Selecting previously unselected package xz-dev.
>>>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>>> | The following package disappeared from your system as
>>>>> | all files have been overwritten by other packages:
>>>>> |   avahi
>>>>> | log_check: Using
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> as logfile
>>>>> | Logfile is clean
>>>>> | Installing NATIVESDK packages
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ Release.gpg
>>>>> | Ign file: ./ Release.gpg
>>>>> | Get:1 file: ./ Release [24 B]
>>>>> | Get:2 file: ./ Release [11 B]
>>>>> | Ign file: ./ Translation-en
>>>>> | Ign file: ./ Translation-en
>>>>> | Reading package lists...
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | Reading package lists...
>>>>> | Building dependency tree...
>>>>> | Reading state information...
>>>>> | Some packages could not be installed. This may mean that you have
>>>>> | requested an impossible situation or if you are using the unstable
>>>>> | distribution that some required packages have not yet been created
>>>>> | or been moved out of Incoming.
>>>>> | The following information may help to resolve the situation:
>>>>> |
>>>>> | The following packages have unmet dependencies:
>>>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: gcc-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: meta-environment-arm but
>>>>> it
>>>>> is not installable
>>>>> |                                    Depends:
>>>>> binutils-cross-canadian-arm
>>>>> but it is not installable
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | E: Unable to correct problems, you have held broken packages.
>>>>> | DEBUG: Python function do_populate_sdk finished
>>>>> | ERROR: Function failed: populate_sdk_image (see
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> for further information)
>>>>> ERROR: Task 10
>>>>>
>>>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk) failed with exit code '1'
>>>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>>> be
>>>>> rerun and 1 failed.
>>>>>
>>>>> Summary: 1 task failed:
>>>>>
>>>>>
>>>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk
>>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>>> code.
>>>>>
>>>>> I am not able to install those packages as they say there are no
>>>>> installation candidate for them...
>>>>>
>>>>>
>>>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Hi Satya,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>>>> toolchain with sysroot that match your target image that allows you to
>>>>>> develop app against…
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Jessica
>>>>>>
>>>>>>
>>>>>>
>>>>>> From: yocto-bounces@yoctoproject.org
>>>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop
>>>>>> Damarla
>>>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>>>> To: yocto@yoctoproject.org
>>>>>> Subject: [yocto] Application Development
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Guys,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with
>>>>>> a
>>>>>> custom kernel. I installed  packages specific Tegra board and
>>>>>> application
>>>>>> specific. Now we want to send the baord and the new linux image for
>>>>>> application development...
>>>>>>
>>>>>>
>>>>>>
>>>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>>>> development team can develop a voip application for the board... I am
>>>>>> kind
>>>>>> of stuck how to proceed in this issue...
>>>>>>
>>>>>>
>>>>>>
>>>>>> I really need a small way out and hopefully I will catch things
>>>>>> automatically..
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Satya
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>
>>>
>>> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>>
>>>> SHould we install development and debigging pacakages in the images when
>>>> we
>>>> want to build a toolchain.. I mean this
>>>>
>>>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>>>> #                     (adds symbol information for debugging/profiling)
>>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>> #                     (useful if you want to develop against libs in the
>>>> image)
>>>>
>>>>
>>>> Greets,
>>>> Satya
>>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>>> <swaroop.damarla@gmail.com> wrote:
>>>>>
>>>>>
>>>>> Hi Jessica & Philip,
>>>>>
>>>>> I have an issue... This is such a long error ... I even did a fresh
>>>>> build
>>>>> by deleting the "tmp" directory. The image build went very well but the
>>>>> toolchain is always giving me a error...
>>>>>
>>>>> | Selecting previously unselected package xz-dev.
>>>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>>> | The following package disappeared from your system as
>>>>> | all files have been overwritten by other packages:
>>>>> |   avahi
>>>>> | log_check: Using
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> as logfile
>>>>> | Logfile is clean
>>>>> | Installing NATIVESDK packages
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ Release.gpg
>>>>> | Ign file: ./ Release.gpg
>>>>> | Get:1 file: ./ Release [24 B]
>>>>> | Get:2 file: ./ Release [11 B]
>>>>> | Ign file: ./ Translation-en
>>>>> | Ign file: ./ Translation-en
>>>>> | Reading package lists...
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | Reading package lists...
>>>>> | Building dependency tree...
>>>>> | Reading state information...
>>>>> | Some packages could not be installed. This may mean that you have
>>>>> | requested an impossible situation or if you are using the unstable
>>>>> | distribution that some required packages have not yet been created
>>>>> | or been moved out of Incoming.
>>>>> | The following information may help to resolve the situation:
>>>>> |
>>>>> | The following packages have unmet dependencies:
>>>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: gcc-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: meta-environment-arm but
>>>>> it
>>>>> is not installable
>>>>> |                                    Depends:
>>>>> binutils-cross-canadian-arm
>>>>> but it is not installable
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | E: Unable to correct problems, you have held broken packages.
>>>>> | DEBUG: Python function do_populate_sdk finished
>>>>> | ERROR: Function failed: populate_sdk_image (see
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> for further information)
>>>>> ERROR: Task 10
>>>>>
>>>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk) failed with exit code '1'
>>>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>>> be
>>>>> rerun and 1 failed.
>>>>>
>>>>> Summary: 1 task failed:
>>>>>
>>>>>
>>>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk
>>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>>> code.
>>>>>
>>>>> I am not able to install those packages as they say there are no
>>>>> installation candidate for them...
>>>>>
>>>>>
>>>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Hi Satya,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>>>> toolchain with sysroot that match your target image that allows you to
>>>>>> develop app against…
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Jessica
>>>>>>
>>>>>>
>>>>>>
>>>>>> From: yocto-bounces@yoctoproject.org
>>>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop
>>>>>> Damarla
>>>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>>>> To: yocto@yoctoproject.org
>>>>>> Subject: [yocto] Application Development
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Guys,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with
>>>>>> a
>>>>>> custom kernel. I installed  packages specific Tegra board and
>>>>>> application
>>>>>> specific. Now we want to send the baord and the new linux image for
>>>>>> application development...
>>>>>>
>>>>>>
>>>>>>
>>>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>>>> development team can develop a voip application for the board... I am
>>>>>> kind
>>>>>> of stuck how to proceed in this issue...
>>>>>>
>>>>>>
>>>>>>
>>>>>> I really need a small way out and hopefully I will catch things
>>>>>> automatically..
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Satya
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>> --
>> ------------------------------------------------------------
>> Gary Thomas                 |  Consulting for the
>> MLB Associates              |    Embedded world
>> ------------------------------------------------------------
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>
> On Fri, Jun 7, 2013 at 3:34 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>> On 2013-06-07 07:10, Hans Beckérus wrote:
>>>
>>> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>>
>>>> SHould we install development and debigging pacakages in the images when
>>>> we
>>>> want to build a toolchain.. I mean this
>>>>
>>>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>>>> #                     (adds symbol information for debugging/profiling)
>>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>> #                     (useful if you want to develop against libs in the
>>>> image)
>>>>
>>>>
>>>> Greets,
>>>> Satya
>>>>
>>> I actually tried the 'bitbake <image> -c populate-sdk but it fails :(
>>> Any clues to what make things go wrong this time? Nothing provides
>>> meta-environment-arm??
>>
>>
>> Do you have "tools-sdk" set in your IMAGE_FEATURES?
>>
>>
>>>
>>> Hans
>>>
>>> | Note: adding Smart channel x86_64_nativesdk (25)
>>> |
>>> |
>>> | Note: adding Smart channel all (10)
>>> |
>>> |
>>> | Note: configuring RPM cross-install scriptlet_wrapper
>>> |
>>> | Updating cache...
>>> ######################################## [100%]
>>> |
>>> | Saving cache...
>>> |
>>> | Note: adding Smart RPM DB channel
>>> |
>>> | Note: to be installed:  nativesdk-packagegroup-sdk-host@all
>>> packagegroup-cross-canadian-arm@all
>>> | Loading cache...
>>> | Updating cache...
>>> ######################################## [100%]
>>> |
>>> | Computing transaction...error: Can't install
>>> packagegroup-cross-canadian-arm-1.0-r0@all: no package provides
>>> meta-environment-arm
>>> |
>>> | Saving cache...
>>> |
>>> | DEBUG: Python function do_populate_sdk finished
>>>
>>>
>>>
>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>>> <swaroop.damarla@gmail.com> wrote:
>>>>>
>>>>>
>>>>> Hi Jessica & Philip,
>>>>>
>>>>> I have an issue... This is such a long error ... I even did a fresh
>>>>> build
>>>>> by deleting the "tmp" directory. The image build went very well but the
>>>>> toolchain is always giving me a error...
>>>>>
>>>>> | Selecting previously unselected package xz-dev.
>>>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>>> | The following package disappeared from your system as
>>>>> | all files have been overwritten by other packages:
>>>>> |   avahi
>>>>> | log_check: Using
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> as logfile
>>>>> | Logfile is clean
>>>>> | Installing NATIVESDK packages
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ Release.gpg
>>>>> | Ign file: ./ Release.gpg
>>>>> | Get:1 file: ./ Release [24 B]
>>>>> | Get:2 file: ./ Release [11 B]
>>>>> | Ign file: ./ Translation-en
>>>>> | Ign file: ./ Translation-en
>>>>> | Reading package lists...
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | Reading package lists...
>>>>> | Building dependency tree...
>>>>> | Reading state information...
>>>>> | Some packages could not be installed. This may mean that you have
>>>>> | requested an impossible situation or if you are using the unstable
>>>>> | distribution that some required packages have not yet been created
>>>>> | or been moved out of Incoming.
>>>>> | The following information may help to resolve the situation:
>>>>> |
>>>>> | The following packages have unmet dependencies:
>>>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: gcc-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: meta-environment-arm but
>>>>> it
>>>>> is not installable
>>>>> |                                    Depends:
>>>>> binutils-cross-canadian-arm
>>>>> but it is not installable
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | E: Unable to correct problems, you have held broken packages.
>>>>> | DEBUG: Python function do_populate_sdk finished
>>>>> | ERROR: Function failed: populate_sdk_image (see
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> for further information)
>>>>> ERROR: Task 10
>>>>>
>>>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk) failed with exit code '1'
>>>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>>> be
>>>>> rerun and 1 failed.
>>>>>
>>>>> Summary: 1 task failed:
>>>>>
>>>>>
>>>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk
>>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>>> code.
>>>>>
>>>>> I am not able to install those packages as they say there are no
>>>>> installation candidate for them...
>>>>>
>>>>>
>>>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Hi Satya,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>>>> toolchain with sysroot that match your target image that allows you to
>>>>>> develop app against…
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Jessica
>>>>>>
>>>>>>
>>>>>>
>>>>>> From: yocto-bounces@yoctoproject.org
>>>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop
>>>>>> Damarla
>>>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>>>> To: yocto@yoctoproject.org
>>>>>> Subject: [yocto] Application Development
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Guys,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with
>>>>>> a
>>>>>> custom kernel. I installed  packages specific Tegra board and
>>>>>> application
>>>>>> specific. Now we want to send the baord and the new linux image for
>>>>>> application development...
>>>>>>
>>>>>>
>>>>>>
>>>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>>>> development team can develop a voip application for the board... I am
>>>>>> kind
>>>>>> of stuck how to proceed in this issue...
>>>>>>
>>>>>>
>>>>>>
>>>>>> I really need a small way out and hopefully I will catch things
>>>>>> automatically..
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Satya
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>
>>>
>>> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>>
>>>> SHould we install development and debigging pacakages in the images when
>>>> we
>>>> want to build a toolchain.. I mean this
>>>>
>>>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>>>> #                     (adds symbol information for debugging/profiling)
>>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>> #                     (useful if you want to develop against libs in the
>>>> image)
>>>>
>>>>
>>>> Greets,
>>>> Satya
>>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>>> <swaroop.damarla@gmail.com> wrote:
>>>>>
>>>>>
>>>>> Hi Jessica & Philip,
>>>>>
>>>>> I have an issue... This is such a long error ... I even did a fresh
>>>>> build
>>>>> by deleting the "tmp" directory. The image build went very well but the
>>>>> toolchain is always giving me a error...
>>>>>
>>>>> | Selecting previously unselected package xz-dev.
>>>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>>> | The following package disappeared from your system as
>>>>> | all files have been overwritten by other packages:
>>>>> |   avahi
>>>>> | log_check: Using
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> as logfile
>>>>> | Logfile is clean
>>>>> | Installing NATIVESDK packages
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ Release.gpg
>>>>> | Ign file: ./ Release.gpg
>>>>> | Get:1 file: ./ Release [24 B]
>>>>> | Get:2 file: ./ Release [11 B]
>>>>> | Ign file: ./ Translation-en
>>>>> | Ign file: ./ Translation-en
>>>>> | Reading package lists...
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | Reading package lists...
>>>>> | Building dependency tree...
>>>>> | Reading state information...
>>>>> | Some packages could not be installed. This may mean that you have
>>>>> | requested an impossible situation or if you are using the unstable
>>>>> | distribution that some required packages have not yet been created
>>>>> | or been moved out of Incoming.
>>>>> | The following information may help to resolve the situation:
>>>>> |
>>>>> | The following packages have unmet dependencies:
>>>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: gcc-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: meta-environment-arm but
>>>>> it
>>>>> is not installable
>>>>> |                                    Depends:
>>>>> binutils-cross-canadian-arm
>>>>> but it is not installable
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | E: Unable to correct problems, you have held broken packages.
>>>>> | DEBUG: Python function do_populate_sdk finished
>>>>> | ERROR: Function failed: populate_sdk_image (see
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> for further information)
>>>>> ERROR: Task 10
>>>>>
>>>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk) failed with exit code '1'
>>>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>>> be
>>>>> rerun and 1 failed.
>>>>>
>>>>> Summary: 1 task failed:
>>>>>
>>>>>
>>>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk
>>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>>> code.
>>>>>
>>>>> I am not able to install those packages as they say there are no
>>>>> installation candidate for them...
>>>>>
>>>>>
>>>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Hi Satya,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>>>> toolchain with sysroot that match your target image that allows you to
>>>>>> develop app against…
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Jessica
>>>>>>
>>>>>>
>>>>>>
>>>>>> From: yocto-bounces@yoctoproject.org
>>>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop
>>>>>> Damarla
>>>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>>>> To: yocto@yoctoproject.org
>>>>>> Subject: [yocto] Application Development
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Guys,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with
>>>>>> a
>>>>>> custom kernel. I installed  packages specific Tegra board and
>>>>>> application
>>>>>> specific. Now we want to send the baord and the new linux image for
>>>>>> application development...
>>>>>>
>>>>>>
>>>>>>
>>>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>>>> development team can develop a voip application for the board... I am
>>>>>> kind
>>>>>> of stuck how to proceed in this issue...
>>>>>>
>>>>>>
>>>>>>
>>>>>> I really need a small way out and hopefully I will catch things
>>>>>> automatically..
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Satya
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>> --
>> ------------------------------------------------------------
>> Gary Thomas                 |  Consulting for the
>> MLB Associates              |    Embedded world
>> ------------------------------------------------------------
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto


On Fri, Jun 7, 2013 at 3:40 PM, Hans Beckérus <hans.beckerus@gmail.com> wrote:
> On Fri, Jun 7, 2013 at 3:34 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>> On 2013-06-07 07:10, Hans Beckérus wrote:
>>>
>>> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>>
>>>> SHould we install development and debigging pacakages in the images when
>>>> we
>>>> want to build a toolchain.. I mean this
>>>>
>>>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>>>> #                     (adds symbol information for debugging/profiling)
>>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>> #                     (useful if you want to develop against libs in the
>>>> image)
>>>>
>>>>
>>>> Greets,
>>>> Satya
>>>>
>>> I actually tried the 'bitbake <image> -c populate-sdk but it fails :(
>>> Any clues to what make things go wrong this time? Nothing provides
>>> meta-environment-arm??
>>
>>
>> Do you have "tools-sdk" set in your IMAGE_FEATURES?
>>
> Actually no. I did not find a reference of it in the ADT documentation
> so I did not know it was required.
> It will try again.
>
>
>>>
>>> | Note: adding Smart channel x86_64_nativesdk (25)
>>> |
>>> |
>>> | Note: adding Smart channel all (10)
>>> |
>>> |
>>> | Note: configuring RPM cross-install scriptlet_wrapper
>>> |
>>> | Updating cache...
>>> ######################################## [100%]
>>> |
>>> | Saving cache...
>>> |
>>> | Note: adding Smart RPM DB channel
>>> |
>>> | Note: to be installed:  nativesdk-packagegroup-sdk-host@all
>>> packagegroup-cross-canadian-arm@all
>>> | Loading cache...
>>> | Updating cache...
>>> ######################################## [100%]
>>> |
>>> | Computing transaction...error: Can't install
>>> packagegroup-cross-canadian-arm-1.0-r0@all: no package provides
>>> meta-environment-arm
>>> |
>>> | Saving cache...
>>> |
>>> | DEBUG: Python function do_populate_sdk finished
>>>
>>>
>>>
>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>>> <swaroop.damarla@gmail.com> wrote:
>>>>>
>>>>>
>>>>> Hi Jessica & Philip,
>>>>>
>>>>> I have an issue... This is such a long error ... I even did a fresh
>>>>> build
>>>>> by deleting the "tmp" directory. The image build went very well but the
>>>>> toolchain is always giving me a error...
>>>>>
>>>>> | Selecting previously unselected package xz-dev.
>>>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>>> | The following package disappeared from your system as
>>>>> | all files have been overwritten by other packages:
>>>>> |   avahi
>>>>> | log_check: Using
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> as logfile
>>>>> | Logfile is clean
>>>>> | Installing NATIVESDK packages
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ Release.gpg
>>>>> | Ign file: ./ Release.gpg
>>>>> | Get:1 file: ./ Release [24 B]
>>>>> | Get:2 file: ./ Release [11 B]
>>>>> | Ign file: ./ Translation-en
>>>>> | Ign file: ./ Translation-en
>>>>> | Reading package lists...
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | Reading package lists...
>>>>> | Building dependency tree...
>>>>> | Reading state information...
>>>>> | Some packages could not be installed. This may mean that you have
>>>>> | requested an impossible situation or if you are using the unstable
>>>>> | distribution that some required packages have not yet been created
>>>>> | or been moved out of Incoming.
>>>>> | The following information may help to resolve the situation:
>>>>> |
>>>>> | The following packages have unmet dependencies:
>>>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: gcc-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: meta-environment-arm but
>>>>> it
>>>>> is not installable
>>>>> |                                    Depends:
>>>>> binutils-cross-canadian-arm
>>>>> but it is not installable
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | E: Unable to correct problems, you have held broken packages.
>>>>> | DEBUG: Python function do_populate_sdk finished
>>>>> | ERROR: Function failed: populate_sdk_image (see
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> for further information)
>>>>> ERROR: Task 10
>>>>>
>>>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk) failed with exit code '1'
>>>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>>> be
>>>>> rerun and 1 failed.
>>>>>
>>>>> Summary: 1 task failed:
>>>>>
>>>>>
>>>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk
>>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>>> code.
>>>>>
>>>>> I am not able to install those packages as they say there are no
>>>>> installation candidate for them...
>>>>>
>>>>>
>>>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Hi Satya,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>>>> toolchain with sysroot that match your target image that allows you to
>>>>>> develop app against…
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Jessica
>>>>>>
>>>>>>
>>>>>>
>>>>>> From: yocto-bounces@yoctoproject.org
>>>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop
>>>>>> Damarla
>>>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>>>> To: yocto@yoctoproject.org
>>>>>> Subject: [yocto] Application Development
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Guys,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with
>>>>>> a
>>>>>> custom kernel. I installed  packages specific Tegra board and
>>>>>> application
>>>>>> specific. Now we want to send the baord and the new linux image for
>>>>>> application development...
>>>>>>
>>>>>>
>>>>>>
>>>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>>>> development team can develop a voip application for the board... I am
>>>>>> kind
>>>>>> of stuck how to proceed in this issue...
>>>>>>
>>>>>>
>>>>>>
>>>>>> I really need a small way out and hopefully I will catch things
>>>>>> automatically..
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Satya
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>
>>>
>>> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>>
>>>> SHould we install development and debigging pacakages in the images when
>>>> we
>>>> want to build a toolchain.. I mean this
>>>>
>>>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>>>> #                     (adds symbol information for debugging/profiling)
>>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>> #                     (useful if you want to develop against libs in the
>>>> image)
>>>>
>>>>
>>>> Greets,
>>>> Satya
>>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>>> <swaroop.damarla@gmail.com> wrote:
>>>>>
>>>>>
>>>>> Hi Jessica & Philip,
>>>>>
>>>>> I have an issue... This is such a long error ... I even did a fresh
>>>>> build
>>>>> by deleting the "tmp" directory. The image build went very well but the
>>>>> toolchain is always giving me a error...
>>>>>
>>>>> | Selecting previously unselected package xz-dev.
>>>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>>> | The following package disappeared from your system as
>>>>> | all files have been overwritten by other packages:
>>>>> |   avahi
>>>>> | log_check: Using
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> as logfile
>>>>> | Logfile is clean
>>>>> | Installing NATIVESDK packages
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ Release.gpg
>>>>> | Ign file: ./ Release.gpg
>>>>> | Get:1 file: ./ Release [24 B]
>>>>> | Get:2 file: ./ Release [11 B]
>>>>> | Ign file: ./ Translation-en
>>>>> | Ign file: ./ Translation-en
>>>>> | Reading package lists...
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | Reading package lists...
>>>>> | Building dependency tree...
>>>>> | Reading state information...
>>>>> | Some packages could not be installed. This may mean that you have
>>>>> | requested an impossible situation or if you are using the unstable
>>>>> | distribution that some required packages have not yet been created
>>>>> | or been moved out of Incoming.
>>>>> | The following information may help to resolve the situation:
>>>>> |
>>>>> | The following packages have unmet dependencies:
>>>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: gcc-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: meta-environment-arm but
>>>>> it
>>>>> is not installable
>>>>> |                                    Depends:
>>>>> binutils-cross-canadian-arm
>>>>> but it is not installable
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | E: Unable to correct problems, you have held broken packages.
>>>>> | DEBUG: Python function do_populate_sdk finished
>>>>> | ERROR: Function failed: populate_sdk_image (see
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> for further information)
>>>>> ERROR: Task 10
>>>>>
>>>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk) failed with exit code '1'
>>>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>>> be
>>>>> rerun and 1 failed.
>>>>>
>>>>> Summary: 1 task failed:
>>>>>
>>>>>
>>>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk
>>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>>> code.
>>>>>
>>>>> I am not able to install those packages as they say there are no
>>>>> installation candidate for them...
>>>>>
>>>>>
>>>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Hi Satya,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>>>> toolchain with sysroot that match your target image that allows you to
>>>>>> develop app against…
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Jessica
>>>>>>
>>>>>>
>>>>>>
>>>>>> From: yocto-bounces@yoctoproject.org
>>>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop
>>>>>> Damarla
>>>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>>>> To: yocto@yoctoproject.org
>>>>>> Subject: [yocto] Application Development
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Guys,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with
>>>>>> a
>>>>>> custom kernel. I installed  packages specific Tegra board and
>>>>>> application
>>>>>> specific. Now we want to send the baord and the new linux image for
>>>>>> application development...
>>>>>>
>>>>>>
>>>>>>
>>>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>>>> development team can develop a voip application for the board... I am
>>>>>> kind
>>>>>> of stuck how to proceed in this issue...
>>>>>>
>>>>>>
>>>>>>
>>>>>> I really need a small way out and hopefully I will catch things
>>>>>> automatically..
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Satya
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>> --
>> ------------------------------------------------------------
>> Gary Thomas                 |  Consulting for the
>> MLB Associates              |    Embedded world
>> ------------------------------------------------------------
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>
> On Fri, Jun 7, 2013 at 3:34 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>> On 2013-06-07 07:10, Hans Beckérus wrote:
>>>
>>> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>>
>>>> SHould we install development and debigging pacakages in the images when
>>>> we
>>>> want to build a toolchain.. I mean this
>>>>
>>>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>>>> #                     (adds symbol information for debugging/profiling)
>>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>> #                     (useful if you want to develop against libs in the
>>>> image)
>>>>
>>>>
>>>> Greets,
>>>> Satya
>>>>
>>> I actually tried the 'bitbake <image> -c populate-sdk but it fails :(
>>> Any clues to what make things go wrong this time? Nothing provides
>>> meta-environment-arm??
>>
>>
>> Do you have "tools-sdk" set in your IMAGE_FEATURES?
>>
>>
>>>
>>> Hans
>>>
>>> | Note: adding Smart channel x86_64_nativesdk (25)
>>> |
>>> |
>>> | Note: adding Smart channel all (10)
>>> |
>>> |
>>> | Note: configuring RPM cross-install scriptlet_wrapper
>>> |
>>> | Updating cache...
>>> ######################################## [100%]
>>> |
>>> | Saving cache...
>>> |
>>> | Note: adding Smart RPM DB channel
>>> |
>>> | Note: to be installed:  nativesdk-packagegroup-sdk-host@all
>>> packagegroup-cross-canadian-arm@all
>>> | Loading cache...
>>> | Updating cache...
>>> ######################################## [100%]
>>> |
>>> | Computing transaction...error: Can't install
>>> packagegroup-cross-canadian-arm-1.0-r0@all: no package provides
>>> meta-environment-arm
>>> |
>>> | Saving cache...
>>> |
>>> | DEBUG: Python function do_populate_sdk finished
>>>
>>>
>>>
>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>>> <swaroop.damarla@gmail.com> wrote:
>>>>>
>>>>>
>>>>> Hi Jessica & Philip,
>>>>>
>>>>> I have an issue... This is such a long error ... I even did a fresh
>>>>> build
>>>>> by deleting the "tmp" directory. The image build went very well but the
>>>>> toolchain is always giving me a error...
>>>>>
>>>>> | Selecting previously unselected package xz-dev.
>>>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>>> | The following package disappeared from your system as
>>>>> | all files have been overwritten by other packages:
>>>>> |   avahi
>>>>> | log_check: Using
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> as logfile
>>>>> | Logfile is clean
>>>>> | Installing NATIVESDK packages
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ Release.gpg
>>>>> | Ign file: ./ Release.gpg
>>>>> | Get:1 file: ./ Release [24 B]
>>>>> | Get:2 file: ./ Release [11 B]
>>>>> | Ign file: ./ Translation-en
>>>>> | Ign file: ./ Translation-en
>>>>> | Reading package lists...
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | Reading package lists...
>>>>> | Building dependency tree...
>>>>> | Reading state information...
>>>>> | Some packages could not be installed. This may mean that you have
>>>>> | requested an impossible situation or if you are using the unstable
>>>>> | distribution that some required packages have not yet been created
>>>>> | or been moved out of Incoming.
>>>>> | The following information may help to resolve the situation:
>>>>> |
>>>>> | The following packages have unmet dependencies:
>>>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: gcc-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: meta-environment-arm but
>>>>> it
>>>>> is not installable
>>>>> |                                    Depends:
>>>>> binutils-cross-canadian-arm
>>>>> but it is not installable
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | E: Unable to correct problems, you have held broken packages.
>>>>> | DEBUG: Python function do_populate_sdk finished
>>>>> | ERROR: Function failed: populate_sdk_image (see
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> for further information)
>>>>> ERROR: Task 10
>>>>>
>>>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk) failed with exit code '1'
>>>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>>> be
>>>>> rerun and 1 failed.
>>>>>
>>>>> Summary: 1 task failed:
>>>>>
>>>>>
>>>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk
>>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>>> code.
>>>>>
>>>>> I am not able to install those packages as they say there are no
>>>>> installation candidate for them...
>>>>>
>>>>>
>>>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Hi Satya,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>>>> toolchain with sysroot that match your target image that allows you to
>>>>>> develop app against…
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Jessica
>>>>>>
>>>>>>
>>>>>>
>>>>>> From: yocto-bounces@yoctoproject.org
>>>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop
>>>>>> Damarla
>>>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>>>> To: yocto@yoctoproject.org
>>>>>> Subject: [yocto] Application Development
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Guys,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with
>>>>>> a
>>>>>> custom kernel. I installed  packages specific Tegra board and
>>>>>> application
>>>>>> specific. Now we want to send the baord and the new linux image for
>>>>>> application development...
>>>>>>
>>>>>>
>>>>>>
>>>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>>>> development team can develop a voip application for the board... I am
>>>>>> kind
>>>>>> of stuck how to proceed in this issue...
>>>>>>
>>>>>>
>>>>>>
>>>>>> I really need a small way out and hopefully I will catch things
>>>>>> automatically..
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Satya
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>
>>>
>>> On Fri, Jun 7, 2013 at 9:10 AM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>>
>>>> SHould we install development and debigging pacakages in the images when
>>>> we
>>>> want to build a toolchain.. I mean this
>>>>
>>>>   "dbg-pkgs"       - add -dbg packages for all installed packages
>>>> #                     (adds symbol information for debugging/profiling)
>>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>> #                     (useful if you want to develop against libs in the
>>>> image)
>>>>
>>>>
>>>> Greets,
>>>> Satya
>>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>>> <swaroop.damarla@gmail.com> wrote:
>>>>>
>>>>>
>>>>> Hi Jessica & Philip,
>>>>>
>>>>> I have an issue... This is such a long error ... I even did a fresh
>>>>> build
>>>>> by deleting the "tmp" directory. The image build went very well but the
>>>>> toolchain is always giving me a error...
>>>>>
>>>>> | Selecting previously unselected package xz-dev.
>>>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>>> | The following package disappeared from your system as
>>>>> | all files have been overwritten by other packages:
>>>>> |   avahi
>>>>> | log_check: Using
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> as logfile
>>>>> | Logfile is clean
>>>>> | Installing NATIVESDK packages
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ InRelease
>>>>> | Ign file: ./ Release.gpg
>>>>> | Ign file: ./ Release.gpg
>>>>> | Get:1 file: ./ Release [24 B]
>>>>> | Get:2 file: ./ Release [11 B]
>>>>> | Ign file: ./ Translation-en
>>>>> | Ign file: ./ Translation-en
>>>>> | Reading package lists...
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | Reading package lists...
>>>>> | Building dependency tree...
>>>>> | Reading state information...
>>>>> | Some packages could not be installed. This may mean that you have
>>>>> | requested an impossible situation or if you are using the unstable
>>>>> | distribution that some required packages have not yet been created
>>>>> | or been moved out of Incoming.
>>>>> | The following information may help to resolve the situation:
>>>>> |
>>>>> | The following packages have unmet dependencies:
>>>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: gcc-cross-canadian-arm but
>>>>> it is not installable
>>>>> |                                    Depends: meta-environment-arm but
>>>>> it
>>>>> is not installable
>>>>> |                                    Depends:
>>>>> binutils-cross-canadian-arm
>>>>> but it is not installable
>>>>> | W: Ignoring Provides line with DepCompareOp for package
>>>>> nativesdk-pkgconfig__pkg-config__
>>>>> | W: You may want to run apt-get update to correct these problems
>>>>> | E: Unable to correct problems, you have held broken packages.
>>>>> | DEBUG: Python function do_populate_sdk finished
>>>>> | ERROR: Function failed: populate_sdk_image (see
>>>>>
>>>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
>>>>> for further information)
>>>>> ERROR: Task 10
>>>>>
>>>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk) failed with exit code '1'
>>>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>>> be
>>>>> rerun and 1 failed.
>>>>>
>>>>> Summary: 1 task failed:
>>>>>
>>>>>
>>>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
>>>>> do_populate_sdk
>>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>>> code.
>>>>>
>>>>> I am not able to install those packages as they say there are no
>>>>> installation candidate for them...
>>>>>
>>>>>
>>>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Hi Satya,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Use bitbake image-name –c populate_sdk, this allows you to create a
>>>>>> toolchain with sysroot that match your target image that allows you to
>>>>>> develop app against…
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Jessica
>>>>>>
>>>>>>
>>>>>>
>>>>>> From: yocto-bounces@yoctoproject.org
>>>>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Satya Swaroop
>>>>>> Damarla
>>>>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>>>> To: yocto@yoctoproject.org
>>>>>> Subject: [yocto] Application Development
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Guys,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have an issue... I created a custom image based on NVIDIA Tegra2 with
>>>>>> a
>>>>>> custom kernel. I installed  packages specific Tegra board and
>>>>>> application
>>>>>> specific. Now we want to send the baord and the new linux image for
>>>>>> application development...
>>>>>>
>>>>>>
>>>>>>
>>>>>> As I went through ADT manual, I only found qemu based toolchains but I
>>>>>> want to create toolchain based on my rootfs and kernel... so that the
>>>>>> development team can develop a voip application for the board... I am
>>>>>> kind
>>>>>> of stuck how to proceed in this issue...
>>>>>>
>>>>>>
>>>>>>
>>>>>> I really need a small way out and hopefully I will catch things
>>>>>> automatically..
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Satya
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>> --
>> ------------------------------------------------------------
>> Gary Thomas                 |  Consulting for the
>> MLB Associates              |    Embedded world
>> ------------------------------------------------------------
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: Application Development
  2013-06-07  7:10     ` DAMARLA Satya Swaroop
  2013-06-07 13:10       ` Hans Beckérus
@ 2013-06-07 14:03       ` Zhang, Jessica
  2013-06-07 14:09         ` Hans Beckérus
  1 sibling, 1 reply; 21+ messages in thread
From: Zhang, Jessica @ 2013-06-07 14:03 UTC (permalink / raw)
  To: DAMARLA Satya Swaroop, yocto

[-- Attachment #1: Type: text/plain, Size: 5418 bytes --]

Yes, you need those packages in your sysroot for cross development.



Cheers,

Jessica



From: satyaswaroop.damarla@gmail.com [mailto:satyaswaroop.damarla@gmail.com] On Behalf Of DAMARLA Satya Swaroop
Sent: Friday, June 07, 2013 12:10 AM
To: Zhang, Jessica; yocto@yoctoproject.org
Subject: Re: [yocto] Application Development



SHould we install development and debigging pacakages in the images when we want to build a toolchain.. I mean this



 "dbg-pkgs"       - add -dbg packages for all installed packages

#                     (adds symbol information for debugging/profiling)

#  "dev-pkgs"       - add -dev packages for all installed packages

#                     (useful if you want to develop against libs in the image)





Greets,

Satya



On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop <swaroop.damarla@gmail.com<mailto:swaroop.damarla@gmail.com>> wrote:

Hi Jessica & Philip,



I have an issue... This is such a long error ... I even did a fresh build by deleting the "tmp" directory. The image build went very well but the toolchain is always giving me a error...



| Selecting previously unselected package xz-dev.

| Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...

| The following package disappeared from your system as

| all files have been overwritten by other packages:

|   avahi

| log_check: Using /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066 as logfile

| Logfile is clean

| Installing NATIVESDK packages

| Ign file: ./ InRelease

| Ign file: ./ InRelease

| Ign file: ./ Release.gpg

| Ign file: ./ Release.gpg

| Get:1 file: ./ Release [24 B]

| Get:2 file: ./ Release [11 B]

| Ign file: ./ Translation-en

| Ign file: ./ Translation-en

| Reading package lists...

| W: Ignoring Provides line with DepCompareOp for package nativesdk-pkgconfig__pkg-config__

| W: You may want to run apt-get update to correct these problems

| Reading package lists...

| Building dependency tree...

| Reading state information...

| Some packages could not be installed. This may mean that you have

| requested an impossible situation or if you are using the unstable

| distribution that some required packages have not yet been created

| or been moved out of Incoming.

| The following information may help to resolve the situation:

|

| The following packages have unmet dependencies:

|  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but it is not installable

|                                    Depends: gcc-cross-canadian-arm but it is not installable

|                                    Depends: meta-environment-arm but it is not installable

|                                    Depends: binutils-cross-canadian-arm but it is not installable

| W: Ignoring Provides line with DepCompareOp for package nativesdk-pkgconfig__pkg-config__

| W: You may want to run apt-get update to correct these problems

| E: Unable to correct problems, you have held broken packages.

| DEBUG: Python function do_populate_sdk finished

| ERROR: Function failed: populate_sdk_image (see /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066 for further information)

ERROR: Task 10 (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb<http://core-image-skidata.bb/>, do_populate_sdk) failed with exit code '1'

NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to be rerun and 1 failed.



Summary: 1 task failed:

  /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb<http://core-image-skidata.bb/>, do_populate_sdk

Summary: There was 1 ERROR message shown, returning a non-zero exit code.



I am not able to install those packages as they say there are no installation candidate for them...



On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com<mailto:jessica.zhang@intel.com>> wrote:

   Hi Satya,



   Use bitbake image-name -c populate_sdk, this allows you to create a toolchain with sysroot that match your target image that allows you to develop app against...



   Cheers,

   Jessica



   From: yocto-bounces@yoctoproject.org<mailto:yocto-bounces@yoctoproject.org> [mailto:yocto-bounces@yoctoproject.org<mailto:yocto-bounces@yoctoproject.org>] On Behalf Of Satya Swaroop Damarla
   Sent: Wednesday, June 05, 2013 6:05 AM
   To: yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
   Subject: [yocto] Application Development



   Hi Guys,



   I have an issue... I created a custom image based on NVIDIA Tegra2 with a custom kernel. I installed  packages specific Tegra board and application specific. Now we want to send the baord and the new linux image for application development...



   As I went through ADT manual, I only found qemu based toolchains but I want to create toolchain based on my rootfs and kernel... so that the development team can develop a voip application for the board... I am kind of stuck how to proceed in this issue...



   I really need a small way out and hopefully I will catch things automatically..



   Cheers,

   Satya






[-- Attachment #2: Type: text/html, Size: 24641 bytes --]

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

* Re: Application Development
  2013-06-07 14:03       ` Zhang, Jessica
@ 2013-06-07 14:09         ` Hans Beckérus
  2013-06-07 14:21           ` Zhang, Jessica
  0 siblings, 1 reply; 21+ messages in thread
From: Hans Beckérus @ 2013-06-07 14:09 UTC (permalink / raw)
  To: Zhang, Jessica; +Cc: yocto

On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
> Yes, you need those packages in your sysroot for cross development.
>
>
Ok. But out of curiosity, why should I need X11 packages for a simple
command-line based toolchain?
I assume that none of these X11 packages gets copied to my target
device rootfs, or?

>
> Cheers,
>
> Jessica
>
>
>
> From: satyaswaroop.damarla@gmail.com [mailto:satyaswaroop.damarla@gmail.com]
> On Behalf Of DAMARLA Satya Swaroop
> Sent: Friday, June 07, 2013 12:10 AM
> To: Zhang, Jessica; yocto@yoctoproject.org
> Subject: Re: [yocto] Application Development
>
>
>
> SHould we install development and debigging pacakages in the images when we
> want to build a toolchain.. I mean this
>
>
>
>  "dbg-pkgs"       - add -dbg packages for all installed packages
>
> #                     (adds symbol information for debugging/profiling)
>
> #  "dev-pkgs"       - add -dev packages for all installed packages
>
> #                     (useful if you want to develop against libs in the
> image)
>
>
>
>
>
> Greets,
>
> Satya
>
>
>
> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> <swaroop.damarla@gmail.com> wrote:
>
> Hi Jessica & Philip,
>
>
>
> I have an issue... This is such a long error ... I even did a fresh build by
> deleting the "tmp" directory. The image build went very well but the
> toolchain is always giving me a error...
>
>
>
> | Selecting previously unselected package xz-dev.
>
> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>
> | The following package disappeared from your system as
>
> | all files have been overwritten by other packages:
>
> |   avahi
>
> | log_check: Using
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
> as logfile
>
> | Logfile is clean
>
> | Installing NATIVESDK packages
>
> | Ign file: ./ InRelease
>
> | Ign file: ./ InRelease
>
> | Ign file: ./ Release.gpg
>
> | Ign file: ./ Release.gpg
>
> | Get:1 file: ./ Release [24 B]
>
> | Get:2 file: ./ Release [11 B]
>
> | Ign file: ./ Translation-en
>
> | Ign file: ./ Translation-en
>
> | Reading package lists...
>
> | W: Ignoring Provides line with DepCompareOp for package
> nativesdk-pkgconfig__pkg-config__
>
> | W: You may want to run apt-get update to correct these problems
>
> | Reading package lists...
>
> | Building dependency tree...
>
> | Reading state information...
>
> | Some packages could not be installed. This may mean that you have
>
> | requested an impossible situation or if you are using the unstable
>
> | distribution that some required packages have not yet been created
>
> | or been moved out of Incoming.
>
> | The following information may help to resolve the situation:
>
> |
>
> | The following packages have unmet dependencies:
>
> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but it
> is not installable
>
> |                                    Depends: gcc-cross-canadian-arm but it
> is not installable
>
> |                                    Depends: meta-environment-arm but it is
> not installable
>
> |                                    Depends: binutils-cross-canadian-arm
> but it is not installable
>
> | W: Ignoring Provides line with DepCompareOp for package
> nativesdk-pkgconfig__pkg-config__
>
> | W: You may want to run apt-get update to correct these problems
>
> | E: Unable to correct problems, you have held broken packages.
>
> | DEBUG: Python function do_populate_sdk finished
>
> | ERROR: Function failed: populate_sdk_image (see
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
> for further information)
>
> ERROR: Task 10
> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
> do_populate_sdk) failed with exit code '1'
>
> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to be
> rerun and 1 failed.
>
>
>
> Summary: 1 task failed:
>
>
> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
> do_populate_sdk
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
>
> I am not able to install those packages as they say there are no
> installation candidate for them...
>
>
>
> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
> wrote:
>
> Hi Satya,
>
>
>
> Use bitbake image-name –c populate_sdk, this allows you to create a
> toolchain with sysroot that match your target image that allows you to
> develop app against…
>
>
>
> Cheers,
>
> Jessica
>
>
>
> From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org]
> On Behalf Of Satya Swaroop Damarla
> Sent: Wednesday, June 05, 2013 6:05 AM
> To: yocto@yoctoproject.org
> Subject: [yocto] Application Development
>
>
>
> Hi Guys,
>
>
>
> I have an issue... I created a custom image based on NVIDIA Tegra2 with a
> custom kernel. I installed  packages specific Tegra board and application
> specific. Now we want to send the baord and the new linux image for
> application development...
>
>
>
> As I went through ADT manual, I only found qemu based toolchains but I want
> to create toolchain based on my rootfs and kernel... so that the development
> team can develop a voip application for the board... I am kind of stuck how
> to proceed in this issue...
>
>
>
> I really need a small way out and hopefully I will catch things
> automatically..
>
>
>
> Cheers,
>
> Satya
>
>
>
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
> Yes, you need those packages in your sysroot for cross development.
>
>
>
> Cheers,
>
> Jessica
>
>
>
> From: satyaswaroop.damarla@gmail.com [mailto:satyaswaroop.damarla@gmail.com]
> On Behalf Of DAMARLA Satya Swaroop
> Sent: Friday, June 07, 2013 12:10 AM
> To: Zhang, Jessica; yocto@yoctoproject.org
> Subject: Re: [yocto] Application Development
>
>
>
> SHould we install development and debigging pacakages in the images when we
> want to build a toolchain.. I mean this
>
>
>
>  "dbg-pkgs"       - add -dbg packages for all installed packages
>
> #                     (adds symbol information for debugging/profiling)
>
> #  "dev-pkgs"       - add -dev packages for all installed packages
>
> #                     (useful if you want to develop against libs in the
> image)
>
>
>
>
>
> Greets,
>
> Satya
>
>
>
> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> <swaroop.damarla@gmail.com> wrote:
>
> Hi Jessica & Philip,
>
>
>
> I have an issue... This is such a long error ... I even did a fresh build by
> deleting the "tmp" directory. The image build went very well but the
> toolchain is always giving me a error...
>
>
>
> | Selecting previously unselected package xz-dev.
>
> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>
> | The following package disappeared from your system as
>
> | all files have been overwritten by other packages:
>
> |   avahi
>
> | log_check: Using
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
> as logfile
>
> | Logfile is clean
>
> | Installing NATIVESDK packages
>
> | Ign file: ./ InRelease
>
> | Ign file: ./ InRelease
>
> | Ign file: ./ Release.gpg
>
> | Ign file: ./ Release.gpg
>
> | Get:1 file: ./ Release [24 B]
>
> | Get:2 file: ./ Release [11 B]
>
> | Ign file: ./ Translation-en
>
> | Ign file: ./ Translation-en
>
> | Reading package lists...
>
> | W: Ignoring Provides line with DepCompareOp for package
> nativesdk-pkgconfig__pkg-config__
>
> | W: You may want to run apt-get update to correct these problems
>
> | Reading package lists...
>
> | Building dependency tree...
>
> | Reading state information...
>
> | Some packages could not be installed. This may mean that you have
>
> | requested an impossible situation or if you are using the unstable
>
> | distribution that some required packages have not yet been created
>
> | or been moved out of Incoming.
>
> | The following information may help to resolve the situation:
>
> |
>
> | The following packages have unmet dependencies:
>
> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm but it
> is not installable
>
> |                                    Depends: gcc-cross-canadian-arm but it
> is not installable
>
> |                                    Depends: meta-environment-arm but it is
> not installable
>
> |                                    Depends: binutils-cross-canadian-arm
> but it is not installable
>
> | W: Ignoring Provides line with DepCompareOp for package
> nativesdk-pkgconfig__pkg-config__
>
> | W: You may want to run apt-get update to correct these problems
>
> | E: Unable to correct problems, you have held broken packages.
>
> | DEBUG: Python function do_populate_sdk finished
>
> | ERROR: Function failed: populate_sdk_image (see
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.4066
> for further information)
>
> ERROR: Task 10
> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
> do_populate_sdk) failed with exit code '1'
>
> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to be
> rerun and 1 failed.
>
>
>
> Summary: 1 task failed:
>
>
> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skidata.bb,
> do_populate_sdk
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
>
> I am not able to install those packages as they say there are no
> installation candidate for them...
>
>
>
> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica <jessica.zhang@intel.com>
> wrote:
>
> Hi Satya,
>
>
>
> Use bitbake image-name –c populate_sdk, this allows you to create a
> toolchain with sysroot that match your target image that allows you to
> develop app against…
>
>
>
> Cheers,
>
> Jessica
>
>
>
> From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org]
> On Behalf Of Satya Swaroop Damarla
> Sent: Wednesday, June 05, 2013 6:05 AM
> To: yocto@yoctoproject.org
> Subject: [yocto] Application Development
>
>
>
> Hi Guys,
>
>
>
> I have an issue... I created a custom image based on NVIDIA Tegra2 with a
> custom kernel. I installed  packages specific Tegra board and application
> specific. Now we want to send the baord and the new linux image for
> application development...
>
>
>
> As I went through ADT manual, I only found qemu based toolchains but I want
> to create toolchain based on my rootfs and kernel... so that the development
> team can develop a voip application for the board... I am kind of stuck how
> to proceed in this issue...
>
>
>
> I really need a small way out and hopefully I will catch things
> automatically..
>
>
>
> Cheers,
>
> Satya
>
>
>
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


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

* Re: Application Development
  2013-06-07 14:09         ` Hans Beckérus
@ 2013-06-07 14:21           ` Zhang, Jessica
  2013-06-07 14:29             ` Hans Beckérus
  0 siblings, 1 reply; 21+ messages in thread
From: Zhang, Jessica @ 2013-06-07 14:21 UTC (permalink / raw)
  To: Hans Beckérus; +Cc: yocto

When you create your image, what profile did you use.  Are you building one of our existing images, e.g. core-image-minimal, etc. or it's a customized image and if so, how did you customize your image, via layer or install extra packages?  I think x11 is brought in via some package dependency.  You said you were able to build the image, was the x11 packages there?  We're building a toolchain plus the sysroot that matching the rootfs of your target image here so it's not just the toolchain that is built.

-----Original Message-----
From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
Sent: Friday, June 07, 2013 7:09 AM
To: Zhang, Jessica
Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
Subject: Re: [yocto] Application Development

On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
> Yes, you need those packages in your sysroot for cross development.
>
>
Ok. But out of curiosity, why should I need X11 packages for a simple command-line based toolchain?
I assume that none of these X11 packages gets copied to my target device rootfs, or?

>
> Cheers,
>
> Jessica
>
>
>
> From: satyaswaroop.damarla@gmail.com
> [mailto:satyaswaroop.damarla@gmail.com]
> On Behalf Of DAMARLA Satya Swaroop
> Sent: Friday, June 07, 2013 12:10 AM
> To: Zhang, Jessica; yocto@yoctoproject.org
> Subject: Re: [yocto] Application Development
>
>
>
> SHould we install development and debigging pacakages in the images
> when we want to build a toolchain.. I mean this
>
>
>
>  "dbg-pkgs"       - add -dbg packages for all installed packages
>
> #                     (adds symbol information for debugging/profiling)
>
> #  "dev-pkgs"       - add -dev packages for all installed packages
>
> #                     (useful if you want to develop against libs in the
> image)
>
>
>
>
>
> Greets,
>
> Satya
>
>
>
> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> <swaroop.damarla@gmail.com> wrote:
>
> Hi Jessica & Philip,
>
>
>
> I have an issue... This is such a long error ... I even did a fresh
> build by deleting the "tmp" directory. The image build went very well
> but the toolchain is always giving me a error...
>
>
>
> | Selecting previously unselected package xz-dev.
>
> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>
> | The following package disappeared from your system as
>
> | all files have been overwritten by other packages:
>
> |   avahi
>
> | log_check: Using
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> 4066
> as logfile
>
> | Logfile is clean
>
> | Installing NATIVESDK packages
>
> | Ign file: ./ InRelease
>
> | Ign file: ./ InRelease
>
> | Ign file: ./ Release.gpg
>
> | Ign file: ./ Release.gpg
>
> | Get:1 file: ./ Release [24 B]
>
> | Get:2 file: ./ Release [11 B]
>
> | Ign file: ./ Translation-en
>
> | Ign file: ./ Translation-en
>
> | Reading package lists...
>
> | W: Ignoring Provides line with DepCompareOp for package
> nativesdk-pkgconfig__pkg-config__
>
> | W: You may want to run apt-get update to correct these problems
>
> | Reading package lists...
>
> | Building dependency tree...
>
> | Reading state information...
>
> | Some packages could not be installed. This may mean that you have
>
> | requested an impossible situation or if you are using the unstable
>
> | distribution that some required packages have not yet been created
>
> | or been moved out of Incoming.
>
> | The following information may help to resolve the situation:
>
> |
>
> | The following packages have unmet dependencies:
>
> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
> | but it
> is not installable
>
> |                                    Depends: gcc-cross-canadian-arm
> | but it
> is not installable
>
> |                                    Depends: meta-environment-arm but
> | it is
> not installable
>
> |                                    Depends:
> | binutils-cross-canadian-arm
> but it is not installable
>
> | W: Ignoring Provides line with DepCompareOp for package
> nativesdk-pkgconfig__pkg-config__
>
> | W: You may want to run apt-get update to correct these problems
>
> | E: Unable to correct problems, you have held broken packages.
>
> | DEBUG: Python function do_populate_sdk finished
>
> | ERROR: Function failed: populate_sdk_image (see
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> 4066
> for further information)
>
> ERROR: Task 10
> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
> ata.bb,
> do_populate_sdk) failed with exit code '1'
>
> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
> be rerun and 1 failed.
>
>
>
> Summary: 1 task failed:
>
>
> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
> ta.bb,
> do_populate_sdk
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
>
> I am not able to install those packages as they say there are no
> installation candidate for them...
>
>
>
> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
> <jessica.zhang@intel.com>
> wrote:
>
> Hi Satya,
>
>
>
> Use bitbake image-name -c populate_sdk, this allows you to create a
> toolchain with sysroot that match your target image that allows you to
> develop app against...
>
>
>
> Cheers,
>
> Jessica
>
>
>
> From: yocto-bounces@yoctoproject.org
> [mailto:yocto-bounces@yoctoproject.org]
> On Behalf Of Satya Swaroop Damarla
> Sent: Wednesday, June 05, 2013 6:05 AM
> To: yocto@yoctoproject.org
> Subject: [yocto] Application Development
>
>
>
> Hi Guys,
>
>
>
> I have an issue... I created a custom image based on NVIDIA Tegra2
> with a custom kernel. I installed  packages specific Tegra board and
> application specific. Now we want to send the baord and the new linux
> image for application development...
>
>
>
> As I went through ADT manual, I only found qemu based toolchains but I
> want to create toolchain based on my rootfs and kernel... so that the
> development team can develop a voip application for the board... I am
> kind of stuck how to proceed in this issue...
>
>
>
> I really need a small way out and hopefully I will catch things
> automatically..
>
>
>
> Cheers,
>
> Satya
>
>
>
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
> Yes, you need those packages in your sysroot for cross development.
>
>
>
> Cheers,
>
> Jessica
>
>
>
> From: satyaswaroop.damarla@gmail.com
> [mailto:satyaswaroop.damarla@gmail.com]
> On Behalf Of DAMARLA Satya Swaroop
> Sent: Friday, June 07, 2013 12:10 AM
> To: Zhang, Jessica; yocto@yoctoproject.org
> Subject: Re: [yocto] Application Development
>
>
>
> SHould we install development and debigging pacakages in the images
> when we want to build a toolchain.. I mean this
>
>
>
>  "dbg-pkgs"       - add -dbg packages for all installed packages
>
> #                     (adds symbol information for debugging/profiling)
>
> #  "dev-pkgs"       - add -dev packages for all installed packages
>
> #                     (useful if you want to develop against libs in the
> image)
>
>
>
>
>
> Greets,
>
> Satya
>
>
>
> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> <swaroop.damarla@gmail.com> wrote:
>
> Hi Jessica & Philip,
>
>
>
> I have an issue... This is such a long error ... I even did a fresh
> build by deleting the "tmp" directory. The image build went very well
> but the toolchain is always giving me a error...
>
>
>
> | Selecting previously unselected package xz-dev.
>
> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>
> | The following package disappeared from your system as
>
> | all files have been overwritten by other packages:
>
> |   avahi
>
> | log_check: Using
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> 4066
> as logfile
>
> | Logfile is clean
>
> | Installing NATIVESDK packages
>
> | Ign file: ./ InRelease
>
> | Ign file: ./ InRelease
>
> | Ign file: ./ Release.gpg
>
> | Ign file: ./ Release.gpg
>
> | Get:1 file: ./ Release [24 B]
>
> | Get:2 file: ./ Release [11 B]
>
> | Ign file: ./ Translation-en
>
> | Ign file: ./ Translation-en
>
> | Reading package lists...
>
> | W: Ignoring Provides line with DepCompareOp for package
> nativesdk-pkgconfig__pkg-config__
>
> | W: You may want to run apt-get update to correct these problems
>
> | Reading package lists...
>
> | Building dependency tree...
>
> | Reading state information...
>
> | Some packages could not be installed. This may mean that you have
>
> | requested an impossible situation or if you are using the unstable
>
> | distribution that some required packages have not yet been created
>
> | or been moved out of Incoming.
>
> | The following information may help to resolve the situation:
>
> |
>
> | The following packages have unmet dependencies:
>
> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
> | but it
> is not installable
>
> |                                    Depends: gcc-cross-canadian-arm
> | but it
> is not installable
>
> |                                    Depends: meta-environment-arm but
> | it is
> not installable
>
> |                                    Depends:
> | binutils-cross-canadian-arm
> but it is not installable
>
> | W: Ignoring Provides line with DepCompareOp for package
> nativesdk-pkgconfig__pkg-config__
>
> | W: You may want to run apt-get update to correct these problems
>
> | E: Unable to correct problems, you have held broken packages.
>
> | DEBUG: Python function do_populate_sdk finished
>
> | ERROR: Function failed: populate_sdk_image (see
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> 4066
> for further information)
>
> ERROR: Task 10
> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
> ata.bb,
> do_populate_sdk) failed with exit code '1'
>
> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
> be rerun and 1 failed.
>
>
>
> Summary: 1 task failed:
>
>
> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
> ta.bb,
> do_populate_sdk
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
>
> I am not able to install those packages as they say there are no
> installation candidate for them...
>
>
>
> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
> <jessica.zhang@intel.com>
> wrote:
>
> Hi Satya,
>
>
>
> Use bitbake image-name -c populate_sdk, this allows you to create a
> toolchain with sysroot that match your target image that allows you to
> develop app against...
>
>
>
> Cheers,
>
> Jessica
>
>
>
> From: yocto-bounces@yoctoproject.org
> [mailto:yocto-bounces@yoctoproject.org]
> On Behalf Of Satya Swaroop Damarla
> Sent: Wednesday, June 05, 2013 6:05 AM
> To: yocto@yoctoproject.org
> Subject: [yocto] Application Development
>
>
>
> Hi Guys,
>
>
>
> I have an issue... I created a custom image based on NVIDIA Tegra2
> with a custom kernel. I installed  packages specific Tegra board and
> application specific. Now we want to send the baord and the new linux
> image for application development...
>
>
>
> As I went through ADT manual, I only found qemu based toolchains but I
> want to create toolchain based on my rootfs and kernel... so that the
> development team can develop a voip application for the board... I am
> kind of stuck how to proceed in this issue...
>
>
>
> I really need a small way out and hopefully I will catch things
> automatically..
>
>
>
> Cheers,
>
> Satya
>
>
>
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


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

* Re: Application Development
  2013-06-07 14:21           ` Zhang, Jessica
@ 2013-06-07 14:29             ` Hans Beckérus
  2013-06-10 10:03               ` Hans Beckérus
  0 siblings, 1 reply; 21+ messages in thread
From: Hans Beckérus @ 2013-06-07 14:29 UTC (permalink / raw)
  To: Zhang, Jessica; +Cc: yocto

On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
> When you create your image, what profile did you use.  Are you building one of our existing images, e.g. core-image-minimal, etc. or it's a customized image and if so, how did you customize your image, via layer or install extra packages?  I think x11 is brought in via some package dependency.  You said you were able to build the image, was the x11 packages there?  We're building a toolchain plus the sysroot that matching the rootfs of your target image here so it's not just the toolchain that is built.
>

Hi Jessica.

I am building my own image recipe that basically does:

require recipes-core/images/core-image-minimal-mtdutils.bb
IMAGE_FEATURES += " ssh-server-dropbear \
                  "

Its a console-only type of image for an embedded device with no
graphic support what so ever.
Building the the rootfs and booting it up on the device works fine.
I have had no X11 dependency until I added tools-sdk to IMAGE_FEATURES
as suggested.
What I am after is a command-line-only toolchain which will be using
the sysroot from my rootfs build.
Maybe I am asking for something that is not supported?

Hans


> -----Original Message-----
> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
> Sent: Friday, June 07, 2013 7:09 AM
> To: Zhang, Jessica
> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
> Subject: Re: [yocto] Application Development
>
> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
>> Yes, you need those packages in your sysroot for cross development.
>>
>>
> Ok. But out of curiosity, why should I need X11 packages for a simple command-line based toolchain?
> I assume that none of these X11 packages gets copied to my target device rootfs, or?
>
>>
>> Cheers,
>>
>> Jessica
>>
>>
>>
>> From: satyaswaroop.damarla@gmail.com
>> [mailto:satyaswaroop.damarla@gmail.com]
>> On Behalf Of DAMARLA Satya Swaroop
>> Sent: Friday, June 07, 2013 12:10 AM
>> To: Zhang, Jessica; yocto@yoctoproject.org
>> Subject: Re: [yocto] Application Development
>>
>>
>>
>> SHould we install development and debigging pacakages in the images
>> when we want to build a toolchain.. I mean this
>>
>>
>>
>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>
>> #                     (adds symbol information for debugging/profiling)
>>
>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>
>> #                     (useful if you want to develop against libs in the
>> image)
>>
>>
>>
>>
>>
>> Greets,
>>
>> Satya
>>
>>
>>
>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>> <swaroop.damarla@gmail.com> wrote:
>>
>> Hi Jessica & Philip,
>>
>>
>>
>> I have an issue... This is such a long error ... I even did a fresh
>> build by deleting the "tmp" directory. The image build went very well
>> but the toolchain is always giving me a error...
>>
>>
>>
>> | Selecting previously unselected package xz-dev.
>>
>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>
>> | The following package disappeared from your system as
>>
>> | all files have been overwritten by other packages:
>>
>> |   avahi
>>
>> | log_check: Using
>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> 4066
>> as logfile
>>
>> | Logfile is clean
>>
>> | Installing NATIVESDK packages
>>
>> | Ign file: ./ InRelease
>>
>> | Ign file: ./ InRelease
>>
>> | Ign file: ./ Release.gpg
>>
>> | Ign file: ./ Release.gpg
>>
>> | Get:1 file: ./ Release [24 B]
>>
>> | Get:2 file: ./ Release [11 B]
>>
>> | Ign file: ./ Translation-en
>>
>> | Ign file: ./ Translation-en
>>
>> | Reading package lists...
>>
>> | W: Ignoring Provides line with DepCompareOp for package
>> nativesdk-pkgconfig__pkg-config__
>>
>> | W: You may want to run apt-get update to correct these problems
>>
>> | Reading package lists...
>>
>> | Building dependency tree...
>>
>> | Reading state information...
>>
>> | Some packages could not be installed. This may mean that you have
>>
>> | requested an impossible situation or if you are using the unstable
>>
>> | distribution that some required packages have not yet been created
>>
>> | or been moved out of Incoming.
>>
>> | The following information may help to resolve the situation:
>>
>> |
>>
>> | The following packages have unmet dependencies:
>>
>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>> | but it
>> is not installable
>>
>> |                                    Depends: gcc-cross-canadian-arm
>> | but it
>> is not installable
>>
>> |                                    Depends: meta-environment-arm but
>> | it is
>> not installable
>>
>> |                                    Depends:
>> | binutils-cross-canadian-arm
>> but it is not installable
>>
>> | W: Ignoring Provides line with DepCompareOp for package
>> nativesdk-pkgconfig__pkg-config__
>>
>> | W: You may want to run apt-get update to correct these problems
>>
>> | E: Unable to correct problems, you have held broken packages.
>>
>> | DEBUG: Python function do_populate_sdk finished
>>
>> | ERROR: Function failed: populate_sdk_image (see
>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> 4066
>> for further information)
>>
>> ERROR: Task 10
>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>> ata.bb,
>> do_populate_sdk) failed with exit code '1'
>>
>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>> be rerun and 1 failed.
>>
>>
>>
>> Summary: 1 task failed:
>>
>>
>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>> ta.bb,
>> do_populate_sdk
>>
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>>
>>
>> I am not able to install those packages as they say there are no
>> installation candidate for them...
>>
>>
>>
>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>> <jessica.zhang@intel.com>
>> wrote:
>>
>> Hi Satya,
>>
>>
>>
>> Use bitbake image-name -c populate_sdk, this allows you to create a
>> toolchain with sysroot that match your target image that allows you to
>> develop app against...
>>
>>
>>
>> Cheers,
>>
>> Jessica
>>
>>
>>
>> From: yocto-bounces@yoctoproject.org
>> [mailto:yocto-bounces@yoctoproject.org]
>> On Behalf Of Satya Swaroop Damarla
>> Sent: Wednesday, June 05, 2013 6:05 AM
>> To: yocto@yoctoproject.org
>> Subject: [yocto] Application Development
>>
>>
>>
>> Hi Guys,
>>
>>
>>
>> I have an issue... I created a custom image based on NVIDIA Tegra2
>> with a custom kernel. I installed  packages specific Tegra board and
>> application specific. Now we want to send the baord and the new linux
>> image for application development...
>>
>>
>>
>> As I went through ADT manual, I only found qemu based toolchains but I
>> want to create toolchain based on my rootfs and kernel... so that the
>> development team can develop a voip application for the board... I am
>> kind of stuck how to proceed in this issue...
>>
>>
>>
>> I really need a small way out and hopefully I will catch things
>> automatically..
>>
>>
>>
>> Cheers,
>>
>> Satya
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
>> Yes, you need those packages in your sysroot for cross development.
>>
>>
>>
>> Cheers,
>>
>> Jessica
>>
>>
>>
>> From: satyaswaroop.damarla@gmail.com
>> [mailto:satyaswaroop.damarla@gmail.com]
>> On Behalf Of DAMARLA Satya Swaroop
>> Sent: Friday, June 07, 2013 12:10 AM
>> To: Zhang, Jessica; yocto@yoctoproject.org
>> Subject: Re: [yocto] Application Development
>>
>>
>>
>> SHould we install development and debigging pacakages in the images
>> when we want to build a toolchain.. I mean this
>>
>>
>>
>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>
>> #                     (adds symbol information for debugging/profiling)
>>
>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>
>> #                     (useful if you want to develop against libs in the
>> image)
>>
>>
>>
>>
>>
>> Greets,
>>
>> Satya
>>
>>
>>
>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>> <swaroop.damarla@gmail.com> wrote:
>>
>> Hi Jessica & Philip,
>>
>>
>>
>> I have an issue... This is such a long error ... I even did a fresh
>> build by deleting the "tmp" directory. The image build went very well
>> but the toolchain is always giving me a error...
>>
>>
>>
>> | Selecting previously unselected package xz-dev.
>>
>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>
>> | The following package disappeared from your system as
>>
>> | all files have been overwritten by other packages:
>>
>> |   avahi
>>
>> | log_check: Using
>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> 4066
>> as logfile
>>
>> | Logfile is clean
>>
>> | Installing NATIVESDK packages
>>
>> | Ign file: ./ InRelease
>>
>> | Ign file: ./ InRelease
>>
>> | Ign file: ./ Release.gpg
>>
>> | Ign file: ./ Release.gpg
>>
>> | Get:1 file: ./ Release [24 B]
>>
>> | Get:2 file: ./ Release [11 B]
>>
>> | Ign file: ./ Translation-en
>>
>> | Ign file: ./ Translation-en
>>
>> | Reading package lists...
>>
>> | W: Ignoring Provides line with DepCompareOp for package
>> nativesdk-pkgconfig__pkg-config__
>>
>> | W: You may want to run apt-get update to correct these problems
>>
>> | Reading package lists...
>>
>> | Building dependency tree...
>>
>> | Reading state information...
>>
>> | Some packages could not be installed. This may mean that you have
>>
>> | requested an impossible situation or if you are using the unstable
>>
>> | distribution that some required packages have not yet been created
>>
>> | or been moved out of Incoming.
>>
>> | The following information may help to resolve the situation:
>>
>> |
>>
>> | The following packages have unmet dependencies:
>>
>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>> | but it
>> is not installable
>>
>> |                                    Depends: gcc-cross-canadian-arm
>> | but it
>> is not installable
>>
>> |                                    Depends: meta-environment-arm but
>> | it is
>> not installable
>>
>> |                                    Depends:
>> | binutils-cross-canadian-arm
>> but it is not installable
>>
>> | W: Ignoring Provides line with DepCompareOp for package
>> nativesdk-pkgconfig__pkg-config__
>>
>> | W: You may want to run apt-get update to correct these problems
>>
>> | E: Unable to correct problems, you have held broken packages.
>>
>> | DEBUG: Python function do_populate_sdk finished
>>
>> | ERROR: Function failed: populate_sdk_image (see
>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> 4066
>> for further information)
>>
>> ERROR: Task 10
>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>> ata.bb,
>> do_populate_sdk) failed with exit code '1'
>>
>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>> be rerun and 1 failed.
>>
>>
>>
>> Summary: 1 task failed:
>>
>>
>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>> ta.bb,
>> do_populate_sdk
>>
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>>
>>
>> I am not able to install those packages as they say there are no
>> installation candidate for them...
>>
>>
>>
>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>> <jessica.zhang@intel.com>
>> wrote:
>>
>> Hi Satya,
>>
>>
>>
>> Use bitbake image-name -c populate_sdk, this allows you to create a
>> toolchain with sysroot that match your target image that allows you to
>> develop app against...
>>
>>
>>
>> Cheers,
>>
>> Jessica
>>
>>
>>
>> From: yocto-bounces@yoctoproject.org
>> [mailto:yocto-bounces@yoctoproject.org]
>> On Behalf Of Satya Swaroop Damarla
>> Sent: Wednesday, June 05, 2013 6:05 AM
>> To: yocto@yoctoproject.org
>> Subject: [yocto] Application Development
>>
>>
>>
>> Hi Guys,
>>
>>
>>
>> I have an issue... I created a custom image based on NVIDIA Tegra2
>> with a custom kernel. I installed  packages specific Tegra board and
>> application specific. Now we want to send the baord and the new linux
>> image for application development...
>>
>>
>>
>> As I went through ADT manual, I only found qemu based toolchains but I
>> want to create toolchain based on my rootfs and kernel... so that the
>> development team can develop a voip application for the board... I am
>> kind of stuck how to proceed in this issue...
>>
>>
>>
>> I really need a small way out and hopefully I will catch things
>> automatically..
>>
>>
>>
>> Cheers,
>>
>> Satya
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>

On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
> When you create your image, what profile did you use.  Are you building one of our existing images, e.g. core-image-minimal, etc. or it's a customized image and if so, how did you customize your image, via layer or install extra packages?  I think x11 is brought in via some package dependency.  You said you were able to build the image, was the x11 packages there?  We're building a toolchain plus the sysroot that matching the rootfs of your target image here so it's not just the toolchain that is built.
>
> -----Original Message-----
> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
> Sent: Friday, June 07, 2013 7:09 AM
> To: Zhang, Jessica
> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
> Subject: Re: [yocto] Application Development
>
> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
>> Yes, you need those packages in your sysroot for cross development.
>>
>>
> Ok. But out of curiosity, why should I need X11 packages for a simple command-line based toolchain?
> I assume that none of these X11 packages gets copied to my target device rootfs, or?
>
>>
>> Cheers,
>>
>> Jessica
>>
>>
>>
>> From: satyaswaroop.damarla@gmail.com
>> [mailto:satyaswaroop.damarla@gmail.com]
>> On Behalf Of DAMARLA Satya Swaroop
>> Sent: Friday, June 07, 2013 12:10 AM
>> To: Zhang, Jessica; yocto@yoctoproject.org
>> Subject: Re: [yocto] Application Development
>>
>>
>>
>> SHould we install development and debigging pacakages in the images
>> when we want to build a toolchain.. I mean this
>>
>>
>>
>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>
>> #                     (adds symbol information for debugging/profiling)
>>
>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>
>> #                     (useful if you want to develop against libs in the
>> image)
>>
>>
>>
>>
>>
>> Greets,
>>
>> Satya
>>
>>
>>
>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>> <swaroop.damarla@gmail.com> wrote:
>>
>> Hi Jessica & Philip,
>>
>>
>>
>> I have an issue... This is such a long error ... I even did a fresh
>> build by deleting the "tmp" directory. The image build went very well
>> but the toolchain is always giving me a error...
>>
>>
>>
>> | Selecting previously unselected package xz-dev.
>>
>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>
>> | The following package disappeared from your system as
>>
>> | all files have been overwritten by other packages:
>>
>> |   avahi
>>
>> | log_check: Using
>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> 4066
>> as logfile
>>
>> | Logfile is clean
>>
>> | Installing NATIVESDK packages
>>
>> | Ign file: ./ InRelease
>>
>> | Ign file: ./ InRelease
>>
>> | Ign file: ./ Release.gpg
>>
>> | Ign file: ./ Release.gpg
>>
>> | Get:1 file: ./ Release [24 B]
>>
>> | Get:2 file: ./ Release [11 B]
>>
>> | Ign file: ./ Translation-en
>>
>> | Ign file: ./ Translation-en
>>
>> | Reading package lists...
>>
>> | W: Ignoring Provides line with DepCompareOp for package
>> nativesdk-pkgconfig__pkg-config__
>>
>> | W: You may want to run apt-get update to correct these problems
>>
>> | Reading package lists...
>>
>> | Building dependency tree...
>>
>> | Reading state information...
>>
>> | Some packages could not be installed. This may mean that you have
>>
>> | requested an impossible situation or if you are using the unstable
>>
>> | distribution that some required packages have not yet been created
>>
>> | or been moved out of Incoming.
>>
>> | The following information may help to resolve the situation:
>>
>> |
>>
>> | The following packages have unmet dependencies:
>>
>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>> | but it
>> is not installable
>>
>> |                                    Depends: gcc-cross-canadian-arm
>> | but it
>> is not installable
>>
>> |                                    Depends: meta-environment-arm but
>> | it is
>> not installable
>>
>> |                                    Depends:
>> | binutils-cross-canadian-arm
>> but it is not installable
>>
>> | W: Ignoring Provides line with DepCompareOp for package
>> nativesdk-pkgconfig__pkg-config__
>>
>> | W: You may want to run apt-get update to correct these problems
>>
>> | E: Unable to correct problems, you have held broken packages.
>>
>> | DEBUG: Python function do_populate_sdk finished
>>
>> | ERROR: Function failed: populate_sdk_image (see
>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> 4066
>> for further information)
>>
>> ERROR: Task 10
>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>> ata.bb,
>> do_populate_sdk) failed with exit code '1'
>>
>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>> be rerun and 1 failed.
>>
>>
>>
>> Summary: 1 task failed:
>>
>>
>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>> ta.bb,
>> do_populate_sdk
>>
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>>
>>
>> I am not able to install those packages as they say there are no
>> installation candidate for them...
>>
>>
>>
>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>> <jessica.zhang@intel.com>
>> wrote:
>>
>> Hi Satya,
>>
>>
>>
>> Use bitbake image-name -c populate_sdk, this allows you to create a
>> toolchain with sysroot that match your target image that allows you to
>> develop app against...
>>
>>
>>
>> Cheers,
>>
>> Jessica
>>
>>
>>
>> From: yocto-bounces@yoctoproject.org
>> [mailto:yocto-bounces@yoctoproject.org]
>> On Behalf Of Satya Swaroop Damarla
>> Sent: Wednesday, June 05, 2013 6:05 AM
>> To: yocto@yoctoproject.org
>> Subject: [yocto] Application Development
>>
>>
>>
>> Hi Guys,
>>
>>
>>
>> I have an issue... I created a custom image based on NVIDIA Tegra2
>> with a custom kernel. I installed  packages specific Tegra board and
>> application specific. Now we want to send the baord and the new linux
>> image for application development...
>>
>>
>>
>> As I went through ADT manual, I only found qemu based toolchains but I
>> want to create toolchain based on my rootfs and kernel... so that the
>> development team can develop a voip application for the board... I am
>> kind of stuck how to proceed in this issue...
>>
>>
>>
>> I really need a small way out and hopefully I will catch things
>> automatically..
>>
>>
>>
>> Cheers,
>>
>> Satya
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
>> Yes, you need those packages in your sysroot for cross development.
>>
>>
>>
>> Cheers,
>>
>> Jessica
>>
>>
>>
>> From: satyaswaroop.damarla@gmail.com
>> [mailto:satyaswaroop.damarla@gmail.com]
>> On Behalf Of DAMARLA Satya Swaroop
>> Sent: Friday, June 07, 2013 12:10 AM
>> To: Zhang, Jessica; yocto@yoctoproject.org
>> Subject: Re: [yocto] Application Development
>>
>>
>>
>> SHould we install development and debigging pacakages in the images
>> when we want to build a toolchain.. I mean this
>>
>>
>>
>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>
>> #                     (adds symbol information for debugging/profiling)
>>
>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>
>> #                     (useful if you want to develop against libs in the
>> image)
>>
>>
>>
>>
>>
>> Greets,
>>
>> Satya
>>
>>
>>
>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>> <swaroop.damarla@gmail.com> wrote:
>>
>> Hi Jessica & Philip,
>>
>>
>>
>> I have an issue... This is such a long error ... I even did a fresh
>> build by deleting the "tmp" directory. The image build went very well
>> but the toolchain is always giving me a error...
>>
>>
>>
>> | Selecting previously unselected package xz-dev.
>>
>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>
>> | The following package disappeared from your system as
>>
>> | all files have been overwritten by other packages:
>>
>> |   avahi
>>
>> | log_check: Using
>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> 4066
>> as logfile
>>
>> | Logfile is clean
>>
>> | Installing NATIVESDK packages
>>
>> | Ign file: ./ InRelease
>>
>> | Ign file: ./ InRelease
>>
>> | Ign file: ./ Release.gpg
>>
>> | Ign file: ./ Release.gpg
>>
>> | Get:1 file: ./ Release [24 B]
>>
>> | Get:2 file: ./ Release [11 B]
>>
>> | Ign file: ./ Translation-en
>>
>> | Ign file: ./ Translation-en
>>
>> | Reading package lists...
>>
>> | W: Ignoring Provides line with DepCompareOp for package
>> nativesdk-pkgconfig__pkg-config__
>>
>> | W: You may want to run apt-get update to correct these problems
>>
>> | Reading package lists...
>>
>> | Building dependency tree...
>>
>> | Reading state information...
>>
>> | Some packages could not be installed. This may mean that you have
>>
>> | requested an impossible situation or if you are using the unstable
>>
>> | distribution that some required packages have not yet been created
>>
>> | or been moved out of Incoming.
>>
>> | The following information may help to resolve the situation:
>>
>> |
>>
>> | The following packages have unmet dependencies:
>>
>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>> | but it
>> is not installable
>>
>> |                                    Depends: gcc-cross-canadian-arm
>> | but it
>> is not installable
>>
>> |                                    Depends: meta-environment-arm but
>> | it is
>> not installable
>>
>> |                                    Depends:
>> | binutils-cross-canadian-arm
>> but it is not installable
>>
>> | W: Ignoring Provides line with DepCompareOp for package
>> nativesdk-pkgconfig__pkg-config__
>>
>> | W: You may want to run apt-get update to correct these problems
>>
>> | E: Unable to correct problems, you have held broken packages.
>>
>> | DEBUG: Python function do_populate_sdk finished
>>
>> | ERROR: Function failed: populate_sdk_image (see
>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> 4066
>> for further information)
>>
>> ERROR: Task 10
>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>> ata.bb,
>> do_populate_sdk) failed with exit code '1'
>>
>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>> be rerun and 1 failed.
>>
>>
>>
>> Summary: 1 task failed:
>>
>>
>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>> ta.bb,
>> do_populate_sdk
>>
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>>
>>
>> I am not able to install those packages as they say there are no
>> installation candidate for them...
>>
>>
>>
>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>> <jessica.zhang@intel.com>
>> wrote:
>>
>> Hi Satya,
>>
>>
>>
>> Use bitbake image-name -c populate_sdk, this allows you to create a
>> toolchain with sysroot that match your target image that allows you to
>> develop app against...
>>
>>
>>
>> Cheers,
>>
>> Jessica
>>
>>
>>
>> From: yocto-bounces@yoctoproject.org
>> [mailto:yocto-bounces@yoctoproject.org]
>> On Behalf Of Satya Swaroop Damarla
>> Sent: Wednesday, June 05, 2013 6:05 AM
>> To: yocto@yoctoproject.org
>> Subject: [yocto] Application Development
>>
>>
>>
>> Hi Guys,
>>
>>
>>
>> I have an issue... I created a custom image based on NVIDIA Tegra2
>> with a custom kernel. I installed  packages specific Tegra board and
>> application specific. Now we want to send the baord and the new linux
>> image for application development...
>>
>>
>>
>> As I went through ADT manual, I only found qemu based toolchains but I
>> want to create toolchain based on my rootfs and kernel... so that the
>> development team can develop a voip application for the board... I am
>> kind of stuck how to proceed in this issue...
>>
>>
>>
>> I really need a small way out and hopefully I will catch things
>> automatically..
>>
>>
>>
>> Cheers,
>>
>> Satya
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>


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

* Re: Application Development
  2013-06-07 14:29             ` Hans Beckérus
@ 2013-06-10 10:03               ` Hans Beckérus
       [not found]                 ` <CAFMfyzKgaoFNRjvw9qy14SmqXAqhWsHcBTaeZnMog1DUsaFLjQ@mail.gmail.com>
  0 siblings, 1 reply; 21+ messages in thread
From: Hans Beckérus @ 2013-06-10 10:03 UTC (permalink / raw)
  To: Zhang, Jessica; +Cc: yocto

Any updates on this matter? Do I need to provide more information?
/Hans

On Fri, Jun 7, 2013 at 4:29 PM, Hans Beckérus <hans.beckerus@gmail.com> wrote:
> On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
>> When you create your image, what profile did you use.  Are you building one of our existing images, e.g. core-image-minimal, etc. or it's a customized image and if so, how did you customize your image, via layer or install extra packages?  I think x11 is brought in via some package dependency.  You said you were able to build the image, was the x11 packages there?  We're building a toolchain plus the sysroot that matching the rootfs of your target image here so it's not just the toolchain that is built.
>>
>
> Hi Jessica.
>
> I am building my own image recipe that basically does:
>
> require recipes-core/images/core-image-minimal-mtdutils.bb
> IMAGE_FEATURES += " ssh-server-dropbear \
>                   "
>
> Its a console-only type of image for an embedded device with no
> graphic support what so ever.
> Building the the rootfs and booting it up on the device works fine.
> I have had no X11 dependency until I added tools-sdk to IMAGE_FEATURES
> as suggested.
> What I am after is a command-line-only toolchain which will be using
> the sysroot from my rootfs build.
> Maybe I am asking for something that is not supported?
>
> Hans
>
>
>> -----Original Message-----
>> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
>> Sent: Friday, June 07, 2013 7:09 AM
>> To: Zhang, Jessica
>> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
>> Subject: Re: [yocto] Application Development
>>
>> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
>>> Yes, you need those packages in your sysroot for cross development.
>>>
>>>
>> Ok. But out of curiosity, why should I need X11 packages for a simple command-line based toolchain?
>> I assume that none of these X11 packages gets copied to my target device rootfs, or?
>>
>>>
>>> Cheers,
>>>
>>> Jessica
>>>
>>>
>>>
>>> From: satyaswaroop.damarla@gmail.com
>>> [mailto:satyaswaroop.damarla@gmail.com]
>>> On Behalf Of DAMARLA Satya Swaroop
>>> Sent: Friday, June 07, 2013 12:10 AM
>>> To: Zhang, Jessica; yocto@yoctoproject.org
>>> Subject: Re: [yocto] Application Development
>>>
>>>
>>>
>>> SHould we install development and debigging pacakages in the images
>>> when we want to build a toolchain.. I mean this
>>>
>>>
>>>
>>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>>
>>> #                     (adds symbol information for debugging/profiling)
>>>
>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>
>>> #                     (useful if you want to develop against libs in the
>>> image)
>>>
>>>
>>>
>>>
>>>
>>> Greets,
>>>
>>> Satya
>>>
>>>
>>>
>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>
>>> Hi Jessica & Philip,
>>>
>>>
>>>
>>> I have an issue... This is such a long error ... I even did a fresh
>>> build by deleting the "tmp" directory. The image build went very well
>>> but the toolchain is always giving me a error...
>>>
>>>
>>>
>>> | Selecting previously unselected package xz-dev.
>>>
>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>
>>> | The following package disappeared from your system as
>>>
>>> | all files have been overwritten by other packages:
>>>
>>> |   avahi
>>>
>>> | log_check: Using
>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> 4066
>>> as logfile
>>>
>>> | Logfile is clean
>>>
>>> | Installing NATIVESDK packages
>>>
>>> | Ign file: ./ InRelease
>>>
>>> | Ign file: ./ InRelease
>>>
>>> | Ign file: ./ Release.gpg
>>>
>>> | Ign file: ./ Release.gpg
>>>
>>> | Get:1 file: ./ Release [24 B]
>>>
>>> | Get:2 file: ./ Release [11 B]
>>>
>>> | Ign file: ./ Translation-en
>>>
>>> | Ign file: ./ Translation-en
>>>
>>> | Reading package lists...
>>>
>>> | W: Ignoring Provides line with DepCompareOp for package
>>> nativesdk-pkgconfig__pkg-config__
>>>
>>> | W: You may want to run apt-get update to correct these problems
>>>
>>> | Reading package lists...
>>>
>>> | Building dependency tree...
>>>
>>> | Reading state information...
>>>
>>> | Some packages could not be installed. This may mean that you have
>>>
>>> | requested an impossible situation or if you are using the unstable
>>>
>>> | distribution that some required packages have not yet been created
>>>
>>> | or been moved out of Incoming.
>>>
>>> | The following information may help to resolve the situation:
>>>
>>> |
>>>
>>> | The following packages have unmet dependencies:
>>>
>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>>> | but it
>>> is not installable
>>>
>>> |                                    Depends: gcc-cross-canadian-arm
>>> | but it
>>> is not installable
>>>
>>> |                                    Depends: meta-environment-arm but
>>> | it is
>>> not installable
>>>
>>> |                                    Depends:
>>> | binutils-cross-canadian-arm
>>> but it is not installable
>>>
>>> | W: Ignoring Provides line with DepCompareOp for package
>>> nativesdk-pkgconfig__pkg-config__
>>>
>>> | W: You may want to run apt-get update to correct these problems
>>>
>>> | E: Unable to correct problems, you have held broken packages.
>>>
>>> | DEBUG: Python function do_populate_sdk finished
>>>
>>> | ERROR: Function failed: populate_sdk_image (see
>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> 4066
>>> for further information)
>>>
>>> ERROR: Task 10
>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>>> ata.bb,
>>> do_populate_sdk) failed with exit code '1'
>>>
>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>> be rerun and 1 failed.
>>>
>>>
>>>
>>> Summary: 1 task failed:
>>>
>>>
>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>>> ta.bb,
>>> do_populate_sdk
>>>
>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>>
>>>
>>>
>>> I am not able to install those packages as they say there are no
>>> installation candidate for them...
>>>
>>>
>>>
>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>>> <jessica.zhang@intel.com>
>>> wrote:
>>>
>>> Hi Satya,
>>>
>>>
>>>
>>> Use bitbake image-name -c populate_sdk, this allows you to create a
>>> toolchain with sysroot that match your target image that allows you to
>>> develop app against...
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Jessica
>>>
>>>
>>>
>>> From: yocto-bounces@yoctoproject.org
>>> [mailto:yocto-bounces@yoctoproject.org]
>>> On Behalf Of Satya Swaroop Damarla
>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>> To: yocto@yoctoproject.org
>>> Subject: [yocto] Application Development
>>>
>>>
>>>
>>> Hi Guys,
>>>
>>>
>>>
>>> I have an issue... I created a custom image based on NVIDIA Tegra2
>>> with a custom kernel. I installed  packages specific Tegra board and
>>> application specific. Now we want to send the baord and the new linux
>>> image for application development...
>>>
>>>
>>>
>>> As I went through ADT manual, I only found qemu based toolchains but I
>>> want to create toolchain based on my rootfs and kernel... so that the
>>> development team can develop a voip application for the board... I am
>>> kind of stuck how to proceed in this issue...
>>>
>>>
>>>
>>> I really need a small way out and hopefully I will catch things
>>> automatically..
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Satya
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>>
>> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
>>> Yes, you need those packages in your sysroot for cross development.
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Jessica
>>>
>>>
>>>
>>> From: satyaswaroop.damarla@gmail.com
>>> [mailto:satyaswaroop.damarla@gmail.com]
>>> On Behalf Of DAMARLA Satya Swaroop
>>> Sent: Friday, June 07, 2013 12:10 AM
>>> To: Zhang, Jessica; yocto@yoctoproject.org
>>> Subject: Re: [yocto] Application Development
>>>
>>>
>>>
>>> SHould we install development and debigging pacakages in the images
>>> when we want to build a toolchain.. I mean this
>>>
>>>
>>>
>>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>>
>>> #                     (adds symbol information for debugging/profiling)
>>>
>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>
>>> #                     (useful if you want to develop against libs in the
>>> image)
>>>
>>>
>>>
>>>
>>>
>>> Greets,
>>>
>>> Satya
>>>
>>>
>>>
>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>
>>> Hi Jessica & Philip,
>>>
>>>
>>>
>>> I have an issue... This is such a long error ... I even did a fresh
>>> build by deleting the "tmp" directory. The image build went very well
>>> but the toolchain is always giving me a error...
>>>
>>>
>>>
>>> | Selecting previously unselected package xz-dev.
>>>
>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>
>>> | The following package disappeared from your system as
>>>
>>> | all files have been overwritten by other packages:
>>>
>>> |   avahi
>>>
>>> | log_check: Using
>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> 4066
>>> as logfile
>>>
>>> | Logfile is clean
>>>
>>> | Installing NATIVESDK packages
>>>
>>> | Ign file: ./ InRelease
>>>
>>> | Ign file: ./ InRelease
>>>
>>> | Ign file: ./ Release.gpg
>>>
>>> | Ign file: ./ Release.gpg
>>>
>>> | Get:1 file: ./ Release [24 B]
>>>
>>> | Get:2 file: ./ Release [11 B]
>>>
>>> | Ign file: ./ Translation-en
>>>
>>> | Ign file: ./ Translation-en
>>>
>>> | Reading package lists...
>>>
>>> | W: Ignoring Provides line with DepCompareOp for package
>>> nativesdk-pkgconfig__pkg-config__
>>>
>>> | W: You may want to run apt-get update to correct these problems
>>>
>>> | Reading package lists...
>>>
>>> | Building dependency tree...
>>>
>>> | Reading state information...
>>>
>>> | Some packages could not be installed. This may mean that you have
>>>
>>> | requested an impossible situation or if you are using the unstable
>>>
>>> | distribution that some required packages have not yet been created
>>>
>>> | or been moved out of Incoming.
>>>
>>> | The following information may help to resolve the situation:
>>>
>>> |
>>>
>>> | The following packages have unmet dependencies:
>>>
>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>>> | but it
>>> is not installable
>>>
>>> |                                    Depends: gcc-cross-canadian-arm
>>> | but it
>>> is not installable
>>>
>>> |                                    Depends: meta-environment-arm but
>>> | it is
>>> not installable
>>>
>>> |                                    Depends:
>>> | binutils-cross-canadian-arm
>>> but it is not installable
>>>
>>> | W: Ignoring Provides line with DepCompareOp for package
>>> nativesdk-pkgconfig__pkg-config__
>>>
>>> | W: You may want to run apt-get update to correct these problems
>>>
>>> | E: Unable to correct problems, you have held broken packages.
>>>
>>> | DEBUG: Python function do_populate_sdk finished
>>>
>>> | ERROR: Function failed: populate_sdk_image (see
>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> 4066
>>> for further information)
>>>
>>> ERROR: Task 10
>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>>> ata.bb,
>>> do_populate_sdk) failed with exit code '1'
>>>
>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>> be rerun and 1 failed.
>>>
>>>
>>>
>>> Summary: 1 task failed:
>>>
>>>
>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>>> ta.bb,
>>> do_populate_sdk
>>>
>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>>
>>>
>>>
>>> I am not able to install those packages as they say there are no
>>> installation candidate for them...
>>>
>>>
>>>
>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>>> <jessica.zhang@intel.com>
>>> wrote:
>>>
>>> Hi Satya,
>>>
>>>
>>>
>>> Use bitbake image-name -c populate_sdk, this allows you to create a
>>> toolchain with sysroot that match your target image that allows you to
>>> develop app against...
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Jessica
>>>
>>>
>>>
>>> From: yocto-bounces@yoctoproject.org
>>> [mailto:yocto-bounces@yoctoproject.org]
>>> On Behalf Of Satya Swaroop Damarla
>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>> To: yocto@yoctoproject.org
>>> Subject: [yocto] Application Development
>>>
>>>
>>>
>>> Hi Guys,
>>>
>>>
>>>
>>> I have an issue... I created a custom image based on NVIDIA Tegra2
>>> with a custom kernel. I installed  packages specific Tegra board and
>>> application specific. Now we want to send the baord and the new linux
>>> image for application development...
>>>
>>>
>>>
>>> As I went through ADT manual, I only found qemu based toolchains but I
>>> want to create toolchain based on my rootfs and kernel... so that the
>>> development team can develop a voip application for the board... I am
>>> kind of stuck how to proceed in this issue...
>>>
>>>
>>>
>>> I really need a small way out and hopefully I will catch things
>>> automatically..
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Satya
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>
> On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
>> When you create your image, what profile did you use.  Are you building one of our existing images, e.g. core-image-minimal, etc. or it's a customized image and if so, how did you customize your image, via layer or install extra packages?  I think x11 is brought in via some package dependency.  You said you were able to build the image, was the x11 packages there?  We're building a toolchain plus the sysroot that matching the rootfs of your target image here so it's not just the toolchain that is built.
>>
>> -----Original Message-----
>> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
>> Sent: Friday, June 07, 2013 7:09 AM
>> To: Zhang, Jessica
>> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
>> Subject: Re: [yocto] Application Development
>>
>> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
>>> Yes, you need those packages in your sysroot for cross development.
>>>
>>>
>> Ok. But out of curiosity, why should I need X11 packages for a simple command-line based toolchain?
>> I assume that none of these X11 packages gets copied to my target device rootfs, or?
>>
>>>
>>> Cheers,
>>>
>>> Jessica
>>>
>>>
>>>
>>> From: satyaswaroop.damarla@gmail.com
>>> [mailto:satyaswaroop.damarla@gmail.com]
>>> On Behalf Of DAMARLA Satya Swaroop
>>> Sent: Friday, June 07, 2013 12:10 AM
>>> To: Zhang, Jessica; yocto@yoctoproject.org
>>> Subject: Re: [yocto] Application Development
>>>
>>>
>>>
>>> SHould we install development and debigging pacakages in the images
>>> when we want to build a toolchain.. I mean this
>>>
>>>
>>>
>>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>>
>>> #                     (adds symbol information for debugging/profiling)
>>>
>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>
>>> #                     (useful if you want to develop against libs in the
>>> image)
>>>
>>>
>>>
>>>
>>>
>>> Greets,
>>>
>>> Satya
>>>
>>>
>>>
>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>
>>> Hi Jessica & Philip,
>>>
>>>
>>>
>>> I have an issue... This is such a long error ... I even did a fresh
>>> build by deleting the "tmp" directory. The image build went very well
>>> but the toolchain is always giving me a error...
>>>
>>>
>>>
>>> | Selecting previously unselected package xz-dev.
>>>
>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>
>>> | The following package disappeared from your system as
>>>
>>> | all files have been overwritten by other packages:
>>>
>>> |   avahi
>>>
>>> | log_check: Using
>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> 4066
>>> as logfile
>>>
>>> | Logfile is clean
>>>
>>> | Installing NATIVESDK packages
>>>
>>> | Ign file: ./ InRelease
>>>
>>> | Ign file: ./ InRelease
>>>
>>> | Ign file: ./ Release.gpg
>>>
>>> | Ign file: ./ Release.gpg
>>>
>>> | Get:1 file: ./ Release [24 B]
>>>
>>> | Get:2 file: ./ Release [11 B]
>>>
>>> | Ign file: ./ Translation-en
>>>
>>> | Ign file: ./ Translation-en
>>>
>>> | Reading package lists...
>>>
>>> | W: Ignoring Provides line with DepCompareOp for package
>>> nativesdk-pkgconfig__pkg-config__
>>>
>>> | W: You may want to run apt-get update to correct these problems
>>>
>>> | Reading package lists...
>>>
>>> | Building dependency tree...
>>>
>>> | Reading state information...
>>>
>>> | Some packages could not be installed. This may mean that you have
>>>
>>> | requested an impossible situation or if you are using the unstable
>>>
>>> | distribution that some required packages have not yet been created
>>>
>>> | or been moved out of Incoming.
>>>
>>> | The following information may help to resolve the situation:
>>>
>>> |
>>>
>>> | The following packages have unmet dependencies:
>>>
>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>>> | but it
>>> is not installable
>>>
>>> |                                    Depends: gcc-cross-canadian-arm
>>> | but it
>>> is not installable
>>>
>>> |                                    Depends: meta-environment-arm but
>>> | it is
>>> not installable
>>>
>>> |                                    Depends:
>>> | binutils-cross-canadian-arm
>>> but it is not installable
>>>
>>> | W: Ignoring Provides line with DepCompareOp for package
>>> nativesdk-pkgconfig__pkg-config__
>>>
>>> | W: You may want to run apt-get update to correct these problems
>>>
>>> | E: Unable to correct problems, you have held broken packages.
>>>
>>> | DEBUG: Python function do_populate_sdk finished
>>>
>>> | ERROR: Function failed: populate_sdk_image (see
>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> 4066
>>> for further information)
>>>
>>> ERROR: Task 10
>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>>> ata.bb,
>>> do_populate_sdk) failed with exit code '1'
>>>
>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>> be rerun and 1 failed.
>>>
>>>
>>>
>>> Summary: 1 task failed:
>>>
>>>
>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>>> ta.bb,
>>> do_populate_sdk
>>>
>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>>
>>>
>>>
>>> I am not able to install those packages as they say there are no
>>> installation candidate for them...
>>>
>>>
>>>
>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>>> <jessica.zhang@intel.com>
>>> wrote:
>>>
>>> Hi Satya,
>>>
>>>
>>>
>>> Use bitbake image-name -c populate_sdk, this allows you to create a
>>> toolchain with sysroot that match your target image that allows you to
>>> develop app against...
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Jessica
>>>
>>>
>>>
>>> From: yocto-bounces@yoctoproject.org
>>> [mailto:yocto-bounces@yoctoproject.org]
>>> On Behalf Of Satya Swaroop Damarla
>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>> To: yocto@yoctoproject.org
>>> Subject: [yocto] Application Development
>>>
>>>
>>>
>>> Hi Guys,
>>>
>>>
>>>
>>> I have an issue... I created a custom image based on NVIDIA Tegra2
>>> with a custom kernel. I installed  packages specific Tegra board and
>>> application specific. Now we want to send the baord and the new linux
>>> image for application development...
>>>
>>>
>>>
>>> As I went through ADT manual, I only found qemu based toolchains but I
>>> want to create toolchain based on my rootfs and kernel... so that the
>>> development team can develop a voip application for the board... I am
>>> kind of stuck how to proceed in this issue...
>>>
>>>
>>>
>>> I really need a small way out and hopefully I will catch things
>>> automatically..
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Satya
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>>
>> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang@intel.com> wrote:
>>> Yes, you need those packages in your sysroot for cross development.
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Jessica
>>>
>>>
>>>
>>> From: satyaswaroop.damarla@gmail.com
>>> [mailto:satyaswaroop.damarla@gmail.com]
>>> On Behalf Of DAMARLA Satya Swaroop
>>> Sent: Friday, June 07, 2013 12:10 AM
>>> To: Zhang, Jessica; yocto@yoctoproject.org
>>> Subject: Re: [yocto] Application Development
>>>
>>>
>>>
>>> SHould we install development and debigging pacakages in the images
>>> when we want to build a toolchain.. I mean this
>>>
>>>
>>>
>>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>>
>>> #                     (adds symbol information for debugging/profiling)
>>>
>>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>
>>> #                     (useful if you want to develop against libs in the
>>> image)
>>>
>>>
>>>
>>>
>>>
>>> Greets,
>>>
>>> Satya
>>>
>>>
>>>
>>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>> <swaroop.damarla@gmail.com> wrote:
>>>
>>> Hi Jessica & Philip,
>>>
>>>
>>>
>>> I have an issue... This is such a long error ... I even did a fresh
>>> build by deleting the "tmp" directory. The image build went very well
>>> but the toolchain is always giving me a error...
>>>
>>>
>>>
>>> | Selecting previously unselected package xz-dev.
>>>
>>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>
>>> | The following package disappeared from your system as
>>>
>>> | all files have been overwritten by other packages:
>>>
>>> |   avahi
>>>
>>> | log_check: Using
>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> 4066
>>> as logfile
>>>
>>> | Logfile is clean
>>>
>>> | Installing NATIVESDK packages
>>>
>>> | Ign file: ./ InRelease
>>>
>>> | Ign file: ./ InRelease
>>>
>>> | Ign file: ./ Release.gpg
>>>
>>> | Ign file: ./ Release.gpg
>>>
>>> | Get:1 file: ./ Release [24 B]
>>>
>>> | Get:2 file: ./ Release [11 B]
>>>
>>> | Ign file: ./ Translation-en
>>>
>>> | Ign file: ./ Translation-en
>>>
>>> | Reading package lists...
>>>
>>> | W: Ignoring Provides line with DepCompareOp for package
>>> nativesdk-pkgconfig__pkg-config__
>>>
>>> | W: You may want to run apt-get update to correct these problems
>>>
>>> | Reading package lists...
>>>
>>> | Building dependency tree...
>>>
>>> | Reading state information...
>>>
>>> | Some packages could not be installed. This may mean that you have
>>>
>>> | requested an impossible situation or if you are using the unstable
>>>
>>> | distribution that some required packages have not yet been created
>>>
>>> | or been moved out of Incoming.
>>>
>>> | The following information may help to resolve the situation:
>>>
>>> |
>>>
>>> | The following packages have unmet dependencies:
>>>
>>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>>> | but it
>>> is not installable
>>>
>>> |                                    Depends: gcc-cross-canadian-arm
>>> | but it
>>> is not installable
>>>
>>> |                                    Depends: meta-environment-arm but
>>> | it is
>>> not installable
>>>
>>> |                                    Depends:
>>> | binutils-cross-canadian-arm
>>> but it is not installable
>>>
>>> | W: Ignoring Provides line with DepCompareOp for package
>>> nativesdk-pkgconfig__pkg-config__
>>>
>>> | W: You may want to run apt-get update to correct these problems
>>>
>>> | E: Unable to correct problems, you have held broken packages.
>>>
>>> | DEBUG: Python function do_populate_sdk finished
>>>
>>> | ERROR: Function failed: populate_sdk_image (see
>>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> 4066
>>> for further information)
>>>
>>> ERROR: Task 10
>>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>>> ata.bb,
>>> do_populate_sdk) failed with exit code '1'
>>>
>>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>> be rerun and 1 failed.
>>>
>>>
>>>
>>> Summary: 1 task failed:
>>>
>>>
>>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>>> ta.bb,
>>> do_populate_sdk
>>>
>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>>
>>>
>>>
>>> I am not able to install those packages as they say there are no
>>> installation candidate for them...
>>>
>>>
>>>
>>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>>> <jessica.zhang@intel.com>
>>> wrote:
>>>
>>> Hi Satya,
>>>
>>>
>>>
>>> Use bitbake image-name -c populate_sdk, this allows you to create a
>>> toolchain with sysroot that match your target image that allows you to
>>> develop app against...
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Jessica
>>>
>>>
>>>
>>> From: yocto-bounces@yoctoproject.org
>>> [mailto:yocto-bounces@yoctoproject.org]
>>> On Behalf Of Satya Swaroop Damarla
>>> Sent: Wednesday, June 05, 2013 6:05 AM
>>> To: yocto@yoctoproject.org
>>> Subject: [yocto] Application Development
>>>
>>>
>>>
>>> Hi Guys,
>>>
>>>
>>>
>>> I have an issue... I created a custom image based on NVIDIA Tegra2
>>> with a custom kernel. I installed  packages specific Tegra board and
>>> application specific. Now we want to send the baord and the new linux
>>> image for application development...
>>>
>>>
>>>
>>> As I went through ADT manual, I only found qemu based toolchains but I
>>> want to create toolchain based on my rootfs and kernel... so that the
>>> development team can develop a voip application for the board... I am
>>> kind of stuck how to proceed in this issue...
>>>
>>>
>>>
>>> I really need a small way out and hopefully I will catch things
>>> automatically..
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Satya
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>


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

* Re: Application Development
       [not found]                 ` <CAFMfyzKgaoFNRjvw9qy14SmqXAqhWsHcBTaeZnMog1DUsaFLjQ@mail.gmail.com>
@ 2013-06-10 11:28                   ` Hans Beckérus
  2013-06-10 14:07                     ` Hans Beckérus
  0 siblings, 1 reply; 21+ messages in thread
From: Hans Beckérus @ 2013-06-10 11:28 UTC (permalink / raw)
  To: DAMARLA Satya Swaroop, yocto

On Mon, Jun 10, 2013 at 12:33 PM, DAMARLA Satya Swaroop
<satyaswaroop.damarla@gmail.com> wrote:
> I installed "dev-pkgs" in EXTRA_IMAGE_FEATURES ... and then build the
> toolchain, it was successfull....
>
That should already be provided by image.bbclass?
Checking the file packagegroup-cross-canadian.bbclass i found this

# For backwards compatibility after rename
RPROVIDES_${PN} = "task-cross-canadian-${TRANSLATED_TARGET_ARCH}"

RDEPENDS_${PN} = "\
    binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} \
    gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} \
    gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} \
    meta-environment-${TRANSLATED_TARGET_ARCH} \
    "

So, now I understand were the dependency to meta-environment-arm came
from. But how to resolve it?
Am I missing some package(s) in my environment? What *should* provide
meta-environment-arm?
All I can find under Poky is meta-environment.bb.

Hans

>
> On Mon, Jun 10, 2013 at 12:03 PM, Hans Beckérus <hans.beckerus@gmail.com>
> wrote:
>>
>> Any updates on this matter? Do I need to provide more information?
>> /Hans
>>
>> On Fri, Jun 7, 2013 at 4:29 PM, Hans Beckérus <hans.beckerus@gmail.com>
>> wrote:
>> > On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica <jessica.zhang@intel.com>
>> > wrote:
>> >> When you create your image, what profile did you use.  Are you building
>> >> one of our existing images, e.g. core-image-minimal, etc. or it's a
>> >> customized image and if so, how did you customize your image, via layer or
>> >> install extra packages?  I think x11 is brought in via some package
>> >> dependency.  You said you were able to build the image, was the x11 packages
>> >> there?  We're building a toolchain plus the sysroot that matching the rootfs
>> >> of your target image here so it's not just the toolchain that is built.
>> >>
>> >
>> > Hi Jessica.
>> >
>> > I am building my own image recipe that basically does:
>> >
>> > require recipes-core/images/core-image-minimal-mtdutils.bb
>> > IMAGE_FEATURES += " ssh-server-dropbear \
>> >                   "
>> >
>> > Its a console-only type of image for an embedded device with no
>> > graphic support what so ever.
>> > Building the the rootfs and booting it up on the device works fine.
>> > I have had no X11 dependency until I added tools-sdk to IMAGE_FEATURES
>> > as suggested.
>> > What I am after is a command-line-only toolchain which will be using
>> > the sysroot from my rootfs build.
>> > Maybe I am asking for something that is not supported?
>> >
>> > Hans
>> >
>> >
>> >> -----Original Message-----
>> >> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
>> >> Sent: Friday, June 07, 2013 7:09 AM
>> >> To: Zhang, Jessica
>> >> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
>> >> Subject: Re: [yocto] Application Development
>> >>
>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
>> >> <jessica.zhang@intel.com> wrote:
>> >>> Yes, you need those packages in your sysroot for cross development.
>> >>>
>> >>>
>> >> Ok. But out of curiosity, why should I need X11 packages for a simple
>> >> command-line based toolchain?
>> >> I assume that none of these X11 packages gets copied to my target
>> >> device rootfs, or?
>> >>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Jessica
>> >>>
>> >>>
>> >>>
>> >>> From: satyaswaroop.damarla@gmail.com
>> >>> [mailto:satyaswaroop.damarla@gmail.com]
>> >>> On Behalf Of DAMARLA Satya Swaroop
>> >>> Sent: Friday, June 07, 2013 12:10 AM
>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
>> >>> Subject: Re: [yocto] Application Development
>> >>>
>> >>>
>> >>>
>> >>> SHould we install development and debigging pacakages in the images
>> >>> when we want to build a toolchain.. I mean this
>> >>>
>> >>>
>> >>>
>> >>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>> >>>
>> >>> #                     (adds symbol information for
>> >>> debugging/profiling)
>> >>>
>> >>> #  "dev-pkgs"       - add -dev packages for all installed packages
>> >>>
>> >>> #                     (useful if you want to develop against libs in
>> >>> the
>> >>> image)
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Greets,
>> >>>
>> >>> Satya
>> >>>
>> >>>
>> >>>
>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>> >>> <swaroop.damarla@gmail.com> wrote:
>> >>>
>> >>> Hi Jessica & Philip,
>> >>>
>> >>>
>> >>>
>> >>> I have an issue... This is such a long error ... I even did a fresh
>> >>> build by deleting the "tmp" directory. The image build went very well
>> >>> but the toolchain is always giving me a error...
>> >>>
>> >>>
>> >>>
>> >>> | Selecting previously unselected package xz-dev.
>> >>>
>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>> >>>
>> >>> | The following package disappeared from your system as
>> >>>
>> >>> | all files have been overwritten by other packages:
>> >>>
>> >>> |   avahi
>> >>>
>> >>> | log_check: Using
>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> >>> 4066
>> >>> as logfile
>> >>>
>> >>> | Logfile is clean
>> >>>
>> >>> | Installing NATIVESDK packages
>> >>>
>> >>> | Ign file: ./ InRelease
>> >>>
>> >>> | Ign file: ./ InRelease
>> >>>
>> >>> | Ign file: ./ Release.gpg
>> >>>
>> >>> | Ign file: ./ Release.gpg
>> >>>
>> >>> | Get:1 file: ./ Release [24 B]
>> >>>
>> >>> | Get:2 file: ./ Release [11 B]
>> >>>
>> >>> | Ign file: ./ Translation-en
>> >>>
>> >>> | Ign file: ./ Translation-en
>> >>>
>> >>> | Reading package lists...
>> >>>
>> >>> | W: Ignoring Provides line with DepCompareOp for package
>> >>> nativesdk-pkgconfig__pkg-config__
>> >>>
>> >>> | W: You may want to run apt-get update to correct these problems
>> >>>
>> >>> | Reading package lists...
>> >>>
>> >>> | Building dependency tree...
>> >>>
>> >>> | Reading state information...
>> >>>
>> >>> | Some packages could not be installed. This may mean that you have
>> >>>
>> >>> | requested an impossible situation or if you are using the unstable
>> >>>
>> >>> | distribution that some required packages have not yet been created
>> >>>
>> >>> | or been moved out of Incoming.
>> >>>
>> >>> | The following information may help to resolve the situation:
>> >>>
>> >>> |
>> >>>
>> >>> | The following packages have unmet dependencies:
>> >>>
>> >>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>> >>> | but it
>> >>> is not installable
>> >>>
>> >>> |                                    Depends: gcc-cross-canadian-arm
>> >>> | but it
>> >>> is not installable
>> >>>
>> >>> |                                    Depends: meta-environment-arm but
>> >>> | it is
>> >>> not installable
>> >>>
>> >>> |                                    Depends:
>> >>> | binutils-cross-canadian-arm
>> >>> but it is not installable
>> >>>
>> >>> | W: Ignoring Provides line with DepCompareOp for package
>> >>> nativesdk-pkgconfig__pkg-config__
>> >>>
>> >>> | W: You may want to run apt-get update to correct these problems
>> >>>
>> >>> | E: Unable to correct problems, you have held broken packages.
>> >>>
>> >>> | DEBUG: Python function do_populate_sdk finished
>> >>>
>> >>> | ERROR: Function failed: populate_sdk_image (see
>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> >>> 4066
>> >>> for further information)
>> >>>
>> >>> ERROR: Task 10
>> >>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>> >>> ata.bb,
>> >>> do_populate_sdk) failed with exit code '1'
>> >>>
>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>> >>> be rerun and 1 failed.
>> >>>
>> >>>
>> >>>
>> >>> Summary: 1 task failed:
>> >>>
>> >>>
>> >>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>> >>> ta.bb,
>> >>> do_populate_sdk
>> >>>
>> >>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>> >>> code.
>> >>>
>> >>>
>> >>>
>> >>> I am not able to install those packages as they say there are no
>> >>> installation candidate for them...
>> >>>
>> >>>
>> >>>
>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>> >>> <jessica.zhang@intel.com>
>> >>> wrote:
>> >>>
>> >>> Hi Satya,
>> >>>
>> >>>
>> >>>
>> >>> Use bitbake image-name -c populate_sdk, this allows you to create a
>> >>> toolchain with sysroot that match your target image that allows you to
>> >>> develop app against...
>> >>>
>> >>>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Jessica
>> >>>
>> >>>
>> >>>
>> >>> From: yocto-bounces@yoctoproject.org
>> >>> [mailto:yocto-bounces@yoctoproject.org]
>> >>> On Behalf Of Satya Swaroop Damarla
>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
>> >>> To: yocto@yoctoproject.org
>> >>> Subject: [yocto] Application Development
>> >>>
>> >>>
>> >>>
>> >>> Hi Guys,
>> >>>
>> >>>
>> >>>
>> >>> I have an issue... I created a custom image based on NVIDIA Tegra2
>> >>> with a custom kernel. I installed  packages specific Tegra board and
>> >>> application specific. Now we want to send the baord and the new linux
>> >>> image for application development...
>> >>>
>> >>>
>> >>>
>> >>> As I went through ADT manual, I only found qemu based toolchains but I
>> >>> want to create toolchain based on my rootfs and kernel... so that the
>> >>> development team can develop a voip application for the board... I am
>> >>> kind of stuck how to proceed in this issue...
>> >>>
>> >>>
>> >>>
>> >>> I really need a small way out and hopefully I will catch things
>> >>> automatically..
>> >>>
>> >>>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Satya
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> yocto mailing list
>> >>> yocto@yoctoproject.org
>> >>> https://lists.yoctoproject.org/listinfo/yocto
>> >>>
>> >>
>> >>
>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
>> >> <jessica.zhang@intel.com> wrote:
>> >>> Yes, you need those packages in your sysroot for cross development.
>> >>>
>> >>>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Jessica
>> >>>
>> >>>
>> >>>
>> >>> From: satyaswaroop.damarla@gmail.com
>> >>> [mailto:satyaswaroop.damarla@gmail.com]
>> >>> On Behalf Of DAMARLA Satya Swaroop
>> >>> Sent: Friday, June 07, 2013 12:10 AM
>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
>> >>> Subject: Re: [yocto] Application Development
>> >>>
>> >>>
>> >>>
>> >>> SHould we install development and debigging pacakages in the images
>> >>> when we want to build a toolchain.. I mean this
>> >>>
>> >>>
>> >>>
>> >>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>> >>>
>> >>> #                     (adds symbol information for
>> >>> debugging/profiling)
>> >>>
>> >>> #  "dev-pkgs"       - add -dev packages for all installed packages
>> >>>
>> >>> #                     (useful if you want to develop against libs in
>> >>> the
>> >>> image)
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Greets,
>> >>>
>> >>> Satya
>> >>>
>> >>>
>> >>>
>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>> >>> <swaroop.damarla@gmail.com> wrote:
>> >>>
>> >>> Hi Jessica & Philip,
>> >>>
>> >>>
>> >>>
>> >>> I have an issue... This is such a long error ... I even did a fresh
>> >>> build by deleting the "tmp" directory. The image build went very well
>> >>> but the toolchain is always giving me a error...
>> >>>
>> >>>
>> >>>
>> >>> | Selecting previously unselected package xz-dev.
>> >>>
>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>> >>>
>> >>> | The following package disappeared from your system as
>> >>>
>> >>> | all files have been overwritten by other packages:
>> >>>
>> >>> |   avahi
>> >>>
>> >>> | log_check: Using
>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> >>> 4066
>> >>> as logfile
>> >>>
>> >>> | Logfile is clean
>> >>>
>> >>> | Installing NATIVESDK packages
>> >>>
>> >>> | Ign file: ./ InRelease
>> >>>
>> >>> | Ign file: ./ InRelease
>> >>>
>> >>> | Ign file: ./ Release.gpg
>> >>>
>> >>> | Ign file: ./ Release.gpg
>> >>>
>> >>> | Get:1 file: ./ Release [24 B]
>> >>>
>> >>> | Get:2 file: ./ Release [11 B]
>> >>>
>> >>> | Ign file: ./ Translation-en
>> >>>
>> >>> | Ign file: ./ Translation-en
>> >>>
>> >>> | Reading package lists...
>> >>>
>> >>> | W: Ignoring Provides line with DepCompareOp for package
>> >>> nativesdk-pkgconfig__pkg-config__
>> >>>
>> >>> | W: You may want to run apt-get update to correct these problems
>> >>>
>> >>> | Reading package lists...
>> >>>
>> >>> | Building dependency tree...
>> >>>
>> >>> | Reading state information...
>> >>>
>> >>> | Some packages could not be installed. This may mean that you have
>> >>>
>> >>> | requested an impossible situation or if you are using the unstable
>> >>>
>> >>> | distribution that some required packages have not yet been created
>> >>>
>> >>> | or been moved out of Incoming.
>> >>>
>> >>> | The following information may help to resolve the situation:
>> >>>
>> >>> |
>> >>>
>> >>> | The following packages have unmet dependencies:
>> >>>
>> >>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>> >>> | but it
>> >>> is not installable
>> >>>
>> >>> |                                    Depends: gcc-cross-canadian-arm
>> >>> | but it
>> >>> is not installable
>> >>>
>> >>> |                                    Depends: meta-environment-arm but
>> >>> | it is
>> >>> not installable
>> >>>
>> >>> |                                    Depends:
>> >>> | binutils-cross-canadian-arm
>> >>> but it is not installable
>> >>>
>> >>> | W: Ignoring Provides line with DepCompareOp for package
>> >>> nativesdk-pkgconfig__pkg-config__
>> >>>
>> >>> | W: You may want to run apt-get update to correct these problems
>> >>>
>> >>> | E: Unable to correct problems, you have held broken packages.
>> >>>
>> >>> | DEBUG: Python function do_populate_sdk finished
>> >>>
>> >>> | ERROR: Function failed: populate_sdk_image (see
>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> >>> 4066
>> >>> for further information)
>> >>>
>> >>> ERROR: Task 10
>> >>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>> >>> ata.bb,
>> >>> do_populate_sdk) failed with exit code '1'
>> >>>
>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>> >>> be rerun and 1 failed.
>> >>>
>> >>>
>> >>>
>> >>> Summary: 1 task failed:
>> >>>
>> >>>
>> >>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>> >>> ta.bb,
>> >>> do_populate_sdk
>> >>>
>> >>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>> >>> code.
>> >>>
>> >>>
>> >>>
>> >>> I am not able to install those packages as they say there are no
>> >>> installation candidate for them...
>> >>>
>> >>>
>> >>>
>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>> >>> <jessica.zhang@intel.com>
>> >>> wrote:
>> >>>
>> >>> Hi Satya,
>> >>>
>> >>>
>> >>>
>> >>> Use bitbake image-name -c populate_sdk, this allows you to create a
>> >>> toolchain with sysroot that match your target image that allows you to
>> >>> develop app against...
>> >>>
>> >>>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Jessica
>> >>>
>> >>>
>> >>>
>> >>> From: yocto-bounces@yoctoproject.org
>> >>> [mailto:yocto-bounces@yoctoproject.org]
>> >>> On Behalf Of Satya Swaroop Damarla
>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
>> >>> To: yocto@yoctoproject.org
>> >>> Subject: [yocto] Application Development
>> >>>
>> >>>
>> >>>
>> >>> Hi Guys,
>> >>>
>> >>>
>> >>>
>> >>> I have an issue... I created a custom image based on NVIDIA Tegra2
>> >>> with a custom kernel. I installed  packages specific Tegra board and
>> >>> application specific. Now we want to send the baord and the new linux
>> >>> image for application development...
>> >>>
>> >>>
>> >>>
>> >>> As I went through ADT manual, I only found qemu based toolchains but I
>> >>> want to create toolchain based on my rootfs and kernel... so that the
>> >>> development team can develop a voip application for the board... I am
>> >>> kind of stuck how to proceed in this issue...
>> >>>
>> >>>
>> >>>
>> >>> I really need a small way out and hopefully I will catch things
>> >>> automatically..
>> >>>
>> >>>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Satya
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> yocto mailing list
>> >>> yocto@yoctoproject.org
>> >>> https://lists.yoctoproject.org/listinfo/yocto
>> >>>
>> >
>> > On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica <jessica.zhang@intel.com>
>> > wrote:
>> >> When you create your image, what profile did you use.  Are you building
>> >> one of our existing images, e.g. core-image-minimal, etc. or it's a
>> >> customized image and if so, how did you customize your image, via layer or
>> >> install extra packages?  I think x11 is brought in via some package
>> >> dependency.  You said you were able to build the image, was the x11 packages
>> >> there?  We're building a toolchain plus the sysroot that matching the rootfs
>> >> of your target image here so it's not just the toolchain that is built.
>> >>
>> >> -----Original Message-----
>> >> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
>> >> Sent: Friday, June 07, 2013 7:09 AM
>> >> To: Zhang, Jessica
>> >> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
>> >> Subject: Re: [yocto] Application Development
>> >>
>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
>> >> <jessica.zhang@intel.com> wrote:
>> >>> Yes, you need those packages in your sysroot for cross development.
>> >>>
>> >>>
>> >> Ok. But out of curiosity, why should I need X11 packages for a simple
>> >> command-line based toolchain?
>> >> I assume that none of these X11 packages gets copied to my target
>> >> device rootfs, or?
>> >>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Jessica
>> >>>
>> >>>
>> >>>
>> >>> From: satyaswaroop.damarla@gmail.com
>> >>> [mailto:satyaswaroop.damarla@gmail.com]
>> >>> On Behalf Of DAMARLA Satya Swaroop
>> >>> Sent: Friday, June 07, 2013 12:10 AM
>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
>> >>> Subject: Re: [yocto] Application Development
>> >>>
>> >>>
>> >>>
>> >>> SHould we install development and debigging pacakages in the images
>> >>> when we want to build a toolchain.. I mean this
>> >>>
>> >>>
>> >>>
>> >>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>> >>>
>> >>> #                     (adds symbol information for
>> >>> debugging/profiling)
>> >>>
>> >>> #  "dev-pkgs"       - add -dev packages for all installed packages
>> >>>
>> >>> #                     (useful if you want to develop against libs in
>> >>> the
>> >>> image)
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Greets,
>> >>>
>> >>> Satya
>> >>>
>> >>>
>> >>>
>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>> >>> <swaroop.damarla@gmail.com> wrote:
>> >>>
>> >>> Hi Jessica & Philip,
>> >>>
>> >>>
>> >>>
>> >>> I have an issue... This is such a long error ... I even did a fresh
>> >>> build by deleting the "tmp" directory. The image build went very well
>> >>> but the toolchain is always giving me a error...
>> >>>
>> >>>
>> >>>
>> >>> | Selecting previously unselected package xz-dev.
>> >>>
>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>> >>>
>> >>> | The following package disappeared from your system as
>> >>>
>> >>> | all files have been overwritten by other packages:
>> >>>
>> >>> |   avahi
>> >>>
>> >>> | log_check: Using
>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> >>> 4066
>> >>> as logfile
>> >>>
>> >>> | Logfile is clean
>> >>>
>> >>> | Installing NATIVESDK packages
>> >>>
>> >>> | Ign file: ./ InRelease
>> >>>
>> >>> | Ign file: ./ InRelease
>> >>>
>> >>> | Ign file: ./ Release.gpg
>> >>>
>> >>> | Ign file: ./ Release.gpg
>> >>>
>> >>> | Get:1 file: ./ Release [24 B]
>> >>>
>> >>> | Get:2 file: ./ Release [11 B]
>> >>>
>> >>> | Ign file: ./ Translation-en
>> >>>
>> >>> | Ign file: ./ Translation-en
>> >>>
>> >>> | Reading package lists...
>> >>>
>> >>> | W: Ignoring Provides line with DepCompareOp for package
>> >>> nativesdk-pkgconfig__pkg-config__
>> >>>
>> >>> | W: You may want to run apt-get update to correct these problems
>> >>>
>> >>> | Reading package lists...
>> >>>
>> >>> | Building dependency tree...
>> >>>
>> >>> | Reading state information...
>> >>>
>> >>> | Some packages could not be installed. This may mean that you have
>> >>>
>> >>> | requested an impossible situation or if you are using the unstable
>> >>>
>> >>> | distribution that some required packages have not yet been created
>> >>>
>> >>> | or been moved out of Incoming.
>> >>>
>> >>> | The following information may help to resolve the situation:
>> >>>
>> >>> |
>> >>>
>> >>> | The following packages have unmet dependencies:
>> >>>
>> >>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>> >>> | but it
>> >>> is not installable
>> >>>
>> >>> |                                    Depends: gcc-cross-canadian-arm
>> >>> | but it
>> >>> is not installable
>> >>>
>> >>> |                                    Depends: meta-environment-arm but
>> >>> | it is
>> >>> not installable
>> >>>
>> >>> |                                    Depends:
>> >>> | binutils-cross-canadian-arm
>> >>> but it is not installable
>> >>>
>> >>> | W: Ignoring Provides line with DepCompareOp for package
>> >>> nativesdk-pkgconfig__pkg-config__
>> >>>
>> >>> | W: You may want to run apt-get update to correct these problems
>> >>>
>> >>> | E: Unable to correct problems, you have held broken packages.
>> >>>
>> >>> | DEBUG: Python function do_populate_sdk finished
>> >>>
>> >>> | ERROR: Function failed: populate_sdk_image (see
>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> >>> 4066
>> >>> for further information)
>> >>>
>> >>> ERROR: Task 10
>> >>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>> >>> ata.bb,
>> >>> do_populate_sdk) failed with exit code '1'
>> >>>
>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>> >>> be rerun and 1 failed.
>> >>>
>> >>>
>> >>>
>> >>> Summary: 1 task failed:
>> >>>
>> >>>
>> >>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>> >>> ta.bb,
>> >>> do_populate_sdk
>> >>>
>> >>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>> >>> code.
>> >>>
>> >>>
>> >>>
>> >>> I am not able to install those packages as they say there are no
>> >>> installation candidate for them...
>> >>>
>> >>>
>> >>>
>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>> >>> <jessica.zhang@intel.com>
>> >>> wrote:
>> >>>
>> >>> Hi Satya,
>> >>>
>> >>>
>> >>>
>> >>> Use bitbake image-name -c populate_sdk, this allows you to create a
>> >>> toolchain with sysroot that match your target image that allows you to
>> >>> develop app against...
>> >>>
>> >>>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Jessica
>> >>>
>> >>>
>> >>>
>> >>> From: yocto-bounces@yoctoproject.org
>> >>> [mailto:yocto-bounces@yoctoproject.org]
>> >>> On Behalf Of Satya Swaroop Damarla
>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
>> >>> To: yocto@yoctoproject.org
>> >>> Subject: [yocto] Application Development
>> >>>
>> >>>
>> >>>
>> >>> Hi Guys,
>> >>>
>> >>>
>> >>>
>> >>> I have an issue... I created a custom image based on NVIDIA Tegra2
>> >>> with a custom kernel. I installed  packages specific Tegra board and
>> >>> application specific. Now we want to send the baord and the new linux
>> >>> image for application development...
>> >>>
>> >>>
>> >>>
>> >>> As I went through ADT manual, I only found qemu based toolchains but I
>> >>> want to create toolchain based on my rootfs and kernel... so that the
>> >>> development team can develop a voip application for the board... I am
>> >>> kind of stuck how to proceed in this issue...
>> >>>
>> >>>
>> >>>
>> >>> I really need a small way out and hopefully I will catch things
>> >>> automatically..
>> >>>
>> >>>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Satya
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> yocto mailing list
>> >>> yocto@yoctoproject.org
>> >>> https://lists.yoctoproject.org/listinfo/yocto
>> >>>
>> >>
>> >>
>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
>> >> <jessica.zhang@intel.com> wrote:
>> >>> Yes, you need those packages in your sysroot for cross development.
>> >>>
>> >>>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Jessica
>> >>>
>> >>>
>> >>>
>> >>> From: satyaswaroop.damarla@gmail.com
>> >>> [mailto:satyaswaroop.damarla@gmail.com]
>> >>> On Behalf Of DAMARLA Satya Swaroop
>> >>> Sent: Friday, June 07, 2013 12:10 AM
>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
>> >>> Subject: Re: [yocto] Application Development
>> >>>
>> >>>
>> >>>
>> >>> SHould we install development and debigging pacakages in the images
>> >>> when we want to build a toolchain.. I mean this
>> >>>
>> >>>
>> >>>
>> >>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>> >>>
>> >>> #                     (adds symbol information for
>> >>> debugging/profiling)
>> >>>
>> >>> #  "dev-pkgs"       - add -dev packages for all installed packages
>> >>>
>> >>> #                     (useful if you want to develop against libs in
>> >>> the
>> >>> image)
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Greets,
>> >>>
>> >>> Satya
>> >>>
>> >>>
>> >>>
>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>> >>> <swaroop.damarla@gmail.com> wrote:
>> >>>
>> >>> Hi Jessica & Philip,
>> >>>
>> >>>
>> >>>
>> >>> I have an issue... This is such a long error ... I even did a fresh
>> >>> build by deleting the "tmp" directory. The image build went very well
>> >>> but the toolchain is always giving me a error...
>> >>>
>> >>>
>> >>>
>> >>> | Selecting previously unselected package xz-dev.
>> >>>
>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>> >>>
>> >>> | The following package disappeared from your system as
>> >>>
>> >>> | all files have been overwritten by other packages:
>> >>>
>> >>> |   avahi
>> >>>
>> >>> | log_check: Using
>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> >>> 4066
>> >>> as logfile
>> >>>
>> >>> | Logfile is clean
>> >>>
>> >>> | Installing NATIVESDK packages
>> >>>
>> >>> | Ign file: ./ InRelease
>> >>>
>> >>> | Ign file: ./ InRelease
>> >>>
>> >>> | Ign file: ./ Release.gpg
>> >>>
>> >>> | Ign file: ./ Release.gpg
>> >>>
>> >>> | Get:1 file: ./ Release [24 B]
>> >>>
>> >>> | Get:2 file: ./ Release [11 B]
>> >>>
>> >>> | Ign file: ./ Translation-en
>> >>>
>> >>> | Ign file: ./ Translation-en
>> >>>
>> >>> | Reading package lists...
>> >>>
>> >>> | W: Ignoring Provides line with DepCompareOp for package
>> >>> nativesdk-pkgconfig__pkg-config__
>> >>>
>> >>> | W: You may want to run apt-get update to correct these problems
>> >>>
>> >>> | Reading package lists...
>> >>>
>> >>> | Building dependency tree...
>> >>>
>> >>> | Reading state information...
>> >>>
>> >>> | Some packages could not be installed. This may mean that you have
>> >>>
>> >>> | requested an impossible situation or if you are using the unstable
>> >>>
>> >>> | distribution that some required packages have not yet been created
>> >>>
>> >>> | or been moved out of Incoming.
>> >>>
>> >>> | The following information may help to resolve the situation:
>> >>>
>> >>> |
>> >>>
>> >>> | The following packages have unmet dependencies:
>> >>>
>> >>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>> >>> | but it
>> >>> is not installable
>> >>>
>> >>> |                                    Depends: gcc-cross-canadian-arm
>> >>> | but it
>> >>> is not installable
>> >>>
>> >>> |                                    Depends: meta-environment-arm but
>> >>> | it is
>> >>> not installable
>> >>>
>> >>> |                                    Depends:
>> >>> | binutils-cross-canadian-arm
>> >>> but it is not installable
>> >>>
>> >>> | W: Ignoring Provides line with DepCompareOp for package
>> >>> nativesdk-pkgconfig__pkg-config__
>> >>>
>> >>> | W: You may want to run apt-get update to correct these problems
>> >>>
>> >>> | E: Unable to correct problems, you have held broken packages.
>> >>>
>> >>> | DEBUG: Python function do_populate_sdk finished
>> >>>
>> >>> | ERROR: Function failed: populate_sdk_image (see
>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>> >>> 4066
>> >>> for further information)
>> >>>
>> >>> ERROR: Task 10
>> >>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>> >>> ata.bb,
>> >>> do_populate_sdk) failed with exit code '1'
>> >>>
>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>> >>> be rerun and 1 failed.
>> >>>
>> >>>
>> >>>
>> >>> Summary: 1 task failed:
>> >>>
>> >>>
>> >>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>> >>> ta.bb,
>> >>> do_populate_sdk
>> >>>
>> >>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>> >>> code.
>> >>>
>> >>>
>> >>>
>> >>> I am not able to install those packages as they say there are no
>> >>> installation candidate for them...
>> >>>
>> >>>
>> >>>
>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>> >>> <jessica.zhang@intel.com>
>> >>> wrote:
>> >>>
>> >>> Hi Satya,
>> >>>
>> >>>
>> >>>
>> >>> Use bitbake image-name -c populate_sdk, this allows you to create a
>> >>> toolchain with sysroot that match your target image that allows you to
>> >>> develop app against...
>> >>>
>> >>>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Jessica
>> >>>
>> >>>
>> >>>
>> >>> From: yocto-bounces@yoctoproject.org
>> >>> [mailto:yocto-bounces@yoctoproject.org]
>> >>> On Behalf Of Satya Swaroop Damarla
>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
>> >>> To: yocto@yoctoproject.org
>> >>> Subject: [yocto] Application Development
>> >>>
>> >>>
>> >>>
>> >>> Hi Guys,
>> >>>
>> >>>
>> >>>
>> >>> I have an issue... I created a custom image based on NVIDIA Tegra2
>> >>> with a custom kernel. I installed  packages specific Tegra board and
>> >>> application specific. Now we want to send the baord and the new linux
>> >>> image for application development...
>> >>>
>> >>>
>> >>>
>> >>> As I went through ADT manual, I only found qemu based toolchains but I
>> >>> want to create toolchain based on my rootfs and kernel... so that the
>> >>> development team can develop a voip application for the board... I am
>> >>> kind of stuck how to proceed in this issue...
>> >>>
>> >>>
>> >>>
>> >>> I really need a small way out and hopefully I will catch things
>> >>> automatically..
>> >>>
>> >>>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Satya
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> yocto mailing list
>> >>> yocto@yoctoproject.org
>> >>> https://lists.yoctoproject.org/listinfo/yocto
>> >>>
>
>


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

* Re: Application Development
  2013-06-10 11:28                   ` Hans Beckérus
@ 2013-06-10 14:07                     ` Hans Beckérus
  2013-06-10 21:55                       ` Jeff Osier-Mixon
       [not found]                       ` <CAFMfyzKTxfLECC+inGzBbNGM8z9oaV--MV=rh_movEHGr6hR9Q@mail.gmail.com>
  0 siblings, 2 replies; 21+ messages in thread
From: Hans Beckérus @ 2013-06-10 14:07 UTC (permalink / raw)
  To: DAMARLA Satya Swaroop, yocto

[SOLVED]

Now it works! I do not know how my poky environment got polluted, but
after doing
  bitbake -c cleanall meta-environment-arm
  bitbake -c cleanall sdk-gnu-config
building the SDK passed without errors and I got my installation in deploy/sdk.
Even tried if for a small test application and it seems to work fine :)

So no need to add sdk-tools, all that I have is what is added to
SDKIMAGE_FEATURES by image.bbclass which is dev-pkgs and dbg-pkgs.


Hans

On Mon, Jun 10, 2013 at 1:28 PM, Hans Beckérus <hans.beckerus@gmail.com> wrote:
> On Mon, Jun 10, 2013 at 12:33 PM, DAMARLA Satya Swaroop
> <satyaswaroop.damarla@gmail.com> wrote:
>> I installed "dev-pkgs" in EXTRA_IMAGE_FEATURES ... and then build the
>> toolchain, it was successfull....
>>
> That should already be provided by image.bbclass?
> Checking the file packagegroup-cross-canadian.bbclass i found this
>
> # For backwards compatibility after rename
> RPROVIDES_${PN} = "task-cross-canadian-${TRANSLATED_TARGET_ARCH}"
>
> RDEPENDS_${PN} = "\
>     binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} \
>     gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} \
>     gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} \
>     meta-environment-${TRANSLATED_TARGET_ARCH} \
>     "
>
> So, now I understand were the dependency to meta-environment-arm came
> from. But how to resolve it?
> Am I missing some package(s) in my environment? What *should* provide
> meta-environment-arm?
> All I can find under Poky is meta-environment.bb.
>
> Hans
>
>>
>> On Mon, Jun 10, 2013 at 12:03 PM, Hans Beckérus <hans.beckerus@gmail.com>
>> wrote:
>>>
>>> Any updates on this matter? Do I need to provide more information?
>>> /Hans
>>>
>>> On Fri, Jun 7, 2013 at 4:29 PM, Hans Beckérus <hans.beckerus@gmail.com>
>>> wrote:
>>> > On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica <jessica.zhang@intel.com>
>>> > wrote:
>>> >> When you create your image, what profile did you use.  Are you building
>>> >> one of our existing images, e.g. core-image-minimal, etc. or it's a
>>> >> customized image and if so, how did you customize your image, via layer or
>>> >> install extra packages?  I think x11 is brought in via some package
>>> >> dependency.  You said you were able to build the image, was the x11 packages
>>> >> there?  We're building a toolchain plus the sysroot that matching the rootfs
>>> >> of your target image here so it's not just the toolchain that is built.
>>> >>
>>> >
>>> > Hi Jessica.
>>> >
>>> > I am building my own image recipe that basically does:
>>> >
>>> > require recipes-core/images/core-image-minimal-mtdutils.bb
>>> > IMAGE_FEATURES += " ssh-server-dropbear \
>>> >                   "
>>> >
>>> > Its a console-only type of image for an embedded device with no
>>> > graphic support what so ever.
>>> > Building the the rootfs and booting it up on the device works fine.
>>> > I have had no X11 dependency until I added tools-sdk to IMAGE_FEATURES
>>> > as suggested.
>>> > What I am after is a command-line-only toolchain which will be using
>>> > the sysroot from my rootfs build.
>>> > Maybe I am asking for something that is not supported?
>>> >
>>> > Hans
>>> >
>>> >
>>> >> -----Original Message-----
>>> >> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
>>> >> Sent: Friday, June 07, 2013 7:09 AM
>>> >> To: Zhang, Jessica
>>> >> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
>>> >> Subject: Re: [yocto] Application Development
>>> >>
>>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
>>> >> <jessica.zhang@intel.com> wrote:
>>> >>> Yes, you need those packages in your sysroot for cross development.
>>> >>>
>>> >>>
>>> >> Ok. But out of curiosity, why should I need X11 packages for a simple
>>> >> command-line based toolchain?
>>> >> I assume that none of these X11 packages gets copied to my target
>>> >> device rootfs, or?
>>> >>
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Jessica
>>> >>>
>>> >>>
>>> >>>
>>> >>> From: satyaswaroop.damarla@gmail.com
>>> >>> [mailto:satyaswaroop.damarla@gmail.com]
>>> >>> On Behalf Of DAMARLA Satya Swaroop
>>> >>> Sent: Friday, June 07, 2013 12:10 AM
>>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
>>> >>> Subject: Re: [yocto] Application Development
>>> >>>
>>> >>>
>>> >>>
>>> >>> SHould we install development and debigging pacakages in the images
>>> >>> when we want to build a toolchain.. I mean this
>>> >>>
>>> >>>
>>> >>>
>>> >>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>> >>>
>>> >>> #                     (adds symbol information for
>>> >>> debugging/profiling)
>>> >>>
>>> >>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>> >>>
>>> >>> #                     (useful if you want to develop against libs in
>>> >>> the
>>> >>> image)
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> Greets,
>>> >>>
>>> >>> Satya
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>> >>> <swaroop.damarla@gmail.com> wrote:
>>> >>>
>>> >>> Hi Jessica & Philip,
>>> >>>
>>> >>>
>>> >>>
>>> >>> I have an issue... This is such a long error ... I even did a fresh
>>> >>> build by deleting the "tmp" directory. The image build went very well
>>> >>> but the toolchain is always giving me a error...
>>> >>>
>>> >>>
>>> >>>
>>> >>> | Selecting previously unselected package xz-dev.
>>> >>>
>>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>> >>>
>>> >>> | The following package disappeared from your system as
>>> >>>
>>> >>> | all files have been overwritten by other packages:
>>> >>>
>>> >>> |   avahi
>>> >>>
>>> >>> | log_check: Using
>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> >>> 4066
>>> >>> as logfile
>>> >>>
>>> >>> | Logfile is clean
>>> >>>
>>> >>> | Installing NATIVESDK packages
>>> >>>
>>> >>> | Ign file: ./ InRelease
>>> >>>
>>> >>> | Ign file: ./ InRelease
>>> >>>
>>> >>> | Ign file: ./ Release.gpg
>>> >>>
>>> >>> | Ign file: ./ Release.gpg
>>> >>>
>>> >>> | Get:1 file: ./ Release [24 B]
>>> >>>
>>> >>> | Get:2 file: ./ Release [11 B]
>>> >>>
>>> >>> | Ign file: ./ Translation-en
>>> >>>
>>> >>> | Ign file: ./ Translation-en
>>> >>>
>>> >>> | Reading package lists...
>>> >>>
>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>> >>> nativesdk-pkgconfig__pkg-config__
>>> >>>
>>> >>> | W: You may want to run apt-get update to correct these problems
>>> >>>
>>> >>> | Reading package lists...
>>> >>>
>>> >>> | Building dependency tree...
>>> >>>
>>> >>> | Reading state information...
>>> >>>
>>> >>> | Some packages could not be installed. This may mean that you have
>>> >>>
>>> >>> | requested an impossible situation or if you are using the unstable
>>> >>>
>>> >>> | distribution that some required packages have not yet been created
>>> >>>
>>> >>> | or been moved out of Incoming.
>>> >>>
>>> >>> | The following information may help to resolve the situation:
>>> >>>
>>> >>> |
>>> >>>
>>> >>> | The following packages have unmet dependencies:
>>> >>>
>>> >>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>>> >>> | but it
>>> >>> is not installable
>>> >>>
>>> >>> |                                    Depends: gcc-cross-canadian-arm
>>> >>> | but it
>>> >>> is not installable
>>> >>>
>>> >>> |                                    Depends: meta-environment-arm but
>>> >>> | it is
>>> >>> not installable
>>> >>>
>>> >>> |                                    Depends:
>>> >>> | binutils-cross-canadian-arm
>>> >>> but it is not installable
>>> >>>
>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>> >>> nativesdk-pkgconfig__pkg-config__
>>> >>>
>>> >>> | W: You may want to run apt-get update to correct these problems
>>> >>>
>>> >>> | E: Unable to correct problems, you have held broken packages.
>>> >>>
>>> >>> | DEBUG: Python function do_populate_sdk finished
>>> >>>
>>> >>> | ERROR: Function failed: populate_sdk_image (see
>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> >>> 4066
>>> >>> for further information)
>>> >>>
>>> >>> ERROR: Task 10
>>> >>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>>> >>> ata.bb,
>>> >>> do_populate_sdk) failed with exit code '1'
>>> >>>
>>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>> >>> be rerun and 1 failed.
>>> >>>
>>> >>>
>>> >>>
>>> >>> Summary: 1 task failed:
>>> >>>
>>> >>>
>>> >>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>>> >>> ta.bb,
>>> >>> do_populate_sdk
>>> >>>
>>> >>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>> >>> code.
>>> >>>
>>> >>>
>>> >>>
>>> >>> I am not able to install those packages as they say there are no
>>> >>> installation candidate for them...
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>>> >>> <jessica.zhang@intel.com>
>>> >>> wrote:
>>> >>>
>>> >>> Hi Satya,
>>> >>>
>>> >>>
>>> >>>
>>> >>> Use bitbake image-name -c populate_sdk, this allows you to create a
>>> >>> toolchain with sysroot that match your target image that allows you to
>>> >>> develop app against...
>>> >>>
>>> >>>
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Jessica
>>> >>>
>>> >>>
>>> >>>
>>> >>> From: yocto-bounces@yoctoproject.org
>>> >>> [mailto:yocto-bounces@yoctoproject.org]
>>> >>> On Behalf Of Satya Swaroop Damarla
>>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
>>> >>> To: yocto@yoctoproject.org
>>> >>> Subject: [yocto] Application Development
>>> >>>
>>> >>>
>>> >>>
>>> >>> Hi Guys,
>>> >>>
>>> >>>
>>> >>>
>>> >>> I have an issue... I created a custom image based on NVIDIA Tegra2
>>> >>> with a custom kernel. I installed  packages specific Tegra board and
>>> >>> application specific. Now we want to send the baord and the new linux
>>> >>> image for application development...
>>> >>>
>>> >>>
>>> >>>
>>> >>> As I went through ADT manual, I only found qemu based toolchains but I
>>> >>> want to create toolchain based on my rootfs and kernel... so that the
>>> >>> development team can develop a voip application for the board... I am
>>> >>> kind of stuck how to proceed in this issue...
>>> >>>
>>> >>>
>>> >>>
>>> >>> I really need a small way out and hopefully I will catch things
>>> >>> automatically..
>>> >>>
>>> >>>
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Satya
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> _______________________________________________
>>> >>> yocto mailing list
>>> >>> yocto@yoctoproject.org
>>> >>> https://lists.yoctoproject.org/listinfo/yocto
>>> >>>
>>> >>
>>> >>
>>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
>>> >> <jessica.zhang@intel.com> wrote:
>>> >>> Yes, you need those packages in your sysroot for cross development.
>>> >>>
>>> >>>
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Jessica
>>> >>>
>>> >>>
>>> >>>
>>> >>> From: satyaswaroop.damarla@gmail.com
>>> >>> [mailto:satyaswaroop.damarla@gmail.com]
>>> >>> On Behalf Of DAMARLA Satya Swaroop
>>> >>> Sent: Friday, June 07, 2013 12:10 AM
>>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
>>> >>> Subject: Re: [yocto] Application Development
>>> >>>
>>> >>>
>>> >>>
>>> >>> SHould we install development and debigging pacakages in the images
>>> >>> when we want to build a toolchain.. I mean this
>>> >>>
>>> >>>
>>> >>>
>>> >>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>> >>>
>>> >>> #                     (adds symbol information for
>>> >>> debugging/profiling)
>>> >>>
>>> >>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>> >>>
>>> >>> #                     (useful if you want to develop against libs in
>>> >>> the
>>> >>> image)
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> Greets,
>>> >>>
>>> >>> Satya
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>> >>> <swaroop.damarla@gmail.com> wrote:
>>> >>>
>>> >>> Hi Jessica & Philip,
>>> >>>
>>> >>>
>>> >>>
>>> >>> I have an issue... This is such a long error ... I even did a fresh
>>> >>> build by deleting the "tmp" directory. The image build went very well
>>> >>> but the toolchain is always giving me a error...
>>> >>>
>>> >>>
>>> >>>
>>> >>> | Selecting previously unselected package xz-dev.
>>> >>>
>>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>> >>>
>>> >>> | The following package disappeared from your system as
>>> >>>
>>> >>> | all files have been overwritten by other packages:
>>> >>>
>>> >>> |   avahi
>>> >>>
>>> >>> | log_check: Using
>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> >>> 4066
>>> >>> as logfile
>>> >>>
>>> >>> | Logfile is clean
>>> >>>
>>> >>> | Installing NATIVESDK packages
>>> >>>
>>> >>> | Ign file: ./ InRelease
>>> >>>
>>> >>> | Ign file: ./ InRelease
>>> >>>
>>> >>> | Ign file: ./ Release.gpg
>>> >>>
>>> >>> | Ign file: ./ Release.gpg
>>> >>>
>>> >>> | Get:1 file: ./ Release [24 B]
>>> >>>
>>> >>> | Get:2 file: ./ Release [11 B]
>>> >>>
>>> >>> | Ign file: ./ Translation-en
>>> >>>
>>> >>> | Ign file: ./ Translation-en
>>> >>>
>>> >>> | Reading package lists...
>>> >>>
>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>> >>> nativesdk-pkgconfig__pkg-config__
>>> >>>
>>> >>> | W: You may want to run apt-get update to correct these problems
>>> >>>
>>> >>> | Reading package lists...
>>> >>>
>>> >>> | Building dependency tree...
>>> >>>
>>> >>> | Reading state information...
>>> >>>
>>> >>> | Some packages could not be installed. This may mean that you have
>>> >>>
>>> >>> | requested an impossible situation or if you are using the unstable
>>> >>>
>>> >>> | distribution that some required packages have not yet been created
>>> >>>
>>> >>> | or been moved out of Incoming.
>>> >>>
>>> >>> | The following information may help to resolve the situation:
>>> >>>
>>> >>> |
>>> >>>
>>> >>> | The following packages have unmet dependencies:
>>> >>>
>>> >>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>>> >>> | but it
>>> >>> is not installable
>>> >>>
>>> >>> |                                    Depends: gcc-cross-canadian-arm
>>> >>> | but it
>>> >>> is not installable
>>> >>>
>>> >>> |                                    Depends: meta-environment-arm but
>>> >>> | it is
>>> >>> not installable
>>> >>>
>>> >>> |                                    Depends:
>>> >>> | binutils-cross-canadian-arm
>>> >>> but it is not installable
>>> >>>
>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>> >>> nativesdk-pkgconfig__pkg-config__
>>> >>>
>>> >>> | W: You may want to run apt-get update to correct these problems
>>> >>>
>>> >>> | E: Unable to correct problems, you have held broken packages.
>>> >>>
>>> >>> | DEBUG: Python function do_populate_sdk finished
>>> >>>
>>> >>> | ERROR: Function failed: populate_sdk_image (see
>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> >>> 4066
>>> >>> for further information)
>>> >>>
>>> >>> ERROR: Task 10
>>> >>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>>> >>> ata.bb,
>>> >>> do_populate_sdk) failed with exit code '1'
>>> >>>
>>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>> >>> be rerun and 1 failed.
>>> >>>
>>> >>>
>>> >>>
>>> >>> Summary: 1 task failed:
>>> >>>
>>> >>>
>>> >>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>>> >>> ta.bb,
>>> >>> do_populate_sdk
>>> >>>
>>> >>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>> >>> code.
>>> >>>
>>> >>>
>>> >>>
>>> >>> I am not able to install those packages as they say there are no
>>> >>> installation candidate for them...
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>>> >>> <jessica.zhang@intel.com>
>>> >>> wrote:
>>> >>>
>>> >>> Hi Satya,
>>> >>>
>>> >>>
>>> >>>
>>> >>> Use bitbake image-name -c populate_sdk, this allows you to create a
>>> >>> toolchain with sysroot that match your target image that allows you to
>>> >>> develop app against...
>>> >>>
>>> >>>
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Jessica
>>> >>>
>>> >>>
>>> >>>
>>> >>> From: yocto-bounces@yoctoproject.org
>>> >>> [mailto:yocto-bounces@yoctoproject.org]
>>> >>> On Behalf Of Satya Swaroop Damarla
>>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
>>> >>> To: yocto@yoctoproject.org
>>> >>> Subject: [yocto] Application Development
>>> >>>
>>> >>>
>>> >>>
>>> >>> Hi Guys,
>>> >>>
>>> >>>
>>> >>>
>>> >>> I have an issue... I created a custom image based on NVIDIA Tegra2
>>> >>> with a custom kernel. I installed  packages specific Tegra board and
>>> >>> application specific. Now we want to send the baord and the new linux
>>> >>> image for application development...
>>> >>>
>>> >>>
>>> >>>
>>> >>> As I went through ADT manual, I only found qemu based toolchains but I
>>> >>> want to create toolchain based on my rootfs and kernel... so that the
>>> >>> development team can develop a voip application for the board... I am
>>> >>> kind of stuck how to proceed in this issue...
>>> >>>
>>> >>>
>>> >>>
>>> >>> I really need a small way out and hopefully I will catch things
>>> >>> automatically..
>>> >>>
>>> >>>
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Satya
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> _______________________________________________
>>> >>> yocto mailing list
>>> >>> yocto@yoctoproject.org
>>> >>> https://lists.yoctoproject.org/listinfo/yocto
>>> >>>
>>> >
>>> > On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica <jessica.zhang@intel.com>
>>> > wrote:
>>> >> When you create your image, what profile did you use.  Are you building
>>> >> one of our existing images, e.g. core-image-minimal, etc. or it's a
>>> >> customized image and if so, how did you customize your image, via layer or
>>> >> install extra packages?  I think x11 is brought in via some package
>>> >> dependency.  You said you were able to build the image, was the x11 packages
>>> >> there?  We're building a toolchain plus the sysroot that matching the rootfs
>>> >> of your target image here so it's not just the toolchain that is built.
>>> >>
>>> >> -----Original Message-----
>>> >> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
>>> >> Sent: Friday, June 07, 2013 7:09 AM
>>> >> To: Zhang, Jessica
>>> >> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
>>> >> Subject: Re: [yocto] Application Development
>>> >>
>>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
>>> >> <jessica.zhang@intel.com> wrote:
>>> >>> Yes, you need those packages in your sysroot for cross development.
>>> >>>
>>> >>>
>>> >> Ok. But out of curiosity, why should I need X11 packages for a simple
>>> >> command-line based toolchain?
>>> >> I assume that none of these X11 packages gets copied to my target
>>> >> device rootfs, or?
>>> >>
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Jessica
>>> >>>
>>> >>>
>>> >>>
>>> >>> From: satyaswaroop.damarla@gmail.com
>>> >>> [mailto:satyaswaroop.damarla@gmail.com]
>>> >>> On Behalf Of DAMARLA Satya Swaroop
>>> >>> Sent: Friday, June 07, 2013 12:10 AM
>>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
>>> >>> Subject: Re: [yocto] Application Development
>>> >>>
>>> >>>
>>> >>>
>>> >>> SHould we install development and debigging pacakages in the images
>>> >>> when we want to build a toolchain.. I mean this
>>> >>>
>>> >>>
>>> >>>
>>> >>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>> >>>
>>> >>> #                     (adds symbol information for
>>> >>> debugging/profiling)
>>> >>>
>>> >>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>> >>>
>>> >>> #                     (useful if you want to develop against libs in
>>> >>> the
>>> >>> image)
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> Greets,
>>> >>>
>>> >>> Satya
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>> >>> <swaroop.damarla@gmail.com> wrote:
>>> >>>
>>> >>> Hi Jessica & Philip,
>>> >>>
>>> >>>
>>> >>>
>>> >>> I have an issue... This is such a long error ... I even did a fresh
>>> >>> build by deleting the "tmp" directory. The image build went very well
>>> >>> but the toolchain is always giving me a error...
>>> >>>
>>> >>>
>>> >>>
>>> >>> | Selecting previously unselected package xz-dev.
>>> >>>
>>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>> >>>
>>> >>> | The following package disappeared from your system as
>>> >>>
>>> >>> | all files have been overwritten by other packages:
>>> >>>
>>> >>> |   avahi
>>> >>>
>>> >>> | log_check: Using
>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> >>> 4066
>>> >>> as logfile
>>> >>>
>>> >>> | Logfile is clean
>>> >>>
>>> >>> | Installing NATIVESDK packages
>>> >>>
>>> >>> | Ign file: ./ InRelease
>>> >>>
>>> >>> | Ign file: ./ InRelease
>>> >>>
>>> >>> | Ign file: ./ Release.gpg
>>> >>>
>>> >>> | Ign file: ./ Release.gpg
>>> >>>
>>> >>> | Get:1 file: ./ Release [24 B]
>>> >>>
>>> >>> | Get:2 file: ./ Release [11 B]
>>> >>>
>>> >>> | Ign file: ./ Translation-en
>>> >>>
>>> >>> | Ign file: ./ Translation-en
>>> >>>
>>> >>> | Reading package lists...
>>> >>>
>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>> >>> nativesdk-pkgconfig__pkg-config__
>>> >>>
>>> >>> | W: You may want to run apt-get update to correct these problems
>>> >>>
>>> >>> | Reading package lists...
>>> >>>
>>> >>> | Building dependency tree...
>>> >>>
>>> >>> | Reading state information...
>>> >>>
>>> >>> | Some packages could not be installed. This may mean that you have
>>> >>>
>>> >>> | requested an impossible situation or if you are using the unstable
>>> >>>
>>> >>> | distribution that some required packages have not yet been created
>>> >>>
>>> >>> | or been moved out of Incoming.
>>> >>>
>>> >>> | The following information may help to resolve the situation:
>>> >>>
>>> >>> |
>>> >>>
>>> >>> | The following packages have unmet dependencies:
>>> >>>
>>> >>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>>> >>> | but it
>>> >>> is not installable
>>> >>>
>>> >>> |                                    Depends: gcc-cross-canadian-arm
>>> >>> | but it
>>> >>> is not installable
>>> >>>
>>> >>> |                                    Depends: meta-environment-arm but
>>> >>> | it is
>>> >>> not installable
>>> >>>
>>> >>> |                                    Depends:
>>> >>> | binutils-cross-canadian-arm
>>> >>> but it is not installable
>>> >>>
>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>> >>> nativesdk-pkgconfig__pkg-config__
>>> >>>
>>> >>> | W: You may want to run apt-get update to correct these problems
>>> >>>
>>> >>> | E: Unable to correct problems, you have held broken packages.
>>> >>>
>>> >>> | DEBUG: Python function do_populate_sdk finished
>>> >>>
>>> >>> | ERROR: Function failed: populate_sdk_image (see
>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> >>> 4066
>>> >>> for further information)
>>> >>>
>>> >>> ERROR: Task 10
>>> >>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>>> >>> ata.bb,
>>> >>> do_populate_sdk) failed with exit code '1'
>>> >>>
>>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>> >>> be rerun and 1 failed.
>>> >>>
>>> >>>
>>> >>>
>>> >>> Summary: 1 task failed:
>>> >>>
>>> >>>
>>> >>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>>> >>> ta.bb,
>>> >>> do_populate_sdk
>>> >>>
>>> >>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>> >>> code.
>>> >>>
>>> >>>
>>> >>>
>>> >>> I am not able to install those packages as they say there are no
>>> >>> installation candidate for them...
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>>> >>> <jessica.zhang@intel.com>
>>> >>> wrote:
>>> >>>
>>> >>> Hi Satya,
>>> >>>
>>> >>>
>>> >>>
>>> >>> Use bitbake image-name -c populate_sdk, this allows you to create a
>>> >>> toolchain with sysroot that match your target image that allows you to
>>> >>> develop app against...
>>> >>>
>>> >>>
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Jessica
>>> >>>
>>> >>>
>>> >>>
>>> >>> From: yocto-bounces@yoctoproject.org
>>> >>> [mailto:yocto-bounces@yoctoproject.org]
>>> >>> On Behalf Of Satya Swaroop Damarla
>>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
>>> >>> To: yocto@yoctoproject.org
>>> >>> Subject: [yocto] Application Development
>>> >>>
>>> >>>
>>> >>>
>>> >>> Hi Guys,
>>> >>>
>>> >>>
>>> >>>
>>> >>> I have an issue... I created a custom image based on NVIDIA Tegra2
>>> >>> with a custom kernel. I installed  packages specific Tegra board and
>>> >>> application specific. Now we want to send the baord and the new linux
>>> >>> image for application development...
>>> >>>
>>> >>>
>>> >>>
>>> >>> As I went through ADT manual, I only found qemu based toolchains but I
>>> >>> want to create toolchain based on my rootfs and kernel... so that the
>>> >>> development team can develop a voip application for the board... I am
>>> >>> kind of stuck how to proceed in this issue...
>>> >>>
>>> >>>
>>> >>>
>>> >>> I really need a small way out and hopefully I will catch things
>>> >>> automatically..
>>> >>>
>>> >>>
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Satya
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> _______________________________________________
>>> >>> yocto mailing list
>>> >>> yocto@yoctoproject.org
>>> >>> https://lists.yoctoproject.org/listinfo/yocto
>>> >>>
>>> >>
>>> >>
>>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
>>> >> <jessica.zhang@intel.com> wrote:
>>> >>> Yes, you need those packages in your sysroot for cross development.
>>> >>>
>>> >>>
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Jessica
>>> >>>
>>> >>>
>>> >>>
>>> >>> From: satyaswaroop.damarla@gmail.com
>>> >>> [mailto:satyaswaroop.damarla@gmail.com]
>>> >>> On Behalf Of DAMARLA Satya Swaroop
>>> >>> Sent: Friday, June 07, 2013 12:10 AM
>>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
>>> >>> Subject: Re: [yocto] Application Development
>>> >>>
>>> >>>
>>> >>>
>>> >>> SHould we install development and debigging pacakages in the images
>>> >>> when we want to build a toolchain.. I mean this
>>> >>>
>>> >>>
>>> >>>
>>> >>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>> >>>
>>> >>> #                     (adds symbol information for
>>> >>> debugging/profiling)
>>> >>>
>>> >>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>> >>>
>>> >>> #                     (useful if you want to develop against libs in
>>> >>> the
>>> >>> image)
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> Greets,
>>> >>>
>>> >>> Satya
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>> >>> <swaroop.damarla@gmail.com> wrote:
>>> >>>
>>> >>> Hi Jessica & Philip,
>>> >>>
>>> >>>
>>> >>>
>>> >>> I have an issue... This is such a long error ... I even did a fresh
>>> >>> build by deleting the "tmp" directory. The image build went very well
>>> >>> but the toolchain is always giving me a error...
>>> >>>
>>> >>>
>>> >>>
>>> >>> | Selecting previously unselected package xz-dev.
>>> >>>
>>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>> >>>
>>> >>> | The following package disappeared from your system as
>>> >>>
>>> >>> | all files have been overwritten by other packages:
>>> >>>
>>> >>> |   avahi
>>> >>>
>>> >>> | log_check: Using
>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> >>> 4066
>>> >>> as logfile
>>> >>>
>>> >>> | Logfile is clean
>>> >>>
>>> >>> | Installing NATIVESDK packages
>>> >>>
>>> >>> | Ign file: ./ InRelease
>>> >>>
>>> >>> | Ign file: ./ InRelease
>>> >>>
>>> >>> | Ign file: ./ Release.gpg
>>> >>>
>>> >>> | Ign file: ./ Release.gpg
>>> >>>
>>> >>> | Get:1 file: ./ Release [24 B]
>>> >>>
>>> >>> | Get:2 file: ./ Release [11 B]
>>> >>>
>>> >>> | Ign file: ./ Translation-en
>>> >>>
>>> >>> | Ign file: ./ Translation-en
>>> >>>
>>> >>> | Reading package lists...
>>> >>>
>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>> >>> nativesdk-pkgconfig__pkg-config__
>>> >>>
>>> >>> | W: You may want to run apt-get update to correct these problems
>>> >>>
>>> >>> | Reading package lists...
>>> >>>
>>> >>> | Building dependency tree...
>>> >>>
>>> >>> | Reading state information...
>>> >>>
>>> >>> | Some packages could not be installed. This may mean that you have
>>> >>>
>>> >>> | requested an impossible situation or if you are using the unstable
>>> >>>
>>> >>> | distribution that some required packages have not yet been created
>>> >>>
>>> >>> | or been moved out of Incoming.
>>> >>>
>>> >>> | The following information may help to resolve the situation:
>>> >>>
>>> >>> |
>>> >>>
>>> >>> | The following packages have unmet dependencies:
>>> >>>
>>> >>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>>> >>> | but it
>>> >>> is not installable
>>> >>>
>>> >>> |                                    Depends: gcc-cross-canadian-arm
>>> >>> | but it
>>> >>> is not installable
>>> >>>
>>> >>> |                                    Depends: meta-environment-arm but
>>> >>> | it is
>>> >>> not installable
>>> >>>
>>> >>> |                                    Depends:
>>> >>> | binutils-cross-canadian-arm
>>> >>> but it is not installable
>>> >>>
>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>> >>> nativesdk-pkgconfig__pkg-config__
>>> >>>
>>> >>> | W: You may want to run apt-get update to correct these problems
>>> >>>
>>> >>> | E: Unable to correct problems, you have held broken packages.
>>> >>>
>>> >>> | DEBUG: Python function do_populate_sdk finished
>>> >>>
>>> >>> | ERROR: Function failed: populate_sdk_image (see
>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>> >>> 4066
>>> >>> for further information)
>>> >>>
>>> >>> ERROR: Task 10
>>> >>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>>> >>> ata.bb,
>>> >>> do_populate_sdk) failed with exit code '1'
>>> >>>
>>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>> >>> be rerun and 1 failed.
>>> >>>
>>> >>>
>>> >>>
>>> >>> Summary: 1 task failed:
>>> >>>
>>> >>>
>>> >>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>>> >>> ta.bb,
>>> >>> do_populate_sdk
>>> >>>
>>> >>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>> >>> code.
>>> >>>
>>> >>>
>>> >>>
>>> >>> I am not able to install those packages as they say there are no
>>> >>> installation candidate for them...
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>>> >>> <jessica.zhang@intel.com>
>>> >>> wrote:
>>> >>>
>>> >>> Hi Satya,
>>> >>>
>>> >>>
>>> >>>
>>> >>> Use bitbake image-name -c populate_sdk, this allows you to create a
>>> >>> toolchain with sysroot that match your target image that allows you to
>>> >>> develop app against...
>>> >>>
>>> >>>
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Jessica
>>> >>>
>>> >>>
>>> >>>
>>> >>> From: yocto-bounces@yoctoproject.org
>>> >>> [mailto:yocto-bounces@yoctoproject.org]
>>> >>> On Behalf Of Satya Swaroop Damarla
>>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
>>> >>> To: yocto@yoctoproject.org
>>> >>> Subject: [yocto] Application Development
>>> >>>
>>> >>>
>>> >>>
>>> >>> Hi Guys,
>>> >>>
>>> >>>
>>> >>>
>>> >>> I have an issue... I created a custom image based on NVIDIA Tegra2
>>> >>> with a custom kernel. I installed  packages specific Tegra board and
>>> >>> application specific. Now we want to send the baord and the new linux
>>> >>> image for application development...
>>> >>>
>>> >>>
>>> >>>
>>> >>> As I went through ADT manual, I only found qemu based toolchains but I
>>> >>> want to create toolchain based on my rootfs and kernel... so that the
>>> >>> development team can develop a voip application for the board... I am
>>> >>> kind of stuck how to proceed in this issue...
>>> >>>
>>> >>>
>>> >>>
>>> >>> I really need a small way out and hopefully I will catch things
>>> >>> automatically..
>>> >>>
>>> >>>
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Satya
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> _______________________________________________
>>> >>> yocto mailing list
>>> >>> yocto@yoctoproject.org
>>> >>> https://lists.yoctoproject.org/listinfo/yocto
>>> >>>
>>
>>


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

* Re: Application Development
  2013-06-10 14:07                     ` Hans Beckérus
@ 2013-06-10 21:55                       ` Jeff Osier-Mixon
       [not found]                       ` <CAFMfyzKTxfLECC+inGzBbNGM8z9oaV--MV=rh_movEHGr6hR9Q@mail.gmail.com>
  1 sibling, 0 replies; 21+ messages in thread
From: Jeff Osier-Mixon @ 2013-06-10 21:55 UTC (permalink / raw)
  To: Hans Beckérus; +Cc: yocto, DAMARLA Satya Swaroop

Glad to hear it worked out!

On Mon, Jun 10, 2013 at 7:07 AM, Hans Beckérus <hans.beckerus@gmail.com> wrote:
> [SOLVED]
>
> Now it works! I do not know how my poky environment got polluted, but
> after doing
>   bitbake -c cleanall meta-environment-arm
>   bitbake -c cleanall sdk-gnu-config
> building the SDK passed without errors and I got my installation in deploy/sdk.
> Even tried if for a small test application and it seems to work fine :)
>
> So no need to add sdk-tools, all that I have is what is added to
> SDKIMAGE_FEATURES by image.bbclass which is dev-pkgs and dbg-pkgs.
>
>
> Hans
>
> On Mon, Jun 10, 2013 at 1:28 PM, Hans Beckérus <hans.beckerus@gmail.com> wrote:
>> On Mon, Jun 10, 2013 at 12:33 PM, DAMARLA Satya Swaroop
>> <satyaswaroop.damarla@gmail.com> wrote:
>>> I installed "dev-pkgs" in EXTRA_IMAGE_FEATURES ... and then build the
>>> toolchain, it was successfull....
>>>
>> That should already be provided by image.bbclass?
>> Checking the file packagegroup-cross-canadian.bbclass i found this
>>
>> # For backwards compatibility after rename
>> RPROVIDES_${PN} = "task-cross-canadian-${TRANSLATED_TARGET_ARCH}"
>>
>> RDEPENDS_${PN} = "\
>>     binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} \
>>     gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} \
>>     gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} \
>>     meta-environment-${TRANSLATED_TARGET_ARCH} \
>>     "
>>
>> So, now I understand were the dependency to meta-environment-arm came
>> from. But how to resolve it?
>> Am I missing some package(s) in my environment? What *should* provide
>> meta-environment-arm?
>> All I can find under Poky is meta-environment.bb.
>>
>> Hans
>>
>>>
>>> On Mon, Jun 10, 2013 at 12:03 PM, Hans Beckérus <hans.beckerus@gmail.com>
>>> wrote:
>>>>
>>>> Any updates on this matter? Do I need to provide more information?
>>>> /Hans
>>>>
>>>> On Fri, Jun 7, 2013 at 4:29 PM, Hans Beckérus <hans.beckerus@gmail.com>
>>>> wrote:
>>>> > On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica <jessica.zhang@intel.com>
>>>> > wrote:
>>>> >> When you create your image, what profile did you use.  Are you building
>>>> >> one of our existing images, e.g. core-image-minimal, etc. or it's a
>>>> >> customized image and if so, how did you customize your image, via layer or
>>>> >> install extra packages?  I think x11 is brought in via some package
>>>> >> dependency.  You said you were able to build the image, was the x11 packages
>>>> >> there?  We're building a toolchain plus the sysroot that matching the rootfs
>>>> >> of your target image here so it's not just the toolchain that is built.
>>>> >>
>>>> >
>>>> > Hi Jessica.
>>>> >
>>>> > I am building my own image recipe that basically does:
>>>> >
>>>> > require recipes-core/images/core-image-minimal-mtdutils.bb
>>>> > IMAGE_FEATURES += " ssh-server-dropbear \
>>>> >                   "
>>>> >
>>>> > Its a console-only type of image for an embedded device with no
>>>> > graphic support what so ever.
>>>> > Building the the rootfs and booting it up on the device works fine.
>>>> > I have had no X11 dependency until I added tools-sdk to IMAGE_FEATURES
>>>> > as suggested.
>>>> > What I am after is a command-line-only toolchain which will be using
>>>> > the sysroot from my rootfs build.
>>>> > Maybe I am asking for something that is not supported?
>>>> >
>>>> > Hans
>>>> >
>>>> >
>>>> >> -----Original Message-----
>>>> >> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
>>>> >> Sent: Friday, June 07, 2013 7:09 AM
>>>> >> To: Zhang, Jessica
>>>> >> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
>>>> >> Subject: Re: [yocto] Application Development
>>>> >>
>>>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
>>>> >> <jessica.zhang@intel.com> wrote:
>>>> >>> Yes, you need those packages in your sysroot for cross development.
>>>> >>>
>>>> >>>
>>>> >> Ok. But out of curiosity, why should I need X11 packages for a simple
>>>> >> command-line based toolchain?
>>>> >> I assume that none of these X11 packages gets copied to my target
>>>> >> device rootfs, or?
>>>> >>
>>>> >>>
>>>> >>> Cheers,
>>>> >>>
>>>> >>> Jessica
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> From: satyaswaroop.damarla@gmail.com
>>>> >>> [mailto:satyaswaroop.damarla@gmail.com]
>>>> >>> On Behalf Of DAMARLA Satya Swaroop
>>>> >>> Sent: Friday, June 07, 2013 12:10 AM
>>>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
>>>> >>> Subject: Re: [yocto] Application Development
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> SHould we install development and debigging pacakages in the images
>>>> >>> when we want to build a toolchain.. I mean this
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>>> >>>
>>>> >>> #                     (adds symbol information for
>>>> >>> debugging/profiling)
>>>> >>>
>>>> >>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>> >>>
>>>> >>> #                     (useful if you want to develop against libs in
>>>> >>> the
>>>> >>> image)
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Greets,
>>>> >>>
>>>> >>> Satya
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>>> >>> <swaroop.damarla@gmail.com> wrote:
>>>> >>>
>>>> >>> Hi Jessica & Philip,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I have an issue... This is such a long error ... I even did a fresh
>>>> >>> build by deleting the "tmp" directory. The image build went very well
>>>> >>> but the toolchain is always giving me a error...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> | Selecting previously unselected package xz-dev.
>>>> >>>
>>>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>> >>>
>>>> >>> | The following package disappeared from your system as
>>>> >>>
>>>> >>> | all files have been overwritten by other packages:
>>>> >>>
>>>> >>> |   avahi
>>>> >>>
>>>> >>> | log_check: Using
>>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>>> >>> 4066
>>>> >>> as logfile
>>>> >>>
>>>> >>> | Logfile is clean
>>>> >>>
>>>> >>> | Installing NATIVESDK packages
>>>> >>>
>>>> >>> | Ign file: ./ InRelease
>>>> >>>
>>>> >>> | Ign file: ./ InRelease
>>>> >>>
>>>> >>> | Ign file: ./ Release.gpg
>>>> >>>
>>>> >>> | Ign file: ./ Release.gpg
>>>> >>>
>>>> >>> | Get:1 file: ./ Release [24 B]
>>>> >>>
>>>> >>> | Get:2 file: ./ Release [11 B]
>>>> >>>
>>>> >>> | Ign file: ./ Translation-en
>>>> >>>
>>>> >>> | Ign file: ./ Translation-en
>>>> >>>
>>>> >>> | Reading package lists...
>>>> >>>
>>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>>> >>> nativesdk-pkgconfig__pkg-config__
>>>> >>>
>>>> >>> | W: You may want to run apt-get update to correct these problems
>>>> >>>
>>>> >>> | Reading package lists...
>>>> >>>
>>>> >>> | Building dependency tree...
>>>> >>>
>>>> >>> | Reading state information...
>>>> >>>
>>>> >>> | Some packages could not be installed. This may mean that you have
>>>> >>>
>>>> >>> | requested an impossible situation or if you are using the unstable
>>>> >>>
>>>> >>> | distribution that some required packages have not yet been created
>>>> >>>
>>>> >>> | or been moved out of Incoming.
>>>> >>>
>>>> >>> | The following information may help to resolve the situation:
>>>> >>>
>>>> >>> |
>>>> >>>
>>>> >>> | The following packages have unmet dependencies:
>>>> >>>
>>>> >>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>>>> >>> | but it
>>>> >>> is not installable
>>>> >>>
>>>> >>> |                                    Depends: gcc-cross-canadian-arm
>>>> >>> | but it
>>>> >>> is not installable
>>>> >>>
>>>> >>> |                                    Depends: meta-environment-arm but
>>>> >>> | it is
>>>> >>> not installable
>>>> >>>
>>>> >>> |                                    Depends:
>>>> >>> | binutils-cross-canadian-arm
>>>> >>> but it is not installable
>>>> >>>
>>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>>> >>> nativesdk-pkgconfig__pkg-config__
>>>> >>>
>>>> >>> | W: You may want to run apt-get update to correct these problems
>>>> >>>
>>>> >>> | E: Unable to correct problems, you have held broken packages.
>>>> >>>
>>>> >>> | DEBUG: Python function do_populate_sdk finished
>>>> >>>
>>>> >>> | ERROR: Function failed: populate_sdk_image (see
>>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>>> >>> 4066
>>>> >>> for further information)
>>>> >>>
>>>> >>> ERROR: Task 10
>>>> >>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>>>> >>> ata.bb,
>>>> >>> do_populate_sdk) failed with exit code '1'
>>>> >>>
>>>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>> >>> be rerun and 1 failed.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Summary: 1 task failed:
>>>> >>>
>>>> >>>
>>>> >>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>>>> >>> ta.bb,
>>>> >>> do_populate_sdk
>>>> >>>
>>>> >>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>> >>> code.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I am not able to install those packages as they say there are no
>>>> >>> installation candidate for them...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>>>> >>> <jessica.zhang@intel.com>
>>>> >>> wrote:
>>>> >>>
>>>> >>> Hi Satya,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Use bitbake image-name -c populate_sdk, this allows you to create a
>>>> >>> toolchain with sysroot that match your target image that allows you to
>>>> >>> develop app against...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Cheers,
>>>> >>>
>>>> >>> Jessica
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> From: yocto-bounces@yoctoproject.org
>>>> >>> [mailto:yocto-bounces@yoctoproject.org]
>>>> >>> On Behalf Of Satya Swaroop Damarla
>>>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>> >>> To: yocto@yoctoproject.org
>>>> >>> Subject: [yocto] Application Development
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Hi Guys,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I have an issue... I created a custom image based on NVIDIA Tegra2
>>>> >>> with a custom kernel. I installed  packages specific Tegra board and
>>>> >>> application specific. Now we want to send the baord and the new linux
>>>> >>> image for application development...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> As I went through ADT manual, I only found qemu based toolchains but I
>>>> >>> want to create toolchain based on my rootfs and kernel... so that the
>>>> >>> development team can develop a voip application for the board... I am
>>>> >>> kind of stuck how to proceed in this issue...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I really need a small way out and hopefully I will catch things
>>>> >>> automatically..
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Cheers,
>>>> >>>
>>>> >>> Satya
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> _______________________________________________
>>>> >>> yocto mailing list
>>>> >>> yocto@yoctoproject.org
>>>> >>> https://lists.yoctoproject.org/listinfo/yocto
>>>> >>>
>>>> >>
>>>> >>
>>>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
>>>> >> <jessica.zhang@intel.com> wrote:
>>>> >>> Yes, you need those packages in your sysroot for cross development.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Cheers,
>>>> >>>
>>>> >>> Jessica
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> From: satyaswaroop.damarla@gmail.com
>>>> >>> [mailto:satyaswaroop.damarla@gmail.com]
>>>> >>> On Behalf Of DAMARLA Satya Swaroop
>>>> >>> Sent: Friday, June 07, 2013 12:10 AM
>>>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
>>>> >>> Subject: Re: [yocto] Application Development
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> SHould we install development and debigging pacakages in the images
>>>> >>> when we want to build a toolchain.. I mean this
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>>> >>>
>>>> >>> #                     (adds symbol information for
>>>> >>> debugging/profiling)
>>>> >>>
>>>> >>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>> >>>
>>>> >>> #                     (useful if you want to develop against libs in
>>>> >>> the
>>>> >>> image)
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Greets,
>>>> >>>
>>>> >>> Satya
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>>> >>> <swaroop.damarla@gmail.com> wrote:
>>>> >>>
>>>> >>> Hi Jessica & Philip,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I have an issue... This is such a long error ... I even did a fresh
>>>> >>> build by deleting the "tmp" directory. The image build went very well
>>>> >>> but the toolchain is always giving me a error...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> | Selecting previously unselected package xz-dev.
>>>> >>>
>>>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>> >>>
>>>> >>> | The following package disappeared from your system as
>>>> >>>
>>>> >>> | all files have been overwritten by other packages:
>>>> >>>
>>>> >>> |   avahi
>>>> >>>
>>>> >>> | log_check: Using
>>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>>> >>> 4066
>>>> >>> as logfile
>>>> >>>
>>>> >>> | Logfile is clean
>>>> >>>
>>>> >>> | Installing NATIVESDK packages
>>>> >>>
>>>> >>> | Ign file: ./ InRelease
>>>> >>>
>>>> >>> | Ign file: ./ InRelease
>>>> >>>
>>>> >>> | Ign file: ./ Release.gpg
>>>> >>>
>>>> >>> | Ign file: ./ Release.gpg
>>>> >>>
>>>> >>> | Get:1 file: ./ Release [24 B]
>>>> >>>
>>>> >>> | Get:2 file: ./ Release [11 B]
>>>> >>>
>>>> >>> | Ign file: ./ Translation-en
>>>> >>>
>>>> >>> | Ign file: ./ Translation-en
>>>> >>>
>>>> >>> | Reading package lists...
>>>> >>>
>>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>>> >>> nativesdk-pkgconfig__pkg-config__
>>>> >>>
>>>> >>> | W: You may want to run apt-get update to correct these problems
>>>> >>>
>>>> >>> | Reading package lists...
>>>> >>>
>>>> >>> | Building dependency tree...
>>>> >>>
>>>> >>> | Reading state information...
>>>> >>>
>>>> >>> | Some packages could not be installed. This may mean that you have
>>>> >>>
>>>> >>> | requested an impossible situation or if you are using the unstable
>>>> >>>
>>>> >>> | distribution that some required packages have not yet been created
>>>> >>>
>>>> >>> | or been moved out of Incoming.
>>>> >>>
>>>> >>> | The following information may help to resolve the situation:
>>>> >>>
>>>> >>> |
>>>> >>>
>>>> >>> | The following packages have unmet dependencies:
>>>> >>>
>>>> >>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>>>> >>> | but it
>>>> >>> is not installable
>>>> >>>
>>>> >>> |                                    Depends: gcc-cross-canadian-arm
>>>> >>> | but it
>>>> >>> is not installable
>>>> >>>
>>>> >>> |                                    Depends: meta-environment-arm but
>>>> >>> | it is
>>>> >>> not installable
>>>> >>>
>>>> >>> |                                    Depends:
>>>> >>> | binutils-cross-canadian-arm
>>>> >>> but it is not installable
>>>> >>>
>>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>>> >>> nativesdk-pkgconfig__pkg-config__
>>>> >>>
>>>> >>> | W: You may want to run apt-get update to correct these problems
>>>> >>>
>>>> >>> | E: Unable to correct problems, you have held broken packages.
>>>> >>>
>>>> >>> | DEBUG: Python function do_populate_sdk finished
>>>> >>>
>>>> >>> | ERROR: Function failed: populate_sdk_image (see
>>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>>> >>> 4066
>>>> >>> for further information)
>>>> >>>
>>>> >>> ERROR: Task 10
>>>> >>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>>>> >>> ata.bb,
>>>> >>> do_populate_sdk) failed with exit code '1'
>>>> >>>
>>>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>> >>> be rerun and 1 failed.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Summary: 1 task failed:
>>>> >>>
>>>> >>>
>>>> >>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>>>> >>> ta.bb,
>>>> >>> do_populate_sdk
>>>> >>>
>>>> >>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>> >>> code.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I am not able to install those packages as they say there are no
>>>> >>> installation candidate for them...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>>>> >>> <jessica.zhang@intel.com>
>>>> >>> wrote:
>>>> >>>
>>>> >>> Hi Satya,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Use bitbake image-name -c populate_sdk, this allows you to create a
>>>> >>> toolchain with sysroot that match your target image that allows you to
>>>> >>> develop app against...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Cheers,
>>>> >>>
>>>> >>> Jessica
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> From: yocto-bounces@yoctoproject.org
>>>> >>> [mailto:yocto-bounces@yoctoproject.org]
>>>> >>> On Behalf Of Satya Swaroop Damarla
>>>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>> >>> To: yocto@yoctoproject.org
>>>> >>> Subject: [yocto] Application Development
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Hi Guys,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I have an issue... I created a custom image based on NVIDIA Tegra2
>>>> >>> with a custom kernel. I installed  packages specific Tegra board and
>>>> >>> application specific. Now we want to send the baord and the new linux
>>>> >>> image for application development...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> As I went through ADT manual, I only found qemu based toolchains but I
>>>> >>> want to create toolchain based on my rootfs and kernel... so that the
>>>> >>> development team can develop a voip application for the board... I am
>>>> >>> kind of stuck how to proceed in this issue...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I really need a small way out and hopefully I will catch things
>>>> >>> automatically..
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Cheers,
>>>> >>>
>>>> >>> Satya
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> _______________________________________________
>>>> >>> yocto mailing list
>>>> >>> yocto@yoctoproject.org
>>>> >>> https://lists.yoctoproject.org/listinfo/yocto
>>>> >>>
>>>> >
>>>> > On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica <jessica.zhang@intel.com>
>>>> > wrote:
>>>> >> When you create your image, what profile did you use.  Are you building
>>>> >> one of our existing images, e.g. core-image-minimal, etc. or it's a
>>>> >> customized image and if so, how did you customize your image, via layer or
>>>> >> install extra packages?  I think x11 is brought in via some package
>>>> >> dependency.  You said you were able to build the image, was the x11 packages
>>>> >> there?  We're building a toolchain plus the sysroot that matching the rootfs
>>>> >> of your target image here so it's not just the toolchain that is built.
>>>> >>
>>>> >> -----Original Message-----
>>>> >> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
>>>> >> Sent: Friday, June 07, 2013 7:09 AM
>>>> >> To: Zhang, Jessica
>>>> >> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
>>>> >> Subject: Re: [yocto] Application Development
>>>> >>
>>>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
>>>> >> <jessica.zhang@intel.com> wrote:
>>>> >>> Yes, you need those packages in your sysroot for cross development.
>>>> >>>
>>>> >>>
>>>> >> Ok. But out of curiosity, why should I need X11 packages for a simple
>>>> >> command-line based toolchain?
>>>> >> I assume that none of these X11 packages gets copied to my target
>>>> >> device rootfs, or?
>>>> >>
>>>> >>>
>>>> >>> Cheers,
>>>> >>>
>>>> >>> Jessica
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> From: satyaswaroop.damarla@gmail.com
>>>> >>> [mailto:satyaswaroop.damarla@gmail.com]
>>>> >>> On Behalf Of DAMARLA Satya Swaroop
>>>> >>> Sent: Friday, June 07, 2013 12:10 AM
>>>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
>>>> >>> Subject: Re: [yocto] Application Development
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> SHould we install development and debigging pacakages in the images
>>>> >>> when we want to build a toolchain.. I mean this
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>>> >>>
>>>> >>> #                     (adds symbol information for
>>>> >>> debugging/profiling)
>>>> >>>
>>>> >>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>> >>>
>>>> >>> #                     (useful if you want to develop against libs in
>>>> >>> the
>>>> >>> image)
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Greets,
>>>> >>>
>>>> >>> Satya
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>>> >>> <swaroop.damarla@gmail.com> wrote:
>>>> >>>
>>>> >>> Hi Jessica & Philip,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I have an issue... This is such a long error ... I even did a fresh
>>>> >>> build by deleting the "tmp" directory. The image build went very well
>>>> >>> but the toolchain is always giving me a error...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> | Selecting previously unselected package xz-dev.
>>>> >>>
>>>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>> >>>
>>>> >>> | The following package disappeared from your system as
>>>> >>>
>>>> >>> | all files have been overwritten by other packages:
>>>> >>>
>>>> >>> |   avahi
>>>> >>>
>>>> >>> | log_check: Using
>>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>>> >>> 4066
>>>> >>> as logfile
>>>> >>>
>>>> >>> | Logfile is clean
>>>> >>>
>>>> >>> | Installing NATIVESDK packages
>>>> >>>
>>>> >>> | Ign file: ./ InRelease
>>>> >>>
>>>> >>> | Ign file: ./ InRelease
>>>> >>>
>>>> >>> | Ign file: ./ Release.gpg
>>>> >>>
>>>> >>> | Ign file: ./ Release.gpg
>>>> >>>
>>>> >>> | Get:1 file: ./ Release [24 B]
>>>> >>>
>>>> >>> | Get:2 file: ./ Release [11 B]
>>>> >>>
>>>> >>> | Ign file: ./ Translation-en
>>>> >>>
>>>> >>> | Ign file: ./ Translation-en
>>>> >>>
>>>> >>> | Reading package lists...
>>>> >>>
>>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>>> >>> nativesdk-pkgconfig__pkg-config__
>>>> >>>
>>>> >>> | W: You may want to run apt-get update to correct these problems
>>>> >>>
>>>> >>> | Reading package lists...
>>>> >>>
>>>> >>> | Building dependency tree...
>>>> >>>
>>>> >>> | Reading state information...
>>>> >>>
>>>> >>> | Some packages could not be installed. This may mean that you have
>>>> >>>
>>>> >>> | requested an impossible situation or if you are using the unstable
>>>> >>>
>>>> >>> | distribution that some required packages have not yet been created
>>>> >>>
>>>> >>> | or been moved out of Incoming.
>>>> >>>
>>>> >>> | The following information may help to resolve the situation:
>>>> >>>
>>>> >>> |
>>>> >>>
>>>> >>> | The following packages have unmet dependencies:
>>>> >>>
>>>> >>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>>>> >>> | but it
>>>> >>> is not installable
>>>> >>>
>>>> >>> |                                    Depends: gcc-cross-canadian-arm
>>>> >>> | but it
>>>> >>> is not installable
>>>> >>>
>>>> >>> |                                    Depends: meta-environment-arm but
>>>> >>> | it is
>>>> >>> not installable
>>>> >>>
>>>> >>> |                                    Depends:
>>>> >>> | binutils-cross-canadian-arm
>>>> >>> but it is not installable
>>>> >>>
>>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>>> >>> nativesdk-pkgconfig__pkg-config__
>>>> >>>
>>>> >>> | W: You may want to run apt-get update to correct these problems
>>>> >>>
>>>> >>> | E: Unable to correct problems, you have held broken packages.
>>>> >>>
>>>> >>> | DEBUG: Python function do_populate_sdk finished
>>>> >>>
>>>> >>> | ERROR: Function failed: populate_sdk_image (see
>>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>>> >>> 4066
>>>> >>> for further information)
>>>> >>>
>>>> >>> ERROR: Task 10
>>>> >>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>>>> >>> ata.bb,
>>>> >>> do_populate_sdk) failed with exit code '1'
>>>> >>>
>>>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>> >>> be rerun and 1 failed.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Summary: 1 task failed:
>>>> >>>
>>>> >>>
>>>> >>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>>>> >>> ta.bb,
>>>> >>> do_populate_sdk
>>>> >>>
>>>> >>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>> >>> code.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I am not able to install those packages as they say there are no
>>>> >>> installation candidate for them...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>>>> >>> <jessica.zhang@intel.com>
>>>> >>> wrote:
>>>> >>>
>>>> >>> Hi Satya,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Use bitbake image-name -c populate_sdk, this allows you to create a
>>>> >>> toolchain with sysroot that match your target image that allows you to
>>>> >>> develop app against...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Cheers,
>>>> >>>
>>>> >>> Jessica
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> From: yocto-bounces@yoctoproject.org
>>>> >>> [mailto:yocto-bounces@yoctoproject.org]
>>>> >>> On Behalf Of Satya Swaroop Damarla
>>>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>> >>> To: yocto@yoctoproject.org
>>>> >>> Subject: [yocto] Application Development
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Hi Guys,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I have an issue... I created a custom image based on NVIDIA Tegra2
>>>> >>> with a custom kernel. I installed  packages specific Tegra board and
>>>> >>> application specific. Now we want to send the baord and the new linux
>>>> >>> image for application development...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> As I went through ADT manual, I only found qemu based toolchains but I
>>>> >>> want to create toolchain based on my rootfs and kernel... so that the
>>>> >>> development team can develop a voip application for the board... I am
>>>> >>> kind of stuck how to proceed in this issue...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I really need a small way out and hopefully I will catch things
>>>> >>> automatically..
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Cheers,
>>>> >>>
>>>> >>> Satya
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> _______________________________________________
>>>> >>> yocto mailing list
>>>> >>> yocto@yoctoproject.org
>>>> >>> https://lists.yoctoproject.org/listinfo/yocto
>>>> >>>
>>>> >>
>>>> >>
>>>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
>>>> >> <jessica.zhang@intel.com> wrote:
>>>> >>> Yes, you need those packages in your sysroot for cross development.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Cheers,
>>>> >>>
>>>> >>> Jessica
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> From: satyaswaroop.damarla@gmail.com
>>>> >>> [mailto:satyaswaroop.damarla@gmail.com]
>>>> >>> On Behalf Of DAMARLA Satya Swaroop
>>>> >>> Sent: Friday, June 07, 2013 12:10 AM
>>>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
>>>> >>> Subject: Re: [yocto] Application Development
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> SHould we install development and debigging pacakages in the images
>>>> >>> when we want to build a toolchain.. I mean this
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>  "dbg-pkgs"       - add -dbg packages for all installed packages
>>>> >>>
>>>> >>> #                     (adds symbol information for
>>>> >>> debugging/profiling)
>>>> >>>
>>>> >>> #  "dev-pkgs"       - add -dev packages for all installed packages
>>>> >>>
>>>> >>> #                     (useful if you want to develop against libs in
>>>> >>> the
>>>> >>> image)
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Greets,
>>>> >>>
>>>> >>> Satya
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
>>>> >>> <swaroop.damarla@gmail.com> wrote:
>>>> >>>
>>>> >>> Hi Jessica & Philip,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I have an issue... This is such a long error ... I even did a fresh
>>>> >>> build by deleting the "tmp" directory. The image build went very well
>>>> >>> but the toolchain is always giving me a error...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> | Selecting previously unselected package xz-dev.
>>>> >>>
>>>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb) ...
>>>> >>>
>>>> >>> | The following package disappeared from your system as
>>>> >>>
>>>> >>> | all files have been overwritten by other packages:
>>>> >>>
>>>> >>> |   avahi
>>>> >>>
>>>> >>> | log_check: Using
>>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>>> >>> 4066
>>>> >>> as logfile
>>>> >>>
>>>> >>> | Logfile is clean
>>>> >>>
>>>> >>> | Installing NATIVESDK packages
>>>> >>>
>>>> >>> | Ign file: ./ InRelease
>>>> >>>
>>>> >>> | Ign file: ./ InRelease
>>>> >>>
>>>> >>> | Ign file: ./ Release.gpg
>>>> >>>
>>>> >>> | Ign file: ./ Release.gpg
>>>> >>>
>>>> >>> | Get:1 file: ./ Release [24 B]
>>>> >>>
>>>> >>> | Get:2 file: ./ Release [11 B]
>>>> >>>
>>>> >>> | Ign file: ./ Translation-en
>>>> >>>
>>>> >>> | Ign file: ./ Translation-en
>>>> >>>
>>>> >>> | Reading package lists...
>>>> >>>
>>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>>> >>> nativesdk-pkgconfig__pkg-config__
>>>> >>>
>>>> >>> | W: You may want to run apt-get update to correct these problems
>>>> >>>
>>>> >>> | Reading package lists...
>>>> >>>
>>>> >>> | Building dependency tree...
>>>> >>>
>>>> >>> | Reading state information...
>>>> >>>
>>>> >>> | Some packages could not be installed. This may mean that you have
>>>> >>>
>>>> >>> | requested an impossible situation or if you are using the unstable
>>>> >>>
>>>> >>> | distribution that some required packages have not yet been created
>>>> >>>
>>>> >>> | or been moved out of Incoming.
>>>> >>>
>>>> >>> | The following information may help to resolve the situation:
>>>> >>>
>>>> >>> |
>>>> >>>
>>>> >>> | The following packages have unmet dependencies:
>>>> >>>
>>>> >>> |  packagegroup-cross-canadian-arm : Depends: gdb-cross-canadian-arm
>>>> >>> | but it
>>>> >>> is not installable
>>>> >>>
>>>> >>> |                                    Depends: gcc-cross-canadian-arm
>>>> >>> | but it
>>>> >>> is not installable
>>>> >>>
>>>> >>> |                                    Depends: meta-environment-arm but
>>>> >>> | it is
>>>> >>> not installable
>>>> >>>
>>>> >>> |                                    Depends:
>>>> >>> | binutils-cross-canadian-arm
>>>> >>> but it is not installable
>>>> >>>
>>>> >>> | W: Ignoring Provides line with DepCompareOp for package
>>>> >>> nativesdk-pkgconfig__pkg-config__
>>>> >>>
>>>> >>> | W: You may want to run apt-get update to correct these problems
>>>> >>>
>>>> >>> | E: Unable to correct problems, you have held broken packages.
>>>> >>>
>>>> >>> | DEBUG: Python function do_populate_sdk finished
>>>> >>>
>>>> >>> | ERROR: Function failed: populate_sdk_image (see
>>>> >>> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
>>>> >>> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
>>>> >>> 4066
>>>> >>> for further information)
>>>> >>>
>>>> >>> ERROR: Task 10
>>>> >>> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
>>>> >>> ata.bb,
>>>> >>> do_populate_sdk) failed with exit code '1'
>>>> >>>
>>>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939 didn't need to
>>>> >>> be rerun and 1 failed.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Summary: 1 task failed:
>>>> >>>
>>>> >>>
>>>> >>> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
>>>> >>> ta.bb,
>>>> >>> do_populate_sdk
>>>> >>>
>>>> >>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>> >>> code.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I am not able to install those packages as they say there are no
>>>> >>> installation candidate for them...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
>>>> >>> <jessica.zhang@intel.com>
>>>> >>> wrote:
>>>> >>>
>>>> >>> Hi Satya,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Use bitbake image-name -c populate_sdk, this allows you to create a
>>>> >>> toolchain with sysroot that match your target image that allows you to
>>>> >>> develop app against...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Cheers,
>>>> >>>
>>>> >>> Jessica
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> From: yocto-bounces@yoctoproject.org
>>>> >>> [mailto:yocto-bounces@yoctoproject.org]
>>>> >>> On Behalf Of Satya Swaroop Damarla
>>>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
>>>> >>> To: yocto@yoctoproject.org
>>>> >>> Subject: [yocto] Application Development
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Hi Guys,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I have an issue... I created a custom image based on NVIDIA Tegra2
>>>> >>> with a custom kernel. I installed  packages specific Tegra board and
>>>> >>> application specific. Now we want to send the baord and the new linux
>>>> >>> image for application development...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> As I went through ADT manual, I only found qemu based toolchains but I
>>>> >>> want to create toolchain based on my rootfs and kernel... so that the
>>>> >>> development team can develop a voip application for the board... I am
>>>> >>> kind of stuck how to proceed in this issue...
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I really need a small way out and hopefully I will catch things
>>>> >>> automatically..
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Cheers,
>>>> >>>
>>>> >>> Satya
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> _______________________________________________
>>>> >>> yocto mailing list
>>>> >>> yocto@yoctoproject.org
>>>> >>> https://lists.yoctoproject.org/listinfo/yocto
>>>> >>>
>>>
>>>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



-- 
Jeff Osier-Mixon http://jefro.net/blog
Yocto Project Community Manager @Intel http://yoctoproject.org


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

* Re: Application Development
       [not found]                             ` <CAFyqS9qJyC+==fd=mpFnLrzb+pFjJcC=tNGuWPxgcHKrdyz9EA@mail.gmail.com>
@ 2013-06-11  9:06                               ` DAMARLA Satya Swaroop
       [not found]                                 ` <CAFyqS9o5BUWAk+JitYHj47cuVJMkCkN_TASp_3S+-Ge_XZfb+A@mail.gmail.com>
  0 siblings, 1 reply; 21+ messages in thread
From: DAMARLA Satya Swaroop @ 2013-06-11  9:06 UTC (permalink / raw)
  To: Hans Beckérus, yocto

[-- Attachment #1: Type: text/plain, Size: 51615 bytes --]

Hi Hans,

I am sorry to disturb but I think I dont have cross compiler installed in
my toolchain... I compiled the toolcahin using *bitbake core-image-skidata
-c populate_sdk * and installed  as below

*damarla@linuxbuildsrv:~/yocto/poky/buildSkidataHarmony/tmp/deploy/sdk$
./poky-eglibc-x86_64-arm-toolchain-1.3+snapshot-20130611.sh *
*Enter target directory for SDK (default: /opt/poky/1.3+snapshot):
/home/damarla/yocto/myToolchain*
*You are about to install the SDK to "/home/damarla/yocto/myToolchain".
Proceed[Y/n]?Y*
*Extracting SDK...done*
*Setting it up...done*
*SDK has been successfully set up and is ready to be used.*
*
*
I checked the it for cross compiler but seems its not installed ... *
/home/damarla/yocto/myToolchain/
-name "arm-poky-linux-gnueabi**" -type f *gives me no result... Do you know
where could be the potential issue... I actually made a clean build

Greets,
Satya



On Tue, Jun 11, 2013 at 10:50 AM, Hans Beckérus <hans.beckerus@gmail.com>wrote:

> Hmm, I must say that I am curious to why you need to know the exact path?
> A toolchain does not require you to know the path? The environment
> script automatically adds the path to the compiler to your PATH
> variable. But if you really need to know it is located here (in my
> case but of course depends on were you choose to install the
> toolchain)
>
> Hans
>
> ls
> /opt/poky/1.4+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/cortexa9-vfp-poky-linux-gnueabi/
> arm-poky-linux-gnueabi-addr2line  arm-poky-linux-gnueabi-elfedit
> arm-poky-linux-gnueabi-gcc-ranlib  arm-poky-linux-gnueabi-ld.bfd
> arm-poky-linux-gnueabi-readelf
> arm-poky-linux-gnueabi-ar         arm-poky-linux-gnueabi-g++
> arm-poky-linux-gnueabi-gcov        arm-poky-linux-gnueabi-nm
> arm-poky-linux-gnueabi-size
> arm-poky-linux-gnueabi-as         arm-poky-linux-gnueabi-gcc
> arm-poky-linux-gnueabi-gdb         arm-poky-linux-gnueabi-objcopy
> arm-poky-linux-gnueabi-strings
> arm-poky-linux-gnueabi-c++filt    arm-poky-linux-gnueabi-gcc-ar
> arm-poky-linux-gnueabi-gprof       arm-poky-linux-gnueabi-objdump
> arm-poky-linux-gnueabi-strip
> arm-poky-linux-gnueabi-cpp        arm-poky-linux-gnueabi-gcc-nm
> arm-poky-linux-gnueabi-ld          arm-poky-linux-gnueabi-ranlib
>
>
> On Tue, Jun 11, 2013 at 8:59 AM, DAMARLA Satya Swaroop
> <satyaswaroop.damarla@gmail.com> wrote:
> > hI Hans,
> >
> > My last mail is incomplete.. Will you please tell me where to find the
> cross
> > compiler...Please send me the path :-)
> >
> > Greeting,
> > Satya
> >
> >
> > On Mon, Jun 10, 2013 at 5:00 PM, Hans Beckérus <hans.beckerus@gmail.com>
> > wrote:
> >>
> >> Yes I tried the toolchain on a test application. But I do not use
> >> eclipse, do not know if additional plug-ins are needed for that. But a
> >> standard eclipse workbench should be fine unless you need some Yocto
> >> specific features or tools.
> >> After you built the toolchain you will get a huge .sh file in
> >> tmp/deploy/sdk. Just run it. It will ask you were to install the
> >> toolchain. Once you have done that you need to source the environment
> >> script located in the root of the toolchain destination folder. Once
> >> the environment is sourced you should be ready to go.
> >> You will get a compiler with a name similar to
> >> arm-poky-linux-gnueabi-gcc, and all other build/debug tools will be
> >> prefixed the same. The path to the compiler is setup by the
> >> environment script.
> >>
> >> Now, if you have eg. a autotools based package, simply do
> >>
> >> 1) ./configure --host=arm-poky-linux
> >> 2) make
> >>
> >> You package should now be built using the cross-compiler towards the
> >> exact same libraries as your target platform image.
> >>
> >> If your test application is a simple .c file or a Makefile project,
> >> just try to compile it manually or run make ($GCC should be set to
> >> point to your cross-compiler so make should automatically pick it up
> >> if the Makefile was written properly).
> >>
> >> Hans
> >>
> >>
> >>
> >> On Mon, Jun 10, 2013 at 4:28 PM, DAMARLA Satya Swaroop
> >> <satyaswaroop.damarla@gmail.com> wrote:
> >> > Ok this is damn cool... I have a question.. Did you already do a test
> >> > application.... Can you explain me as I didnot understand where is the
> >> > cross
> >> > compiler binaries... I dont see any.... Did you test the toolchain
> using
> >> > Eclipse or some other IDE.. If you used Eclipse, did you also install
> >> > the
> >> > Yocto plugin?
> >> >
> >> >
> >> > On Mon, Jun 10, 2013 at 4:07 PM, Hans Beckérus <
> hans.beckerus@gmail.com>
> >> > wrote:
> >> >>
> >> >> [SOLVED]
> >> >>
> >> >> Now it works! I do not know how my poky environment got polluted, but
> >> >> after doing
> >> >>   bitbake -c cleanall meta-environment-arm
> >> >>   bitbake -c cleanall sdk-gnu-config
> >> >> building the SDK passed without errors and I got my installation in
> >> >> deploy/sdk.
> >> >> Even tried if for a small test application and it seems to work fine
> :)
> >> >>
> >> >> So no need to add sdk-tools, all that I have is what is added to
> >> >> SDKIMAGE_FEATURES by image.bbclass which is dev-pkgs and dbg-pkgs.
> >> >>
> >> >>
> >> >> Hans
> >> >>
> >> >> On Mon, Jun 10, 2013 at 1:28 PM, Hans Beckérus
> >> >> <hans.beckerus@gmail.com>
> >> >> wrote:
> >> >> > On Mon, Jun 10, 2013 at 12:33 PM, DAMARLA Satya Swaroop
> >> >> > <satyaswaroop.damarla@gmail.com> wrote:
> >> >> >> I installed "dev-pkgs" in EXTRA_IMAGE_FEATURES ... and then build
> >> >> >> the
> >> >> >> toolchain, it was successfull....
> >> >> >>
> >> >> > That should already be provided by image.bbclass?
> >> >> > Checking the file packagegroup-cross-canadian.bbclass i found this
> >> >> >
> >> >> > # For backwards compatibility after rename
> >> >> > RPROVIDES_${PN} = "task-cross-canadian-${TRANSLATED_TARGET_ARCH}"
> >> >> >
> >> >> > RDEPENDS_${PN} = "\
> >> >> >     binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} \
> >> >> >     gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} \
> >> >> >     gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} \
> >> >> >     meta-environment-${TRANSLATED_TARGET_ARCH} \
> >> >> >     "
> >> >> >
> >> >> > So, now I understand were the dependency to meta-environment-arm
> came
> >> >> > from. But how to resolve it?
> >> >> > Am I missing some package(s) in my environment? What *should*
> provide
> >> >> > meta-environment-arm?
> >> >> > All I can find under Poky is meta-environment.bb.
> >> >> >
> >> >> > Hans
> >> >> >
> >> >> >>
> >> >> >> On Mon, Jun 10, 2013 at 12:03 PM, Hans Beckérus
> >> >> >> <hans.beckerus@gmail.com>
> >> >> >> wrote:
> >> >> >>>
> >> >> >>> Any updates on this matter? Do I need to provide more
> information?
> >> >> >>> /Hans
> >> >> >>>
> >> >> >>> On Fri, Jun 7, 2013 at 4:29 PM, Hans Beckérus
> >> >> >>> <hans.beckerus@gmail.com>
> >> >> >>> wrote:
> >> >> >>> > On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica
> >> >> >>> > <jessica.zhang@intel.com>
> >> >> >>> > wrote:
> >> >> >>> >> When you create your image, what profile did you use.  Are you
> >> >> >>> >> building
> >> >> >>> >> one of our existing images, e.g. core-image-minimal, etc. or
> >> >> >>> >> it's a
> >> >> >>> >> customized image and if so, how did you customize your image,
> >> >> >>> >> via
> >> >> >>> >> layer or
> >> >> >>> >> install extra packages?  I think x11 is brought in via some
> >> >> >>> >> package
> >> >> >>> >> dependency.  You said you were able to build the image, was
> the
> >> >> >>> >> x11
> >> >> >>> >> packages
> >> >> >>> >> there?  We're building a toolchain plus the sysroot that
> >> >> >>> >> matching
> >> >> >>> >> the rootfs
> >> >> >>> >> of your target image here so it's not just the toolchain that
> is
> >> >> >>> >> built.
> >> >> >>> >>
> >> >> >>> >
> >> >> >>> > Hi Jessica.
> >> >> >>> >
> >> >> >>> > I am building my own image recipe that basically does:
> >> >> >>> >
> >> >> >>> > require recipes-core/images/core-image-minimal-mtdutils.bb
> >> >> >>> > IMAGE_FEATURES += " ssh-server-dropbear \
> >> >> >>> >                   "
> >> >> >>> >
> >> >> >>> > Its a console-only type of image for an embedded device with no
> >> >> >>> > graphic support what so ever.
> >> >> >>> > Building the the rootfs and booting it up on the device works
> >> >> >>> > fine.
> >> >> >>> > I have had no X11 dependency until I added tools-sdk to
> >> >> >>> > IMAGE_FEATURES
> >> >> >>> > as suggested.
> >> >> >>> > What I am after is a command-line-only toolchain which will be
> >> >> >>> > using
> >> >> >>> > the sysroot from my rootfs build.
> >> >> >>> > Maybe I am asking for something that is not supported?
> >> >> >>> >
> >> >> >>> > Hans
> >> >> >>> >
> >> >> >>> >
> >> >> >>> >> -----Original Message-----
> >> >> >>> >> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
> >> >> >>> >> Sent: Friday, June 07, 2013 7:09 AM
> >> >> >>> >> To: Zhang, Jessica
> >> >> >>> >> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
> >> >> >>> >> Subject: Re: [yocto] Application Development
> >> >> >>> >>
> >> >> >>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
> >> >> >>> >> <jessica.zhang@intel.com> wrote:
> >> >> >>> >>> Yes, you need those packages in your sysroot for cross
> >> >> >>> >>> development.
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >> Ok. But out of curiosity, why should I need X11 packages for a
> >> >> >>> >> simple
> >> >> >>> >> command-line based toolchain?
> >> >> >>> >> I assume that none of these X11 packages gets copied to my
> >> >> >>> >> target
> >> >> >>> >> device rootfs, or?
> >> >> >>> >>
> >> >> >>> >>>
> >> >> >>> >>> Cheers,
> >> >> >>> >>>
> >> >> >>> >>> Jessica
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> From: satyaswaroop.damarla@gmail.com
> >> >> >>> >>> [mailto:satyaswaroop.damarla@gmail.com]
> >> >> >>> >>> On Behalf Of DAMARLA Satya Swaroop
> >> >> >>> >>> Sent: Friday, June 07, 2013 12:10 AM
> >> >> >>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
> >> >> >>> >>> Subject: Re: [yocto] Application Development
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> SHould we install development and debigging pacakages in the
> >> >> >>> >>> images
> >> >> >>> >>> when we want to build a toolchain.. I mean this
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>  "dbg-pkgs"       - add -dbg packages for all installed
> >> >> >>> >>> packages
> >> >> >>> >>>
> >> >> >>> >>> #                     (adds symbol information for
> >> >> >>> >>> debugging/profiling)
> >> >> >>> >>>
> >> >> >>> >>> #  "dev-pkgs"       - add -dev packages for all installed
> >> >> >>> >>> packages
> >> >> >>> >>>
> >> >> >>> >>> #                     (useful if you want to develop against
> >> >> >>> >>> libs
> >> >> >>> >>> in
> >> >> >>> >>> the
> >> >> >>> >>> image)
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Greets,
> >> >> >>> >>>
> >> >> >>> >>> Satya
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> >> >> >>> >>> <swaroop.damarla@gmail.com> wrote:
> >> >> >>> >>>
> >> >> >>> >>> Hi Jessica & Philip,
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I have an issue... This is such a long error ... I even did a
> >> >> >>> >>> fresh
> >> >> >>> >>> build by deleting the "tmp" directory. The image build went
> >> >> >>> >>> very
> >> >> >>> >>> well
> >> >> >>> >>> but the toolchain is always giving me a error...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> | Selecting previously unselected package xz-dev.
> >> >> >>> >>>
> >> >> >>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb)
> >> >> >>> >>> ...
> >> >> >>> >>>
> >> >> >>> >>> | The following package disappeared from your system as
> >> >> >>> >>>
> >> >> >>> >>> | all files have been overwritten by other packages:
> >> >> >>> >>>
> >> >> >>> >>> |   avahi
> >> >> >>> >>>
> >> >> >>> >>> | log_check: Using
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >>> >>> 4066
> >> >> >>> >>> as logfile
> >> >> >>> >>>
> >> >> >>> >>> | Logfile is clean
> >> >> >>> >>>
> >> >> >>> >>> | Installing NATIVESDK packages
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >>> >>>
> >> >> >>> >>> | Get:1 file: ./ Release [24 B]
> >> >> >>> >>>
> >> >> >>> >>> | Get:2 file: ./ Release [11 B]
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >>> >>>
> >> >> >>> >>> | Reading package lists...
> >> >> >>> >>>
> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >>> >>>
> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >>> >>> problems
> >> >> >>> >>>
> >> >> >>> >>> | Reading package lists...
> >> >> >>> >>>
> >> >> >>> >>> | Building dependency tree...
> >> >> >>> >>>
> >> >> >>> >>> | Reading state information...
> >> >> >>> >>>
> >> >> >>> >>> | Some packages could not be installed. This may mean that
> you
> >> >> >>> >>> have
> >> >> >>> >>>
> >> >> >>> >>> | requested an impossible situation or if you are using the
> >> >> >>> >>> unstable
> >> >> >>> >>>
> >> >> >>> >>> | distribution that some required packages have not yet been
> >> >> >>> >>> created
> >> >> >>> >>>
> >> >> >>> >>> | or been moved out of Incoming.
> >> >> >>> >>>
> >> >> >>> >>> | The following information may help to resolve the
> situation:
> >> >> >>> >>>
> >> >> >>> >>> |
> >> >> >>> >>>
> >> >> >>> >>> | The following packages have unmet dependencies:
> >> >> >>> >>>
> >> >> >>> >>> |  packagegroup-cross-canadian-arm : Depends:
> >> >> >>> >>> gdb-cross-canadian-arm
> >> >> >>> >>> | but it
> >> >> >>> >>> is not installable
> >> >> >>> >>>
> >> >> >>> >>> |                                    Depends:
> >> >> >>> >>> gcc-cross-canadian-arm
> >> >> >>> >>> | but it
> >> >> >>> >>> is not installable
> >> >> >>> >>>
> >> >> >>> >>> |                                    Depends:
> >> >> >>> >>> meta-environment-arm
> >> >> >>> >>> but
> >> >> >>> >>> | it is
> >> >> >>> >>> not installable
> >> >> >>> >>>
> >> >> >>> >>> |                                    Depends:
> >> >> >>> >>> | binutils-cross-canadian-arm
> >> >> >>> >>> but it is not installable
> >> >> >>> >>>
> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >>> >>>
> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >>> >>> problems
> >> >> >>> >>>
> >> >> >>> >>> | E: Unable to correct problems, you have held broken
> packages.
> >> >> >>> >>>
> >> >> >>> >>> | DEBUG: Python function do_populate_sdk finished
> >> >> >>> >>>
> >> >> >>> >>> | ERROR: Function failed: populate_sdk_image (see
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >>> >>> 4066
> >> >> >>> >>> for further information)
> >> >> >>> >>>
> >> >> >>> >>> ERROR: Task 10
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
> >> >> >>> >>> ata.bb,
> >> >> >>> >>> do_populate_sdk) failed with exit code '1'
> >> >> >>> >>>
> >> >> >>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939
> didn't
> >> >> >>> >>> need to
> >> >> >>> >>> be rerun and 1 failed.
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Summary: 1 task failed:
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
> >> >> >>> >>> ta.bb,
> >> >> >>> >>> do_populate_sdk
> >> >> >>> >>>
> >> >> >>> >>> Summary: There was 1 ERROR message shown, returning a
> non-zero
> >> >> >>> >>> exit
> >> >> >>> >>> code.
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I am not able to install those packages as they say there are
> >> >> >>> >>> no
> >> >> >>> >>> installation candidate for them...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
> >> >> >>> >>> <jessica.zhang@intel.com>
> >> >> >>> >>> wrote:
> >> >> >>> >>>
> >> >> >>> >>> Hi Satya,
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Use bitbake image-name -c populate_sdk, this allows you to
> >> >> >>> >>> create
> >> >> >>> >>> a
> >> >> >>> >>> toolchain with sysroot that match your target image that
> allows
> >> >> >>> >>> you to
> >> >> >>> >>> develop app against...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Cheers,
> >> >> >>> >>>
> >> >> >>> >>> Jessica
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> From: yocto-bounces@yoctoproject.org
> >> >> >>> >>> [mailto:yocto-bounces@yoctoproject.org]
> >> >> >>> >>> On Behalf Of Satya Swaroop Damarla
> >> >> >>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
> >> >> >>> >>> To: yocto@yoctoproject.org
> >> >> >>> >>> Subject: [yocto] Application Development
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Hi Guys,
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I have an issue... I created a custom image based on NVIDIA
> >> >> >>> >>> Tegra2
> >> >> >>> >>> with a custom kernel. I installed  packages specific Tegra
> >> >> >>> >>> board
> >> >> >>> >>> and
> >> >> >>> >>> application specific. Now we want to send the baord and the
> new
> >> >> >>> >>> linux
> >> >> >>> >>> image for application development...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> As I went through ADT manual, I only found qemu based
> >> >> >>> >>> toolchains
> >> >> >>> >>> but I
> >> >> >>> >>> want to create toolchain based on my rootfs and kernel... so
> >> >> >>> >>> that
> >> >> >>> >>> the
> >> >> >>> >>> development team can develop a voip application for the
> >> >> >>> >>> board... I
> >> >> >>> >>> am
> >> >> >>> >>> kind of stuck how to proceed in this issue...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I really need a small way out and hopefully I will catch
> things
> >> >> >>> >>> automatically..
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Cheers,
> >> >> >>> >>>
> >> >> >>> >>> Satya
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> _______________________________________________
> >> >> >>> >>> yocto mailing list
> >> >> >>> >>> yocto@yoctoproject.org
> >> >> >>> >>> https://lists.yoctoproject.org/listinfo/yocto
> >> >> >>> >>>
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
> >> >> >>> >> <jessica.zhang@intel.com> wrote:
> >> >> >>> >>> Yes, you need those packages in your sysroot for cross
> >> >> >>> >>> development.
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Cheers,
> >> >> >>> >>>
> >> >> >>> >>> Jessica
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> From: satyaswaroop.damarla@gmail.com
> >> >> >>> >>> [mailto:satyaswaroop.damarla@gmail.com]
> >> >> >>> >>> On Behalf Of DAMARLA Satya Swaroop
> >> >> >>> >>> Sent: Friday, June 07, 2013 12:10 AM
> >> >> >>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
> >> >> >>> >>> Subject: Re: [yocto] Application Development
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> SHould we install development and debigging pacakages in the
> >> >> >>> >>> images
> >> >> >>> >>> when we want to build a toolchain.. I mean this
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>  "dbg-pkgs"       - add -dbg packages for all installed
> >> >> >>> >>> packages
> >> >> >>> >>>
> >> >> >>> >>> #                     (adds symbol information for
> >> >> >>> >>> debugging/profiling)
> >> >> >>> >>>
> >> >> >>> >>> #  "dev-pkgs"       - add -dev packages for all installed
> >> >> >>> >>> packages
> >> >> >>> >>>
> >> >> >>> >>> #                     (useful if you want to develop against
> >> >> >>> >>> libs
> >> >> >>> >>> in
> >> >> >>> >>> the
> >> >> >>> >>> image)
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Greets,
> >> >> >>> >>>
> >> >> >>> >>> Satya
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> >> >> >>> >>> <swaroop.damarla@gmail.com> wrote:
> >> >> >>> >>>
> >> >> >>> >>> Hi Jessica & Philip,
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I have an issue... This is such a long error ... I even did a
> >> >> >>> >>> fresh
> >> >> >>> >>> build by deleting the "tmp" directory. The image build went
> >> >> >>> >>> very
> >> >> >>> >>> well
> >> >> >>> >>> but the toolchain is always giving me a error...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> | Selecting previously unselected package xz-dev.
> >> >> >>> >>>
> >> >> >>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb)
> >> >> >>> >>> ...
> >> >> >>> >>>
> >> >> >>> >>> | The following package disappeared from your system as
> >> >> >>> >>>
> >> >> >>> >>> | all files have been overwritten by other packages:
> >> >> >>> >>>
> >> >> >>> >>> |   avahi
> >> >> >>> >>>
> >> >> >>> >>> | log_check: Using
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >>> >>> 4066
> >> >> >>> >>> as logfile
> >> >> >>> >>>
> >> >> >>> >>> | Logfile is clean
> >> >> >>> >>>
> >> >> >>> >>> | Installing NATIVESDK packages
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >>> >>>
> >> >> >>> >>> | Get:1 file: ./ Release [24 B]
> >> >> >>> >>>
> >> >> >>> >>> | Get:2 file: ./ Release [11 B]
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >>> >>>
> >> >> >>> >>> | Reading package lists...
> >> >> >>> >>>
> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >>> >>>
> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >>> >>> problems
> >> >> >>> >>>
> >> >> >>> >>> | Reading package lists...
> >> >> >>> >>>
> >> >> >>> >>> | Building dependency tree...
> >> >> >>> >>>
> >> >> >>> >>> | Reading state information...
> >> >> >>> >>>
> >> >> >>> >>> | Some packages could not be installed. This may mean that
> you
> >> >> >>> >>> have
> >> >> >>> >>>
> >> >> >>> >>> | requested an impossible situation or if you are using the
> >> >> >>> >>> unstable
> >> >> >>> >>>
> >> >> >>> >>> | distribution that some required packages have not yet been
> >> >> >>> >>> created
> >> >> >>> >>>
> >> >> >>> >>> | or been moved out of Incoming.
> >> >> >>> >>>
> >> >> >>> >>> | The following information may help to resolve the
> situation:
> >> >> >>> >>>
> >> >> >>> >>> |
> >> >> >>> >>>
> >> >> >>> >>> | The following packages have unmet dependencies:
> >> >> >>> >>>
> >> >> >>> >>> |  packagegroup-cross-canadian-arm : Depends:
> >> >> >>> >>> gdb-cross-canadian-arm
> >> >> >>> >>> | but it
> >> >> >>> >>> is not installable
> >> >> >>> >>>
> >> >> >>> >>> |                                    Depends:
> >> >> >>> >>> gcc-cross-canadian-arm
> >> >> >>> >>> | but it
> >> >> >>> >>> is not installable
> >> >> >>> >>>
> >> >> >>> >>> |                                    Depends:
> >> >> >>> >>> meta-environment-arm
> >> >> >>> >>> but
> >> >> >>> >>> | it is
> >> >> >>> >>> not installable
> >> >> >>> >>>
> >> >> >>> >>> |                                    Depends:
> >> >> >>> >>> | binutils-cross-canadian-arm
> >> >> >>> >>> but it is not installable
> >> >> >>> >>>
> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >>> >>>
> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >>> >>> problems
> >> >> >>> >>>
> >> >> >>> >>> | E: Unable to correct problems, you have held broken
> packages.
> >> >> >>> >>>
> >> >> >>> >>> | DEBUG: Python function do_populate_sdk finished
> >> >> >>> >>>
> >> >> >>> >>> | ERROR: Function failed: populate_sdk_image (see
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >>> >>> 4066
> >> >> >>> >>> for further information)
> >> >> >>> >>>
> >> >> >>> >>> ERROR: Task 10
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
> >> >> >>> >>> ata.bb,
> >> >> >>> >>> do_populate_sdk) failed with exit code '1'
> >> >> >>> >>>
> >> >> >>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939
> didn't
> >> >> >>> >>> need to
> >> >> >>> >>> be rerun and 1 failed.
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Summary: 1 task failed:
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
> >> >> >>> >>> ta.bb,
> >> >> >>> >>> do_populate_sdk
> >> >> >>> >>>
> >> >> >>> >>> Summary: There was 1 ERROR message shown, returning a
> non-zero
> >> >> >>> >>> exit
> >> >> >>> >>> code.
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I am not able to install those packages as they say there are
> >> >> >>> >>> no
> >> >> >>> >>> installation candidate for them...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
> >> >> >>> >>> <jessica.zhang@intel.com>
> >> >> >>> >>> wrote:
> >> >> >>> >>>
> >> >> >>> >>> Hi Satya,
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Use bitbake image-name -c populate_sdk, this allows you to
> >> >> >>> >>> create
> >> >> >>> >>> a
> >> >> >>> >>> toolchain with sysroot that match your target image that
> allows
> >> >> >>> >>> you to
> >> >> >>> >>> develop app against...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Cheers,
> >> >> >>> >>>
> >> >> >>> >>> Jessica
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> From: yocto-bounces@yoctoproject.org
> >> >> >>> >>> [mailto:yocto-bounces@yoctoproject.org]
> >> >> >>> >>> On Behalf Of Satya Swaroop Damarla
> >> >> >>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
> >> >> >>> >>> To: yocto@yoctoproject.org
> >> >> >>> >>> Subject: [yocto] Application Development
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Hi Guys,
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I have an issue... I created a custom image based on NVIDIA
> >> >> >>> >>> Tegra2
> >> >> >>> >>> with a custom kernel. I installed  packages specific Tegra
> >> >> >>> >>> board
> >> >> >>> >>> and
> >> >> >>> >>> application specific. Now we want to send the baord and the
> new
> >> >> >>> >>> linux
> >> >> >>> >>> image for application development...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> As I went through ADT manual, I only found qemu based
> >> >> >>> >>> toolchains
> >> >> >>> >>> but I
> >> >> >>> >>> want to create toolchain based on my rootfs and kernel... so
> >> >> >>> >>> that
> >> >> >>> >>> the
> >> >> >>> >>> development team can develop a voip application for the
> >> >> >>> >>> board... I
> >> >> >>> >>> am
> >> >> >>> >>> kind of stuck how to proceed in this issue...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I really need a small way out and hopefully I will catch
> things
> >> >> >>> >>> automatically..
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Cheers,
> >> >> >>> >>>
> >> >> >>> >>> Satya
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> _______________________________________________
> >> >> >>> >>> yocto mailing list
> >> >> >>> >>> yocto@yoctoproject.org
> >> >> >>> >>> https://lists.yoctoproject.org/listinfo/yocto
> >> >> >>> >>>
> >> >> >>> >
> >> >> >>> > On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica
> >> >> >>> > <jessica.zhang@intel.com>
> >> >> >>> > wrote:
> >> >> >>> >> When you create your image, what profile did you use.  Are you
> >> >> >>> >> building
> >> >> >>> >> one of our existing images, e.g. core-image-minimal, etc. or
> >> >> >>> >> it's a
> >> >> >>> >> customized image and if so, how did you customize your image,
> >> >> >>> >> via
> >> >> >>> >> layer or
> >> >> >>> >> install extra packages?  I think x11 is brought in via some
> >> >> >>> >> package
> >> >> >>> >> dependency.  You said you were able to build the image, was
> the
> >> >> >>> >> x11
> >> >> >>> >> packages
> >> >> >>> >> there?  We're building a toolchain plus the sysroot that
> >> >> >>> >> matching
> >> >> >>> >> the rootfs
> >> >> >>> >> of your target image here so it's not just the toolchain that
> is
> >> >> >>> >> built.
> >> >> >>> >>
> >> >> >>> >> -----Original Message-----
> >> >> >>> >> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
> >> >> >>> >> Sent: Friday, June 07, 2013 7:09 AM
> >> >> >>> >> To: Zhang, Jessica
> >> >> >>> >> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
> >> >> >>> >> Subject: Re: [yocto] Application Development
> >> >> >>> >>
> >> >> >>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
> >> >> >>> >> <jessica.zhang@intel.com> wrote:
> >> >> >>> >>> Yes, you need those packages in your sysroot for cross
> >> >> >>> >>> development.
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >> Ok. But out of curiosity, why should I need X11 packages for a
> >> >> >>> >> simple
> >> >> >>> >> command-line based toolchain?
> >> >> >>> >> I assume that none of these X11 packages gets copied to my
> >> >> >>> >> target
> >> >> >>> >> device rootfs, or?
> >> >> >>> >>
> >> >> >>> >>>
> >> >> >>> >>> Cheers,
> >> >> >>> >>>
> >> >> >>> >>> Jessica
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> From: satyaswaroop.damarla@gmail.com
> >> >> >>> >>> [mailto:satyaswaroop.damarla@gmail.com]
> >> >> >>> >>> On Behalf Of DAMARLA Satya Swaroop
> >> >> >>> >>> Sent: Friday, June 07, 2013 12:10 AM
> >> >> >>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
> >> >> >>> >>> Subject: Re: [yocto] Application Development
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> SHould we install development and debigging pacakages in the
> >> >> >>> >>> images
> >> >> >>> >>> when we want to build a toolchain.. I mean this
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>  "dbg-pkgs"       - add -dbg packages for all installed
> >> >> >>> >>> packages
> >> >> >>> >>>
> >> >> >>> >>> #                     (adds symbol information for
> >> >> >>> >>> debugging/profiling)
> >> >> >>> >>>
> >> >> >>> >>> #  "dev-pkgs"       - add -dev packages for all installed
> >> >> >>> >>> packages
> >> >> >>> >>>
> >> >> >>> >>> #                     (useful if you want to develop against
> >> >> >>> >>> libs
> >> >> >>> >>> in
> >> >> >>> >>> the
> >> >> >>> >>> image)
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Greets,
> >> >> >>> >>>
> >> >> >>> >>> Satya
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> >> >> >>> >>> <swaroop.damarla@gmail.com> wrote:
> >> >> >>> >>>
> >> >> >>> >>> Hi Jessica & Philip,
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I have an issue... This is such a long error ... I even did a
> >> >> >>> >>> fresh
> >> >> >>> >>> build by deleting the "tmp" directory. The image build went
> >> >> >>> >>> very
> >> >> >>> >>> well
> >> >> >>> >>> but the toolchain is always giving me a error...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> | Selecting previously unselected package xz-dev.
> >> >> >>> >>>
> >> >> >>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb)
> >> >> >>> >>> ...
> >> >> >>> >>>
> >> >> >>> >>> | The following package disappeared from your system as
> >> >> >>> >>>
> >> >> >>> >>> | all files have been overwritten by other packages:
> >> >> >>> >>>
> >> >> >>> >>> |   avahi
> >> >> >>> >>>
> >> >> >>> >>> | log_check: Using
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >>> >>> 4066
> >> >> >>> >>> as logfile
> >> >> >>> >>>
> >> >> >>> >>> | Logfile is clean
> >> >> >>> >>>
> >> >> >>> >>> | Installing NATIVESDK packages
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >>> >>>
> >> >> >>> >>> | Get:1 file: ./ Release [24 B]
> >> >> >>> >>>
> >> >> >>> >>> | Get:2 file: ./ Release [11 B]
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >>> >>>
> >> >> >>> >>> | Reading package lists...
> >> >> >>> >>>
> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >>> >>>
> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >>> >>> problems
> >> >> >>> >>>
> >> >> >>> >>> | Reading package lists...
> >> >> >>> >>>
> >> >> >>> >>> | Building dependency tree...
> >> >> >>> >>>
> >> >> >>> >>> | Reading state information...
> >> >> >>> >>>
> >> >> >>> >>> | Some packages could not be installed. This may mean that
> you
> >> >> >>> >>> have
> >> >> >>> >>>
> >> >> >>> >>> | requested an impossible situation or if you are using the
> >> >> >>> >>> unstable
> >> >> >>> >>>
> >> >> >>> >>> | distribution that some required packages have not yet been
> >> >> >>> >>> created
> >> >> >>> >>>
> >> >> >>> >>> | or been moved out of Incoming.
> >> >> >>> >>>
> >> >> >>> >>> | The following information may help to resolve the
> situation:
> >> >> >>> >>>
> >> >> >>> >>> |
> >> >> >>> >>>
> >> >> >>> >>> | The following packages have unmet dependencies:
> >> >> >>> >>>
> >> >> >>> >>> |  packagegroup-cross-canadian-arm : Depends:
> >> >> >>> >>> gdb-cross-canadian-arm
> >> >> >>> >>> | but it
> >> >> >>> >>> is not installable
> >> >> >>> >>>
> >> >> >>> >>> |                                    Depends:
> >> >> >>> >>> gcc-cross-canadian-arm
> >> >> >>> >>> | but it
> >> >> >>> >>> is not installable
> >> >> >>> >>>
> >> >> >>> >>> |                                    Depends:
> >> >> >>> >>> meta-environment-arm
> >> >> >>> >>> but
> >> >> >>> >>> | it is
> >> >> >>> >>> not installable
> >> >> >>> >>>
> >> >> >>> >>> |                                    Depends:
> >> >> >>> >>> | binutils-cross-canadian-arm
> >> >> >>> >>> but it is not installable
> >> >> >>> >>>
> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >>> >>>
> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >>> >>> problems
> >> >> >>> >>>
> >> >> >>> >>> | E: Unable to correct problems, you have held broken
> packages.
> >> >> >>> >>>
> >> >> >>> >>> | DEBUG: Python function do_populate_sdk finished
> >> >> >>> >>>
> >> >> >>> >>> | ERROR: Function failed: populate_sdk_image (see
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >>> >>> 4066
> >> >> >>> >>> for further information)
> >> >> >>> >>>
> >> >> >>> >>> ERROR: Task 10
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
> >> >> >>> >>> ata.bb,
> >> >> >>> >>> do_populate_sdk) failed with exit code '1'
> >> >> >>> >>>
> >> >> >>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939
> didn't
> >> >> >>> >>> need to
> >> >> >>> >>> be rerun and 1 failed.
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Summary: 1 task failed:
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
> >> >> >>> >>> ta.bb,
> >> >> >>> >>> do_populate_sdk
> >> >> >>> >>>
> >> >> >>> >>> Summary: There was 1 ERROR message shown, returning a
> non-zero
> >> >> >>> >>> exit
> >> >> >>> >>> code.
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I am not able to install those packages as they say there are
> >> >> >>> >>> no
> >> >> >>> >>> installation candidate for them...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
> >> >> >>> >>> <jessica.zhang@intel.com>
> >> >> >>> >>> wrote:
> >> >> >>> >>>
> >> >> >>> >>> Hi Satya,
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Use bitbake image-name -c populate_sdk, this allows you to
> >> >> >>> >>> create
> >> >> >>> >>> a
> >> >> >>> >>> toolchain with sysroot that match your target image that
> allows
> >> >> >>> >>> you to
> >> >> >>> >>> develop app against...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Cheers,
> >> >> >>> >>>
> >> >> >>> >>> Jessica
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> From: yocto-bounces@yoctoproject.org
> >> >> >>> >>> [mailto:yocto-bounces@yoctoproject.org]
> >> >> >>> >>> On Behalf Of Satya Swaroop Damarla
> >> >> >>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
> >> >> >>> >>> To: yocto@yoctoproject.org
> >> >> >>> >>> Subject: [yocto] Application Development
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Hi Guys,
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I have an issue... I created a custom image based on NVIDIA
> >> >> >>> >>> Tegra2
> >> >> >>> >>> with a custom kernel. I installed  packages specific Tegra
> >> >> >>> >>> board
> >> >> >>> >>> and
> >> >> >>> >>> application specific. Now we want to send the baord and the
> new
> >> >> >>> >>> linux
> >> >> >>> >>> image for application development...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> As I went through ADT manual, I only found qemu based
> >> >> >>> >>> toolchains
> >> >> >>> >>> but I
> >> >> >>> >>> want to create toolchain based on my rootfs and kernel... so
> >> >> >>> >>> that
> >> >> >>> >>> the
> >> >> >>> >>> development team can develop a voip application for the
> >> >> >>> >>> board... I
> >> >> >>> >>> am
> >> >> >>> >>> kind of stuck how to proceed in this issue...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I really need a small way out and hopefully I will catch
> things
> >> >> >>> >>> automatically..
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Cheers,
> >> >> >>> >>>
> >> >> >>> >>> Satya
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> _______________________________________________
> >> >> >>> >>> yocto mailing list
> >> >> >>> >>> yocto@yoctoproject.org
> >> >> >>> >>> https://lists.yoctoproject.org/listinfo/yocto
> >> >> >>> >>>
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
> >> >> >>> >> <jessica.zhang@intel.com> wrote:
> >> >> >>> >>> Yes, you need those packages in your sysroot for cross
> >> >> >>> >>> development.
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Cheers,
> >> >> >>> >>>
> >> >> >>> >>> Jessica
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> From: satyaswaroop.damarla@gmail.com
> >> >> >>> >>> [mailto:satyaswaroop.damarla@gmail.com]
> >> >> >>> >>> On Behalf Of DAMARLA Satya Swaroop
> >> >> >>> >>> Sent: Friday, June 07, 2013 12:10 AM
> >> >> >>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
> >> >> >>> >>> Subject: Re: [yocto] Application Development
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> SHould we install development and debigging pacakages in the
> >> >> >>> >>> images
> >> >> >>> >>> when we want to build a toolchain.. I mean this
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>  "dbg-pkgs"       - add -dbg packages for all installed
> >> >> >>> >>> packages
> >> >> >>> >>>
> >> >> >>> >>> #                     (adds symbol information for
> >> >> >>> >>> debugging/profiling)
> >> >> >>> >>>
> >> >> >>> >>> #  "dev-pkgs"       - add -dev packages for all installed
> >> >> >>> >>> packages
> >> >> >>> >>>
> >> >> >>> >>> #                     (useful if you want to develop against
> >> >> >>> >>> libs
> >> >> >>> >>> in
> >> >> >>> >>> the
> >> >> >>> >>> image)
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Greets,
> >> >> >>> >>>
> >> >> >>> >>> Satya
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> >> >> >>> >>> <swaroop.damarla@gmail.com> wrote:
> >> >> >>> >>>
> >> >> >>> >>> Hi Jessica & Philip,
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I have an issue... This is such a long error ... I even did a
> >> >> >>> >>> fresh
> >> >> >>> >>> build by deleting the "tmp" directory. The image build went
> >> >> >>> >>> very
> >> >> >>> >>> well
> >> >> >>> >>> but the toolchain is always giving me a error...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> | Selecting previously unselected package xz-dev.
> >> >> >>> >>>
> >> >> >>> >>> | Unpacking xz-dev (from .../xz-dev_5.1.2alpha-r0_armel.deb)
> >> >> >>> >>> ...
> >> >> >>> >>>
> >> >> >>> >>> | The following package disappeared from your system as
> >> >> >>> >>>
> >> >> >>> >>> | all files have been overwritten by other packages:
> >> >> >>> >>>
> >> >> >>> >>> |   avahi
> >> >> >>> >>>
> >> >> >>> >>> | log_check: Using
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >>> >>> 4066
> >> >> >>> >>> as logfile
> >> >> >>> >>>
> >> >> >>> >>> | Logfile is clean
> >> >> >>> >>>
> >> >> >>> >>> | Installing NATIVESDK packages
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >>> >>>
> >> >> >>> >>> | Get:1 file: ./ Release [24 B]
> >> >> >>> >>>
> >> >> >>> >>> | Get:2 file: ./ Release [11 B]
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >>> >>>
> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >>> >>>
> >> >> >>> >>> | Reading package lists...
> >> >> >>> >>>
> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >>> >>>
> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >>> >>> problems
> >> >> >>> >>>
> >> >> >>> >>> | Reading package lists...
> >> >> >>> >>>
> >> >> >>> >>> | Building dependency tree...
> >> >> >>> >>>
> >> >> >>> >>> | Reading state information...
> >> >> >>> >>>
> >> >> >>> >>> | Some packages could not be installed. This may mean that
> you
> >> >> >>> >>> have
> >> >> >>> >>>
> >> >> >>> >>> | requested an impossible situation or if you are using the
> >> >> >>> >>> unstable
> >> >> >>> >>>
> >> >> >>> >>> | distribution that some required packages have not yet been
> >> >> >>> >>> created
> >> >> >>> >>>
> >> >> >>> >>> | or been moved out of Incoming.
> >> >> >>> >>>
> >> >> >>> >>> | The following information may help to resolve the
> situation:
> >> >> >>> >>>
> >> >> >>> >>> |
> >> >> >>> >>>
> >> >> >>> >>> | The following packages have unmet dependencies:
> >> >> >>> >>>
> >> >> >>> >>> |  packagegroup-cross-canadian-arm : Depends:
> >> >> >>> >>> gdb-cross-canadian-arm
> >> >> >>> >>> | but it
> >> >> >>> >>> is not installable
> >> >> >>> >>>
> >> >> >>> >>> |                                    Depends:
> >> >> >>> >>> gcc-cross-canadian-arm
> >> >> >>> >>> | but it
> >> >> >>> >>> is not installable
> >> >> >>> >>>
> >> >> >>> >>> |                                    Depends:
> >> >> >>> >>> meta-environment-arm
> >> >> >>> >>> but
> >> >> >>> >>> | it is
> >> >> >>> >>> not installable
> >> >> >>> >>>
> >> >> >>> >>> |                                    Depends:
> >> >> >>> >>> | binutils-cross-canadian-arm
> >> >> >>> >>> but it is not installable
> >> >> >>> >>>
> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >>> >>>
> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >>> >>> problems
> >> >> >>> >>>
> >> >> >>> >>> | E: Unable to correct problems, you have held broken
> packages.
> >> >> >>> >>>
> >> >> >>> >>> | DEBUG: Python function do_populate_sdk finished
> >> >> >>> >>>
> >> >> >>> >>> | ERROR: Function failed: populate_sdk_image (see
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >>> >>> 4066
> >> >> >>> >>> for further information)
> >> >> >>> >>>
> >> >> >>> >>> ERROR: Task 10
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
> >> >> >>> >>> ata.bb,
> >> >> >>> >>> do_populate_sdk) failed with exit code '1'
> >> >> >>> >>>
> >> >> >>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939
> didn't
> >> >> >>> >>> need to
> >> >> >>> >>> be rerun and 1 failed.
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Summary: 1 task failed:
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
> >> >> >>> >>> ta.bb,
> >> >> >>> >>> do_populate_sdk
> >> >> >>> >>>
> >> >> >>> >>> Summary: There was 1 ERROR message shown, returning a
> non-zero
> >> >> >>> >>> exit
> >> >> >>> >>> code.
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I am not able to install those packages as they say there are
> >> >> >>> >>> no
> >> >> >>> >>> installation candidate for them...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
> >> >> >>> >>> <jessica.zhang@intel.com>
> >> >> >>> >>> wrote:
> >> >> >>> >>>
> >> >> >>> >>> Hi Satya,
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Use bitbake image-name -c populate_sdk, this allows you to
> >> >> >>> >>> create
> >> >> >>> >>> a
> >> >> >>> >>> toolchain with sysroot that match your target image that
> allows
> >> >> >>> >>> you to
> >> >> >>> >>> develop app against...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Cheers,
> >> >> >>> >>>
> >> >> >>> >>> Jessica
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> From: yocto-bounces@yoctoproject.org
> >> >> >>> >>> [mailto:yocto-bounces@yoctoproject.org]
> >> >> >>> >>> On Behalf Of Satya Swaroop Damarla
> >> >> >>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
> >> >> >>> >>> To: yocto@yoctoproject.org
> >> >> >>> >>> Subject: [yocto] Application Development
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Hi Guys,
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I have an issue... I created a custom image based on NVIDIA
> >> >> >>> >>> Tegra2
> >> >> >>> >>> with a custom kernel. I installed  packages specific Tegra
> >> >> >>> >>> board
> >> >> >>> >>> and
> >> >> >>> >>> application specific. Now we want to send the baord and the
> new
> >> >> >>> >>> linux
> >> >> >>> >>> image for application development...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> As I went through ADT manual, I only found qemu based
> >> >> >>> >>> toolchains
> >> >> >>> >>> but I
> >> >> >>> >>> want to create toolchain based on my rootfs and kernel... so
> >> >> >>> >>> that
> >> >> >>> >>> the
> >> >> >>> >>> development team can develop a voip application for the
> >> >> >>> >>> board... I
> >> >> >>> >>> am
> >> >> >>> >>> kind of stuck how to proceed in this issue...
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> I really need a small way out and hopefully I will catch
> things
> >> >> >>> >>> automatically..
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> Cheers,
> >> >> >>> >>>
> >> >> >>> >>> Satya
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>>
> >> >> >>> >>> _______________________________________________
> >> >> >>> >>> yocto mailing list
> >> >> >>> >>> yocto@yoctoproject.org
> >> >> >>> >>> https://lists.yoctoproject.org/listinfo/yocto
> >> >> >>> >>>
> >> >> >>
> >> >> >>
> >> >
> >> >
> >
> >
>

[-- Attachment #2: Type: text/html, Size: 97690 bytes --]

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

* Re: Application Development
       [not found]                                 ` <CAFyqS9o5BUWAk+JitYHj47cuVJMkCkN_TASp_3S+-Ge_XZfb+A@mail.gmail.com>
@ 2013-06-11 11:04                                   ` DAMARLA Satya Swaroop
  0 siblings, 0 replies; 21+ messages in thread
From: DAMARLA Satya Swaroop @ 2013-06-11 11:04 UTC (permalink / raw)
  To: Hans Beckérus, yocto

[-- Attachment #1: Type: text/plain, Size: 58465 bytes --]

Its very unfortunate as I dont have such a directory /home/damarla/yocto/
myToolchain/sysroots/x86_64-pokysdk-linux/usr/bin/*cortexa9-*-gnueabi/ *at
all and the other search gave me no result... I think the cross compiler is
not being installed.... Can you think about anything that restricts the
cross compiler addition into the toolchain

Greets,
Satya


On Tue, Jun 11, 2013 at 11:50 AM, Hans Beckérus <hans.beckerus@gmail.com>wrote:

> Hmm. Try to be less specific in your searg, eg.
>
> >find /home/damarla/yocto/myToolchain -name \*-gcc
>
> Could be that your toolchain names it differently.
> Otherwise it should be here
>
>
>
> /home/damarla/yocto/myToolchain/sysroots/x86_64-pokysdk-linux/usr/bin/cortexa9-*-gnueabi/
>
> Hans
>
> On Tue, Jun 11, 2013 at 11:06 AM, DAMARLA Satya Swaroop
> <swaroop.damarla@gmail.com> wrote:
> > Hi Hans,
> >
> > I am sorry to disturb but I think I dont have cross compiler installed
> in my
> > toolchain... I compiled the toolcahin using bitbake core-image-skidata -c
> > populate_sdk  and installed  as below
> >
> > damarla@linuxbuildsrv:~/yocto/poky/buildSkidataHarmony/tmp/deploy/sdk$
> > ./poky-eglibc-x86_64-arm-toolchain-1.3+snapshot-20130611.sh
> > Enter target directory for SDK (default: /opt/poky/1.3+snapshot):
> > /home/damarla/yocto/myToolchain
> > You are about to install the SDK to "/home/damarla/yocto/myToolchain".
> > Proceed[Y/n]?Y
> > Extracting SDK...done
> > Setting it up...done
> > SDK has been successfully set up and is ready to be used.
> >
> > I checked the it for cross compiler but seems its not installed ...
> > /home/damarla/yocto/myToolchain/ -name "arm-poky-linux-gnueabi**" -type f
> > gives me no result... Do you know where could be the potential issue... I
> > actually made a clean build
> >
> > Greets,
> > Satya
> >
> >
> >
> > On Tue, Jun 11, 2013 at 10:50 AM, Hans Beckérus <hans.beckerus@gmail.com
> >
> > wrote:
> >>
> >> Hmm, I must say that I am curious to why you need to know the exact
> path?
> >> A toolchain does not require you to know the path? The environment
> >> script automatically adds the path to the compiler to your PATH
> >> variable. But if you really need to know it is located here (in my
> >> case but of course depends on were you choose to install the
> >> toolchain)
> >>
> >> Hans
> >>
> >> ls
> >>
> /opt/poky/1.4+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/cortexa9-vfp-poky-linux-gnueabi/
> >> arm-poky-linux-gnueabi-addr2line  arm-poky-linux-gnueabi-elfedit
> >> arm-poky-linux-gnueabi-gcc-ranlib  arm-poky-linux-gnueabi-ld.bfd
> >> arm-poky-linux-gnueabi-readelf
> >> arm-poky-linux-gnueabi-ar         arm-poky-linux-gnueabi-g++
> >> arm-poky-linux-gnueabi-gcov        arm-poky-linux-gnueabi-nm
> >> arm-poky-linux-gnueabi-size
> >> arm-poky-linux-gnueabi-as         arm-poky-linux-gnueabi-gcc
> >> arm-poky-linux-gnueabi-gdb         arm-poky-linux-gnueabi-objcopy
> >> arm-poky-linux-gnueabi-strings
> >> arm-poky-linux-gnueabi-c++filt    arm-poky-linux-gnueabi-gcc-ar
> >> arm-poky-linux-gnueabi-gprof       arm-poky-linux-gnueabi-objdump
> >> arm-poky-linux-gnueabi-strip
> >> arm-poky-linux-gnueabi-cpp        arm-poky-linux-gnueabi-gcc-nm
> >> arm-poky-linux-gnueabi-ld          arm-poky-linux-gnueabi-ranlib
> >>
> >>
> >> On Tue, Jun 11, 2013 at 8:59 AM, DAMARLA Satya Swaroop
> >> <satyaswaroop.damarla@gmail.com> wrote:
> >> > hI Hans,
> >> >
> >> > My last mail is incomplete.. Will you please tell me where to find the
> >> > cross
> >> > compiler...Please send me the path :-)
> >> >
> >> > Greeting,
> >> > Satya
> >> >
> >> >
> >> > On Mon, Jun 10, 2013 at 5:00 PM, Hans Beckérus <
> hans.beckerus@gmail.com>
> >> > wrote:
> >> >>
> >> >> Yes I tried the toolchain on a test application. But I do not use
> >> >> eclipse, do not know if additional plug-ins are needed for that. But
> a
> >> >> standard eclipse workbench should be fine unless you need some Yocto
> >> >> specific features or tools.
> >> >> After you built the toolchain you will get a huge .sh file in
> >> >> tmp/deploy/sdk. Just run it. It will ask you were to install the
> >> >> toolchain. Once you have done that you need to source the environment
> >> >> script located in the root of the toolchain destination folder. Once
> >> >> the environment is sourced you should be ready to go.
> >> >> You will get a compiler with a name similar to
> >> >> arm-poky-linux-gnueabi-gcc, and all other build/debug tools will be
> >> >> prefixed the same. The path to the compiler is setup by the
> >> >> environment script.
> >> >>
> >> >> Now, if you have eg. a autotools based package, simply do
> >> >>
> >> >> 1) ./configure --host=arm-poky-linux
> >> >> 2) make
> >> >>
> >> >> You package should now be built using the cross-compiler towards the
> >> >> exact same libraries as your target platform image.
> >> >>
> >> >> If your test application is a simple .c file or a Makefile project,
> >> >> just try to compile it manually or run make ($GCC should be set to
> >> >> point to your cross-compiler so make should automatically pick it up
> >> >> if the Makefile was written properly).
> >> >>
> >> >> Hans
> >> >>
> >> >>
> >> >>
> >> >> On Mon, Jun 10, 2013 at 4:28 PM, DAMARLA Satya Swaroop
> >> >> <satyaswaroop.damarla@gmail.com> wrote:
> >> >> > Ok this is damn cool... I have a question.. Did you already do a
> test
> >> >> > application.... Can you explain me as I didnot understand where is
> >> >> > the
> >> >> > cross
> >> >> > compiler binaries... I dont see any.... Did you test the toolchain
> >> >> > using
> >> >> > Eclipse or some other IDE.. If you used Eclipse, did you also
> install
> >> >> > the
> >> >> > Yocto plugin?
> >> >> >
> >> >> >
> >> >> > On Mon, Jun 10, 2013 at 4:07 PM, Hans Beckérus
> >> >> > <hans.beckerus@gmail.com>
> >> >> > wrote:
> >> >> >>
> >> >> >> [SOLVED]
> >> >> >>
> >> >> >> Now it works! I do not know how my poky environment got polluted,
> >> >> >> but
> >> >> >> after doing
> >> >> >>   bitbake -c cleanall meta-environment-arm
> >> >> >>   bitbake -c cleanall sdk-gnu-config
> >> >> >> building the SDK passed without errors and I got my installation
> in
> >> >> >> deploy/sdk.
> >> >> >> Even tried if for a small test application and it seems to work
> fine
> >> >> >> :)
> >> >> >>
> >> >> >> So no need to add sdk-tools, all that I have is what is added to
> >> >> >> SDKIMAGE_FEATURES by image.bbclass which is dev-pkgs and dbg-pkgs.
> >> >> >>
> >> >> >>
> >> >> >> Hans
> >> >> >>
> >> >> >> On Mon, Jun 10, 2013 at 1:28 PM, Hans Beckérus
> >> >> >> <hans.beckerus@gmail.com>
> >> >> >> wrote:
> >> >> >> > On Mon, Jun 10, 2013 at 12:33 PM, DAMARLA Satya Swaroop
> >> >> >> > <satyaswaroop.damarla@gmail.com> wrote:
> >> >> >> >> I installed "dev-pkgs" in EXTRA_IMAGE_FEATURES ... and then
> build
> >> >> >> >> the
> >> >> >> >> toolchain, it was successfull....
> >> >> >> >>
> >> >> >> > That should already be provided by image.bbclass?
> >> >> >> > Checking the file packagegroup-cross-canadian.bbclass i found
> this
> >> >> >> >
> >> >> >> > # For backwards compatibility after rename
> >> >> >> > RPROVIDES_${PN} =
> "task-cross-canadian-${TRANSLATED_TARGET_ARCH}"
> >> >> >> >
> >> >> >> > RDEPENDS_${PN} = "\
> >> >> >> >     binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} \
> >> >> >> >     gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} \
> >> >> >> >     gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} \
> >> >> >> >     meta-environment-${TRANSLATED_TARGET_ARCH} \
> >> >> >> >     "
> >> >> >> >
> >> >> >> > So, now I understand were the dependency to meta-environment-arm
> >> >> >> > came
> >> >> >> > from. But how to resolve it?
> >> >> >> > Am I missing some package(s) in my environment? What *should*
> >> >> >> > provide
> >> >> >> > meta-environment-arm?
> >> >> >> > All I can find under Poky is meta-environment.bb.
> >> >> >> >
> >> >> >> > Hans
> >> >> >> >
> >> >> >> >>
> >> >> >> >> On Mon, Jun 10, 2013 at 12:03 PM, Hans Beckérus
> >> >> >> >> <hans.beckerus@gmail.com>
> >> >> >> >> wrote:
> >> >> >> >>>
> >> >> >> >>> Any updates on this matter? Do I need to provide more
> >> >> >> >>> information?
> >> >> >> >>> /Hans
> >> >> >> >>>
> >> >> >> >>> On Fri, Jun 7, 2013 at 4:29 PM, Hans Beckérus
> >> >> >> >>> <hans.beckerus@gmail.com>
> >> >> >> >>> wrote:
> >> >> >> >>> > On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica
> >> >> >> >>> > <jessica.zhang@intel.com>
> >> >> >> >>> > wrote:
> >> >> >> >>> >> When you create your image, what profile did you use.  Are
> >> >> >> >>> >> you
> >> >> >> >>> >> building
> >> >> >> >>> >> one of our existing images, e.g. core-image-minimal, etc.
> or
> >> >> >> >>> >> it's a
> >> >> >> >>> >> customized image and if so, how did you customize your
> image,
> >> >> >> >>> >> via
> >> >> >> >>> >> layer or
> >> >> >> >>> >> install extra packages?  I think x11 is brought in via some
> >> >> >> >>> >> package
> >> >> >> >>> >> dependency.  You said you were able to build the image, was
> >> >> >> >>> >> the
> >> >> >> >>> >> x11
> >> >> >> >>> >> packages
> >> >> >> >>> >> there?  We're building a toolchain plus the sysroot that
> >> >> >> >>> >> matching
> >> >> >> >>> >> the rootfs
> >> >> >> >>> >> of your target image here so it's not just the toolchain
> that
> >> >> >> >>> >> is
> >> >> >> >>> >> built.
> >> >> >> >>> >>
> >> >> >> >>> >
> >> >> >> >>> > Hi Jessica.
> >> >> >> >>> >
> >> >> >> >>> > I am building my own image recipe that basically does:
> >> >> >> >>> >
> >> >> >> >>> > require recipes-core/images/core-image-minimal-mtdutils.bb
> >> >> >> >>> > IMAGE_FEATURES += " ssh-server-dropbear \
> >> >> >> >>> >                   "
> >> >> >> >>> >
> >> >> >> >>> > Its a console-only type of image for an embedded device with
> >> >> >> >>> > no
> >> >> >> >>> > graphic support what so ever.
> >> >> >> >>> > Building the the rootfs and booting it up on the device
> works
> >> >> >> >>> > fine.
> >> >> >> >>> > I have had no X11 dependency until I added tools-sdk to
> >> >> >> >>> > IMAGE_FEATURES
> >> >> >> >>> > as suggested.
> >> >> >> >>> > What I am after is a command-line-only toolchain which will
> be
> >> >> >> >>> > using
> >> >> >> >>> > the sysroot from my rootfs build.
> >> >> >> >>> > Maybe I am asking for something that is not supported?
> >> >> >> >>> >
> >> >> >> >>> > Hans
> >> >> >> >>> >
> >> >> >> >>> >
> >> >> >> >>> >> -----Original Message-----
> >> >> >> >>> >> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
> >> >> >> >>> >> Sent: Friday, June 07, 2013 7:09 AM
> >> >> >> >>> >> To: Zhang, Jessica
> >> >> >> >>> >> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
> >> >> >> >>> >> Subject: Re: [yocto] Application Development
> >> >> >> >>> >>
> >> >> >> >>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
> >> >> >> >>> >> <jessica.zhang@intel.com> wrote:
> >> >> >> >>> >>> Yes, you need those packages in your sysroot for cross
> >> >> >> >>> >>> development.
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >> Ok. But out of curiosity, why should I need X11 packages
> for
> >> >> >> >>> >> a
> >> >> >> >>> >> simple
> >> >> >> >>> >> command-line based toolchain?
> >> >> >> >>> >> I assume that none of these X11 packages gets copied to my
> >> >> >> >>> >> target
> >> >> >> >>> >> device rootfs, or?
> >> >> >> >>> >>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Cheers,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Jessica
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> From: satyaswaroop.damarla@gmail.com
> >> >> >> >>> >>> [mailto:satyaswaroop.damarla@gmail.com]
> >> >> >> >>> >>> On Behalf Of DAMARLA Satya Swaroop
> >> >> >> >>> >>> Sent: Friday, June 07, 2013 12:10 AM
> >> >> >> >>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
> >> >> >> >>> >>> Subject: Re: [yocto] Application Development
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> SHould we install development and debigging pacakages in
> the
> >> >> >> >>> >>> images
> >> >> >> >>> >>> when we want to build a toolchain.. I mean this
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>  "dbg-pkgs"       - add -dbg packages for all installed
> >> >> >> >>> >>> packages
> >> >> >> >>> >>>
> >> >> >> >>> >>> #                     (adds symbol information for
> >> >> >> >>> >>> debugging/profiling)
> >> >> >> >>> >>>
> >> >> >> >>> >>> #  "dev-pkgs"       - add -dev packages for all installed
> >> >> >> >>> >>> packages
> >> >> >> >>> >>>
> >> >> >> >>> >>> #                     (useful if you want to develop
> against
> >> >> >> >>> >>> libs
> >> >> >> >>> >>> in
> >> >> >> >>> >>> the
> >> >> >> >>> >>> image)
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Greets,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Satya
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> >> >> >> >>> >>> <swaroop.damarla@gmail.com> wrote:
> >> >> >> >>> >>>
> >> >> >> >>> >>> Hi Jessica & Philip,
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I have an issue... This is such a long error ... I even
> did
> >> >> >> >>> >>> a
> >> >> >> >>> >>> fresh
> >> >> >> >>> >>> build by deleting the "tmp" directory. The image build
> went
> >> >> >> >>> >>> very
> >> >> >> >>> >>> well
> >> >> >> >>> >>> but the toolchain is always giving me a error...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Selecting previously unselected package xz-dev.
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Unpacking xz-dev (from
> .../xz-dev_5.1.2alpha-r0_armel.deb)
> >> >> >> >>> >>> ...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | The following package disappeared from your system as
> >> >> >> >>> >>>
> >> >> >> >>> >>> | all files have been overwritten by other packages:
> >> >> >> >>> >>>
> >> >> >> >>> >>> |   avahi
> >> >> >> >>> >>>
> >> >> >> >>> >>> | log_check: Using
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >> >>> >>> 4066
> >> >> >> >>> >>> as logfile
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Logfile is clean
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Installing NATIVESDK packages
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Get:1 file: ./ Release [24 B]
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Get:2 file: ./ Release [11 B]
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Reading package lists...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >> >>> >>> problems
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Reading package lists...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Building dependency tree...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Reading state information...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Some packages could not be installed. This may mean that
> >> >> >> >>> >>> you
> >> >> >> >>> >>> have
> >> >> >> >>> >>>
> >> >> >> >>> >>> | requested an impossible situation or if you are using
> the
> >> >> >> >>> >>> unstable
> >> >> >> >>> >>>
> >> >> >> >>> >>> | distribution that some required packages have not yet
> been
> >> >> >> >>> >>> created
> >> >> >> >>> >>>
> >> >> >> >>> >>> | or been moved out of Incoming.
> >> >> >> >>> >>>
> >> >> >> >>> >>> | The following information may help to resolve the
> >> >> >> >>> >>> situation:
> >> >> >> >>> >>>
> >> >> >> >>> >>> |
> >> >> >> >>> >>>
> >> >> >> >>> >>> | The following packages have unmet dependencies:
> >> >> >> >>> >>>
> >> >> >> >>> >>> |  packagegroup-cross-canadian-arm : Depends:
> >> >> >> >>> >>> gdb-cross-canadian-arm
> >> >> >> >>> >>> | but it
> >> >> >> >>> >>> is not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> |                                    Depends:
> >> >> >> >>> >>> gcc-cross-canadian-arm
> >> >> >> >>> >>> | but it
> >> >> >> >>> >>> is not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> |                                    Depends:
> >> >> >> >>> >>> meta-environment-arm
> >> >> >> >>> >>> but
> >> >> >> >>> >>> | it is
> >> >> >> >>> >>> not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> |                                    Depends:
> >> >> >> >>> >>> | binutils-cross-canadian-arm
> >> >> >> >>> >>> but it is not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >> >>> >>> problems
> >> >> >> >>> >>>
> >> >> >> >>> >>> | E: Unable to correct problems, you have held broken
> >> >> >> >>> >>> packages.
> >> >> >> >>> >>>
> >> >> >> >>> >>> | DEBUG: Python function do_populate_sdk finished
> >> >> >> >>> >>>
> >> >> >> >>> >>> | ERROR: Function failed: populate_sdk_image (see
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >> >>> >>> 4066
> >> >> >> >>> >>> for further information)
> >> >> >> >>> >>>
> >> >> >> >>> >>> ERROR: Task 10
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
> >> >> >> >>> >>> ata.bb,
> >> >> >> >>> >>> do_populate_sdk) failed with exit code '1'
> >> >> >> >>> >>>
> >> >> >> >>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939
> >> >> >> >>> >>> didn't
> >> >> >> >>> >>> need to
> >> >> >> >>> >>> be rerun and 1 failed.
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Summary: 1 task failed:
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
> >> >> >> >>> >>> ta.bb,
> >> >> >> >>> >>> do_populate_sdk
> >> >> >> >>> >>>
> >> >> >> >>> >>> Summary: There was 1 ERROR message shown, returning a
> >> >> >> >>> >>> non-zero
> >> >> >> >>> >>> exit
> >> >> >> >>> >>> code.
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I am not able to install those packages as they say there
> >> >> >> >>> >>> are
> >> >> >> >>> >>> no
> >> >> >> >>> >>> installation candidate for them...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
> >> >> >> >>> >>> <jessica.zhang@intel.com>
> >> >> >> >>> >>> wrote:
> >> >> >> >>> >>>
> >> >> >> >>> >>> Hi Satya,
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Use bitbake image-name -c populate_sdk, this allows you to
> >> >> >> >>> >>> create
> >> >> >> >>> >>> a
> >> >> >> >>> >>> toolchain with sysroot that match your target image that
> >> >> >> >>> >>> allows
> >> >> >> >>> >>> you to
> >> >> >> >>> >>> develop app against...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Cheers,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Jessica
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> From: yocto-bounces@yoctoproject.org
> >> >> >> >>> >>> [mailto:yocto-bounces@yoctoproject.org]
> >> >> >> >>> >>> On Behalf Of Satya Swaroop Damarla
> >> >> >> >>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
> >> >> >> >>> >>> To: yocto@yoctoproject.org
> >> >> >> >>> >>> Subject: [yocto] Application Development
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Hi Guys,
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I have an issue... I created a custom image based on
> NVIDIA
> >> >> >> >>> >>> Tegra2
> >> >> >> >>> >>> with a custom kernel. I installed  packages specific Tegra
> >> >> >> >>> >>> board
> >> >> >> >>> >>> and
> >> >> >> >>> >>> application specific. Now we want to send the baord and
> the
> >> >> >> >>> >>> new
> >> >> >> >>> >>> linux
> >> >> >> >>> >>> image for application development...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> As I went through ADT manual, I only found qemu based
> >> >> >> >>> >>> toolchains
> >> >> >> >>> >>> but I
> >> >> >> >>> >>> want to create toolchain based on my rootfs and kernel...
> so
> >> >> >> >>> >>> that
> >> >> >> >>> >>> the
> >> >> >> >>> >>> development team can develop a voip application for the
> >> >> >> >>> >>> board... I
> >> >> >> >>> >>> am
> >> >> >> >>> >>> kind of stuck how to proceed in this issue...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I really need a small way out and hopefully I will catch
> >> >> >> >>> >>> things
> >> >> >> >>> >>> automatically..
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Cheers,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Satya
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> _______________________________________________
> >> >> >> >>> >>> yocto mailing list
> >> >> >> >>> >>> yocto@yoctoproject.org
> >> >> >> >>> >>> https://lists.yoctoproject.org/listinfo/yocto
> >> >> >> >>> >>>
> >> >> >> >>> >>
> >> >> >> >>> >>
> >> >> >> >>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
> >> >> >> >>> >> <jessica.zhang@intel.com> wrote:
> >> >> >> >>> >>> Yes, you need those packages in your sysroot for cross
> >> >> >> >>> >>> development.
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Cheers,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Jessica
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> From: satyaswaroop.damarla@gmail.com
> >> >> >> >>> >>> [mailto:satyaswaroop.damarla@gmail.com]
> >> >> >> >>> >>> On Behalf Of DAMARLA Satya Swaroop
> >> >> >> >>> >>> Sent: Friday, June 07, 2013 12:10 AM
> >> >> >> >>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
> >> >> >> >>> >>> Subject: Re: [yocto] Application Development
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> SHould we install development and debigging pacakages in
> the
> >> >> >> >>> >>> images
> >> >> >> >>> >>> when we want to build a toolchain.. I mean this
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>  "dbg-pkgs"       - add -dbg packages for all installed
> >> >> >> >>> >>> packages
> >> >> >> >>> >>>
> >> >> >> >>> >>> #                     (adds symbol information for
> >> >> >> >>> >>> debugging/profiling)
> >> >> >> >>> >>>
> >> >> >> >>> >>> #  "dev-pkgs"       - add -dev packages for all installed
> >> >> >> >>> >>> packages
> >> >> >> >>> >>>
> >> >> >> >>> >>> #                     (useful if you want to develop
> against
> >> >> >> >>> >>> libs
> >> >> >> >>> >>> in
> >> >> >> >>> >>> the
> >> >> >> >>> >>> image)
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Greets,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Satya
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> >> >> >> >>> >>> <swaroop.damarla@gmail.com> wrote:
> >> >> >> >>> >>>
> >> >> >> >>> >>> Hi Jessica & Philip,
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I have an issue... This is such a long error ... I even
> did
> >> >> >> >>> >>> a
> >> >> >> >>> >>> fresh
> >> >> >> >>> >>> build by deleting the "tmp" directory. The image build
> went
> >> >> >> >>> >>> very
> >> >> >> >>> >>> well
> >> >> >> >>> >>> but the toolchain is always giving me a error...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Selecting previously unselected package xz-dev.
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Unpacking xz-dev (from
> .../xz-dev_5.1.2alpha-r0_armel.deb)
> >> >> >> >>> >>> ...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | The following package disappeared from your system as
> >> >> >> >>> >>>
> >> >> >> >>> >>> | all files have been overwritten by other packages:
> >> >> >> >>> >>>
> >> >> >> >>> >>> |   avahi
> >> >> >> >>> >>>
> >> >> >> >>> >>> | log_check: Using
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >> >>> >>> 4066
> >> >> >> >>> >>> as logfile
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Logfile is clean
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Installing NATIVESDK packages
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Get:1 file: ./ Release [24 B]
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Get:2 file: ./ Release [11 B]
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Reading package lists...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >> >>> >>> problems
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Reading package lists...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Building dependency tree...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Reading state information...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Some packages could not be installed. This may mean that
> >> >> >> >>> >>> you
> >> >> >> >>> >>> have
> >> >> >> >>> >>>
> >> >> >> >>> >>> | requested an impossible situation or if you are using
> the
> >> >> >> >>> >>> unstable
> >> >> >> >>> >>>
> >> >> >> >>> >>> | distribution that some required packages have not yet
> been
> >> >> >> >>> >>> created
> >> >> >> >>> >>>
> >> >> >> >>> >>> | or been moved out of Incoming.
> >> >> >> >>> >>>
> >> >> >> >>> >>> | The following information may help to resolve the
> >> >> >> >>> >>> situation:
> >> >> >> >>> >>>
> >> >> >> >>> >>> |
> >> >> >> >>> >>>
> >> >> >> >>> >>> | The following packages have unmet dependencies:
> >> >> >> >>> >>>
> >> >> >> >>> >>> |  packagegroup-cross-canadian-arm : Depends:
> >> >> >> >>> >>> gdb-cross-canadian-arm
> >> >> >> >>> >>> | but it
> >> >> >> >>> >>> is not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> |                                    Depends:
> >> >> >> >>> >>> gcc-cross-canadian-arm
> >> >> >> >>> >>> | but it
> >> >> >> >>> >>> is not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> |                                    Depends:
> >> >> >> >>> >>> meta-environment-arm
> >> >> >> >>> >>> but
> >> >> >> >>> >>> | it is
> >> >> >> >>> >>> not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> |                                    Depends:
> >> >> >> >>> >>> | binutils-cross-canadian-arm
> >> >> >> >>> >>> but it is not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >> >>> >>> problems
> >> >> >> >>> >>>
> >> >> >> >>> >>> | E: Unable to correct problems, you have held broken
> >> >> >> >>> >>> packages.
> >> >> >> >>> >>>
> >> >> >> >>> >>> | DEBUG: Python function do_populate_sdk finished
> >> >> >> >>> >>>
> >> >> >> >>> >>> | ERROR: Function failed: populate_sdk_image (see
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >> >>> >>> 4066
> >> >> >> >>> >>> for further information)
> >> >> >> >>> >>>
> >> >> >> >>> >>> ERROR: Task 10
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
> >> >> >> >>> >>> ata.bb,
> >> >> >> >>> >>> do_populate_sdk) failed with exit code '1'
> >> >> >> >>> >>>
> >> >> >> >>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939
> >> >> >> >>> >>> didn't
> >> >> >> >>> >>> need to
> >> >> >> >>> >>> be rerun and 1 failed.
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Summary: 1 task failed:
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
> >> >> >> >>> >>> ta.bb,
> >> >> >> >>> >>> do_populate_sdk
> >> >> >> >>> >>>
> >> >> >> >>> >>> Summary: There was 1 ERROR message shown, returning a
> >> >> >> >>> >>> non-zero
> >> >> >> >>> >>> exit
> >> >> >> >>> >>> code.
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I am not able to install those packages as they say there
> >> >> >> >>> >>> are
> >> >> >> >>> >>> no
> >> >> >> >>> >>> installation candidate for them...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
> >> >> >> >>> >>> <jessica.zhang@intel.com>
> >> >> >> >>> >>> wrote:
> >> >> >> >>> >>>
> >> >> >> >>> >>> Hi Satya,
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Use bitbake image-name -c populate_sdk, this allows you to
> >> >> >> >>> >>> create
> >> >> >> >>> >>> a
> >> >> >> >>> >>> toolchain with sysroot that match your target image that
> >> >> >> >>> >>> allows
> >> >> >> >>> >>> you to
> >> >> >> >>> >>> develop app against...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Cheers,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Jessica
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> From: yocto-bounces@yoctoproject.org
> >> >> >> >>> >>> [mailto:yocto-bounces@yoctoproject.org]
> >> >> >> >>> >>> On Behalf Of Satya Swaroop Damarla
> >> >> >> >>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
> >> >> >> >>> >>> To: yocto@yoctoproject.org
> >> >> >> >>> >>> Subject: [yocto] Application Development
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Hi Guys,
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I have an issue... I created a custom image based on
> NVIDIA
> >> >> >> >>> >>> Tegra2
> >> >> >> >>> >>> with a custom kernel. I installed  packages specific Tegra
> >> >> >> >>> >>> board
> >> >> >> >>> >>> and
> >> >> >> >>> >>> application specific. Now we want to send the baord and
> the
> >> >> >> >>> >>> new
> >> >> >> >>> >>> linux
> >> >> >> >>> >>> image for application development...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> As I went through ADT manual, I only found qemu based
> >> >> >> >>> >>> toolchains
> >> >> >> >>> >>> but I
> >> >> >> >>> >>> want to create toolchain based on my rootfs and kernel...
> so
> >> >> >> >>> >>> that
> >> >> >> >>> >>> the
> >> >> >> >>> >>> development team can develop a voip application for the
> >> >> >> >>> >>> board... I
> >> >> >> >>> >>> am
> >> >> >> >>> >>> kind of stuck how to proceed in this issue...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I really need a small way out and hopefully I will catch
> >> >> >> >>> >>> things
> >> >> >> >>> >>> automatically..
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Cheers,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Satya
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> _______________________________________________
> >> >> >> >>> >>> yocto mailing list
> >> >> >> >>> >>> yocto@yoctoproject.org
> >> >> >> >>> >>> https://lists.yoctoproject.org/listinfo/yocto
> >> >> >> >>> >>>
> >> >> >> >>> >
> >> >> >> >>> > On Fri, Jun 7, 2013 at 4:21 PM, Zhang, Jessica
> >> >> >> >>> > <jessica.zhang@intel.com>
> >> >> >> >>> > wrote:
> >> >> >> >>> >> When you create your image, what profile did you use.  Are
> >> >> >> >>> >> you
> >> >> >> >>> >> building
> >> >> >> >>> >> one of our existing images, e.g. core-image-minimal, etc.
> or
> >> >> >> >>> >> it's a
> >> >> >> >>> >> customized image and if so, how did you customize your
> image,
> >> >> >> >>> >> via
> >> >> >> >>> >> layer or
> >> >> >> >>> >> install extra packages?  I think x11 is brought in via some
> >> >> >> >>> >> package
> >> >> >> >>> >> dependency.  You said you were able to build the image, was
> >> >> >> >>> >> the
> >> >> >> >>> >> x11
> >> >> >> >>> >> packages
> >> >> >> >>> >> there?  We're building a toolchain plus the sysroot that
> >> >> >> >>> >> matching
> >> >> >> >>> >> the rootfs
> >> >> >> >>> >> of your target image here so it's not just the toolchain
> that
> >> >> >> >>> >> is
> >> >> >> >>> >> built.
> >> >> >> >>> >>
> >> >> >> >>> >> -----Original Message-----
> >> >> >> >>> >> From: Hans Beckérus [mailto:hans.beckerus@gmail.com]
> >> >> >> >>> >> Sent: Friday, June 07, 2013 7:09 AM
> >> >> >> >>> >> To: Zhang, Jessica
> >> >> >> >>> >> Cc: DAMARLA Satya Swaroop; yocto@yoctoproject.org
> >> >> >> >>> >> Subject: Re: [yocto] Application Development
> >> >> >> >>> >>
> >> >> >> >>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
> >> >> >> >>> >> <jessica.zhang@intel.com> wrote:
> >> >> >> >>> >>> Yes, you need those packages in your sysroot for cross
> >> >> >> >>> >>> development.
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >> Ok. But out of curiosity, why should I need X11 packages
> for
> >> >> >> >>> >> a
> >> >> >> >>> >> simple
> >> >> >> >>> >> command-line based toolchain?
> >> >> >> >>> >> I assume that none of these X11 packages gets copied to my
> >> >> >> >>> >> target
> >> >> >> >>> >> device rootfs, or?
> >> >> >> >>> >>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Cheers,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Jessica
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> From: satyaswaroop.damarla@gmail.com
> >> >> >> >>> >>> [mailto:satyaswaroop.damarla@gmail.com]
> >> >> >> >>> >>> On Behalf Of DAMARLA Satya Swaroop
> >> >> >> >>> >>> Sent: Friday, June 07, 2013 12:10 AM
> >> >> >> >>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
> >> >> >> >>> >>> Subject: Re: [yocto] Application Development
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> SHould we install development and debigging pacakages in
> the
> >> >> >> >>> >>> images
> >> >> >> >>> >>> when we want to build a toolchain.. I mean this
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>  "dbg-pkgs"       - add -dbg packages for all installed
> >> >> >> >>> >>> packages
> >> >> >> >>> >>>
> >> >> >> >>> >>> #                     (adds symbol information for
> >> >> >> >>> >>> debugging/profiling)
> >> >> >> >>> >>>
> >> >> >> >>> >>> #  "dev-pkgs"       - add -dev packages for all installed
> >> >> >> >>> >>> packages
> >> >> >> >>> >>>
> >> >> >> >>> >>> #                     (useful if you want to develop
> against
> >> >> >> >>> >>> libs
> >> >> >> >>> >>> in
> >> >> >> >>> >>> the
> >> >> >> >>> >>> image)
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Greets,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Satya
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> >> >> >> >>> >>> <swaroop.damarla@gmail.com> wrote:
> >> >> >> >>> >>>
> >> >> >> >>> >>> Hi Jessica & Philip,
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I have an issue... This is such a long error ... I even
> did
> >> >> >> >>> >>> a
> >> >> >> >>> >>> fresh
> >> >> >> >>> >>> build by deleting the "tmp" directory. The image build
> went
> >> >> >> >>> >>> very
> >> >> >> >>> >>> well
> >> >> >> >>> >>> but the toolchain is always giving me a error...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Selecting previously unselected package xz-dev.
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Unpacking xz-dev (from
> .../xz-dev_5.1.2alpha-r0_armel.deb)
> >> >> >> >>> >>> ...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | The following package disappeared from your system as
> >> >> >> >>> >>>
> >> >> >> >>> >>> | all files have been overwritten by other packages:
> >> >> >> >>> >>>
> >> >> >> >>> >>> |   avahi
> >> >> >> >>> >>>
> >> >> >> >>> >>> | log_check: Using
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >> >>> >>> 4066
> >> >> >> >>> >>> as logfile
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Logfile is clean
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Installing NATIVESDK packages
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Get:1 file: ./ Release [24 B]
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Get:2 file: ./ Release [11 B]
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Reading package lists...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >> >>> >>> problems
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Reading package lists...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Building dependency tree...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Reading state information...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Some packages could not be installed. This may mean that
> >> >> >> >>> >>> you
> >> >> >> >>> >>> have
> >> >> >> >>> >>>
> >> >> >> >>> >>> | requested an impossible situation or if you are using
> the
> >> >> >> >>> >>> unstable
> >> >> >> >>> >>>
> >> >> >> >>> >>> | distribution that some required packages have not yet
> been
> >> >> >> >>> >>> created
> >> >> >> >>> >>>
> >> >> >> >>> >>> | or been moved out of Incoming.
> >> >> >> >>> >>>
> >> >> >> >>> >>> | The following information may help to resolve the
> >> >> >> >>> >>> situation:
> >> >> >> >>> >>>
> >> >> >> >>> >>> |
> >> >> >> >>> >>>
> >> >> >> >>> >>> | The following packages have unmet dependencies:
> >> >> >> >>> >>>
> >> >> >> >>> >>> |  packagegroup-cross-canadian-arm : Depends:
> >> >> >> >>> >>> gdb-cross-canadian-arm
> >> >> >> >>> >>> | but it
> >> >> >> >>> >>> is not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> |                                    Depends:
> >> >> >> >>> >>> gcc-cross-canadian-arm
> >> >> >> >>> >>> | but it
> >> >> >> >>> >>> is not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> |                                    Depends:
> >> >> >> >>> >>> meta-environment-arm
> >> >> >> >>> >>> but
> >> >> >> >>> >>> | it is
> >> >> >> >>> >>> not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> |                                    Depends:
> >> >> >> >>> >>> | binutils-cross-canadian-arm
> >> >> >> >>> >>> but it is not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >> >>> >>> problems
> >> >> >> >>> >>>
> >> >> >> >>> >>> | E: Unable to correct problems, you have held broken
> >> >> >> >>> >>> packages.
> >> >> >> >>> >>>
> >> >> >> >>> >>> | DEBUG: Python function do_populate_sdk finished
> >> >> >> >>> >>>
> >> >> >> >>> >>> | ERROR: Function failed: populate_sdk_image (see
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >> >>> >>> 4066
> >> >> >> >>> >>> for further information)
> >> >> >> >>> >>>
> >> >> >> >>> >>> ERROR: Task 10
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
> >> >> >> >>> >>> ata.bb,
> >> >> >> >>> >>> do_populate_sdk) failed with exit code '1'
> >> >> >> >>> >>>
> >> >> >> >>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939
> >> >> >> >>> >>> didn't
> >> >> >> >>> >>> need to
> >> >> >> >>> >>> be rerun and 1 failed.
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Summary: 1 task failed:
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
> >> >> >> >>> >>> ta.bb,
> >> >> >> >>> >>> do_populate_sdk
> >> >> >> >>> >>>
> >> >> >> >>> >>> Summary: There was 1 ERROR message shown, returning a
> >> >> >> >>> >>> non-zero
> >> >> >> >>> >>> exit
> >> >> >> >>> >>> code.
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I am not able to install those packages as they say there
> >> >> >> >>> >>> are
> >> >> >> >>> >>> no
> >> >> >> >>> >>> installation candidate for them...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
> >> >> >> >>> >>> <jessica.zhang@intel.com>
> >> >> >> >>> >>> wrote:
> >> >> >> >>> >>>
> >> >> >> >>> >>> Hi Satya,
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Use bitbake image-name -c populate_sdk, this allows you to
> >> >> >> >>> >>> create
> >> >> >> >>> >>> a
> >> >> >> >>> >>> toolchain with sysroot that match your target image that
> >> >> >> >>> >>> allows
> >> >> >> >>> >>> you to
> >> >> >> >>> >>> develop app against...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Cheers,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Jessica
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> From: yocto-bounces@yoctoproject.org
> >> >> >> >>> >>> [mailto:yocto-bounces@yoctoproject.org]
> >> >> >> >>> >>> On Behalf Of Satya Swaroop Damarla
> >> >> >> >>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
> >> >> >> >>> >>> To: yocto@yoctoproject.org
> >> >> >> >>> >>> Subject: [yocto] Application Development
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Hi Guys,
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I have an issue... I created a custom image based on
> NVIDIA
> >> >> >> >>> >>> Tegra2
> >> >> >> >>> >>> with a custom kernel. I installed  packages specific Tegra
> >> >> >> >>> >>> board
> >> >> >> >>> >>> and
> >> >> >> >>> >>> application specific. Now we want to send the baord and
> the
> >> >> >> >>> >>> new
> >> >> >> >>> >>> linux
> >> >> >> >>> >>> image for application development...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> As I went through ADT manual, I only found qemu based
> >> >> >> >>> >>> toolchains
> >> >> >> >>> >>> but I
> >> >> >> >>> >>> want to create toolchain based on my rootfs and kernel...
> so
> >> >> >> >>> >>> that
> >> >> >> >>> >>> the
> >> >> >> >>> >>> development team can develop a voip application for the
> >> >> >> >>> >>> board... I
> >> >> >> >>> >>> am
> >> >> >> >>> >>> kind of stuck how to proceed in this issue...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I really need a small way out and hopefully I will catch
> >> >> >> >>> >>> things
> >> >> >> >>> >>> automatically..
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Cheers,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Satya
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> _______________________________________________
> >> >> >> >>> >>> yocto mailing list
> >> >> >> >>> >>> yocto@yoctoproject.org
> >> >> >> >>> >>> https://lists.yoctoproject.org/listinfo/yocto
> >> >> >> >>> >>>
> >> >> >> >>> >>
> >> >> >> >>> >>
> >> >> >> >>> >> On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica
> >> >> >> >>> >> <jessica.zhang@intel.com> wrote:
> >> >> >> >>> >>> Yes, you need those packages in your sysroot for cross
> >> >> >> >>> >>> development.
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Cheers,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Jessica
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> From: satyaswaroop.damarla@gmail.com
> >> >> >> >>> >>> [mailto:satyaswaroop.damarla@gmail.com]
> >> >> >> >>> >>> On Behalf Of DAMARLA Satya Swaroop
> >> >> >> >>> >>> Sent: Friday, June 07, 2013 12:10 AM
> >> >> >> >>> >>> To: Zhang, Jessica; yocto@yoctoproject.org
> >> >> >> >>> >>> Subject: Re: [yocto] Application Development
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> SHould we install development and debigging pacakages in
> the
> >> >> >> >>> >>> images
> >> >> >> >>> >>> when we want to build a toolchain.. I mean this
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>  "dbg-pkgs"       - add -dbg packages for all installed
> >> >> >> >>> >>> packages
> >> >> >> >>> >>>
> >> >> >> >>> >>> #                     (adds symbol information for
> >> >> >> >>> >>> debugging/profiling)
> >> >> >> >>> >>>
> >> >> >> >>> >>> #  "dev-pkgs"       - add -dev packages for all installed
> >> >> >> >>> >>> packages
> >> >> >> >>> >>>
> >> >> >> >>> >>> #                     (useful if you want to develop
> against
> >> >> >> >>> >>> libs
> >> >> >> >>> >>> in
> >> >> >> >>> >>> the
> >> >> >> >>> >>> image)
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Greets,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Satya
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> On Thu, Jun 6, 2013 at 1:07 PM, DAMARLA Satya Swaroop
> >> >> >> >>> >>> <swaroop.damarla@gmail.com> wrote:
> >> >> >> >>> >>>
> >> >> >> >>> >>> Hi Jessica & Philip,
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I have an issue... This is such a long error ... I even
> did
> >> >> >> >>> >>> a
> >> >> >> >>> >>> fresh
> >> >> >> >>> >>> build by deleting the "tmp" directory. The image build
> went
> >> >> >> >>> >>> very
> >> >> >> >>> >>> well
> >> >> >> >>> >>> but the toolchain is always giving me a error...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Selecting previously unselected package xz-dev.
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Unpacking xz-dev (from
> .../xz-dev_5.1.2alpha-r0_armel.deb)
> >> >> >> >>> >>> ...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | The following package disappeared from your system as
> >> >> >> >>> >>>
> >> >> >> >>> >>> | all files have been overwritten by other packages:
> >> >> >> >>> >>>
> >> >> >> >>> >>> |   avahi
> >> >> >> >>> >>>
> >> >> >> >>> >>> | log_check: Using
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >> >>> >>> 4066
> >> >> >> >>> >>> as logfile
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Logfile is clean
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Installing NATIVESDK packages
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ InRelease
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Release.gpg
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Get:1 file: ./ Release [24 B]
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Get:2 file: ./ Release [11 B]
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Ign file: ./ Translation-en
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Reading package lists...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >> >>> >>> problems
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Reading package lists...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Building dependency tree...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Reading state information...
> >> >> >> >>> >>>
> >> >> >> >>> >>> | Some packages could not be installed. This may mean that
> >> >> >> >>> >>> you
> >> >> >> >>> >>> have
> >> >> >> >>> >>>
> >> >> >> >>> >>> | requested an impossible situation or if you are using
> the
> >> >> >> >>> >>> unstable
> >> >> >> >>> >>>
> >> >> >> >>> >>> | distribution that some required packages have not yet
> been
> >> >> >> >>> >>> created
> >> >> >> >>> >>>
> >> >> >> >>> >>> | or been moved out of Incoming.
> >> >> >> >>> >>>
> >> >> >> >>> >>> | The following information may help to resolve the
> >> >> >> >>> >>> situation:
> >> >> >> >>> >>>
> >> >> >> >>> >>> |
> >> >> >> >>> >>>
> >> >> >> >>> >>> | The following packages have unmet dependencies:
> >> >> >> >>> >>>
> >> >> >> >>> >>> |  packagegroup-cross-canadian-arm : Depends:
> >> >> >> >>> >>> gdb-cross-canadian-arm
> >> >> >> >>> >>> | but it
> >> >> >> >>> >>> is not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> |                                    Depends:
> >> >> >> >>> >>> gcc-cross-canadian-arm
> >> >> >> >>> >>> | but it
> >> >> >> >>> >>> is not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> |                                    Depends:
> >> >> >> >>> >>> meta-environment-arm
> >> >> >> >>> >>> but
> >> >> >> >>> >>> | it is
> >> >> >> >>> >>> not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> |                                    Depends:
> >> >> >> >>> >>> | binutils-cross-canadian-arm
> >> >> >> >>> >>> but it is not installable
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: Ignoring Provides line with DepCompareOp for package
> >> >> >> >>> >>> nativesdk-pkgconfig__pkg-config__
> >> >> >> >>> >>>
> >> >> >> >>> >>> | W: You may want to run apt-get update to correct these
> >> >> >> >>> >>> problems
> >> >> >> >>> >>>
> >> >> >> >>> >>> | E: Unable to correct problems, you have held broken
> >> >> >> >>> >>> packages.
> >> >> >> >>> >>>
> >> >> >> >>> >>> | DEBUG: Python function do_populate_sdk finished
> >> >> >> >>> >>>
> >> >> >> >>> >>> | ERROR: Function failed: populate_sdk_image (see
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_populate_sdk.
> >> >> >> >>> >>> 4066
> >> >> >> >>> >>> for further information)
> >> >> >> >>> >>>
> >> >> >> >>> >>> ERROR: Task 10
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> (/home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skid
> >> >> >> >>> >>> ata.bb,
> >> >> >> >>> >>> do_populate_sdk) failed with exit code '1'
> >> >> >> >>> >>>
> >> >> >> >>> >>> NOTE: Tasks Summary: Attempted 5020 tasks of which 4939
> >> >> >> >>> >>> didn't
> >> >> >> >>> >>> need to
> >> >> >> >>> >>> be rerun and 1 failed.
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Summary: 1 task failed:
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> /home/damarla/yocto/poky/meta/recipes-graphics/images/core-image-skida
> >> >> >> >>> >>> ta.bb,
> >> >> >> >>> >>> do_populate_sdk
> >> >> >> >>> >>>
> >> >> >> >>> >>> Summary: There was 1 ERROR message shown, returning a
> >> >> >> >>> >>> non-zero
> >> >> >> >>> >>> exit
> >> >> >> >>> >>> code.
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I am not able to install those packages as they say there
> >> >> >> >>> >>> are
> >> >> >> >>> >>> no
> >> >> >> >>> >>> installation candidate for them...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> On Thu, Jun 6, 2013 at 6:52 AM, Zhang, Jessica
> >> >> >> >>> >>> <jessica.zhang@intel.com>
> >> >> >> >>> >>> wrote:
> >> >> >> >>> >>>
> >> >> >> >>> >>> Hi Satya,
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Use bitbake image-name -c populate_sdk, this allows you to
> >> >> >> >>> >>> create
> >> >> >> >>> >>> a
> >> >> >> >>> >>> toolchain with sysroot that match your target image that
> >> >> >> >>> >>> allows
> >> >> >> >>> >>> you to
> >> >> >> >>> >>> develop app against...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Cheers,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Jessica
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> From: yocto-bounces@yoctoproject.org
> >> >> >> >>> >>> [mailto:yocto-bounces@yoctoproject.org]
> >> >> >> >>> >>> On Behalf Of Satya Swaroop Damarla
> >> >> >> >>> >>> Sent: Wednesday, June 05, 2013 6:05 AM
> >> >> >> >>> >>> To: yocto@yoctoproject.org
> >> >> >> >>> >>> Subject: [yocto] Application Development
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Hi Guys,
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I have an issue... I created a custom image based on
> NVIDIA
> >> >> >> >>> >>> Tegra2
> >> >> >> >>> >>> with a custom kernel. I installed  packages specific Tegra
> >> >> >> >>> >>> board
> >> >> >> >>> >>> and
> >> >> >> >>> >>> application specific. Now we want to send the baord and
> the
> >> >> >> >>> >>> new
> >> >> >> >>> >>> linux
> >> >> >> >>> >>> image for application development...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> As I went through ADT manual, I only found qemu based
> >> >> >> >>> >>> toolchains
> >> >> >> >>> >>> but I
> >> >> >> >>> >>> want to create toolchain based on my rootfs and kernel...
> so
> >> >> >> >>> >>> that
> >> >> >> >>> >>> the
> >> >> >> >>> >>> development team can develop a voip application for the
> >> >> >> >>> >>> board... I
> >> >> >> >>> >>> am
> >> >> >> >>> >>> kind of stuck how to proceed in this issue...
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> I really need a small way out and hopefully I will catch
> >> >> >> >>> >>> things
> >> >> >> >>> >>> automatically..
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> Cheers,
> >> >> >> >>> >>>
> >> >> >> >>> >>> Satya
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>>
> >> >> >> >>> >>> _______________________________________________
> >> >> >> >>> >>> yocto mailing list
> >> >> >> >>> >>> yocto@yoctoproject.org
> >> >> >> >>> >>> https://lists.yoctoproject.org/listinfo/yocto
> >> >> >> >>> >>>
> >> >> >> >>
> >> >> >> >>
> >> >> >
> >> >> >
> >> >
> >> >
> >
> >
>

[-- Attachment #2: Type: text/html, Size: 116553 bytes --]

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

* Re: Application development
  2014-04-29  7:40 Application development Rob Janssen
@ 2014-04-29  9:07 ` Patrick Shirkey
  0 siblings, 0 replies; 21+ messages in thread
From: Patrick Shirkey @ 2014-04-29  9:07 UTC (permalink / raw)
  To: alsa-devel


On Tue, April 29, 2014 5:40 pm, Rob Janssen wrote:
> A week and a half ago I asked some questions about application development
> using alsa ("Control the exact moment of output"), but it appears this
> list is more
> about development of alsa itself.
>
> Is there another place where discussions about using alsa are more
> appropriate,
> and/or a place where documentation can be found that goes a bit further
> than a
> plain list of function names and parameter lists?
> I.e. a more general description about how one structures an application
> that uses
> alsa, and how timing fits in that picture.
>


Hi Rob,

This list is more focused on driver development. At the moment the
official documentation is sparse. There is a lot of example code available
in open source applications.

What exactly are you looking to achieve?

FYI, most professional audio application developers tend to work with JACK
rather than ALSA directly.  There is also Pulse-Audio and gstreamer.

You might find that you have more luck discussing application development
on the LAD list.

There is also the JACK-devel list.


--
Patrick Shirkey
Boost Hardware Ltd

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

* Application development
@ 2014-04-29  7:40 Rob Janssen
  2014-04-29  9:07 ` Patrick Shirkey
  0 siblings, 1 reply; 21+ messages in thread
From: Rob Janssen @ 2014-04-29  7:40 UTC (permalink / raw)
  To: alsa-devel

A week and a half ago I asked some questions about application development
using alsa ("Control the exact moment of output"), but it appears this list is more
about development of alsa itself.

Is there another place where discussions about using alsa are more appropriate,
and/or a place where documentation can be found that goes a bit further than a
plain list of function names and parameter lists?
I.e. a more general description about how one structures an application that uses
alsa, and how timing fits in that picture.

Rob

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

end of thread, other threads:[~2014-04-29  9:06 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-05 13:05 Application Development Satya Swaroop Damarla
2013-06-06  4:52 ` Zhang, Jessica
2013-06-06  9:48   ` DAMARLA Satya Swaroop
2013-06-06 11:07   ` DAMARLA Satya Swaroop
2013-06-07  7:10     ` DAMARLA Satya Swaroop
2013-06-07 13:10       ` Hans Beckérus
2013-06-07 13:34         ` Gary Thomas
2013-06-07 13:40           ` Hans Beckérus
2013-06-07 13:44             ` Hans Beckérus
2013-06-07 14:03       ` Zhang, Jessica
2013-06-07 14:09         ` Hans Beckérus
2013-06-07 14:21           ` Zhang, Jessica
2013-06-07 14:29             ` Hans Beckérus
2013-06-10 10:03               ` Hans Beckérus
     [not found]                 ` <CAFMfyzKgaoFNRjvw9qy14SmqXAqhWsHcBTaeZnMog1DUsaFLjQ@mail.gmail.com>
2013-06-10 11:28                   ` Hans Beckérus
2013-06-10 14:07                     ` Hans Beckérus
2013-06-10 21:55                       ` Jeff Osier-Mixon
     [not found]                       ` <CAFMfyzKTxfLECC+inGzBbNGM8z9oaV--MV=rh_movEHGr6hR9Q@mail.gmail.com>
     [not found]                         ` <CAFyqS9r05Nvak8y4Me0KZfL1Fv7TzM3Snk5hsaVmjeD9TroFNg@mail.gmail.com>
     [not found]                           ` <CAFMfyz+KLEH59G+0m3o-N++gUMTd297ZCB61hkPQkAi87z3jpw@mail.gmail.com>
     [not found]                             ` <CAFyqS9qJyC+==fd=mpFnLrzb+pFjJcC=tNGuWPxgcHKrdyz9EA@mail.gmail.com>
2013-06-11  9:06                               ` DAMARLA Satya Swaroop
     [not found]                                 ` <CAFyqS9o5BUWAk+JitYHj47cuVJMkCkN_TASp_3S+-Ge_XZfb+A@mail.gmail.com>
2013-06-11 11:04                                   ` DAMARLA Satya Swaroop
2014-04-29  7:40 Application development Rob Janssen
2014-04-29  9:07 ` Patrick Shirkey

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.