Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tmiw
Copy link
Collaborator

@tmiw tmiw commented Sep 6, 2025

GitHub Actions for freedv-gui clones this repo during builds of its supported platforms (which in turn clones the Opus repo during its build). Unfortunately, gitlab.xiph.org has been having problems as of late (and/or is actively throttling/blocking GitHub) so this PR switches the Opus build to use the GitHub mirror of Opus instead.

@tmiw
Copy link
Collaborator Author

tmiw commented Sep 6, 2025

@drowe67, should we ask Jean-Marc about the server issues? Is this PR safe to merge otherwise? (I think the GitHub mirror isn't far behind xiph.org if at all, but I'm not 100% sure).

Example error from a recent freedv-gui CI run:

CMake Error at build_opus-stamp/download-build_opus.cmake:163 (message):
  Each download failed!

    error: downloading 'https://gitlab.xiph.org/xiph/opus/-/archive/main/opus-main.tar.gz' failed
          status_code: 22
          status_string: "HTTP response code said error"
          log:
          --- LOG BEGIN ---
          timeout on name lookup is not supported

  Host gitlab.xiph.org:443 was resolved.

  IPv6: 2001:470:eb26:42:5054:ff:fe24:7c6

  IPv4: 140.211.166.4

    Trying [2001:470:eb26:42:5054:ff:fe24:7c6]:443...

  Immediate connect fail for 2001:470:eb26:42:5054:ff:fe24:7c6: Network is
  unreachable

    Trying 140.211.166.4:443...

  ALPN: curl offers h2,http/1.1

  [5 bytes data]

  TLSv1.3 (OUT), TLS handshake, Client hello (1):

  [512 bytes data]

   CAfile: /etc/ssl/certs/ca-certificates.crt
   CApath: /etc/ssl/certs

  [5 bytes data]

  TLSv1.3 (IN), TLS handshake, Server hello (2):

  [122 bytes data]

  [5 bytes data]

  [5 bytes data]

  [1 bytes data]

  TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):

  [19 bytes data]

  [5 bytes data]

  [1 bytes data]
  [1 bytes data]

  TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):

  [57 bytes data]

  [5 bytes data]

  [1 bytes data]

  [5 bytes data]

  [1 bytes data]

  [5 bytes data]

  [1 bytes data]

  HTTP/2 502 

  server: nginx

  date: Thu, 04 Sep 2025 16:30:36 GMT

  content-type: text/html; charset=utf-8

  content-length: 2026

  cache-control: no-cache, no-store, max-age=0, must-revalidate

  expires: Fri, 01 Jan 1990 00:00:00 GMT

  pragma: no-cache

  strict-transport-security: max-age=63072000

  The requested URL returned error: 502

  

  [5 bytes data]

  [1 bytes data]

  [5 bytes data]

  [1 bytes data]

  Connection #0 to host gitlab.xiph.org left intact



          --- LOG END ---
          
    


make[5]: *** [CMakeFiles/build_opus.dir/build.make:99: build_opus-prefix/src/build_opus-stamp/build_opus-download] Error 1

@drowe67
Copy link
Owner

drowe67 commented Sep 7, 2025

@drowe67, should we ask Jean-Marc about the server issues? Is this PR safe to merge otherwise? (I think the GitHub mirror isn't far behind xiph.org if at all, but I'm not 100% sure).

Yes I'll run it past JMV. Just give me a day or two.

@drowe67
Copy link
Owner

drowe67 commented Sep 7, 2025

@tmiw rather than hard coding it (it might change again), how about cmake -DOPUS_URL=http://....

@tmiw
Copy link
Collaborator Author

tmiw commented Sep 7, 2025

@tmiw rather than hard coding it (it might change again), how about cmake -DOPUS_URL=http://....

I added a check to avoid setting OPUS_URL if already defined.

@drowe67 drowe67 merged commit 90a493d into main Sep 8, 2025
1 check passed
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