[meta-freescale] jethro: cubox-i fetch error

Peter Bergin peter.bergin at tritech.se
Tue Jan 12 04:19:16 PST 2016

Hi Daiane,

On 01/12/2016 01:08 PM, Daiane Angolini wrote:
I just faced a fetch error on linux-cubox-i_3.14.14.bb<http://linux-cubox-i_3.14.14.bb>. It looks like the git server was updated somehow.

| ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
| The --set-upstream flag is deprecated and will be removed. Consider using --track or --set-upstream-to
| fatal: 'origin/' is not a valid branch name.
ERROR: Task 41 (/mnt/code/yocto/jethro/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-cubox-i_3.14.14.bb<http://linux-cubox-i_3.14.14.bb>, do_unpack) failed with exit code '1'

I think the root cause of this failure is that the variable SRCBRANCH is not set properly for cubox-i in jethro.

# $SRCBRANCH [2 operations]
#   set? /work/yocto/cubox-i/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx.inc:12
#     ""
#   set? /work/yocto/cubox-i/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-cubox-i_3.14.14.bb:10
#     "linux-linaro-lsk-v3.14-mx6"
# pre-expansion value:
#   ""

I think a fix for this is to always set SRCBRANCH in linux-cubox recipe. ( SRCBRANCH ?= --> SRCBRANCH = ). Other kernel recipes in meta-fsl-arm-extra have done this change for jethro. I did this and tested and came to the next conclusion that linux-cubox-i was not ready for gcc5 yet. I have not had possibility to spend more time on this unfortunately.

Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-15.10"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "cubox-i"
DISTRO            = "poky"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta-yocto        = "HEAD:8a3deca4a4dae430e5434c2f082a4b46bfd5188a"
meta-multimedia   = "HEAD:ad6133a2e95f4b83b6b3ea413598e2cd5fb3fd90"
meta-fsl-arm      = "HEAD:35b8b9bd9863de208ab60e33b55f10ee43e2619b"
meta-fsl-arm-extra = "HEAD:95f6f731517817ae2f8b379da43ab3376005e5d4"
meta-fsl-demos    = "HEAD:2231e946e7a94d096394f2b2477e8184c9bbde7b"

Any information is welcomed.


The status right now is that cubox-i is broken i jethro.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160112/d60b56ec/attachment.html>

More information about the meta-freescale mailing list