I noticed this because xxhash was compiling slowly on HPPA. zstd.h confirmed that.
Apparently the package supports using system-zstd but it's horribly broken.
*** Bug 701896 has been marked as a duplicate of this bug. ***
This is finally fixed in 0.15.1+.