-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Minor
-
Environment:
Fresh Ubuntu zesty installation. Followed instructions on https://www.spigotmc.org/wiki/buildtools/. Building 1.12 finished successfully.
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)