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

Failing to build in Mac OSX #322

Open
josepablocam opened this issue Feb 5, 2016 · 4 comments
Open

Failing to build in Mac OSX #322

josepablocam opened this issue Feb 5, 2016 · 4 comments
Labels
P3 type=defect Bug, not working as expected

Comments

@josepablocam
Copy link

I have been running into an issue by following the instructions to build here. I'm on Mac OSX 10.9.5, using java 1.8.0_71, maven 3.2.5. When I call

mvn eclipse:configure-workspace eclipse:eclipse install

to build, I get the following error

goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project caliper: Compilation failure: Compilation failure:
[ERROR] ./caliper/caliper/src/main/java/com/google/caliper/runner/ExperimentingCaliperRun.java:[225,18] cannot find symbol
[ERROR] symbol:   method transformAsync(com.google.common.util.concurrent.ListenableFuture<capture#1 of ?>,<anonymous com.google.common.util.concurrent.AsyncFunction<java.lang.Object,com.google.caliper.runner.TrialResult>>)
[ERROR] location: class com.google.common.util.concurrent.Futures

I suspect this has something to do with the upgrade to Guava, but I'm familiar with any of these tools enough to make a strict conclusion.

@cpovirk
Copy link
Member

cpovirk commented Feb 5, 2016

Sorry. Things don't compile right now because of a problem in transitive dependency google-java-format:

I'm not sure if the fix for it has been released yet. If it is, we may be able to update Dagger, at which point Caliper should build again.

Alternatively/additionally, we should look into the Maven change suggested in google/dagger#228 (comment)

Things will probably compile if you jump back to b94bb6f before the Futures migrations.

@satnam6502
Copy link

Also keen to see this resolved, thanks. I'll try using an older version.

@huettern
Copy link

Doesn't compile on b94bb6f either, same error

@cpovirk cpovirk added P3 type=defect Bug, not working as expected labels Jul 25, 2019
@cgruber
Copy link
Contributor

cgruber commented Sep 27, 2020

As of today, head builds and tests cleanly, using:

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 1.8.0_202, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 type=defect Bug, not working as expected
Projects
None yet
Development

No branches or pull requests

5 participants