Bug 560

Summary: Cross-compile problem in version 1.8.5p1
Product: Sudo Reporter: Simon Dawson <spdawson>
Component: SudoersAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: low    
Version: 1.8.4   
Hardware: PC   
OS: Linux   

Description Simon Dawson 2012-06-19 07:09:16 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.
Comment 1 Todd C. Miller 2012-06-20 13:39:33 MDT
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.
Comment 2 Todd C. Miller 2012-09-12 15:03:59 MDT
Fixed in sudo 1.8.6