CMake based setup does not configure big-endian builds correctly. Autoconf based setup used (https://git.yoctoproject.org/opkg/tree/configure.ac?h=v0.8.0#n260): ``` # Checks endianness AC_C_BIGENDIAN(BIGENDIAN_CFLAGS="-DWORDS_BIGENDIAN=1",) AC_SUBST(BIGENDIAN_CFLAGS) ``` to define `WORDS_BIGENDIAN`, which is used in md5.c and sha256.c to define `SWAP` macro. With new CMake based setup this is no longer the case, and checksum validation doesn't work. We hit this on a mips64 target, but I assume some powerpc targets are affected as well.
Fixed by Michal's commit a56ca271876c8a6ff6540f8b68d7969357207b05. https://git.yoctoproject.org/opkg/commit/?id=a56ca271876c8a6ff6540f8b68d7969357207b05