# Package build errors at Julia installation curl step

**URL:** <https://travis-ci.community/t/package-build-errors-at-julia-installation-curl-step/13272>\
**Category:** Julia\
**Tags:** build-env, travis-build, bug\
**Created:** [September 9, 2022, 10:06pm UTC](https://travis-ci.community/t/package-build-errors-at-julia-installation-curl-step/13272 "2022-09-09T22:06:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgrudz](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/cgrudz/32/8223_2.png) [@cgrudz](https://travis-ci.community/u/cgrudz)\
**Post date:** [September 9, 2022, 10:06pm UTC](https://travis-ci.community/t/package-build-errors-at-julia-installation-curl-step/13272/1 "2022-09-09T22:06:47Z")

</div>

To the maintainers

@ararslan, @staticfloat (new users are only allowed to mention two users, apologies to StefanKarpinski)

I am suddenly experiencing failed builds of my package:

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/github/cgrudz/DataAssimilationBenchmarks.jl)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

where the issue occurs in the following lines of the log:

```auto
Setting environment variables from repository settings
$ export DOCUMENTER_KEY=[secure]
$ export JULIA_PROJECT=@.
Julia for Travis-CI is not officially supported, but is community maintained.
Please file any issues using the following link
  https://travis-ci.community/c/languages/julia
and mention `@ararslan`, `@staticfloat` and `@StefanKarpinski` in the issue
Installing Julia
0.01s$ CURL_USER_AGENT="Travis-CI $(curl --version | head -n 1)"
0.00s$ mkdir -p ~/julia
0.29s$ curl -A "$CURL_USER_AGENT" -sSf -L --retry 7 'https://julialang-s3.julialang.org/bin/linux/x64/1.8/julia-1.8-latest-linux-x86_64.tar.gz' | tar -C ~/julia -x -z --strip-components=1 -f -
curl: (22) The requested URL returned error: 403 Forbidden
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command "curl -A "$CURL_USER_AGENT" -sSf -L --retry 7 'https://julialang-s3.julialang.org/bin/linux/x64/1.8/julia-1.8-latest-linux-x86_64.tar.gz' | tar -C ~/julia -x -z --strip-components=1 -f -" failed and exited with 2 during .
Your build has been stopped.

```

As far as I can tell, this is an issue with Travis installing Julia where it doesn’t properly pull and untar the binaries, and it seems unrelated to my package. I just wanted to mention this as it may be of general interest. Thanks for your support.

---

<div class="post-metadata">

**Author:** ![cgrudz](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/cgrudz/32/8223_2.png) [@cgrudz](https://travis-ci.community/u/cgrudz)\
**Post date:** [September 12, 2022, 7:12pm UTC](https://travis-ci.community/t/package-build-errors-at-julia-installation-curl-step/13272/2 "2022-09-12T19:12:14Z")

</div>

The issue seems to have been fixed now

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/github/cgrudz/DataAssimilationBenchmarks.jl/builds/255466167)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

I don’t think this has to do with any changes I’ve made, I just wanted to give a heads up to resolve this thread.
