๋ฐ˜์‘ํ˜•
JuneBee
JuneBee
JuneBee
์ „์ฒด ๋ฐฉ๋ฌธ์ž
์˜ค๋Š˜
์–ด์ œ
  • ๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ (102)
    • ๐Ÿ‘” JOB (10)
      • ์ „ํ˜• ํ›„๊ธฐ (10)
    • ๐ŸŽฎ GAME (9)
      • ์ ค๋‹ค | ์™•๊ตญ์˜ ๋ˆˆ๋ฌผ ๊ฒŒ์ž„ ์ผ๊ธฐ (9)
    • ๐Ÿ““ STUDY (60)
      • JAVA (15)
      • TIL (2)
      • FASTCAMPUS (32)
      • ํ™˜๊ฒฝ์„ค์ • (2)
      • YOCTO (1)
      • OS (4)
      • ๋ฆฌ์•กํŠธ ๋„ค์ดํ‹ฐ๋ธŒ ์ธ ์•ก์…˜ (2)
    • ๐ŸŽงDAILY (6)
    • ๐Ÿ‡ฉ๐Ÿ‡ช GERMAN (17)
      • ๋Œ€ํ•™์› ์ง€์› (3)
      • ์ง€์› ํ›„๊ธฐ (11)
      • ๋…์ผ์–ด ์‹œํ—˜ (3)

๋ธ”๋กœ๊ทธ ๋ฉ”๋‰ด

  • ํ™ˆ
  • ์ผ์ƒ

๊ณต์ง€์‚ฌํ•ญ

์ธ๊ธฐ ๊ธ€

ํƒœ๊ทธ

  • Java
  • C/C++
  • ์ •๋ ฌ
  • ์‹ธํ”ผ
  • ์ง์žฅ์ธ์ธ๊ฐ•
  • ํŒจ์บ ์ฑŒ๋ฆฐ์ง€
  • ์ ค๋‹ค
  • ๋…์ผ์–ด
  • ์ž๋ฃŒ๊ตฌ์กฐ
  • ์„์‚ฌ
  • telc
  • ๋…์ผ
  • ์ง์žฅ์ธ์ž๊ธฐ๊ณ„๋ฐœ
  • ๋…์ผ์œ ํ•™
  • ์œ ํ•™
  • ๊ฒŒ์ž„์ผ๊ธฐ
  • ๋ฐฑํŠธ๋ž˜ํ‚น
  • ์™•๊ตญ์˜๋ˆˆ๋ฌผ
  • ์™•๋ˆˆ
  • bruteforce
  • SSAFY
  • B1
  • sort
  • ํ•œ๋ฒˆ์—๋๋‚ด๋Š”์ฝ”๋”ฉํ…Œ์ŠคํŠธ369JavaํŽธ์ดˆ๊ฒฉ์ฐจํŒจํ‚ค์ง€Online.
  • ํŒจ์ŠคํŠธ์บ ํผ์Šค
  • ํŒจ์ŠคํŠธ์บ ํผ์Šคํ›„๊ธฐ
  • ์ทจ์—…์ค€๋น„
  • ํฌ๋ฃจ์Šค์นผ
  • ํ”Œ๋ ˆ์ด์ผ๊ธฐ
  • ๋ชจํ—˜์ผ๊ธฐ

์ตœ๊ทผ ๋Œ“๊ธ€

์ตœ๊ทผ ๊ธ€

ํ‹ฐ์Šคํ† ๋ฆฌ

hELLO ยท Designed By ์ •์ƒ์šฐ.
JuneBee

JuneBee

๐Ÿ““ STUDY/YOCTO

[ Build ] Fetcher failure for URL

2022. 9. 26. 21:25
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โ€‹
 
์ฐธ๊ณ  https://opentutorials.org/module/432/3742

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

728x90
๋ฐ˜์‘ํ˜•
    JuneBee
    JuneBee
    โ‚Šหš.๐ŸŽง๐Ÿ““ ๊ธฐ๋ก์šฉ ๋ธ”๋กœ๊ทธ ๐“‚ƒ๐Ÿ–Š

    ํ‹ฐ์Šคํ† ๋ฆฌํˆด๋ฐ”