Bug 2893 - Broken "make source" with external toolchain
Summary: Broken "make source" with external toolchain
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-05 14:38 UTC by Serj Kalichev
Modified: 2011-01-31 20:18 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serj Kalichev 2010-12-05 14:38:19 UTC
Buildroot version: 2010.11

Broken "make source" with external toolchain.
How to reproduce:

Untar the buildroot archive.
$make menuconfig
Don't change any defaults. Set external toolchain (I use buildroot toolchain).
$make source

Output:
/bin/sh: /home/pkun/work/buildroot-2010.11/../installernx_toolchain/output/staging/usr/bin/i386-linux-gcc: No such file or directory
readlink: missing operand
Try `readlink --help' for more information.
mkdir -p /home/pkun/work/buildroot-2010.11/dl
--2010-12-05 17:35:42--  http://ftp.gnu.org/pub/gnu/gcc/gcc-/gcc-.tar.bz2
Resolving ftp.gnu.org... 140.186.70.20
Connecting to ftp.gnu.org|140.186.70.20|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-12-05 17:35:43 ERROR 404: Not Found.

--2010-12-05 17:35:43--  http://sources.buildroot.net//gcc-.tar.bz2
Resolving sources.buildroot.net... 88.198.64.109
Connecting to sources.buildroot.net|88.198.64.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-12-05 17:35:43 ERROR 404: Not Found.

make: *** [/home/pkun/work/buildroot-2010.11/dl/gcc-.tar.bz2] Error 1


Probably the gcc download is unconditional.
Comment 1 Gustavo Zacarias 2011-01-31 20:18:53 UTC
Fixed in git by 9bc58a42af830ecccfdb6c1d4f837356567c6386