Bug 13126 - make fails - bzip2-1.0.6.tar.gz and DirectFB-1.7.7.tar.gz aren't tarballs
Summary: make fails - bzip2-1.0.6.tar.gz and DirectFB-1.7.7.tar.gz aren't tarballs
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2018.02
Hardware: PC Linux
: P5 blocker
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-30 02:31 UTC by Chuck Bueche
Modified: 2022-03-07 19:44 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 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