[OE-core] [OE-Core][PATCH 2/2] openssh: Fix non-deterministic build behaviour

Khem Raj raj.khem at gmail.com
Mon Feb 9 14:45:12 UTC 2015


> On Feb 5, 2015, at 12:09 AM, Dan McGregor <danismostlikely at gmail.com> wrote:
> 
> From: Dan McGregor <dan.mcgregor at usask.ca>
> 
> If maillock.h is found, a dependency on liblockfile will be created.
> liblockfile is in meta-oe, so we don't want that in an oe-core recipe.
> 
> Signed-off-by: Dan McGregor <dan.mcgregor at usask.ca>
> ---
> meta/recipes-connectivity/openssh/openssh_6.7p1.bb | 3 +++
> 1 file changed, 3 insertions(+)
> 
> diff --git a/meta/recipes-connectivity/openssh/openssh_6.7p1.bb b/meta/recipes-connectivity/openssh/openssh_6.7p1.bb
> index dcbc181..a272629 100644
> --- a/meta/recipes-connectivity/openssh/openssh_6.7p1.bb
> +++ b/meta/recipes-connectivity/openssh/openssh_6.7p1.bb
> @@ -62,6 +62,9 @@ CACHED_CONFIGUREVARS += "ac_cv_header_bsd_libutil_h=no ac_cv_header_libutil_h=no
> # passwd path is hardcoded in sshd
> CACHED_CONFIGUREVARS += "ac_cv_path_PATH_PASSWD_PROG=${bindir}/passwd"
> 
> +# We don't want to depend on libblockfile
> +CACHED_CONFIGUREVARS += "ac_cv_header_maillock_h=no”

while this is improvement. It would be nice if it was turning into a PACKAGECONFIG.

> +

> # This is a workaround for uclibc because including stdio.h
> # pulls in pthreads.h and causes conflicts in function prototypes.
> # This results in compilation failure, so unless this is fixed,
> -- 
> 2.1.0
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list