[BUILDTOOLS-311] Buildtools fail Created: 19/Mar/17  Updated: 20/Mar/17  Resolved: 19/Mar/17

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

Type: Bug Priority: Major
Reporter: TJ Assignee: Unassigned
Resolution: Done Votes: 0
Labels: 1.10, BuildTools, Crash, bug, failed
Environment:

 

running on an Ubuntu 16.0.4 vm

The crash occurs from buildtools version 56 and onward. (did some trial and error to make it easier on you guys) 

I was trying to run 1.10.2, with no added configurations.


Attachments: Text File BuildTools.log.txt    

 Description   

I kept repeatedly getting this error:

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 ...
error: Could not remove config section 'remote.upstream'
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 '/home/tejesh/btoolstesting/56/Spigot/-Patches/*.patch' for reading: No such file or directory
Something did not apply cleanly to .
Please review above details and finish the apply then
save the changes with rebuildPatches.sh
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.
java.lang.RuntimeException: Error running command, return status !=0: [sh, applyPatches.sh]
at org.spigotmc.builder.Builder.runProcess(Builder.java:547)
at org.spigotmc.builder.Builder.main(Builder.java:429)

 

 

 



 Comments   
Comment by md_5 [ 20/Mar/17 ]

Buildtools 59 works fine.
56-58 have this regression when building older versions.

Comment by TJ [ 20/Mar/17 ]

I looked at the git diff between update 55 and 56... what was the purpose of deleting the code which looked at the SHELL env variable? Also, isn't it a better idea to patch bugs than supply workarounds?

Generated at Fri Apr 11 21:10:50 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.