Bug 9896

Summary: host-gcc-initial error downloading because incorrect URL
Product: buildroot Reporter: Orion33 <orion_33>
Component: OtherAssignee: unassigned
Status: RESOLVED WORKSFORME    
Severity: normal CC: buildroot
Priority: P5    
Version: 2017.02.1   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Orion33 2017-05-25 10:41:00 UTC
I try to use many external toolchains. Internal are not suit for me because u-boot from old src works not correct. All external toolchains including arm-2014.05-29-arm-none-linux-gnueabi-i686-pc-linux-gnu can't download gcc package because it have wrong URL without version number.

orion@ubuntu-vm:~/workdir/buildroot$ make host-gcc-initial
>>> host-gcc-initial  Downloading
--2017-05-24 17:59:44--  http://ftpmirror.gnu.org/gcc/gcc-/gcc-.tar.bz2
Распознаётся ftpmirror.gnu.org (ftpmirror.gnu.org)… 208.118.235.200
Подключение к ftpmirror.gnu.org (ftpmirror.gnu.org)|208.118.235.200|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 302 Moved Temporarily
Адрес: http://mirror.tochlab.net/pub/gnu/gcc/gcc-/gcc-.tar.bz2 [переход]
--2017-05-24 17:59:44--  http://mirror.tochlab.net/pub/gnu/gcc/gcc-/gcc-.tar.bz2
Распознаётся mirror.tochlab.net (mirror.tochlab.net)… 5.178.86.222
Подключение к mirror.tochlab.net (mirror.tochlab.net)|5.178.86.222|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 404 Not Found
2017-05-24 17:59:44 ОШИБКА 404: Not Found.

--2017-05-24 17:59:44--  http://sources.buildroot.net/gcc-.tar.bz2
Распознаётся sources.buildroot.net (sources.buildroot.net)… 176.9.16.109
Подключение к sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 404 Not Found
2017-05-24 17:59:44 ОШИБКА 404: Not Found.

package/pkg-generic.mk:139: ошибка выполнения рецепта для цели «/home/orion/workdir/buildroot/output/build/host-gcc-initial/.stamp_downloaded»
make[1]: *** [/home/orion/workdir/buildroot/output/build/host-gcc-initial/.stamp_downloaded] Ошибка 1
Makefile:79: ошибка выполнения рецепта для цели «_all»
make: *** [_all] Ошибка 2
orion@ubuntu-vm:~/workdir/buildroot$ make menuconfig


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
Comment 1 Thomas Petazzoni 2017-05-25 13:12:13 UTC
Running "make host-gcc-initial" doesn't make any sense when the configuration specifies to use an external toolchain.

If you're not familiar with Buildroot, don't run anything but just "make".
Comment 2 Orion33 2017-05-25 20:17:04 UTC
Thanks for the advice, cap. I did the same, of course. The result is the same