[BUILDTOOLS-568] Unable to build Spigot 1.8.8 with BuildTools.jar Created: 01/Feb/21 Updated: 06/Feb/21 |
|
Status: | Open |
Project: | BuildTools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Sniping_ | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | 1.8.8, build-failure, maven, spigot | ||
Environment: |
Windows 10 Home (x64) version 2004, compilation 19041.746 Windows Subsystem for Linux (WSL) version Ubuntu 20.04 (hence the Ubuntu builds in java --version) Java 14 (JDK+JRE): Java 8 (JDK+JRE): |
Attachments: |
![]() |
Version: | git-BuildTools-abd1c56-124 (#124) |
Guidelines Read: | Yes |
Description |
Hello. I am encountering an error whilst trying to build Spigot for 1.8.8. After applying CraftBukkit patches and beginning compilation, Maven throws a bunch of errors, mainly about org.bukkit.material colliding with a type or that the import org.bukkit.material was unresolved. The full log is attached below. Note: The paths in the log follow the Linux convention since I use Windows Subsystem for Linux (WSL) instead of Git for Windows. Not that this affects anything. EDIT: After more investigation I found out the cause of the problem. Example: Assume the current directory is 'buildtools/Bukkit/src/main/java/'. This is weird, as I was able to build Spigot 1.16.5 with no issues. The way I worked around this is as follows:
I have found a better workaround to this using '/etc/wsl.conf':
This solution should also apply to any other future builds. |
Comments |
Comment by md_5 [ 06/Feb/21 ] |
WSL isn't really supported |