milkv-mars / mars-buildroot-sdk

Milk-V Mars Official buildroot SDK
19 stars 8 forks source link

Can not download some of the packages #9

Open wychlw opened 3 months ago

wychlw commented 3 months ago

Seems some of the packages are outdated, resulting in a 404 or compile problem. I'v met problems in libcamera, libkcapi and fakeroot.

libkcapi 1.3.1 Downloading
wget --passive-ftp -nd -t 3 -O '/home/ankit/VisionFive2/work/buildroot_initramfs/build/.libkcapi-1.3.1.tar.xz.ViGC2l/output' 'http://www.chronox.de/libkcapi/libkcapi-1.3.1.tar.xz'
--2024-04-17 08:24:42-- http://www.chronox.de/libkcapi/libkcapi-1.3.1.tar.xz
Resolving [www.chronox.de](http://www.chronox.de/) ([www.chronox.de](http://www.chronox.de/))... 81.169.145.82, 2a01:238:20a:202:1082::
Connecting to [www.chronox.de](http://www.chronox.de/) ([www.chronox.de)|81.169.145.82|:80](http://www.chronox.de)%7C81.169.145.82%7C/)... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-17 08:24:44 ERROR 404: Not Found.

wget --passive-ftp -nd -t 3 -O '/home/ankit/VisionFive2/work/buildroot_initramfs/build/.libkcapi-1.3.1.tar.xz.XtgINA/output' 'http://sources.buildroot.net/libkcapi/libkcapi-1.3.1.tar.xz'
--2024-04-17 08:24:44-- http://sources.buildroot.net/libkcapi/libkcapi-1.3.1.tar.xz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 172.67.72.56, 104.26.1.37, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-17 08:24:45 ERROR 404: Not Found.

wget --passive-ftp -nd -t 3 -O '/home/ankit/VisionFive2/work/buildroot_initramfs/build/.libkcapi-1.3.1.tar.xz.GrfFJ6/output' 'http://sources.buildroot.net/libkcapi-1.3.1.tar.xz'
--2024-04-17 08:24:45-- http://sources.buildroot.net/libkcapi-1.3.1.tar.xz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.1.37, 172.67.72.56, 104.26.0.37, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.1.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-17 08:24:46 ERROR 404: Not Found.

Here are some of the patches I made: diff

It make the buildroot work for me. I change the libkcapi's address as buildroot doesn't host the download about this version now. Though I think a better approach is to bump the entire buildroot to a newer version?