Bug 15787

Summary: atmel_sama5d3_xplained_mmc_defconfig: Missing http://sources.buildroot.net/mpc-1.2.1.tar.gz
Product: buildroot Reporter: Jan-Benedict Glaw <jbglaw>
Component: OtherAssignee: unassigned
Status: RESOLVED INVALID    
Severity: normal CC: buildroot, yann.morin.1998
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Jan-Benedict Glaw 2023-09-23 22:29:49 UTC
Hi!

Using the atmel_sama5d3_xplained_mmc_defconfig configuration, it is complaining about a missing MPC source package as of ab4f3fafaa839593b3efd9ea12c8ee5d9340cdeb, see http://toolchain.lug-owl.de/laminar/jobs/buildroot-atmel_sama5d3_xplained_mmc_defconfig/6
Comment 1 Yann E. MORIN 2023-09-24 07:51:30 UTC
Jan-Benedict, All,

Thanks for the report, but this is probably a spurious issue on your side:

1. It first tries to reach the GNU official site:

[build 2023-09-23 03:45:52] --2023-09-23 03:45:52--  http://ftpmirror.gnu.org/mpc/mpc-1.2.1.tar.gz
[build 2023-09-23 03:45:52] Resolving ftpmirror.gnu.org (ftpmirror.gnu.org)... 209.51.188.200
[build 2023-09-23 03:45:52] Connecting to ftpmirror.gnu.org (ftpmirror.gnu.org)|209.51.188.200|:80... failed: Network is unreachable.

2. then it falls back to trying on Buildroot's backup site:

[build 2023-09-23 03:45:52] --2023-09-23 03:45:52--  http://sources.buildroot.net/mpc/mpc-1.2.1.tar.gz
[build 2023-09-23 03:46:12] Resolving sources.buildroot.net (sources.buildroot.net)... failed: Temporary failure in name resolution.
[build 2023-09-23 03:46:12] wget: unable to resolve host address 'sources.buildroot.net'

3. for legacy reasons, Buildroot tries the old URL, which fails because
indeed that is not where we nowadays stores mirrored archvies:

[build 2023-09-23 03:46:12] --2023-09-23 03:46:12--  http://sources.buildroot.net/mpc-1.2.1.tar.gz
[build 2023-09-23 03:46:19] Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 104.26.1.37, 172.67.72.56
[build 2023-09-23 03:46:19] Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected.
[build 2023-09-23 03:46:19] HTTP request sent, awaiting response... 404 Not Found

Note that, downloads from sources.buildroot.org only occur when the resource
was not found on the official upstream site, see the help text for the
BR2_BACKUP_SITE symbol.

In this case, the issue is really somewhere between your machine and the
network.

Regards,
Yann E. MORIN.