Hi, Please, find the workaround (not solution!) commit in [1]. Please, if possible, apply it directly over the current v1.4.0 Debian package to unblock building in big endian platforms. It would be great if you could sponsor the update in Debian, not only in Ubuntu.
If I find spare time to work in a real solution, I'll contact you just in case you could help me testing the patches in porter machines... Thanks for the support! [1] https://github.com/MRPT/mrpt/commit/b247f14ffdaf8f31ec8cafefcc2a12ac1d210618