[yocto] Application Development

Hans Beckérus hans.beckerus at gmail.com
Fri Jun 7 07:09:12 PDT 2013


On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang at 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 at gmail.com [mailto:satyaswaroop.damarla at gmail.com]
> On Behalf Of DAMARLA Satya Swaroop
> Sent: Friday, June 07, 2013 12:10 AM
> To: Zhang, Jessica; yocto at 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 at 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 at 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 at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org]
> On Behalf Of Satya Swaroop Damarla
> Sent: Wednesday, June 05, 2013 6:05 AM
> To: yocto at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


On Fri, Jun 7, 2013 at 4:03 PM, Zhang, Jessica <jessica.zhang at intel.com> wrote:
> Yes, you need those packages in your sysroot for cross development.
>
>
>
> Cheers,
>
> Jessica
>
>
>
> From: satyaswaroop.damarla at gmail.com [mailto:satyaswaroop.damarla at gmail.com]
> On Behalf Of DAMARLA Satya Swaroop
> Sent: Friday, June 07, 2013 12:10 AM
> To: Zhang, Jessica; yocto at 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 at 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 at 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 at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org]
> On Behalf Of Satya Swaroop Damarla
> Sent: Wednesday, June 05, 2013 6:05 AM
> To: yocto at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list