gorpipe / gor

GORpipe is a tool based on a genomic ordered relational architecture and allows analysis of large sets of genomic and phenotypic tabular data using declarative query language, in a parallel execution engine.
GNU Affero General Public License v3.0
40 stars 13 forks source link

"make build" report Could not create service of type FileAccessTimeJournal using GradleUserHomeScopeServices.createFileAccessTimeJournal(). #4

Closed Shicheng-Guo closed 4 years ago

Shicheng-Guo commented 4 years ago

Hi gorpipe team:

When I use 'make build' to compile gor the follow error come out. Do you have any suggestion?

Thanks.

Shicheng

(base) [sguo2@comet-ln2 gor]$ git submodule update --init --recursive
(base) [sguo2@comet-ln2 gor]$ make build
./gradlew installDist

FAILURE: Build failed with an exception.

* What went wrong:
Could not create service of type FileAccessTimeJournal using GradleUserHomeScopeServices.createFileAccessTimeJournal().
> Timeout waiting to lock journal cache (/home/sguo2/.gradle/caches/journal-1). It is currently in use by another Gradle instance.
  Owner PID: 6958
  Our PID: 14757
  Owner Operation:
  Our operation:
  Lock file: /home/sguo2/.gradle/caches/journal-1/journal-1.lock

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

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 1s
make: *** [build] Error 1
(base) [sguo2@comet-ln2 gor]$
StFS commented 4 years ago

Hi @Shicheng-Guo.

This looks like it's a Gradle problem. Are you on a Linux machine?

Can you try running ./gradlew --stop (in the root directory of the checked out project) and then re-running make build? Some answers out there seem to indicate that you might have to reboot your computer though.

We haven't seen this happen before in our environment.

StFS commented 4 years ago

Caused by #5