Jump to content

Recommended Posts

Posted

Hello there,

 

A buddy of mine wants me to help him out with modding, so I figured I'd get back in the game after a year or so of downtime.  It's cool to see how things have progressed in my leave.  Anywho, I decided to start setting up the dev environment using the pinned tutorial in the ForgeGradle subforum.  When I run the function:

gradlew setupDecompWorkspace

Everything chugs along smoothly until it gets to recompForge, at which point the install fails.  I'm not entirely sure whats going on, it looks like something about the files its acquiring/modifying isn't what it is expecting.  Below is the gradle log file (gradle.txt) generated:

 

****************************

Powered By MCP:           

http://mcp.ocean-labs.de/ 

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn     

MCP Data version : unknown

****************************

Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.2-10.12.0.1047/forge-1.7.2-10.12.0.1047-userdev.jar

:extractUserDev

Download http://repo1.maven.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0.pom

Download http://repo1.maven.org/maven2/org/lwjgl/lwjgl/parent/2.9.0/parent-2.9.0.pom

Download http://repo1.maven.org/maven2/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5.pom

Download http://repo1.maven.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0-natives-windows.jar

Download http://repo1.maven.org/maven2/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar

:getAssetsIndex

:getAssets

Current status: 4/1120  0%

Current status: 97/1120  8%

Current status: 1017/1120  90%

:copyAssets

:extractNatives

:genSrgs

:downloadMcpTools

:downloadClient

:downloadServer

:mergeJars

Adding cpw/mods/fml/relauncher/SideOnly.class

Adding cpw/mods/fml/relauncher/Side.class

:deobfuscateJar

Applying SpecialSource...

Applying Exceptor...

Injecting source info...

:decompile

:doFmlPatchesPatching failed: net/minecraft/client/gui/GuiIngame.java Cannot find hunk target

  2: Cannot find hunk target @ 0

  1/2 failed

  Rejects written to E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\expandedArchives\fmlpatches.zip_6d3p9vhm6b0hj76sfr6nl7uq27\net\minecraft\client\gui\GuiIngame.java.patch.rej

Patching failed: net/minecraft/entity/player/EntityPlayer.java Cannot find hunk target

  4: Cannot find hunk target @ 0

  1/4 failed

  Rejects written to E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\expandedArchives\fmlpatches.zip_6d3p9vhm6b0hj76sfr6nl7uq27\net\minecraft\entity\player\EntityPlayer.java.patch.rej

 

:addFmlSources

:remapJar

:doForgePatchesPatching failed: net/minecraft/client/gui/achievement/GuiAchievements.java Cannot find hunk target

  6: Cannot find hunk target @ 0

  7: Cannot find hunk target @ 0

  2/7 failed

  Rejects written to E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\expandedArchives\forgepatches.zip_3ievj3cfbkqip3j4onu6btbqij\net\minecraft\client\gui\achievement\GuiAchievements.java.patch.rej

Patching failed: net/minecraft/client/renderer/ItemRenderer.java Cannot find hunk target

  5: Cannot find hunk target @ 0

  7: Cannot find hunk target @ 0

  2/7 failed

  Rejects written to E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\expandedArchives\forgepatches.zip_3ievj3cfbkqip3j4onu6btbqij\net\minecraft\client\renderer\ItemRenderer.java.patch.rej

Patching failed: net/minecraft/client/renderer/RenderBlocks.java Cannot find hunk target

  5: Cannot find hunk target @ 0

  1/11 failed

  Rejects written to E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\expandedArchives\forgepatches.zip_3ievj3cfbkqip3j4onu6btbqij\net\minecraft\client\renderer\RenderBlocks.java.patch.rej

Patching failed: net/minecraft/client/renderer/RenderGlobal.java Cannot find hunk target

  4: Cannot find hunk target @ 0

  1/10 failed

  Rejects written to E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\expandedArchives\forgepatches.zip_3ievj3cfbkqip3j4onu6btbqij\net\minecraft\client\renderer\RenderGlobal.java.patch.rej

Patching failed: net/minecraft/client/renderer/entity/RenderItem.java Cannot find hunk target

  4: Cannot find hunk target @ 0

  14: Cannot find hunk target @ 0

  2/18 failed

  Rejects written to E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\expandedArchives\forgepatches.zip_3ievj3cfbkqip3j4onu6btbqij\net\minecraft\client\renderer\entity\RenderItem.java.patch.rej

Patching failed: net/minecraft/entity/player/EntityPlayer.java Cannot find hunk target

  37: Cannot find hunk target @ 0

  1/37 failed

  Rejects written to E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\expandedArchives\forgepatches.zip_3ievj3cfbkqip3j4onu6btbqij\net\minecraft\entity\player\EntityPlayer.java.patch.rej

Patching failed: net/minecraft/inventory/ContainerBrewingStand.java Cannot find hunk target

  3: Cannot find hunk target @ 0

  1/3 failed

  Rejects written to E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\expandedArchives\forgepatches.zip_3ievj3cfbkqip3j4onu6btbqij\net\minecraft\inventory\ContainerBrewingStand.java.patch.rej

