Bug 560 - Cross-compile problem in version 1.8.5p1
Cross-compile problem in version 1.8.5p1
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudoers
1.8.4
PC Linux
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-19 07:09 MDT by Simon Dawson
Modified: 2012-09-12 15:03 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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