What does "git status" say? The hashes of generated files are not what
they're supposed to be - either something has changed them or you have
a git configuration that replaces something on the fly (line endings,
most likely).

Dawid

On Wed, Jul 28, 2021 at 9:55 AM Da Wu <wuda0...@gmail.com> wrote:
>
> i want to contribute to lucene, and read  How to Contribute
> <https://wiki.apache.org/lucene/HowToContribute> , when i execute
> ./gradlew precommit,
> it failed,  output is:
>
> Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use
> --status for details
> > Task :lucene:backward-codecs:generateForUtilChecksumCheck FAILED
>
> FAILURE: Build failed with an exception.
>
> * Where:
> Script 'D:\idea_workspace\lucene\gradle\generation\regenerate.gradle' line:
> 162
>
> * What went wrong:
> Execution failed for task
> ':lucene:backward-codecs:generateForUtilChecksumCheck'.
> > Checksums mismatch for derived resources; you might have modified a
> generated resource (regenerate task: generateForUtilInternal):
>   Current:
>
> lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene84/ForUtil.java=214818d4ca67ac890dc67ed5c3cf208704dfe71e
>
> lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene84/gen_ForUtil.py=20ce3591a2ed8b23b8789da9eaa78e2b48b2c9ed
>
>   Expected:
>
> lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene84/ForUtil.java=59319f493441c05e84ca9077a9f3bf98b6eb8c7e
>
> lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene84/gen_ForUtil.py=96635fbbf3270b6cb25237b8c01e068ecad0d2ce
>
> * 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 16s
> 78 actionable tasks: 18 executed, 60 up-to-date
>
>
>
> but i have modified nothing, what should i do?

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to