Bug 13126

Summary: make fails - bzip2-1.0.6.tar.gz and DirectFB-1.7.7.tar.gz aren't tarballs
Product: buildroot Reporter: Chuck Bueche <chuckb>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: blocker CC: buildroot
Priority: P5    
Version: 2018.02   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Chuck Bueche 2020-07-30 02:31:38 UTC
I'm cross-compiling for ARCH=arm on a 32-bit Fedora-27 system, (64-bit) Xeon processor.  All packages upgraded with yum as of July 29, 2020.

Executing make, the build fails when it gets to bzip2-1.0.6.tar.gz and then DirectFB-1.7.7.tar.gz

The problem appears to be that these files, as downloaded during the build, are not tarballs.  They're uncompressed html files.

When I retrieved files of the same names from sources.buildroot.net, the build appears to proceed normally.  I'm new at this, so it's possible there will be problems later, but for now the build is continuing.

My config uses default file sources:
- sources.buildroot.net
- cdn.kernel.org/pub
- ftpmirror.gnu.org
- rocks.moonscript.org
- cpan.metacpan.org

buildroot cloned on July 29, 2020.
Comment 1 Peter Seiderer 2020-07-30 22:21:34 UTC
For bzip the solution (for an original download) should be patch [1],
for directfb the sources.buildroot.net mirror should have (untested) the right source files for download...

The right download should be detected by the stored hash files, see
package/bzip2/bzip2.hash and package/directfb/directfb.hash (and sources.buildroot.net should provide the packages for all buildroot releases)...


[1] https://git.buildroot.net/buildroot/commit/?id=f45976b2c759b1630a2886e75312340b3b511f81
Comment 2 Peter Korsgaard 2022-03-07 19:44:26 UTC
Fixed for directfb{,-examples} as well with https://git.buildroot.org/buildroot/commit/?id=89ab2a5a3f4588891ab1e9e76feb8c3f69402d5c