Skip to content

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

Closed

Description

@Shicheng-Guo

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]$

Activity

  1. StFS commented on May 7, 2020

    @StFS
    Contributor

    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.

  2. StFS commented on May 7, 2020

    @StFS
    Contributor

    Caused by #5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions