How to replicate snapshot builds exactly? (LZMA ERROR 1)

May be an actual error or a random temporary error in LZMA decompression.
u-boot in some old routers has trouble in decoompressing images that have too wide LZMA dictionary size (as bits).

See discussion and links in

https://dev.archive.openwrt.org/ticket/12454.html#comment:12

Your error may not be quite the same, but the dicussion may give you hints.