inetutils: fix libreadline path to fix QA errors
PATCH v2 1/1 inetutils: fix libreadline path to fix QA errors
From: Ting Liu <[email protected]>
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
--- .../inetutils/inetutils_1.9.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb +1 -1
@@ -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 () {
Signature · 1 line
1.7.9.7
Quoted 20 lines · On Wed, Jan 15, 2014 at 01:36:13AM -0600, [email protected] wrote:
From: Ting Liu <[email protected]>
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_qaSigned-off-by Ting Liu <[email protected]>--- .../inetutils/inetutils_1.9.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb +0
-0
meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb PACKAGECONFIG[uucpd] = "--enable-uucpd,--disable-uucpd,readline" · line 40
Quoted 5 lines
meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb +1
-1@@ -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?
Quoted 11 lines
meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb +0
-0" do_configure_prepend () {Signature · 7 lines
1.7.9.7 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 36 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Martin Jansa
Sent: Wednesday, January 15, 2014 6:29 PM
To: [email protected]
Subject: Re: [oe] [meta-oe][PATCH v2] inetutils: fix libreadline path to fix QA errorsReview PACKAGECONFIG[uucpd] = "--enable-uucpd,--disable-
Quoted 24 lines · On Wed, Jan 15, 2014 at 01:36:13AM -0600, [email protected] wrote:
From: Ting Liu <[email protected]>
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_qaSigned-off-by Ting Liu <[email protected]>--- .../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(quoted diff) +0
-0@@ -37,7 +37,7 @@ PACKAGECONFIG[uucpd] = "--enable-uucpd,--disable-uucpd,readline"
Quoted 1 line
Quoted 7 lines
meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb PACKAGECONFIG[uucpd] = "--enable-uucpd,--disable-uucpd,readline" · line 40
Quoted 4 lines
EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR} \ ${noipv6} \meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb +1
-1- --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
Quoted 15 lines
Quoted 8 lines
"
do_configure_prepend() {
--
1.7.9.7Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
Martin 'JaMa' Jansa jabber: [email protected]