Skip to content

Conversation

@hbiyik
Copy link

@hbiyik hbiyik commented Dec 8, 2025

Current mirror url of gmp is more inaccessible that it is accessible.
Instead change it to gnu servers as it is currently for iconv

       --- LOG END ---
      error: downloading 'https://gmplib.org/download/gmp/gmp-6.3.0.tar.xz' failed
      status_code: 28
      status_string: "Timeout was reached"
      log:
      --- LOG BEGIN ---
      Host gmplib.org:443 was resolved.

@phunkyfish tagging not to get lost.

@hbiyik
Copy link
Author

hbiyik commented Dec 8, 2025

oh wait, now gnu org fails :( whats wrong with those mirrors..

-- Downloading...
   dst='/work/agr/builds/native/repo/kodi-addon-inputstream-ffmpegdirect-git/src/addon-build/inputstream.ffmpegdirect/build/download/libiconv-1.18.tar.gz'
   timeout='none'
   inactivity timeout='none'
-- Using src='https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.18.tar.gz'
-- Retrying...
-- Using src='https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.18.tar.gz'
-- Retry after 5 seconds (attempt #2) ...
-- Using src='https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.18.tar.gz'
-- Retry after 5 seconds (attempt #3) ...
-- Using src='https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.18.tar.gz'
-- Retry after 15 seconds (attempt #4) ...
-- Using src='https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.18.tar.gz'
-- Retry after 60 seconds (attempt #5) ...
-- Using src='https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.18.tar.gz'
CMake Error at iconv-stamp/download-iconv.cmake:163 (message):
  Each download failed!

    error: downloading 'https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.18.tar.gz' failed
          status_code: 28
          status_string: "Timeout was reached"
          log:
          --- LOG BEGIN ---
          Host ftp.gnu.org:443 was resolved.

  IPv6: 2001:470:142:3::b

  IPv4: 209.51.188.20

    Trying [2001:470:142:3::b]:443...

  Immediate connect fail for 2001:470:142:3::b: Network is unreachable

    Trying 209.51.188.20:443...

  connect to 209.51.188.20 port 443 from 172.17.0.2 port 43586 failed:
  Connection timed out

  Failed to connect to ftp.gnu.org port 443 after 133668 ms: Could not
  connect to server

  closing connection #0



          --- LOG END ---
          error: downloading 'https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.18.tar.gz' failed
          status_code: 28
          status_string: "Timeout was reached"
          log:
          --- LOG BEGIN ---
          Host ftp.gnu.org:443 was resolved.

  IPv6: 2001:470:142:3::b

  IPv4: 209.51.188.20

    Trying [2001:470:142:3::b]:443...

  Immediate connect fail for 2001:470:142:3::b: Network is unreachable

    Trying 209.51.188.20:443...
          --- LOG BEGIN ---
          Host ftp.gnu.org:443 was resolved.

  IPv6: 2001:470:142:3::b

  IPv4: 209.51.188.20

    Trying [2001:470:142:3::b]:443...

  Immediate connect fail for 2001:470:142:3::b: Network is unreachable

    Trying 209.51.188.20:443...

  connect to 209.51.188.20 port 443 from 172.17.0.2 port 58054 failed:
  Connection timed out

  Failed to connect to ftp.gnu.org port 443 after 136608 ms: Could not
  connect to server

  closing connection #0



          --- LOG END ---

@hbiyik
Copy link
Author

hbiyik commented Dec 8, 2025

it seems like gnu mirrors are unreliable, i always get such timeouts time to time.

is it possible to upload gmp 6.3.0, gnutls 3.8.8 & nettle 3.9.1 to mirrors.kodi.tv?

http://mirrors.kodi.tv/build-deps/sources/

iconv 1.18 is already there: http://mirrors.kodi.tv/build-deps/sources/libiconv-1.18.tar.gz

or an altertive would be to create something like assets release in github and fetch from there, github is almost like a highway

@phunkyfish
Copy link
Collaborator

I can request it.

@phunkyfish
Copy link
Collaborator

Should be uploaded now.

please close any obsolete PRs and let me know what I need to merge once it’s been tested

@hbiyik
Copy link
Author

hbiyik commented Dec 13, 2025

Should be uploaded now.

gnutls and nettle is still missing, i am unsure about gnutls it might work but definitely nettle is on a wonky server https://ftp.gnu.org/gnu/nettle/nettle-3.9.1.tar.gz

@phunkyfish
Copy link
Collaborator

If you post the link for gnutls too I’ll just request both.

this will however mean that from now on the update cycle for these dependencies will contain this extra steps.

@hbiyik
Copy link
Author

hbiyik commented Dec 13, 2025

If you post the link for gnutls too I’ll just request both.

i checked the gnutls server i think it looks solid seems there is no problem there, i suggest to keep then gmp nettle iconv

this will however mean that from now on the update cycle for these dependencies will contain this extra steps.

i mean in worst case during update you can revert back https://ftp.gnu.org for the next version of the artifact but again that means mirror issues once again. I would guess keeping them in kodi mirrors is just safer.

@phunkyfish
Copy link
Collaborator

Just to be clear, we want gmp, nettle and iconv on our mirrors?

@hbiyik
Copy link
Author

hbiyik commented Dec 18, 2025

Just to be clear, we want gmp, nettle and iconv on our mirrors?

Yep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants