starfive-tech / VisionFive2

438 stars 78 forks source link

pkgconfig build connection failed. #58

Open tekweaver opened 1 year ago

tekweaver commented 1 year ago

while trying to: $ make linux-menuconfig # Kernel menuconfig the following error occurs

--2023-07-09 13:37:17-- https://distfiles.dereferenced.org/pkgconf/pkgconf-1.6.3.tar.xz Resolving distfiles.dereferenced.org (distfiles.dereferenced.org)... 75.2.18.233 Connecting to distfiles.dereferenced.org (distfiles.dereferenced.org)|75.2.18.233|:443... failed: Connection timed out. Retrying. The domain is possibly up for sale.

buildroot/package/pkgconf/pkgconf.mk is what is calling to it

is this pkgconf, the same repo?

rpe2101 commented 1 year ago

I saw that too. When I try over/over again, the file seems to be there.

If you just cannot get the connection to work, I'd guess you would have the best results if you grabbed the buildroot/package/pkgconf/* files from the latest upstream buildroot and replaced the ones in your source tree.

andyhu-stf commented 1 year ago

the url https://distfiles.dereferenced.org/pkgconf/pkgconf-1.6.3.tar.xz is invalid now. The download link is specfied in the buildroot tag 2021.11. Buildroot also had provided backsite to handle this situation.

Buildroot will first try to download using the above link, if the download fails or times out three times, it will attempt to download from the backup site provided by Buildroot.

in buildroot config: BR2_BACKUP_SITE="http://sources.buildroot.net"

So in this case, even though the original link is broken, you just need to wait. The backup site is ok.

tekweaver commented 1 year ago

Downloading a vital part of the build process over an unsecured connection(http) is concerning and a POTENTIAL for MITM attacks.