[Buildroot] Problem with building sudo

Bernhard Fischer rep.nop at aon.at
Fri Dec 15 15:10:39 UTC 2006


On Fri, Dec 08, 2006 at 01:32:35PM -0800, Boris Itkis (Linux) wrote:
>sudu.mk has a problem for building:
>
>$(TARGET_DIR)/usr/bin/sudo
>
>it echo's the command to install sudu instead of running it.

I'll look into this.
>
>It generally does not stop compile because on distributions like fedora 
>because "touch -c" has a exit code of 0 even if the file does no exist.

That's a bug.
Point them to
http://www.opengroup.org/onlinepubs/009695399/utilities/touch.html#tag_04_143_18

which reads
"
At least one historical implementation of touch incremented the exit
code if -c was specified and the file did not exist. This volume of IEEE
Std 1003.1-2001 requires exit status zero if no errors occur.
"




More information about the buildroot mailing list