Jump to content

Execution failed for task ':applySourcePatches' (1.10.2-12.18.1.2011)


Recommended Posts

Posted

This error shows up when I run gradlew setupDecompWorkspace

 

Here is the full log from the command prompt

This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-c438b06
  https://github.com/MinecraftForge/ForgeGradle
#################################################
               Powered by MCP unknown
             http://modcoderpack.com
         by: Searge, ProfMobius, Fesh0r,
         R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:genSrgs SKIPPED
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
:mergeJars SKIPPED
:deobfMcSRG SKIPPED
:decompileMc SKIPPED
:fixMcSources
:applySourcePatches
Patching failed: net/minecraft/client/gui/GuiMainMenu.java Cannot find hunk target
  6: Cannot find hunk target @ 0
  1/7 failed
Patching failed: net/minecraft/client/gui/achievement/GuiAchievements.java Cannot find hunk target
  3: Cannot find hunk target @ 0
  4: Cannot find hunk target @ 0
  2/10 failed
Patching failed: net/minecraft/client/gui/inventory/GuiContainer.java Cannot find hunk target
  3: Cannot find hunk target @ 0
  10: Cannot find hunk target @ 0
  2/13 failed
Patching failed: net/minecraft/client/gui/inventory/GuiContainerCreative.java Cannot find hunk target
  3: Cannot find hunk target @ 0
  1/16 failed
:applySourcePatches FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':applySourcePatches'.
> com.cloudbees.diff.PatchException: Cannot find hunk target

* 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: 27.196 secs

  • 3 years later...
Posted (edited)

Well WHAT did he mean?

 

I know this was 3 years ago but it's the only instance of this issue I found, and since you seems like you made it work, I'd rather just ask here than make a new question

Edit: Made it work by running "gradlew clean cleanCache setupDevWorkspace --refresh-dependencies" first

Edited by ThatOneCodingBoi
  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.