[BUILDTOOLS-281] Unable to run BuildTools with successful result. No matter what. Created: 26/Nov/16 Updated: 17/Nov/17 Resolved: 17/Nov/17 |
|
| Status: | Resolved |
| Project: | BuildTools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Michael | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 1 |
| Labels: | BuildTools, failed, spigot, stupid | ||
| Environment: |
Ubuntu 16.04 LTS. |
||
| Attachments: |
|
| Description |
|
No matter what I do I always get errors during the BuildTools run. I have the latest version, and am installing in a clean directory. I always set " git config --global --unset core.autocrlf ". The output is always something to do with failing a patch process. There's not much I can do if BuildTools is using other parts of the O/S incorrectly, eg Git for example. This is the end of the log , entire log is attached. I would really appreciate help with this! [INFO] — maven-install-plugin:2.4:install (default-install) @ craftbukkit — |
| Comments |
| Comment by TJ [ 13/Aug/17 ] |
|
|
| Comment by WoJ [ 10/Aug/17 ] |
|
@TJ: thank you - this workaround solved my problem. I would never have found out. |
| Comment by TJ [ 17/Mar/17 ] |
|
Finally, after maybe three months, i found a workaround. I reverted my tools version to 47, what usually runs when you do --rev 1.10.2. And it worked. Also, I changed my .gitconfig file in the home directory to match my actual username and email - that shouldn't have changed anything, but who knows. Hopefully that helped! |
| Comment by TJ [ 07/Jan/17 ] |
|
where? I am confused... I have the same bug - and while I have run spigot servers before I have never encountered this one... The only difference between this server and any other one I have run is that it is in 1.10.2 |
| Comment by Stephane [ 29/Dec/16 ] |
|
THANK YOU very much ! many thousands days i am looking for that !!!!
i am saved |
| Comment by Cat73 [ 06/Dec/16 ] |
|
Add a "export SHELL=/bin/bash" to solve the problem. |
| Comment by Michael [ 26/Nov/16 ] |
|
FYI, I had previously tried revision 1.10, and 1.8 instead of current (1.11). And these failed in the same manner. It should be noted that I am now receiving a different error when specifically trying to build 1.11. I have the 1.10 JAR files now and will be using them but will still be trying to build 1.11. Why this is not working is due to some other random error. **UPDATE** As I was writing this, I attempted to build the 1.11 revision over and over again. Failure after failure was finally rewarded with a successful build. How on gods own planet does that happen? Nothing changed between build attempts. I simply deleted the build directory, copied BuildTools.jar into a new directory and re-ran the build command. Over and Over again. And finally, just randomly, it worked. Thats what you get, I guess, for trusting online source code. Cheers, |
| Comment by Michael [ 26/Nov/16 ] |
|
So here's some crazy findings. export MAVEN_OPTS "-Xmx1G" and tried building as root again but with more java options: java -Xms512m -Xmx2g -jar BuildTools.jar --rev 1.10 and this time (holy cr*p), after about 200 previously failed attempts and google searches and trying everything at the console, it finally worked. "Success! Everything compiled successfully. Copying final .jar files now." This sort of stupid cr*p should never happen. the VPS I'm on has 4gig of Ram, and a crazy amount of hard disk space. So why did this happen? Who cares, right? Cheers. |
| Comment by Michael [ 26/Nov/16 ] |
|
Muahaha good luck. |