It seems more like a problem with the buildd. pty's have not been set up properly, and thus expect does not work.
By the build log it looks like it. Regards -- Héctor Orón