[BUILDTOOLS-351] Building 1.10.2 breaks on applyPatches.sh Created: 10/Aug/17  Updated: 11/Aug/17  Resolved: 11/Aug/17

Status: Resolved
Project: BuildTools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: WoJ Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: 1.10, BuildTools
Environment:

Fresh Ubuntu zesty installation. Followed instructions on https://www.spigotmc.org/wiki/buildtools/. Building 1.12 finished successfully.



 Description   

When building from scratch 1.10.2 on a fresh Ubuntu zesty install, I get the following crash:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.399 s
[INFO] Finished at: 2017-08-10T20:33:40+00:00
[INFO] Final Memory: 23M/472M
[INFO] ------------------------------------------------------------------------
Rebuilding Forked projects....
applyPatches.sh: 7: applyPatches.sh: function: not found
fatal: ambiguous argument '': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Resetting to ...
fatal: ambiguous argument 'upstream/upstream': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
 Applying patches to ...
fatal: Resolve operation not in progress, we are not resuming.
fatal: could not open '/root/Spigot/-Patches/*.patch' for reading: No such file or directory
 Something did not apply cleanly to .
 Please review above details and finish the apply thenError compiling Spigot. Please check the wiki for FAQs.
If this does not resolve your issue then please pastebin the entire BuildTools.log.txt file when seeking support.save the changes with rebuildPatches.sh
java.lang.RuntimeException: Error running command, return status !=0: [sh, applyPatches.sh]
 at org.spigotmc.builder.Builder.runProcess(Builder.java:561)
 at org.spigotmc.builder.Builder.main(Builder.java:443)

 

Googling this issue yield a few reports, all of them suggesting to export

SHELL=/bin/bash

prior to the build, which I did, but this did not fix anything.

 

Incidentally, 1.12 was built fine on the same environment (another fresh Ubuntu install)

 

 



 Comments   
Comment by md_5 [ 11/Aug/17 ]

Cannot reproduce, Ubuntu 17.04

Comment by md_5 [ 10/Aug/17 ]

Just look at dates.

1.12 / 1.12.1 are the only versions supported in normal bug reports and on spigotmc.org / irc.

Comment by WoJ [ 10/Aug/17 ]

@md_5 is there a place which lists which versions are supported?

Maybe you could list which versions of the build tools are fone for which versions of Spigot, instead of supporting downstream.

I found a solution (downgrading to ver 47) but it was by miracle (browsing other bug reports).

As whether this is a critical bug - well if you do not support 1.10 then indeed.

Comment by md_5 [ 10/Aug/17 ]

I'm still not convinced buildtools should hbe able to build versions we have dropped support for.
I will see if there is an wasy fix, but this sure as hell isnt a critical bug.

Comment by WoJ [ 10/Aug/17 ]

A workaround is available at https://hub.spigotmc.org/jira/browse/BUILDTOOLS-281?focusedCommentId=24155&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-24155.

 

The build tools must be downgraded to 47: https://hub.spigotmc.org/jenkins/job/BuildTools/47/

 

This is not a fix, a bug creeped in somewhere after v47

Comment by WoJ [ 10/Aug/17 ]

The content of BuildTools.log.txt

 

