starfive-tech / VisionFive2

445 stars 79 forks source link

Build buildroot_rootfs fails (404 not found / mismatched hash) #48

Closed dylanmc closed 1 year ago

dylanmc commented 1 year ago

Building on Ubuntu 20.04. Building a fresh checkout fails with wget of img-gpu-powervr-bin-1.17.6210866.tar.gz not found.

Following the instructions in this forum post resulted in an MD5 mismatch and a 404 Not found:

'/home/vagrant/VisionFive2/buildroot/../soft_3rdpart/IMG_GPU/out/img-gpu-powervr-bin-1.17.6210866.tar.gz' -> '/home/vagrant/VisionFive2/work/buildroot_initramfs/build/.img-gpu-powervr-bin-1.17.6210866.tar.gz.moArTp/output'
ERROR: img-gpu-powervr-bin-1.17.6210866.tar.gz has wrong sha256 hash:
ERROR: expected: 237c44e22453e4be6648a854c4333493d00fe5a2e5bd8775644005758198807c
ERROR: got     : cc99dfe5746321aa0d3f2b40de2300d2066e9e0a0d7b8de984bb98645a1be940
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
wget --passive-ftp -nd -t 3 -O '/home/vagrant/VisionFive2/work/buildroot_initramfs/build/.img-gpu-powervr-bin-1.17.6210866.tar.gz.Bf4ldP/output' 'http://sources.buildroot.net/img-gpu-powervr/img-gpu-powervr-bin-1.17.6210866.tar.gz' 
--2023-05-28 02:10:49--  http://sources.buildroot.net/img-gpu-powervr/img-gpu-powervr-bin-1.17.6210866.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 104.26.1.37, 172.67.72.56, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-05-28 02:10:49 ERROR 404: Not Found.
MichaelZhuxx commented 1 year ago

please refer to https://github.com/starfive-tech/VisionFive2/issues/5

dylanmc commented 1 year ago

Indeed, this error is caused by not having installed git-lfs first. The main Readme made it sound (to me, at least) like git-lfs is optional, which (clearly) it is not.