# Gfortran dissappeared from build

**URL:** https://travis-ci.community/t/gfortran-dissappeared-from-build/851
**Category:** R
**Tags:** r
**Created:** [November 13, 2018, 10:35am UTC](https://travis-ci.community/t/gfortran-dissappeared-from-build/851 "2018-11-13T10:35:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vlakam](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/vlakam/32/373_2.png) [@vlakam](https://travis-ci.community/u/vlakam)
#### Post date: [November 13, 2018, 10:35am UTC](https://travis-ci.community/t/gfortran-dissappeared-from-build/851/1 "2018-11-13T10:35:40Z")

</div>

I got this job from successful build [Travis CI - Test and Deploy with Confidence](https://travis-ci.org/ctlab/phantasus/jobs/452899717)  
And this job from failed build [Travis CI - Test and Deploy with Confidence](https://travis-ci.org/ctlab/phantasus/jobs/454405098)  
They are building the same commit, so i assume that the problem is not in the repo.  
The reason of failing build is

> /usr/bin/ld: cannot find -lgfortran

gfortran used to be installing by default and now it disappeared.  
Not sure if it a bug. Should i add gfortran to travis configuration explicitly now?  
cc @jeroen and @jimhester

---

<div class="post-metadata">

### Author: ![jeroen](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jeroen/32/509_2.png) [@jeroen](https://travis-ci.community/u/jeroen)
#### Post date: [November 20, 2018, 10:12pm UTC](https://travis-ci.community/t/gfortran-dissappeared-from-build/851/2 "2018-11-20T22:12:03Z")

</div>

I think it should be enabled by default but try setting `fortran: true` just in case.

---

<div class="post-metadata">

### Author: ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)
#### Post date: [November 22, 2018, 8:36am UTC](https://travis-ci.community/t/gfortran-dissappeared-from-build/851/3 "2018-11-22T08:36:26Z")

</div>

Seems like a duplicate of [R docker failing to download el-capitan.dmg - Environments / macOS - Travis CI Community](https://travis-ci.community/t/r-docker-failing-to-download-el-capitan-dmg/486)

EDIT: this is for Linux but the reason is the same.