Patching failed: net/minecraft/world/gen/feature/WorldGenDungeons.java Cannot find hunk target

  2: Cannot find hunk target @ 0

  1/3 failed

  Rejects written to E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\expandedArchives\forgepatches.zip_3ievj3cfbkqip3j4onu6btbqij\net\minecraft\world\gen\feature\WorldGenDungeons.java.patch.rej

Patching failed: net/minecraft/world/gen/feature/WorldGenSwamp.java Cannot find hunk target

  3: Cannot find hunk target @ 0

  1/7 failed

  Rejects written to E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\expandedArchives\forgepatches.zip_3ievj3cfbkqip3j4onu6btbqij\net\minecraft\world\gen\feature\WorldGenSwamp.java.patch.rej

Patching failed: net/minecraft/world/gen/structure/StructureVillagePieces.java Cannot find hunk target

  7: Cannot find hunk target @ 0

  8: Cannot find hunk target @ 0

  9: Cannot find hunk target @ 0

  3/9 failed

  Rejects written to E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\expandedArchives\forgepatches.zip_3ievj3cfbkqip3j4onu6btbqij\net\minecraft\world\gen\structure\StructureVillagePieces.java.patch.rej

 

:addForgeJavadoc

:extractForgeSrc

:recompForge

Download https://libraries.minecraft.net/net/minecraft/launchwrapper/1.9/launchwrapper-1.9.pom

Download http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.2/scala-library-2.10.2.pom

Download http://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.10.2/scala-compiler-2.10.2.pom

Download http://repo1.maven.org/maven2/java3d/vecmath/1.3.1/vecmath-1.3.1.pom

Download http://repo1.maven.org/maven2/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.pom

Download https://libraries.minecraft.net/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.pom

Download https://libraries.minecraft.net/lzma/lzma/0.0.1/lzma-0.0.1.pom

Download https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.pom

Download https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwav-20101023.pom

Download https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.pom

Download https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.pom

Download https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soundsystem-20120107.pom

Download http://repo1.maven.org/maven2/io/netty/netty-all/4.0.10.Final/netty-all-4.0.10.Final.pom

Download http://repo1.maven.org/maven2/io/netty/netty-parent/4.0.10.Final/netty-parent-4.0.10.Final.pom

Download http://repo1.maven.org/maven2/com/google/guava/guava/15.0/guava-15.0.pom

Download http://repo1.maven.org/maven2/com/google/guava/guava-parent/15.0/guava-parent-15.0.pom

Download http://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.pom

Download http://repo1.maven.org/maven2/org/apache/commons/commons-parent/22/commons-parent-22.pom

Download http://repo1.maven.org/maven2/org/apache/apache/9/apache-9.pom

Download http://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.pom

Download http://repo1.maven.org/maven2/org/apache/commons/commons-parent/25/commons-parent-25.pom

Download http://repo1.maven.org/maven2/net/java/jinput/jinput/2.0.5/jinput-2.0.5.pom

Download http://repo1.maven.org/maven2/net/java/jutils/jutils/1.0.0/jutils-1.0.0.pom

Download https://libraries.minecraft.net/com/mojang/authlib/1.3/authlib-1.3.pom

Download http://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.pom

Download http://repo1.maven.org/maven2/org/apache/logging/log4j/log4j/2.0-beta9/log4j-2.0-beta9.pom

Download http://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.pom

Download http://repo1.maven.org/maven2/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0.pom

Download http://repo1.maven.org/maven2/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0.pom

Download http://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.10.2/scala-reflect-2.10.2.pom

Download https://libraries.minecraft.net/net/minecraft/launchwrapper/1.9/launchwrapper-1.9.jar

Download http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.2/scala-library-2.10.2.jar

Download http://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.10.2/scala-compiler-2.10.2.jar

Download http://repo1.maven.org/maven2/java3d/vecmath/1.3.1/vecmath-1.3.1.jar

Download http://repo1.maven.org/maven2/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar

Download https://libraries.minecraft.net/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar

Download https://libraries.minecraft.net/lzma/lzma/0.0.1/lzma-0.0.1.jar

Download https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar

Download https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwav-20101023.jar

Download https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar

Download https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar

Download https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar

Download http://repo1.maven.org/maven2/io/netty/netty-all/4.0.10.Final/netty-all-4.0.10.Final.jar

Download http://repo1.maven.org/maven2/com/google/guava/guava/15.0/guava-15.0.jar

Download http://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar

Download http://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar

Download http://repo1.maven.org/maven2/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar

Download http://repo1.maven.org/maven2/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar

Download https://libraries.minecraft.net/com/mojang/authlib/1.3/authlib-1.3.jar

Download http://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar

Download http://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar

Download http://repo1.maven.org/maven2/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0.jar

Download http://repo1.maven.org/maven2/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0.jar

Download http://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.10.2/scala-reflect-2.10.2.jar

Download http://repo1.maven.org/maven2/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-linux.jar

Download http://repo1.maven.org/maven2/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar

Download http://repo1.maven.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0-natives-linux.jar

Download http://repo1.maven.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0-natives-osx.jar

