From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1C1C2E00A7D; Tue, 12 Jan 2016 04:28:02 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [46.59.120.190 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 513 seconds by postgrey-1.32 at yocto-www; Tue, 12 Jan 2016 04:27:56 PST Received: from nic.tritech.se (tritech.se [46.59.120.190]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8AD10E008A5 for ; Tue, 12 Jan 2016 04:27:56 -0800 (PST) Received: from post.tritech.se (post.tritech.se [10.75.60.100]) by nic.tritech.se (8.14.4/8.14.4/Debian-4) with ESMTP id u0CCJMBC025511; Tue, 12 Jan 2016 13:19:22 +0100 Received: from POST.tritech.se ([10.75.60.100]) by post ([10.75.60.100]) with mapi id 14.03.0279.002; Tue, 12 Jan 2016 13:19:16 +0100 From: Peter Bergin To: Daiane Angolini , "meta-freescale@yoctoproject.org" Thread-Topic: [meta-freescale] jethro: cubox-i fetch error Thread-Index: AQHRTTHtwg8rmfvjzUWnU6Y5CLRf+w== Date: Tue, 12 Jan 2016 12:19:16 +0000 Message-ID: <43F0718C449F6A46B393DA2BEC8E01280C9736C3@post> References: Accept-Language: sv-SE, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [193.15.208.193] MIME-Version: 1.0 Subject: Re: jethro: cubox-i fetch error X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2016 12:28:02 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_43F0718C449F6A46B393DA2BEC8E01280C9736C3post_" --_000_43F0718C449F6A46B393DA2BEC8E01280C9736C3post_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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. It looks like the git server was updated somehow. | ERROR: Function failed: Fetcher failure: Fetch command failed with exit c= ode 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-k= ernel/linux/linux-cubox-i_3.14.14.bb, do_u= npack) failed with exit code '1' I think the root cause of this failure is that the variable SRCBRANCH is no= t set properly for cubox-i in jethro. # $SRCBRANCH [2 operations] # set? /work/yocto/cubox-i/sources/meta-fsl-arm/recipes-kernel/linux/linu= x-imx.inc:12 # "" # set? /work/yocto/cubox-i/sources/meta-fsl-arm-extra/recipes-kernel/linu= x/linux-cubox-i_3.14.14.bb:10 # "linux-linaro-lsk-v3.14-mx6" # pre-expansion value: # "" SRCBRANCH=3D"" I think a fix for this is to always set SRCBRANCH in linux-cubox recipe. ( = SRCBRANCH ?=3D --> SRCBRANCH =3D ). Other kernel recipes in meta-fsl-arm-ex= tra 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 =3D "1.28.0" BUILD_SYS =3D "x86_64-linux" NATIVELSBSTRING =3D "Ubuntu-15.10" TARGET_SYS =3D "arm-poky-linux-gnueabi" MACHINE =3D "cubox-i" DISTRO =3D "poky" DISTRO_VERSION =3D "2.0" TUNE_FEATURES =3D "arm armv7a vfp thumb neon callconvention-hard cortex= a9" TARGET_FPU =3D "vfp-neon" meta meta-yocto =3D "HEAD:8a3deca4a4dae430e5434c2f082a4b46bfd5188a" meta-oe meta-multimedia =3D "HEAD:ad6133a2e95f4b83b6b3ea413598e2cd5fb3fd90" meta-fsl-arm =3D "HEAD:35b8b9bd9863de208ab60e33b55f10ee43e2619b" meta-fsl-arm-extra =3D "HEAD:95f6f731517817ae2f8b379da43ab3376005e5d4" meta-fsl-demos =3D "HEAD:2231e946e7a94d096394f2b2477e8184c9bbde7b" Any information is welcomed. Regards, Daiane The status right now is that cubox-i is broken i jethro. Regards, /Peter --_000_43F0718C449F6A46B393DA2BEC8E01280C9736C3post_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
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. It looks like the git server was updated some= how.


| ERROR: Function failed: Fetcher failure: Fetch command failed with exit c= ode 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-k= ernel/linux/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 no= t 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-k= ernel/linux/linux-cubox-i_3.14.14.bb:10
#     "linux-linaro-lsk-v3.14-mx6"
# pre-expansion value:
#   ""
SRCBRANCH=3D""

I think a fix for this is to always set SRCBRANCH in linux-cubox recipe. ( = SRCBRANCH ?=3D --> SRCBRANCH =3D ). 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        =3D "1.28.0"
BUILD_SYS         =3D "x86_64-linux"
NATIVELSBSTRING   =3D "Ubuntu-15.10"
TARGET_SYS        =3D "arm-poky-linux-gnueabi"= ;
MACHINE           =3D "cubox-i"
DISTRO            =3D "poky"
DISTRO_VERSION    =3D "2.0"
TUNE_FEATURES     =3D "arm armv7a vfp thumb neon callconvent= ion-hard cortexa9"
TARGET_FPU        =3D "vfp-neon"
meta            
meta-yocto        =3D "HEAD:8a3deca4a4dae430e5434c= 2f082a4b46bfd5188a"
meta-oe          
meta-multimedia   =3D "HEAD:ad6133a2e95f4b83b6b3ea413598e2cd5fb3f= d90"
meta-fsl-arm      =3D "HEAD:35b8b9bd9863de208ab60e33b55= f10ee43e2619b"
meta-fsl-arm-extra =3D "HEAD:95f6f731517817ae2f8b379da43ab3376005e5d4&= quot;
meta-fsl-demos    =3D "HEAD:2231e946e7a94d096394f2b2477e8184= c9bbde7b"

Any information is welcomed.

Regards,
Daiane



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

Regards,
/Peter

--_000_43F0718C449F6A46B393DA2BEC8E01280C9736C3post_--