Patchwork [meta-networking] inetutils: disable rpath

login
register
mail settings
Submitter rongqing.li@windriver.com
Date Jan. 21, 2014, 6:13 a.m.
Message ID <1390284784-25950-1-git-send-email-rongqing.li@windriver.com>
Download mbox | patch
Permalink /patch/65309/
State Accepted, archived
Headers show

Comments

rongqing.li@windriver.com - Jan. 21, 2014, 6:13 a.m.
From: Roy Li <rongqing.li@windriver.com>

The rpath, which configuration computers, is a host-related path in
cross-compile environment; In fact, need to not add rpath into elf
file.

   WARNING: QA Issue: package inetutils-ftp contains bad RPATH
   /buildarea/build/new/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64 in file
   /buildarea/build/new/bitbake_build/tmp/work/x86_64-wrs-linux/inetutils/1.9.1-r1/packages-split/inetutils-ftp/usr/bin/ftp.inetutils

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb |    1 +
 1 file changed, 1 insertion(+)
Otavio Salvador - Jan. 22, 2014, 2:30 p.m.
On Tue, Jan 21, 2014 at 4:13 AM,  <rongqing.li@windriver.com> wrote:
> From: Roy Li <rongqing.li@windriver.com>
>
> The rpath, which configuration computers, is a host-related path in
> cross-compile environment; In fact, need to not add rpath into elf
> file.
>
>    WARNING: QA Issue: package inetutils-ftp contains bad RPATH
>    /buildarea/build/new/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64 in file
>    /buildarea/build/new/bitbake_build/tmp/work/x86_64-wrs-linux/inetutils/1.9.1-r1/packages-split/inetutils-ftp/usr/bin/ftp.inetutils
>
> Signed-off-by: Roy Li <rongqing.li@windriver.com>


Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Joe MacDonald - Feb. 13, 2014, 3:56 a.m.
Merged.  Thanks.
-J.

[Re: [oe] [PATCH meta-networking] inetutils: disable rpath] On 14.01.22 (Wed 12:30) Otavio Salvador wrote:

> On Tue, Jan 21, 2014 at 4:13 AM,  <rongqing.li@windriver.com> wrote:
> > From: Roy Li <rongqing.li@windriver.com>
> >
> > The rpath, which configuration computers, is a host-related path in
> > cross-compile environment; In fact, need to not add rpath into elf
> > file.
> >
> >    WARNING: QA Issue: package inetutils-ftp contains bad RPATH
> >    /buildarea/build/new/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64 in file
> >    /buildarea/build/new/bitbake_build/tmp/work/x86_64-wrs-linux/inetutils/1.9.1-r1/packages-split/inetutils-ftp/usr/bin/ftp.inetutils
> >
> > Signed-off-by: Roy Li <rongqing.li@windriver.com>
> 
> 
> Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
> 
>

Patch

diff --git a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
index 97fc6a1..b3bacee 100644
--- a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
+++ b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
@@ -38,6 +38,7 @@  PACKAGECONFIG[uucpd] = "--enable-uucpd,--disable-uucpd,readline"
 EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR} \
         ${noipv6} \
         --with-libreadline-prefix=${STAGING_DIR_HOST}${prefix} \
+        --enable-rpath=no \
 "
 
 do_configure_prepend () {