warning: [options] bootstrap class path not set in conjunction with -source 1.6

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:208: error: cannot find symbol

        this.eyeHeight = this.getDefaultEyeHeight();

            ^

  symbol: variable eyeHeight

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:208: error: cannot find symbol

        this.eyeHeight = this.getDefaultEyeHeight();

                            ^

  symbol: method getDefaultEyeHeight()

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1116: error: cannot find symbol

        return eyeHeight;

              ^

  symbol:  variable eyeHeight

  location: class EntityPlayer

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1806: error: method getBedLocation in class EntityPlayer cannot be applied to given types;

        return getBedLocation(this.dimension);

              ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1812: error: method isSpawnForced in class EntityPlayer cannot be applied to given types;

        return isSpawnForced(this.dimension);

              ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1822: error: method setSpawnChunk in class EntityPlayer cannot be applied to given types;

            setSpawnChunk(par1ChunkCoordinates, par2, this.dimension);

            ^

  required: ChunkCoordinates,boolean

  found: ChunkCoordinates,boolean,int

  reason: actual and formal argument lists differ in length

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:2442: error: cannot find symbol

        ChatComponentText chatcomponenttext = new ChatComponentText(ScorePlayerTeam.formatPlayerName(this.getTeam(), this.getDisplayName()));

                                                                                                                        ^

  symbol: method getDisplayName()

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\item\Item.java:790: error: cannot find symbol

        double d1 = par2EntityPlayer.prevPosY + (par2EntityPlayer.posY - par2EntityPlayer.prevPosY) * (double)f + (double)(par1World.isRemote ? par2EntityPlayer.getEyeHeight() - par2EntityPlayer.getDefaultEyeHeight() : par2EntityPlayer.getEyeHeight()); // isRemote check to revert changes to ray trace position due to adding the eye height clientside and player yOffset differences

                                                                                                                                                                                                  ^

  symbol:  method getDefaultEyeHeight()

  location: variable par2EntityPlayer of type EntityPlayer

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\world\gen\structure\StructureVillagePieces.java:1942: error: cannot find symbol

                BiomeEvent.GetVillageBlockID event = new BiomeEvent.GetVillageBlockID(startPiece == null ? null : startPiece.biome, p_151558_1_, p_151558_2_);

                                                                                                                            ^

  symbol:  variable biome

  location: variable startPiece of type Start

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\world\gen\structure\StructureVillagePieces.java:1983: error: cannot find symbol

                BiomeEvent.GetVillageBlockMeta event = new BiomeEvent.GetVillageBlockMeta(startPiece == null ? null : startPiece.biome, p_151557_1_, p_151557_2_);

                                                                                                                                ^

  symbol:  variable biome

  location: variable startPiece of type Start

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\server\management\ServerConfigurationManager.java:437: error: method getBedLocation in class EntityPlayer cannot be applied to given types;

        ChunkCoordinates chunkcoordinates = par1EntityPlayerMP.getBedLocation(par2);

                                                              ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\server\management\ServerConfigurationManager.java:438: error: method isSpawnForced in class EntityPlayer cannot be applied to given types;

        boolean flag1 = par1EntityPlayerMP.isSpawnForced(par2);

                                          ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayerMP.java:1176: error: method does not override or implement a method from a supertype

    @Override

    ^

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\cpw\mods\fml\common\network\internal\OpenGuiHandler.java:16: error: cannot find symbol

        player.openGui(msg.modId, msg.modGuiId, player.worldObj, msg.x, msg.y, msg.z);

              ^

  symbol:  method openGui(String,int,World,int,int,int)

  location: variable player of type EntityPlayer

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraft\client\entity\EntityOtherPlayerMP.java:174: error: method does not override or implement a method from a supertype

    @Override

    ^

E:\Users\Jon\Documents\MinecraftDev\forge\build\tmp\recompSrc\net\minecraftforge\common\util\FakePlayer.java:33: error: method does not override or implement a method from a supertype

    @Override public void openGui(Object mod, int modGuiId, World world, int x, int y, int z){}

    ^

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

16 errors

1 warning

:recompForge FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':recompForge'.

> Compilation failed; see the compiler error output for details.

 

* 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: 5 mins 51.223 secs

 

 

 

I've setup my JAVA_HOME and PATH variables accordingly:

 

 

PATH:  C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;E:\WinAVR-20100110\bin;E:\WinAVR-20100110\utils\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Java\jdk1.8.0\bin;

 

JAVA_HOME: C:\Program Files\Java\jdk1.8.0

 

 

 

If anyone could help me correct the issue, I'd really appreciate it.  Let me know if there is any more information you require to sort things out!  Oh, and this is a completely fresh install to my knowledge (I deleted all the files in the folder I unzipped things to, and deleted the .gradle file generated in my E:\Users\"me" folder.

 

-Jon

 

Posted

Fantastic, worked like a charm!  I was able to run the setupDecompWorkspace and eclipse commands with successful builds.

 

I take it this is probably not a big deal, but a warning did occur at the end of setupDecompWorkspace as follows:

warning: [options] bootstrap class path not set in conjunction with -source 1.6

 

Should I be concerned with this?  Or just get to programming already, lol. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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