My question is raised because my build-yocto server ran into the error:
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/mnt/wd2tb/home/Work/skrzg1h_iWg21m_QtHmi/build/downloads/git2/github.com.qtproject.qtenginio.git'...
Fetcher failure for URL: 'git://github.com/qtproject/qtenginio.git;name=qtenginio;branch=5.6;protocol=git'. Unable to fetch URL from any source.
In the meantime, my PC can do that. So, I cloned the qtenginio repo to my local PC.
$ git clone git://github.com/qtproject/qtenginio.git;name=qtenginio;branch=5.6;protocol=git
And copy the downloaded source code above into the downloads/git2/github.com.qtproject.qtenginio.git folder of Yocto project.
Finally, I run the bitbake command.
$ bitbake qtenginio
But the fetch still fails. Anyone can help me in this case ?
bitbake clones bare git repo, please add option '--bare' and touch a .done file to tell bitbake that do_fetch has been done already:
$ git clone --bare git://github.com/qtproject/qtenginio.git;name=qtenginio;branch=5.6 /mnt/wd2tb/home/Work/skrzg1h_iWg21m_QtHmi/build/downloads/git2/github.com.qtproject.qtenginio.git
$ touch /mnt/wd2tb/home/Work/skrzg1h_iWg21m_QtHmi/build/downloads/git2/github.com.qtproject.qtenginio.git.done
Step 1: download the package by hand (wget, git clone ...)
Step 2: copy the package into ./build/downloads
Step 3: touch a package_name.done file.
Step 4: change permission for the *.done file: chmod 777 package_name.done
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With