Expect should be able to be cross-compiled. We're currently patching out the failures and setting terrible defaults, but revisiting the logic and moving more tests to be compile-time or runtime with fallback should be feasible.
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/expect/expect/0001-configure.in.patch