[OE-core] [PATCH 1/1] glibc: use cross-rpcgen to replace host's rpcgen

Khem Raj raj.khem at gmail.com
Wed Aug 19 13:30:00 UTC 2015


On Aug 19, 2015 12:51 AM, "Robert Yang" <liezhi.yang at windriver.com> wrote:
>
> There might be unexpected errors when use host's rpcgen.
>
> [YOCTO #8181]

This is fine

>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>  meta/recipes-core/glibc/glibc_2.22.bb |    6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/meta/recipes-core/glibc/glibc_2.22.bb
b/meta/recipes-core/glibc/glibc_2.22.bb
> index 6aaf722..f0e1fad 100644
> --- a/meta/recipes-core/glibc/glibc_2.22.bb
> +++ b/meta/recipes-core/glibc/glibc_2.22.bb
> @@ -97,10 +97,6 @@ do_configure () {
>  # calls for now
>  # don't pass CPPFLAGS into configure, since it upsets the kernel-headers
>  # version check and doesn't really help with anything
> -        if [ -z "`which rpcgen`" ]; then
> -                echo "rpcgen not found.  Install glibc-devel."
> -                exit 1
> -        fi
>          (cd ${S} && gnu-configize) || die "failure in running
gnu-configize"
>          find ${S} -name "configure" | xargs touch
>          CPPFLAGS="" oe_runconf
> @@ -119,7 +115,7 @@ do_compile () {
>                 for r in ${rpcsvc}; do
>                         h=`echo $r|sed -e's,\.x$,.h,'`
>                         rm -f $h
> -                       rpcgen -h $r -o $h || bbwarn "${PN}: unable to
generate header for $r"
> +                       ${B}/sunrpc/cross-rpcgen -h $r -o $h || bbwarn
"${PN}: unable to generate header for $r"
>                 done
>         )
>         echo "Adjust ldd script"
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150819/9ae89f6a/attachment-0002.html>


More information about the Openembedded-core mailing list