The sound seem to be inherited correctly from the parent templates in 0ad/infantry_spearman_b.xml at master · 0ad/0ad (github.com)
Maybe @Freagarach has an idea
Hey, as I said here
It seems portable apps have no interest whatsoever in adding the game to their portable app repos. You can however install it on some machine and copy the files elsewhere. If you pass -writableRoot it'sll be 100% portable.
How about units on a different island with no barracks or no building? Should they command a ship to go back to their dock, so they can go back to some barracks. That seems like a messy edge case.