Follow this link https://community.freescale.com/docs/DOC-94849 , but Yocto Fail in GIT

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Follow this link https://community.freescale.com/docs/DOC-94849 , but Yocto Fail in GIT

2,475 Views
ricktseng
Contributor III

Hi All ,

I follow this link on Freescale Yocto Training but fail on : bitbake fsl-image-gui.

The error message is :

WARNING: Failed to fetch URL git://gitorious.org/qt-in-use/qt-in-industrial-embedded.git, attempting MIRRORS if available

ERROR: Fetcher failure: Fetch command failed with exit code 128, output:

Cloning into bare repository '/home/rick/2fsl-community-bsp/downloads//git2/gitorious.org.qt-in-use.qt-in-industrial-embedded.git'...

fatal: The remote end hung up unexpectedly

ERROR: Function failed: Fetcher failure for URL: 'git://gitorious.org/qt-in-use/qt-in-industrial-embedded.git'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/rick/2fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qt-in-industrial-embedded-smarthome/0.0+gitrAUTOINC+4b10cbfd32-r3/temp/log.do_fetch.20091

ERROR: Task 2564 (/home/rick/2fsl-community-bsp/sources/meta-fsl-demos/recipes-qt/qt-in-use/qt-in-industrial-embedded-smarthome_git.bb, do_fetch) failed with exit code '1'

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

Waiting for 0 running tasks to finish:

Summary: 1 task failed:

  /home/rick/2fsl-community-bsp/sources/meta-fsl-demos/recipes-qt/qt-in-use/qt-in-industrial-embedded-smarthome_git.bb, do_fetch

Summary: There were 12 WARNING messages shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

I try this manually :

git clone git://gitorious.org/qt-in-use/qt-in-industrial-embedded.git

and I got : fatal . remote host close unexpectedly

I think Yocto is trying to clone qt-in-industrial-embedded.git but unable to complete.

Anyone know how to fix it ?

Thanks

Ricky

Labels (2)
3 Replies

993 Views
Yuri
NXP Employee
NXP Employee

  Please use  the  recent Linux BSP for the i.MX6, which may be found on the next Summary Page :

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6_SW

http://www.freescale.com/webapp/Download?colCode=L3.10.53_1.1.0_iMX6QDLS_Bundle&appType=license&loca...

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

993 Views
ricktseng
Contributor III

Hi Yuri ,

Thanks for your quick response.

Last week I follow the same YOCTO instructions and I did not get this error message. I went to that directory and found this :

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

rick@kingstonV120:~/fsl-community-bsp/downloads/git2$ ls -alrt gitorious*

-rw-rw-r-- 1 rick rick    0 Mar  6 03:52 gitorious.org.qt-in-use.qt-in-industrial-embedded.git.done

gitorious.org.qt-in-use.qt-in-industrial-embedded.git:

total 52

drwxrwxr-x  4 rick rick  4096 Mar  6 03:52 refs

drwxrwxr-x  2 rick rick  4096 Mar  6 03:52 info

drwxrwxr-x  2 rick rick  4096 Mar  6 03:52 hooks

-rw-rw-r--  1 rick rick    73 Mar  6 03:52 description

drwxrwxr-x  2 rick rick  4096 Mar  6 03:52 branches

drwxrwxr-x  4 rick rick  4096 Mar  6 03:52 objects

-rw-rw-r--  1 rick rick   190 Mar  6 03:52 config

-rw-rw-r--  1 rick rick    85 Mar  6 03:52 packed-refs

-rw-rw-r--  1 rick rick    23 Mar  6 03:52 HEAD

drwxrwxr-x  7 rick rick  4096 Mar  6 03:52 .

drwxrwxr-x 52 rick rick 12288 Mar  6 09:23 ..

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

In the directory downloads , there is a git2 directory which store the "DONE" file and the clone of "gitorious.org.qt-in-use.qt-in-industrial-embedded.git".

I copy the DONE file and the whole clone directory to my new run directory and run "bitbake fsl-image-gui " again and the Yocto takes it and continue to run.

I think sometime this week QT must done something to prevent user to clone ????

As I mentioned before , this command return ERROR : git clone git://gitorious.org/qt-in-use/qt-in-industrial-embedded.git

Do you know anyone in QT to confirm this ?

Thanks for your reply.

Rick

0 Kudos

993 Views
olivierlebozec
Contributor II

Hi Rick,

I'm facing the same issue but I'm behind a proxy that don't like git.

Using HTTPS it seems better

git clone https://gitorious.org/qt-in-use/qt-in-industrial-embedded.git

Cloning into 'qt-in-industrial-embedded'...

remote: Counting objects: 211, done.

...

Checking connectivity... done.

I change it in the recipe meta-fsl-demos/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc :

SRC_URI = "git://gitorious.org/qt-in-use/qt-in-industrial-embedded.git;protocol=https \

Best Regards,

Olivier.