BuildTools
unconfigured@null.spigotmc.org
Attempting to build version: '1.10.2' use --rev <version> to override
Found version
{
 "name": "986",
 "description": "Jenkins build 986",
 "refs": {
 "BuildData": "f37e6395d8f7d4865df27a4ab77e0c0d45de8fb9",
 "Bukkit": "570e0e67528698b67770ea12e22c82d937fd3080",
 "CraftBukkit": "51263e97187a84338f89698eef187284055a682a",
 "Spigot": "de459a282d9f494bbc5588b461b3e8eacd74f744"
 },
 "toolsVersion": 47
}
Pulling updates for /root/BuildData/.git
Successfully fetched updates!
Checked out: f37e6395d8f7d4865df27a4ab77e0c0d45de8fb9
Pulling updates for /root/Bukkit/.git
Successfully fetched updates!
Checked out: 570e0e67528698b67770ea12e22c82d937fd3080
Pulling updates for /root/CraftBukkit/.git
Successfully fetched updates!
Checked out: 51263e97187a84338f89698eef187284055a682a
Pulling updates for /root/Spigot/.git
Successfully fetched updates!
Checked out: de459a282d9f494bbc5588b461b3e8eacd74f744
Attempting to build Minecraft with details: VersionInfo(minecraftVersion=1.10.2, accessTransforms=bukkit-1.10.2.at, classMappings=bukkit-1.10.2-cl.csrg, memberMappings=bukkit-1.10.2-members.csrg, packageMappings=package.srg, minecraftHash=41c4e081defd80b09cb0391c894c2f3c, decompileCommand=java -jar BuildData/bin/fernflower.jar -dgs=1 -hdc=0 -asc=1 -udv=0 {0} {1}, serverUrl=null)
Found good Minecraft hash (41c4e081defd80b09cb0391c894c2f3c)
Found good Minecraft hash (41c4e081defd80b09cb0391c894c2f3c)
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /root/work/mapped.1ae486b6.jar to /root/.m2/repository/org/spigotmc/minecraft-server/1.10.2-SNAPSHOT/minecraft-server-1.10.2-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.263 s
[INFO] Finished at: 2017-08-10T20:33:15+00:00
[INFO] Final Memory: 7M/150M
[INFO] ------------------------------------------------------------------------
Applying CraftBukkit Patches
Backing up NMS dir
Patching with ScoreboardServer.patch
Patching with EntityRabbit.patch
Patching with RecipiesShield.patch
Patching with EntitySlice.patch
Patching with CommandExecute.patch
Patching with InventorySubcontainer.patch
Patching with PathfinderGoalTempt.patch
Patching with PlayerConnection.patch
Patching with BlockSnow.patch
Patching with SecondaryWorldServer.patch
Patching with BlockCake.patch
Patching with BlockCactus.patch
Patching with BlockOre.patch
Patching with InventoryHorseChest.patch
Patching with Enchantment.patch
Patching with EntityHorse.patch
Patching with CommandGamerule.patch
Patching with EntityEgg.patch
Patching with BlockPlant.patch
Patching with ContainerPlayer.patch
Patching with ContainerMerchant.patch
Patching with EntityTNTPrimed.patch
Patching with ItemFireball.patch
Patching with PathfinderGoalOwnerHurtByTarget.patch
Patching with BlockCocoa.patch
Patching with EntityIronGolem.patch
Patching with CraftingManager.patch
Patching with TileEntityChest.patch
Patching with InventoryCrafting.patch
Patching with ItemStack.patch
Patching with ItemBoat.patch
Patching with EntityPlayer.patch
Patching with Village.patch
Patching with BlockPressurePlateAbstract.patch
Patching with BlockMobSpawner.patch
Patching with ItemSkull.patch
Patching with PathfinderGoalMakeLove.patch
Patching with PathfinderGoalTarget.patch
Patching with InventoryLargeChest.patch
Patching with EnchantmentFrostWalker.patch
Patching with ItemMapEmpty.patch
Patching with SpawnerCreature.patch
Patching with EntityTippedArrow.patch
Patching with ContainerAnvil.patch
Patching with EntityEnderCrystal.patch
Patching with BlockVine.patch
Patching with ItemBow.patch
Patching with PathfinderGoalNearestAttackableTargetInsentient.patch
Patching with EntityPig.patch
Patching with BlockMonsterEggs.patch
Patching with InventoryEnderChest.patch
Patching with EntityLiving.patch
Patching with EntityEnderDragon.patch
Patching with CommandBlockListenerAbstract.patch
Patching with DispenseBehaviorProjectile.patch
Patching with PathfinderGoalVillagerFarm.patch
Patching with EntityMinecartAbstract.patch
Patching with ItemDye.patch
Patching with WorldGenRegistration.patch
Patching with BlockSapling.patch
Patching with CommandGamemode.patch
Patching with EntityGhast.patch
Patching with Slot.patch
Patching with PathfinderGoalTame.patch
Patching with BlockLever.patch
Patching with CommandSpreadPlayers.patch
Patching with WorldBorder.patch
Patching with TileEntityHopper.patch
Patching with TileEntityFurnace.patch
Patching with ShapedRecipes.patch
Patching with DragonControllerManager.patch
Patching with EntityItemFrame.patch
Patching with PathfinderGoalBreakDoor.patch
Patching with UserCache.patch
Patching with WorldGenVillagePieces.patch
Patching with TileEntityBrewingStand.patch
Patching with PacketPlayInCloseWindow.patch
Patching with BlockFire.patch
Patching with ChunkProviderGenerate.patch
Patching with TileEntityDispenser.patch
Patching with RecipeFireworks.patch
Patching with EntitySheep.patch
Patching with ChunkProviderServer.patch
Patching with Container.patch
Patching with CrashReport.patch
Patching with EntityWolf.patch
Patching with ItemBucket.patch
Patching with Block.patch
Patching with WorldGenGroundBush.patch
Patching with ItemRecord.patch
Patching with BlockPressurePlateWeighted.patch
Patching with WorldNBTStorage.patch
Patching with MobSpawnerAbstract.patch
Patching with ContainerWorkbench.patch
Patching with BlockRedstoneTorch.patch
Patching with EntityMinecartContainer.patch
Patching with EntityPainting.patch
Patching with BlockTripwireHook.patch
Patching with EntityHuman.patch
Patching with BlockStem.patch
Patching with BlockMinecartDetector.patch
Patching with RecipeArmorDye.patch
Patching with BlockJukeBox.patch
Patching with IRecipe.patch
Patching with TileEntityCommand.patch
Patching with ContainerChest.patch
Patching with TileEntityPiston.patch
Patching with PathfinderGoalOwnerHurtTarget.patch
Patching with PlayerChunk.patch
Patching with JsonList.patch
Patching with Explosion.patch
Patching with MerchantRecipe.patch
Patching with ItemArmor.patch
Patching with BlockTrapdoor.patch
Patching with PropertyManager.patch
Patching with EntityFallingBlock.patch
Patching with EntityPotion.patch
Patching with EntityProjectile.patch
Patching with FoodMetaData.patch
Patching with MinecraftServer.patch
Patching with LoginListener.patch
Patching with RecipeBookClone.patch
Patching with EntityEnderman.patch
Patching with VillageSiege.patch
Patching with RemoteControlCommandListener.patch
Patching with EntityWitherSkull.patch
Patching with DedicatedServer.patch
Patching with ItemLeash.patch
Patching with EntityAreaEffectCloud.patch
Patching with DispenseBehaviorItem.patch
Patching with Entity.patch
Patching with EntityMinecartCommandBlock.patch
Patching with IInventory.patch
Patching with PacketDataSerializer.patch
Patching with EntityMonster.patch
Patching with WorldMap.patch
Patching with EntityArmorStand.patch
Patching with BlockPortal.patch
Patching with EntityOcelot.patch
Patching with ExpirableListEntry.patch
Patching with SlotFurnaceResult.patch
Patching with ItemHanging.patch
Patching with ItemSnowball.patch
Patching with ItemChorusFruit.patch
Patching with EntitySlime.patch
Patching with EntityArrow.patch
Patching with BlockGrass.patch
Patching with EnchantmentThorns.patch
Patching with WorldManager.patch
Patching with BlockPressurePlateBinary.patch
Patching with EntityFishingHook.patch
Patching with ItemFishingRod.patch
Patching with EntityEnderPearl.patch
Patching with PathfinderGoalBreed.patch
Patching with ChatModifier.patch
Patching with ContainerBeacon.patch
Patching with BlockButtonAbstract.patch
Patching with WorldServer.patch
Patching with Chunk.patch
Patching with ContainerHorse.patch
Patching with BlockSoil.patch
Patching with PlayerChunkMap.patch
Patching with PathfinderGoalPanic.patch
Patching with BlockEnderPortal.patch
Patching with PortalTravelAgent.patch
Patching with ItemMinecart.patch
Patching with ChatBaseComponent.patch
Patching with EntityCow.patch
Patching with StructureGenerator.patch
Patching with BlockFlowing.patch
Patching with EntityExperienceOrb.patch
Patching with PlayerInventory.patch
Patching with BlockPumpkin.patch
Patching with PathfinderGoalSit.patch
Patching with RecipesBanner.patch
Patching with BlockDaylightDetector.patch
Patching with NameReferencingFileConverter.patch
Patching with BlockDiodeAbstract.patch
Patching with BlockRedstoneOre.patch
Patching with EntitySnowman.patch
Patching with DispenserRegistry.patch
Patching with EntitySilverfish.patch
Patching with IDataManager.patch
Patching with BlockNetherWart.patch
Patching with EntityCreature.patch
Patching with ContainerDispenser.patch
Patching with PathfinderGoalHorseTrap.patch
Patching with PathfinderGoalNearestAttackableTarget.patch
Patching with ChunkRegionLoader.patch
Patching with PlayerList.patch
Patching with MethodProfiler.patch
Patching with PathfinderGoalHurtByTarget.patch
Patching with RecipesFurnace.patch
Patching with WorldGenMegaTreeAbstract.patch
Patching with CommandTp.patch
Patching with BlockReed.patch
Patching with PathfinderGoalEatTile.patch
Patching with BlockWaterLily.patch
Patching with ContainerEnchantTable.patch
Patching with TileEntityBeacon.patch
Patching with RecipeTippedArrow.patch
Patching with TileEntitySign.patch
Patching with EntityLightning.patch
Patching with World.patch
Patching with EntityAgeable.patch
Patching with BlockDoor.patch
Patching with BlockMagma.patch
Patching with TileEntityBanner.patch
Patching with EntityCreeper.patch
Patching with ItemWorldMap.patch
Patching with EntityFireball.patch
Patching with EntityLeash.patch
Patching with ItemWaterLily.patch
Patching with BlockRedstoneLamp.patch
Patching with BlockLeaves.patch
Patching with StatisticManager.patch
Patching with PathfinderGoalDefendVillage.patch
Patching with BlockMushroom.patch
Patching with BlockDispenser.patch
Patching with BlockMycel.patch
Patching with EntityBoat.patch
Patching with RecipeMapClone.patch
Patching with BlockStationary.patch
Patching with TileEntityEndGateway.patch
Patching with BlockPoweredRail.patch
Patching with BlockPiston.patch
Patching with EntityWither.patch
Patching with EntityThrownExpBottle.patch
Patching with EntityInsentient.patch
Patching with BlockTripwire.patch
Patching with PlayerInteractManager.patch
Patching with ChunkSection.patch
Patching with EntityMushroomCow.patch
Patching with BlockSkull.patch
Patching with EntityTrackerEntry.patch
Patching with DataPaletteBlock.patch
Patching with EntityDamageSourceIndirect.patch
Patching with BlockDragonEgg.patch
Patching with EntityFireworks.patch
Patching with EntityLargeFireball.patch
Patching with EntitySkeleton.patch
Patching with InventoryMerchant.patch
Patching with BlockTNT.patch
Patching with EntityZombie.patch
Patching with BlockChorusFlower.patch
Patching with EntityTracker.patch
Patching with EntityItem.patch
Patching with TileEntityContainer.patch
Patching with MobEffectList.patch
Patching with RegionFileCache.patch
Patching with PathfinderGoalTargetNearestPlayer.patch
Patching with ContainerFurnace.patch
Patching with BlockRedstoneWire.patch
Patching with ItemFlintAndSteel.patch
Patching with EntitySpider.patch
Patching with BlockIce.patch
Patching with RecipeRepair.patch
Patching with InventoryCraftResult.patch
Patching with ContainerBrewingStand.patch
Patching with BlockCauldron.patch
Patching with WorldData.patch
Patching with EntityChicken.patch
Patching with RegionFile.patch
Patching with ContainerHopper.patch
Patching with EntityAnimal.patch
Patching with TileEntity.patch
Patching with EntitySmallFireball.patch
Patching with TileEntityNote.patch
Patching with BlockCommand.patch
Patching with EntityShulkerBullet.patch
Patching with DataWatcher.patch
Patching with EntityHanging.patch
Patching with BlockCrops.patch
Patching with NetworkManager.patch
Patching with ShapelessRecipes.patch
Patching with BlockDropper.patch
Patching with EntityVillager.patch
Patching with PacketStatusListener.patch
Patching with HandshakeListener.patch
Patching with ItemMonsterEgg.patch
Patching with ItemBlock.patch
Compiling Bukkit
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Bukkit 1.10.2-R0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bukkit ---
[INFO] Deleting /root/Bukkit/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ bukkit ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bukkit ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/Bukkit/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ bukkit ---
[INFO] Changes detected - recompiling the module!
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.14:check (default) @ bukkit ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.1
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bukkit ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/Bukkit/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ bukkit ---
[INFO] Changes detected - recompiling the module!
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ bukkit ---
[INFO] Surefire report directory: /root/Bukkit/target/surefire-reports
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.bukkit.conversations.ConversationTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running org.bukkit.conversations.ValidatingPromptTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.bukkit.conversations.ConversationContextTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.bukkit.plugin.PluginManagerTest
Aug 10, 2017 8:33:20 PM org.bukkit.Bukkit setServer
INFO: This server is running TestServer version Version_null (Implementing API version BukkitVersion_null)
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec
Running org.bukkit.plugin.messaging.StandardMessengerTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.119 sec
Running org.bukkit.plugin.TimedRegisteredListenerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.bukkit.event.PlayerChatTabCompleteEventTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.bukkit.event.SyntheticEventTest
Invk org.bukkit.event.TestEvent@6cc4c815
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.bukkit.BukkitMirrorTest
Tests run: 485, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.154 sec
Running org.bukkit.MaterialTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running org.bukkit.NoteTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.bukkit.ArtTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.bukkit.LocationTest
Tests run: 60, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Running org.bukkit.GameModeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.bukkit.DyeColorTest
Tests run: 80, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec
Running org.bukkit.CoalTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.bukkit.ChatColorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.bukkit.EntityEffectTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.bukkit.WorldTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.bukkit.CropStateTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.bukkit.EffectTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.bukkit.configuration.MemorySectionTest
Tests run: 42, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.bukkit.configuration.file.YamlConfigurationTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.107 sec
Running org.bukkit.configuration.MemoryConfigurationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.bukkit.metadata.FixedMetadataValueTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.bukkit.metadata.MetadataStoreTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.bukkit.metadata.MetadataValueAdapterTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.bukkit.metadata.LazyMetadataValueTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.bukkit.metadata.MetadataConversionTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.bukkit.ColorTest
Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.bukkit.materials.MaterialDataTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.bukkit.InstrumentTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.bukkit.GrassSpeciesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.bukkit.TreeSpeciesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.bukkit.ChatPaginatorTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.bukkit.DifficultyTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.bukkit.util.io.BukkitObjectStreamTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.031 sec
Running org.bukkit.util.StringUtilTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.bukkit.util.StringUtilStartsWithTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Results :
Tests run: 913, Failures: 0, Errors: 0, Skipped: 3
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ bukkit ---
[INFO] Building jar: /root/Bukkit/target/bukkit-1.10.2-R0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-shade-plugin:2.4.1:shade (default) @ bukkit ---
[INFO] Including commons-lang:commons-lang:jar:2.6 in the shaded jar.
[INFO] Including com.googlecode.json-simple:json-simple:jar:1.1.1 in the shaded jar.
[INFO] Including com.google.guava:guava:jar:17.0 in the shaded jar.
[INFO] Including com.google.code.gson:gson:jar:2.2.4 in the shaded jar.
[INFO] Including org.avaje:ebean:jar:2.8.1 in the shaded jar.
[INFO] Including javax.persistence:persistence-api:jar:1.0 in the shaded jar.
[INFO] Including org.yaml:snakeyaml:jar:1.15 in the shaded jar.
[INFO] Attaching shaded artifact.
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ bukkit ---
[INFO] Installing /root/Bukkit/target/bukkit-1.10.2-R0.1-SNAPSHOT.jar to /root/.m2/repository/org/bukkit/bukkit/1.10.2-R0.1-SNAPSHOT/bukkit-1.10.2-R0.1-SNAPSHOT.jar
[INFO] Installing /root/Bukkit/pom.xml to /root/.m2/repository/org/bukkit/bukkit/1.10.2-R0.1-SNAPSHOT/bukkit-1.10.2-R0.1-SNAPSHOT.pom
[INFO] Installing /root/Bukkit/target/bukkit-1.10.2-R0.1-SNAPSHOT-shaded.jar to /root/.m2/repository/org/bukkit/bukkit/1.10.2-R0.1-SNAPSHOT/bukkit-1.10.2-R0.1-SNAPSHOT-shaded.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.651 s
[INFO] Finished at: 2017-08-10T20:33:22+00:00
[INFO] Final Memory: 36M/369M
[INFO] ------------------------------------------------------------------------
Compiling CraftBukkit
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building CraftBukkit 1.10.2-R0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ craftbukkit ---
[INFO] Deleting /root/CraftBukkit/target
[INFO]
[INFO] --- scriptus:0.2:describe (default) @ craftbukkit ---
[INFO] Set property "describe" to "git-Bukkit-51263e9"
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ craftbukkit ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ craftbukkit ---
[INFO] Changes detected - recompiling the module!
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.14:check (default) @ craftbukkit ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.1
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ craftbukkit ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/CraftBukkit/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ craftbukkit ---
[INFO] Changes detected - recompiling the module!
[INFO]
[INFO] --- maven-surefire-plugin:2.19:test (default-test) @ craftbukkit ---
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.bukkit.PerMaterialTest
Aug 10, 2017 8:33:31 PM org.bukkit.Bukkit setServer
INFO: This server is running org.bukkit.support.DummyServer version null (Implementing API version 1.10.2-R0.1-SNAPSHOT)
Tests run: 4664, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.273 sec - in org.bukkit.PerMaterialTest
Running org.bukkit.MaterialTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.bukkit.MaterialTest
Running org.bukkit.BiomeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.bukkit.BiomeTest
Running org.bukkit.ArtTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.bukkit.ArtTest
Running org.bukkit.potion.PotionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.bukkit.potion.PotionTest
Running org.bukkit.WorldTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.bukkit.WorldTypeTest
Running org.bukkit.map.MapTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.bukkit.map.MapTest
Running org.bukkit.DyeColorsTest
Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.bukkit.DyeColorsTest
Running org.bukkit.craftbukkit.inventory.ItemMetaTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.164 sec - in org.bukkit.craftbukkit.inventory.ItemMetaTest
Running org.bukkit.craftbukkit.inventory.FactoryItemMaterialTest
Tests run: 1488, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.412 sec - in org.bukkit.craftbukkit.inventory.FactoryItemMaterialTest
Running org.bukkit.craftbukkit.inventory.ItemMetaImplementationOverrideTest
Tests run: 99, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.bukkit.craftbukkit.inventory.ItemMetaImplementationOverrideTest
Running org.bukkit.craftbukkit.inventory.ItemFactoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.567 sec - in org.bukkit.craftbukkit.inventory.ItemFactoryTest
Running org.bukkit.craftbukkit.inventory.NMSCraftItemStackTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.bukkit.craftbukkit.inventory.NMSCraftItemStackTest
Running org.bukkit.ParticleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.bukkit.ParticleTest
Running org.bukkit.SoundTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec - in org.bukkit.SoundTest
Running org.bukkit.StatisticsAndAchievementsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in org.bukkit.StatisticsAndAchievementsTest
Running org.bukkit.entity.EnderDragonPhaseTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec - in org.bukkit.entity.EnderDragonPhaseTest
Results :
Tests run: 6314, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ craftbukkit ---
[INFO] Building jar: /root/CraftBukkit/target/craftbukkit-1.10.2-R0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-shade-plugin:2.4.1:shade (default) @ craftbukkit ---
[INFO] Including org.bukkit:bukkit:jar:1.10.2-R0.1-SNAPSHOT in the shaded jar.
[INFO] Including commons-lang:commons-lang:jar:2.6 in the shaded jar.
[INFO] Including com.googlecode.json-simple:json-simple:jar:1.1.1 in the shaded jar.
[INFO] Including com.google.guava:guava:jar:17.0 in the shaded jar.
[INFO] Including com.google.code.gson:gson:jar:2.2.4 in the shaded jar.
[INFO] Including org.avaje:ebean:jar:2.8.1 in the shaded jar.
[INFO] Including javax.persistence:persistence-api:jar:1.0 in the shaded jar.
[INFO] Including org.yaml:snakeyaml:jar:1.15 in the shaded jar.
[INFO] Including org.spigotmc:minecraft-server:jar:1.10.2-SNAPSHOT in the shaded jar.
[INFO] Including net.sf.jopt-simple:jopt-simple:jar:4.9 in the shaded jar.
[INFO] Including jline:jline:jar:2.12 in the shaded jar.
[INFO] Including org.xerial:sqlite-jdbc:jar:3.7.2 in the shaded jar.
[INFO] Including mysql:mysql-connector-java:jar:5.1.37 in the shaded jar.
[WARNING] craftbukkit-1.10.2-R0.1-SNAPSHOT.jar, minecraft-server-1.10.2-SNAPSHOT.jar define 524 overlapping classes:
[WARNING] - org.apache.logging.log4j.core.appender.ConsoleAppender$ConsoleManagerFactory
[WARNING] - net.minecraft.server.DispenserRegistry$2
[WARNING] - net.minecraft.server.DispenserRegistry$12
[WARNING] - net.minecraft.server.PathfinderGoalNearestAttackableTargetInsentient
[WARNING] - net.minecraft.server.BlockWaterLily
[WARNING] - net.minecraft.server.PathfinderGoalHurtByTarget
[WARNING] - net.minecraft.server.Entity$4
[WARNING] - net.minecraft.server.BlockGrass
[WARNING] - net.minecraft.server.PlayerChunkMap$5
[WARNING] - net.minecraft.server.Chunk$1
[WARNING] - 514 more...
[WARNING] guava-17.0.jar, minecraft-server-1.10.2-SNAPSHOT.jar define 1686 overlapping classes:
[WARNING] - com.google.common.collect.ImmutableMapValues$1
[WARNING] - com.google.common.io.LineProcessor
[WARNING] - com.google.common.util.concurrent.AbstractService$5
[WARNING] - com.google.common.io.BaseEncoding$StandardBaseEncoding$2
[WARNING] - com.google.common.io.ByteProcessor
[WARNING] - com.google.common.math.package-info
[WARNING] - com.google.common.util.concurrent.SimpleTimeLimiter
[WARNING] - com.google.common.io.GwtWorkarounds$5
[WARNING] - com.google.common.cache.AbstractCache$StatsCounter
[WARNING] - com.google.common.util.concurrent.CycleDetectingLockFactory$Policies
[WARNING] - 1676 more...
[WARNING] gson-2.2.4.jar, minecraft-server-1.10.2-SNAPSHOT.jar define 153 overlapping classes:
[WARNING] - com.google.gson.internal.bind.JsonTreeWriter
[WARNING] - com.google.gson.internal.Excluder
[WARNING] - com.google.gson.JsonDeserializationContext
[WARNING] - com.google.gson.internal.$Gson$Types
[WARNING] - com.google.gson.internal.LinkedTreeMap$KeySet
[WARNING] - com.google.gson.FieldNamingPolicy$5
[WARNING] - com.google.gson.internal.bind.SqlDateTypeAdapter$1
[WARNING] - com.google.gson.internal.UnsafeAllocator$2
[WARNING] - com.google.gson.FieldAttributes
[WARNING] - com.google.gson.internal.$Gson$Types$ParameterizedTypeImpl
[WARNING] - 143 more...
[WARNING] maven-shade-plugin has detected that some class files are
[WARNING] present in two or more JARs. When this happens, only one
[WARNING] single version of the class is copied to the uber jar.
[WARNING] Usually this is not harmful and you can skip these warnings,
[WARNING] otherwise try to manually exclude artifacts based on
[WARNING] mvn dependency:tree -Ddetail=true and the above output.
[WARNING] See http://docs.codehaus.org/display/MAVENUSER/Shade+Plugin
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /root/CraftBukkit/target/craftbukkit-1.10.2-R0.1-SNAPSHOT.jar with /root/CraftBukkit/target/craftbukkit-1.10.2-R0.1-SNAPSHOT-shaded.jar
[INFO] Dependency-reduced POM written at: /root/CraftBukkit/dependency-reduced-pom.xml
[INFO] Dependency-reduced POM written at: /root/CraftBukkit/dependency-reduced-pom.xml
[INFO] Dependency-reduced POM written at: /root/CraftBukkit/dependency-reduced-pom.xml
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ craftbukkit ---
[INFO] Installing /root/CraftBukkit/target/craftbukkit-1.10.2-R0.1-SNAPSHOT.jar to /root/.m2/repository/org/bukkit/craftbukkit/1.10.2-R0.1-SNAPSHOT/craftbukkit-1.10.2-R0.1-SNAPSHOT.jar
[INFO] Installing /root/CraftBukkit/dependency-reduced-pom.xml to /root/.m2/repository/org/bukkit/craftbukkit/1.10.2-R0.1-SNAPSHOT/craftbukkit-1.10.2-R0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.399 s
[INFO] Finished at: 2017-08-10T20:33:40+00:00
[INFO] Final Memory: 23M/472M
[INFO] ------------------------------------------------------------------------
Rebuilding Forked projects....
applyPatches.sh: 7: applyPatches.sh: function: not found
fatal: ambiguous argument '': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Resetting to ...
fatal: ambiguous argument 'upstream/upstream': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
 Applying patches to ...
fatal: Resolve operation not in progress, we are not resuming.
fatal: could not open '/root/Spigot/-Patches/*.patch' for reading: No such file or directory
 Something did not apply cleanly to .
Error compiling Spigot. Please check the wiki for FAQs.
If this does not resolve your issue then please pastebin the entire BuildTools.log.txt file when seeking support.
 Please review above details and finish the apply then
 save the changes with rebuildPatches.sh
java.lang.RuntimeException: Error running command, return status !=0: [sh, applyPatches.sh]
 at org.spigotmc.builder.Builder.runProcess(Builder.java:561)
 at org.spigotmc.builder.Builder.main(Builder.java:443)

 

 

Generated at Tue Apr 22 14:38:27 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.