Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limpet failing to build under Trusty in Travis #513

Open
IanMayo opened this issue Jul 19, 2017 · 2 comments
Open

Limpet failing to build under Trusty in Travis #513

IanMayo opened this issue Jul 19, 2017 · 2 comments

Comments

@IanMayo
Copy link
Member

IanMayo commented Jul 19, 2017

Yesterday Travis update the build servers from Ubuntu Precise to Ubuntu Trusty.

Ubuntu Trusty doesn't have the openjdk7 we require for Limpet:

$ jdk_switcher use oraclejdk7
Switching to Oracle JDK7 (java-7-oracle), JAVA_HOME will be set to /usr/lib/jvm/java-7-oracle
update-java-alternatives: directory does not exist: /usr/lib/jvm/java-7-oracle

We have overcome by forcing the build back to precise, as described here:
https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming

But, eventually we must move to Trusty.

So, we have to find a way to compile under openjk7 under Trusty, or we have to update our build to openjk8. We can probably do this for Limpet without too much trouble.

@IanMayo IanMayo added the Build label Jul 19, 2017
@IanMayo IanMayo added this to the Core Limpet - Phase 1 milestone Jul 19, 2017
@IanMayo
Copy link
Member Author

IanMayo commented Jul 21, 2017

There's a workaround here:
travis-ci/travis-ci#7964

It's to use openjdk7 instead of oraclejdk7

@IanMayo
Copy link
Member Author

IanMayo commented Jul 21, 2017

Ok. We introduced the workaround, but the build still fails:
https://travis-ci.org/debrief/limpet/jobs/255955145

Needs further investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant