OP - I just used irrecord to make a Sony TV remote (RM-YD017) work with an ODROID C2 running LibreELEC-Odroid_C2.aarch64-8.0.1.img.gz. At first I was constantly getting the same error messages. Then I read the irrecord error output shown at the end and saw it recommends using the -f (force) flag if things are going completely sideways.
Re-recorded using this command:
What I think the -f flag does is force irrecord to learn your remote controllers IR pattern/behavior. After pressing the random buttons as explained on the command line when using -f flag. LE was able to learn the remote commands without any issues.
If the -f flag does not work with your version of LE. Give it a shot on the newest version of LE.