Connection error when building

  • Hi all,


    Hope everyone is well?


    I cloned the repository and initiated the build to see how it goes, however, it terminates and provides this in the log:


    [1;36mGET[0m curl (archive)
    --2025-03-20 21:25:07-- https://curl.haxx.se/download/curl-8.6.0.tar.xz
    Resolving curl.haxx.se (curl.haxx.se)... 127.0.0.1
    Connecting to curl.haxx.se (curl.haxx.se)|127.0.0.1|:443... failed: Connection refused.
    --2025-03-20 21:25:07-- http://sources.libreelec.tv/mirror/curl/curl-8.6.0.tar.xz
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2025-03-20 21:25:08 ERROR 404: Not Found.

    --2025-03-20 21:25:08-- https://curl.haxx.se/download/curl-8.6.0.tar.xz
    Resolving curl.haxx.se (curl.haxx.se)... 127.0.0.1
    Connecting to curl.haxx.se (curl.haxx.se)|127.0.0.1|:443... failed: Connection refused.
    --2025-03-20 21:25:08-- http://sources.libreelec.tv/mirror/curl/curl-8.6.0.tar.xz
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2025-03-20 21:25:09 ERROR 404: Not Found.

    --2025-03-20 21:25:09-- https://curl.haxx.se/download/curl-8.6.0.tar.xz
    Resolving curl.haxx.se (curl.haxx.se)... 127.0.0.1
    Connecting to curl.haxx.se (curl.haxx.se)|127.0.0.1|:443... failed: Connection refused.
    --2025-03-20 21:25:09-- http://sources.libreelec.tv/mirror/curl/curl-8.6.0.tar.xz
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2025-03-20 21:25:09 ERROR 404: Not Found.

    --2025-03-20 21:25:09-- https://curl.haxx.se/download/curl-8.6.0.tar.xz
    Resolving curl.haxx.se (curl.haxx.se)... 127.0.0.1
    Connecting to curl.haxx.se (curl.haxx.se)|127.0.0.1|:443... failed: Connection refused.
    --2025-03-20 21:25:09-- http://sources.libreelec.tv/mirror/curl/curl-8.6.0.tar.xz
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2025-03-20 21:25:10 ERROR 404: Not Found.

    --2025-03-20 21:25:10-- https://curl.haxx.se/download/curl-8.6.0.tar.xz
    Resolving curl.haxx.se (curl.haxx.se)... 127.0.0.1
    Connecting to curl.haxx.se (curl.haxx.se)|127.0.0.1|:443... failed: Connection refused.
    --2025-03-20 21:25:10-- http://sources.libreelec.tv/mirror/curl/curl-8.6.0.tar.xz
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2025-03-20 21:25:11 ERROR 404: Not Found.

    --2025-03-20 21:25:11-- https://curl.haxx.se/download/curl-8.6.0.tar.xz
    Resolving curl.haxx.se (curl.haxx.se)... 127.0.0.1
    Connecting to curl.haxx.se (curl.haxx.se)|127.0.0.1|:443... failed: Connection refused.
    --2025-03-20 21:25:11-- http://sources.libreelec.tv/mirror/curl/curl-8.6.0.tar.xz
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2025-03-20 21:25:11 ERROR 404: Not Found.

    --2025-03-20 21:25:11-- https://curl.haxx.se/download/curl-8.6.0.tar.xz
    Resolving curl.haxx.se (curl.haxx.se)... 127.0.0.1
    Connecting to curl.haxx.se (curl.haxx.se)|127.0.0.1|:443... failed: Connection refused.
    --2025-03-20 21:25:11-- http://sources.libreelec.tv/mirror/curl/curl-8.6.0.tar.xz
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2025-03-20 21:25:12 ERROR 404: Not Found.

    --2025-03-20 21:25:12-- https://curl.haxx.se/download/curl-8.6.0.tar.xz
    Resolving curl.haxx.se (curl.haxx.se)... 127.0.0.1
    Connecting to curl.haxx.se (curl.haxx.se)|127.0.0.1|:443... failed: Connection refused.
    --2025-03-20 21:25:12-- http://sources.libreelec.tv/mirror/curl/curl-8.6.0.tar.xz
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2025-03-20 21:25:12 ERROR 404: Not Found.

    --2025-03-20 21:25:12-- https://curl.haxx.se/download/curl-8.6.0.tar.xz
    Resolving curl.haxx.se (curl.haxx.se)... 127.0.0.1
    Connecting to curl.haxx.se (curl.haxx.se)|127.0.0.1|:443... failed: Connection refused.
    --2025-03-20 21:25:13-- http://sources.libreelec.tv/mirror/curl/curl-8.6.0.tar.xz
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2025-03-20 21:25:13 ERROR 404: Not Found.

    --2025-03-20 21:25:13-- https://curl.haxx.se/download/curl-8.6.0.tar.xz
    Resolving curl.haxx.se (curl.haxx.se)... 127.0.0.1
    Connecting to curl.haxx.se (curl.haxx.se)|127.0.0.1|:443... failed: Connection refused.
    --2025-03-20 21:25:13-- http://sources.libreelec.tv/mirror/curl/curl-8.6.0.tar.xz
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2025-03-20 21:25:14 ERROR 404: Not Found.


    Cannot get curl sources : https://curl.haxx.se/download/curl-8.6.0.tar.xz
    Try later!
    *********** FAILED COMMAND ***********
    . "${get_handler}"
    **************************************
    *********** FAILED COMMAND ***********
    ${SCRIPTS}/get "${PKG_NAME}"
    **************************************
    *********** FAILED COMMAND ***********
    ${SCRIPTS}/unpack "${PKG_NAME}" "${PARENT_PKG}"
    **************************************
    *********** FAILED COMMAND ***********
    ${SCRIPTS}/build "${1}" "${PARENT_PKG}"
    **************************************
    [1;31mFAILURE: scripts/install curl:target has failed![0m


    I'm based in South Africa, could it be the issue with why it's not making connection?


    Thanks in advance.

  • --2025-03-20 21:25:12-- https://curl.haxx.se/download/curl-8.6.0.tar.xz
    Resolving curl.haxx.se (curl.haxx.se)... 127.0.0.1

    The build device is resolving the download location to 127.0.0.1 (localhost) instead of resolving to a CNAME which has 4x public A records (which are all available). That suggests a DNS issue at your end as the URL resolves fine from here (UAE).

    --2025-03-20 21:25:13-- http://sources.libreelec.tv/mirror/curl/curl-8.6.0.tar.xz
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found

    It then falls back to our sources mirror, which appears to be down/offline or missing some config at the moment, so that fails too. I'll ping someone internally about that, but it might take time before it's restored.

    It's possible to manually download the file to your local sources folder, but to fool the buildsystem into thinking the file has already been downloaded you'll need to manually create the .url and .sha256 hash files (the format can be cribbed from other downloads).

  • chewitt I tried what you suggested and it failed, but I probably should have mentioned I was using Ubuntu on Windows WSL, so I decided to do the build in a full Ubuntu system and the build is going I'm on step 221, whereas on windows WSL it was failing at Process 187 or somewhere around that range.


    Thank you for the suggestion though :)


    One more question, will I be able to work this on on a Rpi CM5?