* [meta-oe][PATCH 1/4] rrdtool: fix useless-rpath QA issue
@ 2015-10-13 2:43 Chen Qi
2015-10-20 15:57 ` Martin Jansa
0 siblings, 1 reply; 5+ messages in thread
From: Chen Qi @ 2015-10-13 2:43 UTC (permalink / raw)
To: openembedded-devel, martin.jansa
When building rrdtool, we would meet the following error.
ERROR: QA Issue: rrdtool-python: work/core2-64-poky-linux/rrdtool
/1.5.4-r0/packages-split/rrdtool-python/usr/lib/python2.7/site-packages
/rrdtool.so contains probably-redundant RPATH /usr/lib [useless-rpaths]
Fix this issue by removing the redundante RPATH section from rrdtool.so.
As we use '--disable-rpath' in EXTRA_OECONF, we don't need to the `sed'
line in do_configure.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
index 91a30cf..f2ded65 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
@@ -71,7 +71,6 @@ do_configure() {
PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"' \
${S}/m4/acinclude.m4
#remove the hardcoded $(libdir) rpath
- sed -i -e 's|--rpath=$(libdir)||g' ${S}/bindings/Makefile.am
autotools_do_configure
@@ -100,6 +99,11 @@ do_configure() {
${B}/examples/*.pl
}
+do_compile_append() {
+ # Remove useless rpath
+ find ${B}/bindings/python/build -name "rrdtool.so" | xargs chrpath -d
+}
+
PACKAGES =+ "${PN}-perl ${PN}-python"
FILES_${PN}-doc += "${datadir}/examples"
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [meta-oe][PATCH 1/4] rrdtool: fix useless-rpath QA issue
[not found] <30E719D66AEA914CBB7DAB303B1C722D17E664@BUDURBPA11.e2k.ad.ge.com>
@ 2015-10-20 11:14 ` Ray, Ian (GE Healthcare)
2015-10-21 7:59 ` ChenQi
0 siblings, 1 reply; 5+ messages in thread
From: Ray, Ian (GE Healthcare) @ 2015-10-20 11:14 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
Hi,
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
> ---
> meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-
> oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
> index 91a30cf..f2ded65 100644
> --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
> +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
> @@ -71,7 +71,6 @@ do_configure() {
> PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"'
> \
> ${S}/m4/acinclude.m4
> #remove the hardcoded $(libdir) rpath
> - sed -i -e 's|--rpath=$(libdir)||g' ${S}/bindings/Makefile.am
I tested locally a simpler patch:
@@ -71,7 +71,7 @@ do_configure() {
PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"' \
${S}/m4/acinclude.m4
#remove the hardcoded $(libdir) rpath
- sed -i -e 's|--rpath=$(libdir)||g' ${S}/bindings/Makefile.am
+ sed -i -e 's|LD_RUN_PATH=$(libdir)||g' ${S}/bindings/Makefile.am
> @@ -100,6 +99,11 @@ do_configure() {
> ${B}/examples/*.pl
> }
>
> +do_compile_append() {
> + # Remove useless rpath
> + find ${B}/bindings/python/build -name "rrdtool.so" | xargs chrpath -d
> +}
This fails for me since chrpath is not built for multilib.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-oe][PATCH 1/4] rrdtool: fix useless-rpath QA issue
2015-10-13 2:43 Chen Qi
@ 2015-10-20 15:57 ` Martin Jansa
2015-10-21 5:26 ` ChenQi
0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2015-10-20 15:57 UTC (permalink / raw)
To: Chen Qi; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1878 bytes --]
On Tue, Oct 13, 2015 at 10:43:55AM +0800, Chen Qi wrote:
> When building rrdtool, we would meet the following error.
Now it fails for qemuarm and qemux86, not sure which change is causing
that:
http://errors.yoctoproject.org/Errors/Details/20597/
http://errors.yoctoproject.org/Errors/Details/20601/
>
> ERROR: QA Issue: rrdtool-python: work/core2-64-poky-linux/rrdtool
> /1.5.4-r0/packages-split/rrdtool-python/usr/lib/python2.7/site-packages
> /rrdtool.so contains probably-redundant RPATH /usr/lib [useless-rpaths]
>
> Fix this issue by removing the redundante RPATH section from rrdtool.so.
>
> As we use '--disable-rpath' in EXTRA_OECONF, we don't need to the `sed'
> line in do_configure.
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
> meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
> index 91a30cf..f2ded65 100644
> --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
> +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
> @@ -71,7 +71,6 @@ do_configure() {
> PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"' \
> ${S}/m4/acinclude.m4
> #remove the hardcoded $(libdir) rpath
> - sed -i -e 's|--rpath=$(libdir)||g' ${S}/bindings/Makefile.am
>
> autotools_do_configure
>
> @@ -100,6 +99,11 @@ do_configure() {
> ${B}/examples/*.pl
> }
>
> +do_compile_append() {
> + # Remove useless rpath
> + find ${B}/bindings/python/build -name "rrdtool.so" | xargs chrpath -d
> +}
> +
> PACKAGES =+ "${PN}-perl ${PN}-python"
>
> FILES_${PN}-doc += "${datadir}/examples"
> --
> 1.9.1
>
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-oe][PATCH 1/4] rrdtool: fix useless-rpath QA issue
2015-10-20 15:57 ` Martin Jansa
@ 2015-10-21 5:26 ` ChenQi
0 siblings, 0 replies; 5+ messages in thread
From: ChenQi @ 2015-10-21 5:26 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-devel
On 10/20/2015 11:57 PM, Martin Jansa wrote:
> On Tue, Oct 13, 2015 at 10:43:55AM +0800, Chen Qi wrote:
>> When building rrdtool, we would meet the following error.
> Now it fails for qemuarm and qemux86, not sure which change is causing
> that:
>
> http://errors.yoctoproject.org/Errors/Details/20597/
> http://errors.yoctoproject.org/Errors/Details/20601/
>
I'm looking into this problem today, although I currently have some
problem reproducing it.
I'll look at the logs and try to find out something.
Regards,
Chen Qi
>> ERROR: QA Issue: rrdtool-python: work/core2-64-poky-linux/rrdtool
>> /1.5.4-r0/packages-split/rrdtool-python/usr/lib/python2.7/site-packages
>> /rrdtool.so contains probably-redundant RPATH /usr/lib [useless-rpaths]
>>
>> Fix this issue by removing the redundante RPATH section from rrdtool.so.
>>
>> As we use '--disable-rpath' in EXTRA_OECONF, we don't need to the `sed'
>> line in do_configure.
>>
>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>> ---
>> meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 6 +++++-
>> 1 file changed, 5 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
>> index 91a30cf..f2ded65 100644
>> --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
>> +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
>> @@ -71,7 +71,6 @@ do_configure() {
>> PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"' \
>> ${S}/m4/acinclude.m4
>> #remove the hardcoded $(libdir) rpath
>> - sed -i -e 's|--rpath=$(libdir)||g' ${S}/bindings/Makefile.am
>>
>> autotools_do_configure
>>
>> @@ -100,6 +99,11 @@ do_configure() {
>> ${B}/examples/*.pl
>> }
>>
>> +do_compile_append() {
>> + # Remove useless rpath
>> + find ${B}/bindings/python/build -name "rrdtool.so" | xargs chrpath -d
>> +}
>> +
>> PACKAGES =+ "${PN}-perl ${PN}-python"
>>
>> FILES_${PN}-doc += "${datadir}/examples"
>> --
>> 1.9.1
>>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-oe][PATCH 1/4] rrdtool: fix useless-rpath QA issue
2015-10-20 11:14 ` [meta-oe][PATCH 1/4] rrdtool: fix useless-rpath QA issue Ray, Ian (GE Healthcare)
@ 2015-10-21 7:59 ` ChenQi
0 siblings, 0 replies; 5+ messages in thread
From: ChenQi @ 2015-10-21 7:59 UTC (permalink / raw)
To: openembedded-devel
Hi Ray,
I just saw this email.
Thanks a lot for your suggestion.
I've sent out V2.
Best Regards,
Chen Qi
On 10/20/2015 07:14 PM, Ray, Ian (GE Healthcare) wrote:
> Hi,
>
>> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
>> ---
>> meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 6 +++++-
>> 1 file changed, 5 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-
>> oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
>> index 91a30cf..f2ded65 100644
>> --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
>> +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
>> @@ -71,7 +71,6 @@ do_configure() {
>> PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"'
>> \
>> ${S}/m4/acinclude.m4
>> #remove the hardcoded $(libdir) rpath
>> - sed -i -e 's|--rpath=$(libdir)||g' ${S}/bindings/Makefile.am
> I tested locally a simpler patch:
>
> @@ -71,7 +71,7 @@ do_configure() {
> PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"' \
> ${S}/m4/acinclude.m4
> #remove the hardcoded $(libdir) rpath
> - sed -i -e 's|--rpath=$(libdir)||g' ${S}/bindings/Makefile.am
> + sed -i -e 's|LD_RUN_PATH=$(libdir)||g' ${S}/bindings/Makefile.am
>
>
>> @@ -100,6 +99,11 @@ do_configure() {
>> ${B}/examples/*.pl
>> }
>>
>> +do_compile_append() {
>> + # Remove useless rpath
>> + find ${B}/bindings/python/build -name "rrdtool.so" | xargs chrpath -d
>> +}
> This fails for me since chrpath is not built for multilib.
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-10-21 7:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <30E719D66AEA914CBB7DAB303B1C722D17E664@BUDURBPA11.e2k.ad.ge.com>
2015-10-20 11:14 ` [meta-oe][PATCH 1/4] rrdtool: fix useless-rpath QA issue Ray, Ian (GE Healthcare)
2015-10-21 7:59 ` ChenQi
2015-10-13 2:43 Chen Qi
2015-10-20 15:57 ` Martin Jansa
2015-10-21 5:26 ` ChenQi
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.