Workaround Travis-side CI issues #7487

pull luke-jr wants to merge 4 commits into bitcoin:master from luke-jr:depends_curl changing 3 files +9 −3
  1. luke-jr commented at 4:05 AM on February 9, 2016: member

    Currently Travis's wget fails fetching qrencode:

    Fetching qrencode...
    ERROR: no certificate subject alternative name matches
        requested host name `fukuchi.org'.
    To connect to fukuchi.org insecurely, use `--no-check-certificate'.
    OpenSSL: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
    Unable to establish SSL connection.
    make: *** [/home/travis/build/luke-jr/bitcoin/depends/sources/download-stamps/.stamp_fetched-qrencode-qrencode-3.4.4.tar.bz2.hash] Error 4
    
  2. depends: Use curl for fetching on Linux
    Currently Travis's wget fails fetching qrencode:
    
    Fetching qrencode...
    ERROR: no certificate subject alternative name matches
    	requested host name `fukuchi.org'.
    To connect to fukuchi.org insecurely, use `--no-check-certificate'.
    OpenSSL: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
    Unable to establish SSL connection.
    make: *** [/home/travis/build/luke-jr/bitcoin/depends/sources/download-stamps/.stamp_fetched-qrencode-qrencode-3.4.4.tar.bz2.hash] Error 4
    1ecbb3b0f7
  3. Travis: Use curl rather than wget for Mac SDK 5d1148cb79
  4. laanwj commented at 7:56 AM on February 9, 2016: member

    What wonders me most is why it won't try the fallback URL

  5. luke-jr commented at 8:12 AM on February 9, 2016: member

    Not sure, but even if it did, it would fail. Note the second commit I had to add for the OSX SDK on bitcoincore.org :/

  6. laanwj commented at 8:23 AM on February 9, 2016: member

    Why is the MacOSX SDK download broken too?

    I don't think I understand what is the issue here. Is that site irrevocably broken, or is there some certificate issue? (e.g. missing ca-certificates package?) But in that case you'd expect any tool to fail.

    Switching to another tool is possible but I'd like to know what is wrong first. It seems like a heavy-handed solution. @theuni any idea?

  7. luke-jr commented at 8:25 AM on February 9, 2016: member

    Seems to be a wget bug in the ancient 12.02 Ubuntu that Travis uses. But I could be wrong.

  8. laanwj added the label Build system on Feb 9, 2016
  9. laanwj added the label Tests on Feb 9, 2016
  10. laanwj commented at 9:22 AM on February 9, 2016: member

    Bleh. We need 14.04 support for other reasons too (e.g. c++11).

  11. luke-jr commented at 9:25 AM on February 9, 2016: member

    It looks like 14.04 is possible, but... only be losing IPv6 localhost support [again]. :/

  12. dcousens commented at 11:52 AM on February 9, 2016: contributor

    concept ACK

  13. luke-jr commented at 8:10 PM on February 9, 2016: member

    Note: curl needs -L to follow redirects.

  14. Bugfix: depends/Travis: Use --location (follow redirects) and --fail [on HTTP error response] with curl c01f08db12
  15. Travis: Use Blue Box VMs for IPv6 loopback support 149641e8fc
  16. luke-jr commented at 2:19 AM on February 10, 2016: member

    This fixes the Travis-side CI issues: https://travis-ci.org/luke-jr/bitcoin/builds/108146026

  17. luke-jr renamed this:
    depends: Use curl for fetching on Linux
    Workaround Travis-side CI issues
    on Feb 10, 2016
  18. btcdrak commented at 9:19 AM on February 10, 2016: contributor

    utACK, agree on using curl

  19. in depends/builders/linux.mk:None in 149641e8fc
       0 | @@ -1,2 +1,2 @@
       1 |  build_linux_SHA256SUM = sha256sum
       2 | -build_linux_DOWNLOAD = wget --timeout=$(DOWNLOAD_CONNECT_TIMEOUT) --tries=$(DOWNLOAD_RETRIES) -nv -O
       3 | +build_linux_DOWNLOAD = curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -L -o
    


    MarcoFalke commented at 4:09 PM on February 13, 2016:

    Is it required to set --location and -L?

  20. MarcoFalke commented at 4:11 PM on February 13, 2016: member

    utACK c01f08d

  21. laanwj merged this on Feb 15, 2016
  22. laanwj closed this on Feb 15, 2016

  23. laanwj referenced this in commit bf1e113311 on Feb 15, 2016
  24. MarcoFalke referenced this in commit 945f3b44fe on Feb 26, 2016
  25. MarcoFalke referenced this in commit 6bf4884d7b on Feb 26, 2016
  26. laanwj referenced this in commit 00d57b4d3a on Mar 1, 2016
  27. laanwj referenced this in commit 77841d4358 on Mar 1, 2016
  28. schinzelh referenced this in commit 3c36bcf532 on Mar 7, 2016
  29. dexX7 referenced this in commit 5a8b92b5dd on Apr 24, 2016
  30. braydonf referenced this in commit 79b64251a3 on May 12, 2016
  31. braydonf referenced this in commit 128c5e1232 on Jun 2, 2016
  32. luke-jr referenced this in commit 85e0adf098 on Jun 9, 2016
  33. luke-jr referenced this in commit 536812cb0c on Jun 18, 2016
  34. braydonf referenced this in commit 98a2f26199 on Oct 4, 2016
  35. nomnombtc referenced this in commit c56af5a97f on Nov 22, 2016
  36. tempgit9 referenced this in commit 66c5ffb6eb on Jan 16, 2017
  37. zkbot referenced this in commit 33f7145fb2 on Nov 29, 2017
  38. zkbot referenced this in commit b2399c1951 on Nov 30, 2017
  39. zkbot referenced this in commit d3ca2706a8 on Nov 30, 2017
  40. zkbot referenced this in commit 02c4467cb5 on Nov 30, 2017
  41. reddink referenced this in commit ecc0c6eebc on May 27, 2020
  42. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me