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

Task ':plugin:doc' fails on Windows and MacOS #280

Closed
Yasamato opened this issue Aug 30, 2020 · 10 comments
Closed

Task ':plugin:doc' fails on Windows and MacOS #280

Yasamato opened this issue Aug 30, 2020 · 10 comments
Assignees
Labels
component:build Related to the build logic (chore)

Comments

@Yasamato
Copy link
Contributor

So when I tried testing it on macOS, .gradlew run, .gradlew deploy etc. all fail at the task :plugin:doc with

Gradle could not start your build.
> Could not create service of type CrossBuildFileHashCache using BuildSessionServices.createCrossBuildFileHashCache().
   > Failed to create parent directory '/.gradle' when creating directory '/.gradle/6.5/fileHashes'

I guess this is just some misconfigured pathing? But why is it trying to access 6.5 as the used version of gradle wrapper is 6.3? When bumping the used version to 6.5 or 6.6 nothing changes.

Btw. task :doc fails as well

@Yasamato Yasamato added the component:build Related to the build logic (chore) label Aug 30, 2020
@xeruf
Copy link
Member

xeruf commented Aug 30, 2020

You mean ./gradlew run, right?

@xeruf
Copy link
Member

xeruf commented Aug 30, 2020

I have no immediate idea how to fix this because I don't know what is going on. Please run

./gradlew :plugin:doc --info --stacktrace

and post everything :)

@Yasamato
Copy link
Contributor Author

Okay, so I first ran ./gradlew clean to make it a clean process and this is the output of ./gradlew :plugin:doc --info --stacktrace: log.txt

I tried this with jdk 8, 11 and 14. there is no difference in the logs besides the version numbers of the java-jdk (according to diff)

@xeruf
Copy link
Member

xeruf commented Aug 31, 2020

Task ':plugin:doc' is not up-to-date because:
  Task has failed previously.

Hmm, clean scheint nicht ganz geklappt zu haben. Versuch nochmal clean, dann lösche die .gradle und build Ordner komplett und schau ob mehr infos kommen.

@Yasamato
Copy link
Contributor Author

It seems clean doesn't delete .gradle-folder but build. So running again results in: log.txt

@Yasamato Yasamato changed the title Unable to deploy or build on macOS Task ':plugin:doc' fails on Windows and MacOS Sep 7, 2020
@Yasamato
Copy link
Contributor Author

Yasamato commented Sep 7, 2020

It seems under Windows I am now unable to build as well with the recent changes, with the same clean freshly pulled state from master and no .gradle or any build directory, running gradlew :plugin:doc --info --stacktrace returns: log.txt

Reported exception:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':plugin:doc'.
> com.sun.tools.doclets.formats.html.HtmlDoclet

Results under MacOS are currently unchanged

@xeruf
Copy link
Member

xeruf commented Sep 8, 2020

Ok, habs reproduziert

@xeruf
Copy link
Member

xeruf commented Sep 8, 2020

Auf dem dokka updated branch:

* What went wrong:
Execution failed for task ':plugin:doc'.
> Metaspace

lel

@xeruf
Copy link
Member

xeruf commented Sep 8, 2020

Oof, looks like we need to update dokka to 1.4 so that it works with JDK 11: Kotlin/dokka#294
I've already tried that, but it's a hassle.

@xeruf
Copy link
Member

xeruf commented Jan 26, 2021

Superseded by #342, use JDK 8 until then.

@xeruf xeruf closed this as completed Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:build Related to the build logic (chore)
Projects
None yet
Development

No branches or pull requests

2 participants