question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

travis unix linux builds can't find gcc sometimes

See original GitHub issue

Describe the bug Travis linux builds seem to fail occasionally. The culprit seems to be packages that need gcc to install cannot find gcc.

unable to execute ‘gcc’: No such file or directory error: command ‘gcc’ failed with exit status 1

How to reproduce

Run code through Travis CI tests

Expected behavior

if local tests pass, they should pass on Travis, but often they fail.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
michaeljosephcommented, Nov 3, 2019
0reactions
itsayellowcommented, Nov 1, 2019

This seems to happen in particular with the linux python 3.7 tests.

That one uses dist: xenial so I tried removing it to see if that helped. It did not help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

travis unix linux builds can't find gcc sometimes #266 - GitHub
Travis linux builds seem to fail occasionally. The culprit seems to be packages that need gcc to install cannot find gcc.
Read more >
Why is Travis CI's xenial VM finding gcc 5 and 7, but not 6?
The reason this happens is that GCC 6 is Ubuntu Xenial's distribution's default version. So it's not available as a versioned-name binary, ...
Read more >
Installing Dependencies - Travis CI Docs
If you want to update apt-get update automatically on every build, there are two ways to do ... For example, to install gcc...
Read more >
Travis build failure - Page 4 - FreeCAD Forum
P.S. I noticed Windows builds can sometimes get closely to 2 hrs 30 min limit. ... I worry a bit, as GCC builds...
Read more >
Continuos Integration on Linux and Windows: Travis and ...
Let's see how to use Travis and AppVeyor to ensure your code works on Linux and Windows. See the exact steps to get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found