#building spigot 1.19.2 on raspi fails

1 messages · Page 1 of 1 (latest)

sullen widget
#

just making a thread so i don't interrupt the other convo here.

I'm trying to build spigot for 1.19.2 on my raspberry pi 3, but the build is failing (after working for a while). I've got java 17 installed.
it fails with this message:

Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [/usr/lib/jvm/java-17-openjdk-arm64/bin/java, -jar, BuildData/bin/fernflower.jar, -dgs=1, -hdc=0, -asc=1, -udv=0, -rsy=1, -aoa=1, work/decompile-8b4db36a/classes, work/decompile-8b4db36a]
        at org.spigotmc.builder.Builder.runProcess0(Builder.java:973)
        at org.spigotmc.builder.Builder.runProcess(Builder.java:904)
        at org.spigotmc.builder.Builder.main(Builder.java:567)```
tawdry ermine
#

fernflower?

sullen widget
#

is this a known issue, or am i doing something wrong?

#

whats that

#

compiling with java -Xmx1024M -jar BuildTools.jar --rev 1.16.5

tawdry ermine
#

hold up let me look at it

sullen widget
#

and thanks for helping <3

tawdry ermine
#

did you try compiling with java -Xmx1024M -jar BuildTools.jar --rev 1.19.2

sullen widget
#

oh yeah

#

sorry i just copied that from the tutorial, i compiled 1.19.2

tawdry ermine
#

ok

sullen widget
#

i'm currently trying 1.19.1 just in case it was a problem with .2

tawdry ermine
sullen widget
#

yeah raspbian 64 bit, latest build

#

all packages are up to date

#

it's a linux variant

tawdry ermine
#

Make sure you have proper permission to be writing to the directory you're in.

#

not a good idea but try doing sudo everything to see if it works

sullen widget
#

should be, i'm building in my user directory

tawdry ermine
#

than fix the security

sullen widget
#

i'll try sudo if the 1.19.1 build fails

tawdry ermine
#

ok

sullen widget
#

worth noting it didn't fail immediately, it failed after building for like 10 mins

tawdry ermine
#

also can you check java version with java -version

sullen widget
#

i def have java 17, i was trying without it before and it would immediately throw an error before getting anywhere

tawdry ermine
#

the only past I find interesting is why fernflower is showing up

sullen widget
#

what's fernflower?

#

as in the game item?

tawdry ermine
#

no

#

its something related to kotlin

sullen widget
#
INFO:  Decompiling class net/minecraft/world/item/ItemSkullPlayer
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemArmorColorable
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemFishingRod
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemBoneMeal
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemLeash
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemBookAndQuill
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemSign
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/Instruments
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemArmorStand
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemGoldenAppleEnchanted
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemEgg
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemHoe
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemSpectralArrow
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemWrittenBook
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemCarrotStick
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/ItemSaddle
INFO:  ... done
INFO:  Decompiling class net/minecraft/world/item/Items
Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [/usr/lib/jvm/java-17-openjdk-arm64/bin/java, -jar, BuildData/bin/fernflower.jar, -dgs=1, -hdc=0, -asc=1, -udv=0, -rsy=1, -aoa=1, work/decompile-8b4db36a/classes, work/decompile-8b4db36a]
        at org.spigotmc.builder.Builder.runProcess0(Builder.java:973)
        at org.spigotmc.builder.Builder.runProcess(Builder.java:904)
        at org.spigotmc.builder.Builder.main(Builder.java:567)
        at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:27)```
tawdry ermine
#

but minecraft as far as I know doesn't use or isn't made with kotlin

sullen widget
#

that's some more of the log before it failed

tawdry ermine
#

can you send me logs as a file

#

kinda hard to read

#

nevermind

#

I can expend

sullen widget
#

in the current build, it's actually frozen at the same place rn

#

at ...item/Items

tawdry ermine
sullen widget
#

ope it's at the next item

#

seems it's still going, albeit slowly

tawdry ermine
#

how much ram you got?

#

Linux Out of Memory killer

sullen widget
tawdry ermine
sullen widget
#

it's a raspberry pi

tawdry ermine
#

you need more than that to run linux + minecraft buildtools

sullen widget
#

lovely

#

i guess i could build it on my machine

tawdry ermine
#

to you simply need to jar spigot file?

sullen widget
#

guess so

tawdry ermine
sullen widget
#

sure

tawdry ermine
#

you need to add me

#

f it just gonna send it here

sullen widget
#

damn what ever happened to bukkit

#

i remember using it when i set up a mc server yeeears ago

#

it just get merged with spigot?

tawdry ermine
sullen widget
#

oh ok

tawdry ermine
#

which tbh don't make that much of a difference

stoic hawk
#

also fernflower is a decompiler