[ Build ] Fetcher failure for URL
μ λ²μ κ³ μ³μ λΉλκ° μ λλλ° νλ² λ°κ³ λ€μ κΉμλλ λ μλμ λ―ΈμΉ κ² κ°λ€.
$ 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://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 enable
https://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