* [meta-oe][PATCH v2] inetutils: fix libreadline path to fix QA errors
@ 2014-01-15 7:36 b28495
2014-01-15 10:29 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: b28495 @ 2014-01-15 7:36 UTC (permalink / raw)
To: openembedded-devel
From: Ting Liu <b28495@freescale.com>
If wrong path set, inetutils configure script will add a absolute
rpath, which result in the below QA errors:
| ERROR: QA Issue: package inetutils-ftp contains bad RPATH
| ERROR: QA Issue: package inetutils-telnet contains bad RPATH
| ERROR: QA Issue: package inetutils-telnetd contains bad RPATH
| ERROR: QA run found fatal errors. Please consider fixing them.
| ERROR: Function failed: do_package_qa
Signed-off-by: Ting Liu <b28495@freescale.com>
---
.../inetutils/inetutils_1.9.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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..80022c7 100644
--- a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
+++ b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
@@ -37,7 +37,7 @@ PACKAGECONFIG[uucpd] = "--enable-uucpd,--disable-uucpd,readline"
EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR} \
${noipv6} \
- --with-libreadline-prefix=${STAGING_DIR_HOST}${prefix} \
+ --with-libreadline-prefix=${STAGING_LIBDIR} \
"
do_configure_prepend () {
--
1.7.9.7
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH v2] inetutils: fix libreadline path to fix QA errors
2014-01-15 7:36 [meta-oe][PATCH v2] inetutils: fix libreadline path to fix QA errors b28495
@ 2014-01-15 10:29 ` Martin Jansa
2014-01-15 14:31 ` ting.liu
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2014-01-15 10:29 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1773 bytes --]
On Wed, Jan 15, 2014 at 01:36:13AM -0600, b28495@freescale.com wrote:
> From: Ting Liu <b28495@freescale.com>
>
> If wrong path set, inetutils configure script will add a absolute
> rpath, which result in the below QA errors:
> | ERROR: QA Issue: package inetutils-ftp contains bad RPATH
> | ERROR: QA Issue: package inetutils-telnet contains bad RPATH
> | ERROR: QA Issue: package inetutils-telnetd contains bad RPATH
> | ERROR: QA run found fatal errors. Please consider fixing them.
> | ERROR: Function failed: do_package_qa
>
> Signed-off-by: Ting Liu <b28495@freescale.com>
> ---
> .../inetutils/inetutils_1.9.1.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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..80022c7 100644
> --- a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
> +++ b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
> @@ -37,7 +37,7 @@ PACKAGECONFIG[uucpd] = "--enable-uucpd,--disable-uucpd,readline"
>
> EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR} \
> ${noipv6} \
> - --with-libreadline-prefix=${STAGING_DIR_HOST}${prefix} \
> + --with-libreadline-prefix=${STAGING_LIBDIR} \
Can you confirm that libreadline support is still enabled after this change?
> "
>
> do_configure_prepend () {
> --
> 1.7.9.7
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH v2] inetutils: fix libreadline path to fix QA errors
2014-01-15 10:29 ` Martin Jansa
@ 2014-01-15 14:31 ` ting.liu
0 siblings, 0 replies; 3+ messages in thread
From: ting.liu @ 2014-01-15 14:31 UTC (permalink / raw)
Cc: openembedded-devel@lists.openembedded.org
> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Martin Jansa
> Sent: Wednesday, January 15, 2014 6:29 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH v2] inetutils: fix libreadline path to
> fix QA errors
>
> On Wed, Jan 15, 2014 at 01:36:13AM -0600, b28495@freescale.com wrote:
> > From: Ting Liu <b28495@freescale.com>
> >
> > If wrong path set, inetutils configure script will add a absolute
> > rpath, which result in the below QA errors:
> > | ERROR: QA Issue: package inetutils-ftp contains bad RPATH
> > | ERROR: QA Issue: package inetutils-telnet contains bad RPATH
> > | ERROR: QA Issue: package inetutils-telnetd contains bad RPATH
> > | ERROR: QA run found fatal errors. Please consider fixing them.
> > | ERROR: Function failed: do_package_qa
> >
> > Signed-off-by: Ting Liu <b28495@freescale.com>
> > ---
> > .../inetutils/inetutils_1.9.1.bb | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > 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..80022c7 100644
> > ---
> > a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
> > +++ b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.b
> > +++ b
> > @@ -37,7 +37,7 @@ PACKAGECONFIG[uucpd] = "--enable-uucpd,--disable-
> uucpd,readline"
> >
> > EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR} \
> > ${noipv6} \
> > - --with-libreadline-prefix=${STAGING_DIR_HOST}${prefix} \
> > + --with-libreadline-prefix=${STAGING_LIBDIR} \
>
> Can you confirm that libreadline support is still enabled after this
> change?
Here is the log grabbed from log.do_configure:
checking for shared library run path origin... done
checking for readline... yes
checking how to link with libreadline... -lreadline
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for crypt in -lcrypt... yes
Without this patch, the log is:
checking for shared library run path origin... done
checking for readline... yes
checking how to link with libreadline... /home/liut/upstream/build_t4240qds-64b_release/tmp/sysroots/t4240qds-64b/usr/lib64/libreadline.so -Wl,-rpath -Wl,/home/liut/upstream/build_t4240qds-64b_release/tmp/sysroots/t4240qds-64b/usr/lib64
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for crypt in -lcrypt... yes
>
> > "
> >
> > do_configure_prepend () {
> > --
> > 1.7.9.7
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-15 14:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-15 7:36 [meta-oe][PATCH v2] inetutils: fix libreadline path to fix QA errors b28495
2014-01-15 10:29 ` Martin Jansa
2014-01-15 14:31 ` ting.liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.