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

Travis CI failing due to infer breakage with javalib #2664

Closed
saksham189 opened this issue Aug 8, 2018 · 7 comments
Closed

Travis CI failing due to infer breakage with javalib #2664

saksham189 opened this issue Aug 8, 2018 · 7 comments

Comments

@saksham189
Copy link
Contributor

saksham189 commented Aug 8, 2018

Recent travis build for python 3.6 fail while trying to build infer.

Error: No implementations provided for the following modules:
         CamomileLibrary__UTF8 referenced from /home/travis/.opam/system/lib/javalib/javalib.cmxa(Javalib_pack)
         CamomileLibrary__UChar referenced from /home/travis/.opam/system/lib/javalib/javalib.cmxa(Javalib_pack)
         CamomileLibrary__ referenced from /home/travis/.opam/system/lib/javalib/javalib.cmxa(Javalib_pack)
Command exited with code 2.
make[2]: *** [build_java] Error 10
make[2]: Leaving directory `/home/travis/infer-linux64-v0.7.0/infer/src'
make[1]: *** [java] Error 2
make[1]: Leaving directory `/home/travis/infer-linux64-v0.7.0/infer'
make: *** [java] Error 2
  compilation failure; you can try running
    make clean
    ./build-infer.sh java
The command ".ci/deps.opam.sh" failed and exited with 1 during .

https://travis-ci.org/coala/coala-bears/jobs/413575180

@jayvdb
Copy link
Member

jayvdb commented Aug 9, 2018

@harshhx17, maybe you can take this one?

@harshhx17
Copy link
Contributor

I will surely try🙂

jayvdb added a commit to jayvdb/coala-bears that referenced this issue Sep 2, 2018
The Python 3.6 job is failing.
Remove it until it is fixed, so that Travis checks
can be required again.

Related to coala#2664
@jayvdb
Copy link
Member

jayvdb commented Dec 7, 2018

This is now breaking all builds.

@jayvdb
Copy link
Member

jayvdb commented Dec 7, 2018

Unassigning due to inactivity

jayvdb added a commit to jayvdb/coala-bears that referenced this issue Dec 16, 2018
As InferBear is now disabled, the Python 3.6 builds work.

Related to coala#2664
Related to coala#2816
@li-boxuan
Copy link
Member

infer v0.7.0 is quite old, maybe a newer version would be a free lunch

@jayvdb jayvdb self-assigned this Jul 3, 2019
@jayvdb
Copy link
Member

jayvdb commented Jul 3, 2019

Travis doesnt support opam/ocaml. TANSTAAFL.

Fixed in #2910

I've created #2931 for upgrading infer.

@jayvdb jayvdb changed the title Travis CI failing due to infer breakage Travis CI failing due to infer breakage with javalib Jul 3, 2019
jayvdb added a commit to jayvdb/coala-bears that referenced this issue Jul 3, 2019
jayvdb added a commit to jayvdb/coala-bears that referenced this issue Jul 3, 2019
@jayvdb
Copy link
Member

jayvdb commented Jul 4, 2019

fwiw, facebook/infer#325 and https://stackoverflow.com/questions/35157561/trying-and-failing-to-build-ocaml-package-javalib are where I got some of the hints on how to workaround this. This one was very tricky.

@jayvdb jayvdb mentioned this issue Jul 4, 2019
jayvdb added a commit to jayvdb/coala-bears that referenced this issue Jul 4, 2019
jayvdb added a commit to jayvdb/coala-bears that referenced this issue Jul 4, 2019
jayvdb added a commit to jayvdb/coala-bears that referenced this issue Jul 16, 2019
@jayvdb jayvdb closed this as completed in 80b0d26 Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants