-
728x90๋ฐ์ํ
์ ๋ฒ์ ๊ณ ์ณ์ ๋น๋๊ฐ ์ ๋๋๋ฐ ํ๋ฒ ๋ฐ๊ณ ๋ค์ ๊น์๋๋ ๋ ์๋์ ๋ฏธ์น ๊ฒ ๊ฐ๋ค.
$ setupbuild -t <target> -j <thread#>$ bitbake <target>Error Message
ERROR: attr-native-2.4.47-r0 do_fetch: Fetcher failure for URL: 'http://download.savannah.gnu.org/releases/attr/attr-2.4.47.src.tar.gz'.Unable to fetch URL from any source.ERROR: attr-native-2.4.47-r0 do_fetch: Function failed: base_do_fetch์ด๋ฐ ๋ฉ์์ง๊ฐ 4~5๊ฐ ๋์ด
https://community.nxp.com/t5/i-MX-Processors/Compile-error-for-meta-toolchain/m-p/854654/highlight/true?lightbox-message-images-854653=71913i382259A0C5A1545A ์ด๊ฑฐ๋ ๊ฐ๋ค.. https://tutorialadda.com/blog/do-fetch-fetcher-failure-unable-to-fetch-url-from-any-source
do_fetch: Fetcher failure Unable to fetch URL from any source
tutorialadda.com
์ง์ ์ด๋์ ๊ฐ ์ด ํ์ผ์ ๋ฐ์์ผ ํ๋๋ฐ ์ด์ ์ ์ด๋ฐ๊ฑฐ ์์ด๋ ์๋์ ๋ฉ๋ถ..
Solution ์ ๋ฆฌ
1. ssh ์ค์
๊ฐ์ฅ ์ฒ์ ๋ฌธ์ ๊ฐ ์๊ฒผ์ ๋์๋ ssh ํค๊ฐ ์ค์ ๋์ด์์ง ์์์ ์๊ธด ๋ฌธ์ ์๋ค.
$ cd ~/.ssh$ ssh-keygen -t rsa C "ํ์ฌ๊ณ์ "Enter file in which to save the key */c/users/๊ณ์ /.ssh/id_rsa):Enter passphrase(empty for no passphrase): # ๊ทธ๋ฅ ์ํฐ ๋๋ฅด๋ฉด ๋Enter same passphrasae again:$ ls -a # id_rsa.puub ์๋์ง ํ์ธ$ cat ~/.ssh/id_rsa.pub # ํค ํ์ธ$ git remote -v # remote ํ์ธ$ git config --list # ๊ณ์ ํ์ธ
์ฐธ๊ณ https://seunghee63.github.io/multi-account/
.ssh ๋๋ ํ ๋ฆฌ๋ ๋งค์ฐ ์ค์ํ ๋ณด์ ์ ๋ณด๊ฐ ๋ด๊ธด ๋๋ ํ ๋ฆฌ๋ค. ๋ฐ๋ผ์ ํผ๋ฏธ์ ์ค์ ์ ๊ผญํด์ผ ํ๋๋ฐ ์๋์ ๊ฐ์ ์ค์ ์ ๊ถ์ฅํ๋ค. ์๋์ ๋ช ๋ น์ ์์ฐจ์ ์ผ๋ก ์คํํ๋ค.
$ chmod 700 ~/.ssh$ chmod 600 ~/.ssh/id_rsa$ chmod 644 ~/.ssh/id_rsa.pub$ chmod 644 ~/.ssh/authorized_keys$ chmod 644 ~/.ssh/known_hosts๋ง์ฝ id_rsa ํ์ผ์ $HOME/.ssh/id_rsa์ ๋ง๋ค์ง ์๊ณ ๋ค๋ฅธ ๋๋ ํ ๋ฆฌ์ ๋ง๋ค์๋ค๋ฉด -i ์ต์ ์ ์ฌ์ฉํ๋ค.
ํ๋๋ ํ ๋ฆฌ์ auth๋ผ๋ ์ด๋ฆ์ ํ์ผ์ id_rsa์ ๋ด์ฉ์ด ๋ด๊ฒจ ์๋ค๋ฉด ์๋์ ๊ฐ์ด ํ๋ค.
$ ssh -i $HOME/auth egoing.netโ
tutorial https://gist.github.com/aprilmintacpineda/f101bf5fd34f1e6664497cf4b9b9345f
2. directory ๊ถํ
๊ถํ์ด ์๋ ๊ฒฝ์ฐ๋ ์ด๋ฐ ๋ฌธ์ ๊ฐ ์๊ธธ ์ ์๋ค.
โ03-31-2020 04:39 AM 2,103 Views
santhosh2
hi,its nothing related to internet connection.. its related to permission, some file are unable to overwrite so you will get this issue,just do sudo chmod -R 777 * to the entire build folder (it will take roughly 2 hrs to do this task due to yocto size) and then compile againregardssanthosh$ ls al $ ํ์ผ ์ ๋ณด ๋ณด๊ธฐ$ chmod -R 777 ๋๋ ํ ๋ฆฌ์ด๋ฆ # ๋๋ ํ ๋ฆฌ ํ์์ ์์นํ ๋ชจ๋ ํ์ผ ๋ฐ ๋๋ ํ ๋ฆฌ ํผ๋ฏธ์ ์ด 777๋ก ๋ณ๊ฒฝ๋จ# or$ sudo chmod -R 777 *# or$ sudo chmod ugo+rwx <folder or directory name>์ฐธ๊ณ https://conory.com/blog/19194
3. ์ฉ๋ ๋ฌธ์
์ฉ๋์ด ์ ์ด์ fetch error๊ฐ ์๊ธธ ์ ์๋ค (์ด๊ฑฐ ๊ทธ๋ด์ธํจ) ํ์ง๋ง ํ๋์๋ค ๋ฐ์๋ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ํ๊ธฐ ๋๋ฌธ์ ์ด๊ฑด ์๋๊ฑฐ ๊ฐ๋ค.
4. Network proxy
โ02-12-2019 05:54 AM 2,104 Views
radhikasomaiya Senior Contributor II
Hi Santhosh Kumar,Are you running behind any proxy server? If this the case then make sure that this URL is not getting blocked in your firewall as I am able to clone the repo successfully (link given in above snap).$git clone git://sourceware.org/git/glibc.git - This is successfully cloned on my machine.Regards,Radhika Soamiya์ด๊ฒ ๋ฌธ์ ์ธ๊ฑฐ๊ฐ์๋ฐ ๋ฐฉํ๋ฒฝ ๋๋ฌธ์ด ์๋๊น.. ์ ์ด์ ํด๋น url์ ๋ด bitbucket์ฃผ์๋ฅผ ์ณ๋ ์์ด๋ ๋น๋ฐ๋ฒํธ๋ฅผ ๋ฌดํํ ๋ฌผ์ด๋ณธ๋ค. wiki ๋ณด๊ณ ๋ฐ๋ผํด๋ดค์ง๋ง ์ฌ์ ํ ์๋๋..
$ sudo ufw status # ๋ฐฉํ๋ฒฝ ์ํ ํ์ธ$ sudo ufw status verbose$ sudo ufw disable# toggle$ sudo ufw enablehttps://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy
Working Behind a Network Proxy - Yocto Project
Background The Yocto Project build system provides the tools and environment to build the packages that comprise a bootable Linux image. All the sources for the packages must be fetched through various means, including wget, git, and others. You need to co
wiki.yoctoproject.org
728x90๋ฐ์ํ๋๊ธ