OS X Build on Travis fails on downloading Clang #6738

issue JeremyRand opened this issue on September 30, 2015
  1. JeremyRand commented at 2:26 AM on September 30, 2015: contributor

    Steps to Reproduce:

    1. Make a fork of Bitcoin's repo.
    2. Enable Travis CI on that fork.
    3. Push the latest Bitcoin code in master to that fork.
    4. Wait for build to finish.

    Expected Results:

    The builds should all pass.

    Observed Results:

    The OS X build script tries to download https://bitcoincore.org/depends-sources/clang+llvm-3.3-amd64-Ubuntu-12.04.2.tar.gz . This file doesn't exist on the https://bitcoincore.org server, and the resulting HTTP 404 error causes the build to fail.

    Notes:

    I suspect that this file is cached by Travis, which is why the builds appear to pass on the official repo's Travis (i.e. the file probably was there in the past and got cached).

    A full example build where it failed is at https://travis-ci.org/JeremyRand/namecore/builds/82854029 . (If it's not clear, this repo is a Namecoin repo but the branch in question is identical to upstream Bitcoin. It happened to be easier for me to push a new branch to the Namecoin repo than to enable Travis CI on a new Bitcoin fork repo.)

  2. theuni commented at 3:18 AM on September 30, 2015: member

    Fixed. Thanks for the report. Looks like the llvm site is having trouble today.

    Though this would've been a problem for Bitcoin as well eventually, Namecoin shouldn't depend on Bitcoin's internal hosting. Ideally you'd be good neighbors and setup your own mirror :)

  3. JeremyRand commented at 3:43 AM on September 30, 2015: contributor

    @theuni Namecoin generally tries to keep as few differences between itself and Bitcoin's code as possible -- diverging widely from Bitcoin's code was responsible for problems a couple years ago. Is there documentation on how to change the mirror URL without making any invasive changes to the build scripts? We definitely would like to be good neighbors, we just weren't sure of how to go about doing it. (If this is too off-topic for this ticket, let me know and I'll bring it up somewhere else.)

  4. theuni commented at 3:59 AM on September 30, 2015: member

    @JeremyRand It's off-topic, but I won't hold it against you since you're being helpful :)

    See: here, specifically FALLBACK_DOWNLOAD_PATH.

    Since it's overridable, you should be able to export a new value in your travis config. Something like:

    env:
      global:
        - FALLBACK_DOWNLOAD_PATH = https://namecoincore.org/depends-sources
    
  5. JeremyRand commented at 4:19 AM on September 30, 2015: contributor

    Thanks @theuni. I'll see if we can do that. (Can't make promises on how quickly it will get done, as we're kind of overbooked lately -- but hopefully soon.)

  6. laanwj commented at 8:48 AM on September 30, 2015: member

    Looks solved, closing

  7. laanwj closed this on Sep 30, 2015

  8. DrahtBot 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-15 03:15 UTC

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