Bugzilla – Bug 560
Cross-compile problem in version 1.8.5p1
Last modified: 2012-09-12 15:03:59 MDT
The install fails while "Checking existing sudoers file for syntax errors." This is because an attempt is made to invoke ./visudo, which has been cross-compiled for the target. Since this is a sanity check only, it could probably be dispensed with if cross-compile is detected. I'd be happy to submit a patch for this, but I'll need someone with some experience of the sudo codebase to advise me how best to test for cross-compilation in the sudoers Makefile.
I've added a check for cross-compiling that skips the regression tests and the sudoers pre-install test. The change will be present in sudo 1.8.6.
Fixed in sudo 1.8.6