All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: "Hingolikar, Mrinmayee" <mrinmayee@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Re: FW: FW: Do_rootfs failure with tools-sdk in EXTRA_IMAGE_FEATURES
Date: Mon, 20 Jan 2014 12:56:31 -0500	[thread overview]
Message-ID: <20140120175631.GY12727@edge> (raw)
In-Reply-To: <CF956B779D819D41BBC043B7082161D547A9BC@DBDE04.ent.ti.com>

Mrinmayee,

Neither of the external toolchains (arago or linaro) provide ldd script.

The "tools-sdk" feature you are trying to use comes from upstream OE/Yocto and 
it seems to want to install ldd.

But either way, if you want the development tools such as gcc, make, etc. to 
be packaged in the rootfs, you need those to be built for the target, as you 
can't re-use the external cross-toolchain, as those binaries are x86.

In Arago we don't directly support this "tools-sdk" feature and it was not 
tested therefore.

I would suggest creating your own packagegroup with necessary minimal set of 
packages like gcc, make, etc. and adding it to the rootfs image. I believe 
that's how MCSDK guys are doing it. We can unify it between the teams going 
forward...

Let me know if you have any questions. Thanks.

-- 
Denys


On Mon, Jan 20, 2014 at 05:44:25PM +0000, Hingolikar, Mrinmayee wrote:
> Hi all,
> 
> I have tried building an image with development tools using the following:
> 
> 1.      Add  “tools-sdk” in EXTRA_IMAGE_FEATURES
> 
> 2.      In the branding file, set preferred providers as:
> 
> PREFERRED_PROVIDER_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} = "external-arago-sdk-toolchain"
> 
> PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} = "external-arago-sdk-toolchain"
> 
> PREFERRED_PROVIDER_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "external-arago-sdk-toolchain"
> 
> 3.      In the PATH variable, I include the path to the external linaro toolchain.
> 
> Still the same errors are seen:
> Collected errors:
> * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-core-sdk:
> *      ldd *
> * opkg_install_cmd: Cannot install package packagegroup-core-sdk.
> 
> Any pointers ?
> 
> Regards,
> Mrinmayee
> 
> 
> From: Srinivasan, Nageswari
> Sent: Wednesday, January 08, 2014 4:01 PM
> To: Denys Dmytriyenko; Hingolikar, Mrinmayee; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Cc: R, Karthik
> Subject: RE: [meta-arago] FW: Do_rootfs failure with tools-sdk in EXTRA_IMAGE_FEATURES
> 
> 
> Denys,
> 
> Just to add on
> The issue of missing sources came up after rebasing epossdk patches to Dylan branch
> 
> Build Configuration:
> BB_VERSION        = "1.18.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Ubuntu-12.04"
> TARGET_SYS        = "arm-oe-linux-gnueabi"
> MACHINE           = "am437x-evm"
> DISTRO            = "arago"
> DISTRO_VERSION    = "2013.12"
> TUNE_FEATURES     = "armv7a vfp thumb neon callconvention-hard cortexa9"
> TARGET_FPU        = "vfp-neon"
> meta-ti-secure    = "master:08f6b88d375b6ae71ac9a5ce92dc46c8458ba229"
> meta-arago-distro
> meta-arago-extras = "2013.12:2bd459897718bec6bc2cbc54549cefe38420bb68"
> meta-ti           = "2013.12:09d097123ff57532d826c734edef70a65ca70b22"
> meta-qt5          = "master:72ca958ebfb61640c614ec865196d68fba2576c2"
> toolchain-layer
> meta-networking
> meta-ruby
> meta-oe           = "dylan:44754206632dd5b0725aeb43e99e4ff9e0245dca"
> meta-linaro-toolchain = "dylan:c9f78d6eff14ada3f2bc960e81883b27a10afecc"
> meta              = "dylan:394fa61d00b97c19610bfb38f02174c4e8aeeb15"
> 
> 
> is there any additional change required on CREATE_SRCIPK for picking up the “*-src” into the packages.
> 
> Regards,
> Nageswari
> 
> From: Denys Dmytriyenko [mailto:denis@denix.org]
> Sent: Wednesday, January 08, 2014 10:43 AM
> To: Srinivasan, Nageswari; Hingolikar, Mrinmayee; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Cc: R, Karthik
> Subject: Re: [meta-arago] FW: Do_rootfs failure with tools-sdk in EXTRA_IMAGE_FEATURES
> 
> "Srinivasan, Nageswari" <nageswari@ti.com<mailto:nageswari@ti.com>> wrote:
> Mrinmayee,
> 
> 
> I am also facing similar issues while building for EPOS SDK.
> 
> 
> Installing packagegroup-arago-tisdk-amsdk-sdk-host (1.0-r17) to root...
> | Downloading file:/db/swcoe_epos2/a0393278/yocto/oe-layersetup/build/arago-tmp-external-linaro-toolchain/deploy/ipk/am438x_epos_evm/packagegroup-arago-tisdk-amsdk-sdk-host_1.0-r17_am438x_epos_evm.ipk.
> | Installing packagegroup-arago-tisdk-epossdk-sdk-host (1.0-r1) to root...
> | Downloading file:/db/swcoe_epos2/a0393278/yocto/oe-layersetup/build/arago-tmp-external-linaro-toolchain/deploy/ipk/am438x_epos_evm/packagegroup-arago-tisdk-epossdk-sdk-host_1.0-r1_am438x_epos_evm.ipk.
> | Collected errors:
> |  * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-arago-tisdk-addons-sdk-host:
> |  *    arm-benchmarks-src *    am-sysinfo-src *        ti-linux-secure-examples-src *  oprofile-example-src *
> |  * opkg_install_cmd: Cannot install package packagegroup-arago-tisdk-addons-sdk-host.
> |  * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-arago-tisdk-matrix-sdk-host:
> |  *    matrix-gui-src *
> |  * opkg_install_cmd: Cannot install package packagegroup-arago-tisdk-matrix-sdk-host.
> |  * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-arago-tisdk-amsdk-sdk-host:
> |  *    u-boot-am43xx-src *     linux-am43xx-src *      oe-layersetup-src *
> |  * opkg_install_cmd: Cannot install package packagegroup-arago-tisdk-amsdk-sdk-host.
> |  * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-arago-tisdk-epossdk-sdk-host:
> |  *    starterware-src *       examples-src *  ppa-am438x-epos-evm-src *
> |  * opkg_install_cmd: Cannot install package packagegroup-arago-tisdk-epossdk-sdk-host.
> 
> 
> Regards,
> Nageswari
> 
> 
> 
> 
> From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Hingolikar, Mrinmayee
> Sent: Wednesday, January 08, 2014 10:34 AM
> To: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Cc: R, Karthik
> Subject: [meta-arago] FW: Do_rootfs failure with tools-sdk in EXTRA_IMAGE_FEATURES
> 
> 
> 
> 
> Hi all,
> 
> 
> I am trying to add development tools in the filesystem. After adding tools-sdk in EXTRA_IMAGE_FEATURES, the build failed in the rootfs task. Snapshot of the log:
> Collected errors:
> * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-core-sdk:
> *      ldd *
> * opkg_install_cmd: Cannot install package packagegroup-core-sdk.
> 
> 
> Ldd package provided by eglibc is not getting built.
> 
> 
> Similar errors was seen when I built arago-console-image with the arago-dylan-config.
> Is this a known issue and any pointers to resolve it?
> 
> 
> Regards,
> Mrinmayee
> 
> 
> 
> ________________________________
> 
> meta-arago mailing list
> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> It fails in the same place, but for a completely different reason - you are trying to install host-side packages into a target rootfs...
> 
> --
> Denys

> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago



      reply	other threads:[~2014-01-20 17:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 17:44 FW: FW: Do_rootfs failure with tools-sdk in EXTRA_IMAGE_FEATURES Hingolikar, Mrinmayee
2014-01-20 17:56 ` Denys Dmytriyenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140120175631.GY12727@edge \
    --to=denys@ti.com \
    --cc=meta-arago@arago-project.org \
    --cc=mrinmayee@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.