[OE-core] [PATCH v2] bash: Replace uninative loader path in ptest

Richard Purdie richard.purdie at linuxfoundation.org
Tue Jun 4 07:29:59 UTC 2019


On Mon, 2019-06-03 at 10:27 -0500, Joshua Watt wrote:
> The Makefile used for bash-ptest can pick up the path to the
> uninative
> loader through BUILD_LDFLAGS. This includes the full path to the
> uninative loader, which is not reproducible. Replace it with
> /bin/false.
> It doesn't appear as if these native programs are used in the test
> suites and if there are likely to be other problems related to
> building
> them using the BUILD_* flags.
> 
> Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
> ---
>  meta/recipes-extended/bash/bash.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-
> extended/bash/bash.inc
> index dbb803ddefd..27207c38853 100644
> --- a/meta/recipes-extended/bash/bash.inc
> +++ b/meta/recipes-extended/bash/bash.inc
> @@ -78,6 +78,7 @@ do_install_ptest () {
>  	    -e 's|${DEBUG_PREFIX_MAP}||g' \
>  	    -e "s,${S},,g" -e "s,${B},,g" -e
> "s,${STAGING_DIR_NATIVE},,g" \
>  	    -e 's:${HOSTTOOLS_DIR}/::g' \
> +	    -e 's:${UNINATIVE_LOADER}:${base_bindir}/false:g' \
>  	     ${D}${PTEST_PATH}/Makefile
>  }

Even the UNINATIVE_LOADER reference causes:

https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/497

i.e.

 oe-selftest -r sstatetests.SStateTests.test_sstate_32_64_same_hash

still fails with this patch.

Cheers,

Richard



More information about the Openembedded-core mailing list