Piasy / AndroidTDDBootStrap

A bootstrap project for TDD Android.
MIT License
877 stars 143 forks source link

Buck doesn't build: Execution failed for task ':buildDepCache'. #15

Closed tc closed 7 years ago

tc commented 7 years ago

Getting this error when i try to build with buck:

[13:38:08 tommy@tumblr-MacBookPro-f0658b:~/src/android/AndroidTDDBootStrap] (master)
→$./buckw --stacktrace targets
 NO PREVIOUS SUCCESSFUL OKBUCK RUN
 RUNNING OKBUCK...

 DELETED OLD BUCK FILES
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0
Parallel execution with configuration on demand is an incubating feature.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
        at build_7cxr0118m5vyru20czgisz1ts.run(/Users/tommy/src/android/AndroidTDDBootStrap/app/build.gradle:29)
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
extractDebugAnnotations is incompatible with java 8 sources and has been disabled.
extractReleaseAnnotations is incompatible with java 8 sources and has been disabled.
extractDebugAnnotations is incompatible with java 8 sources and has been disabled.
extractReleaseAnnotations is incompatible with java 8 sources and has been disabled.
extractDebugAnnotations is incompatible with java 8 sources and has been disabled.
extractReleaseAnnotations is incompatible with java 8 sources and has been disabled.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
:buildDepCache
:model:generateDebugSqlDelightInterface UP-TO-DATE
:model:generateReleaseSqlDelightInterface UP-TO-DATE
:buildDepCache FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildDepCache'.
> /Users/tommy/src/android/AndroidTDDBootStrap/model/build/intermediates/unmocked-androidmodel.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 16.239 secs
== CSV Build Time Summary ==
Build time today: 0:43.394
Total build time: 0:43.394
(measured since 13 minutes ago)
== Build Time Summary ==
▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 95% :buildDepCache (0:00.337)

== BUILD FAILED ==

 OKBUCK FAILED
Piasy commented 7 years ago

There is a work-around: just touch the file in the error message, i.e. /Users/tommy/src/android/AndroidTDDBootStrap/model/build/intermediates/unmocked-androidmodel.jar.

tc commented 7 years ago

Thanks, the workaround lets me build.

Piasy commented 7 years ago

I've update a commit, could you please try it?

tc commented 7 years ago

yes this bug is fixed now.