perl: strip RPATH from libxml-parser-perl Expat.so
PATCH 1/1 perl: strip RPATH from libxml-parser-perl Expat.so
To fix:
ERROR: QA Issue: package libxml-parser-perl contains bad RPATH /home/paul/poky/build/tmp/sysroots/intel-corei7-64/usr/lib64 in file /home/paul/poky/build/tmp/work/corei7-64-poky-linux/libxml-parser-perl/2.41-r3/packages-split/libxml-parser-perl/usr/lib64/perl/vendor_perl/5.14.3/auto/XML/Parser/Expat/Expat.so
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/paul/poky/build/tmp/work/corei7-64-poky-linux/libxml-parser-perl/2.41-r3/temp/log.do_package.28544
ERROR: Task 4102 (/home/paul/poky/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb, do_package) failed with exit code '1'
...which showed up when enabling a multilib build.
meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb +1 -0
@@ -27,6 +27,7 @@ do_configure_append() { do_compile() { export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" cpan_do_compile + chrpath -d ${S}/blib/arch/auto/XML/Parser/Expat/Expat.so } do_compile_class-native() {
Signature · 1 line
1.9.1
Op 19 jun. 2014, om 00:48 heeft Paul Gortmaker <[email protected]> het volgende geschreven:
Quoted 17 lines
To fix:
ERROR: QA Issue: package libxml-parser-perl contains bad RPATH
/home/paul/poky/build/tmp/sysroots/intel-corei7-64/usr/lib64in file/home/paul/poky/build/tmp/work/corei7-64-poky-linux/libxml-parser-perl/2.41-r3/packages-split/libxml-parser-perl/usr/lib64/perl/vendor_perl/5.14.3/auto/XML/Parser/Expat/Expat.so
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed:do_package_qa
ERROR: Logfile of failure stored in:/home/paul/poky/build/tmp/work/corei7-64-poky-linux/libxml-parser-perl/2.41-r3/temp/log.do_package.28544
ERROR: Task 4102 (/home/paul/poky/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb,do_package) failed with exit code '1'...which showed up when enabling a multilib build.
Signed-off-by Paul Gortmaker <[email protected]>meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb +0
-0
meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb do_configure_append() { · line 30
Quoted 4 lines
meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb +1
-0@@ -27,6 +27,7 @@ do_configure_append() { do_compile() { export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" cpan_do_compile + chrpath -d ${S}/blib/arch/auto/XML/Parser/Expat/Expat.so
That only works for x86 builds.
Hi Paul,
I got this error.
On daisy branch, I was using a MACHINE=genericx86 then I changed to MACHINE=crownbay and build my image. libxml-parser-perl shows the same problem.
So I did 'bitbake perl -c cleansstate' and 'bitbake libxml-parser-perl'. No problems anymore, until I change back to genericx86.
But this is odd and I am trying to figure out what is the problem.
Em 18-06-2014 19:48, Paul Gortmaker escreveu:
Quoted 24 lines
To fix:
ERROR: QA Issue: package libxml-parser-perl contains bad RPATH
/home/paul/poky/build/tmp/sysroots/intel-corei7-64/usr/lib64in file/home/paul/poky/build/tmp/work/corei7-64-poky-linux/libxml-parser-perl/2.41-r3/packages-split/libxml-parser-perl/usr/lib64/perl/vendor_perl/5.14.3/auto/XML/Parser/Expat/Expat.so
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed:do_package_qa
ERROR: Logfile of failure stored in:/home/paul/poky/build/tmp/work/corei7-64-poky-linux/libxml-parser-perl/2.41-r3/temp/log.do_package.28544
ERROR: Task 4102 (/home/paul/poky/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb,do_package) failed with exit code '1'...which showed up when enabling a multilib build.
Signed-off-by Paul Gortmaker <[email protected]>meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb +1
-0@@ -27,6 +27,7 @@ do_configure_append() { do_compile() { export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" cpan_do_compile + chrpath -d ${S}/blib/arch/auto/XML/Parser/Expat/Expat.so } do_compile_class-native() {
Signature · 2 lines
João Henrique Ferreira de Freitas - joaohf_at_gmail.com Campinas-SP-Brasil
Quoted 5 lines · João Henrique Ferreira de Freitas
Hi Paul,
I got this error.
Quoted 8 lines
On daisy branch, I was using a MACHINE=genericx86 then I changed to MACHINE=crownbay and build my image. libxml-parser-perl shows the same problem.
So I did 'bitbake perl -c cleansstate' and 'bitbake libxml-parser-perl'. No problems anymore, until I change back to genericx86.
But this is odd and I am trying to figure out what is the problem.
I've seen this happen before with a half built perl recipe where you've switched machines half way through a build of perl. Stripping out the RPATH is not the right fix though.
Cheers,
Richard
Em 16-07-2014 05:33, Richard Purdie escreveu:
Quoted 11 lines
On Wed, 2014-07-16 at 00:00 -0300, João Henrique Ferreira de Freitas wrote:
I've seen this happen before with a half built perl recipe where you've switched machines half way through a build of perl. Stripping out the RPATH is not the right fix though.Cheers,
Richard
I agree. And what is the right way to fix it?
Is an issue from perl recipes ? I want to get an start point.
Thanks.
Signature · 2 lines
João Henrique Ferreira de Freitas - joaohf_at_gmail.com Campinas-SP-Brasil
Quoted 9 lines · João Henrique Ferreira de Freitas
Em 16-07-2014 05:33, Richard Purdie escreveu:
Quoted 8 lines
On Wed, 2014-07-16 at 00:00 -0300, João Henrique Ferreira de Freitas wrote:
I've seen this happen before with a half built perl recipe where you've switched machines half way through a build of perl. Stripping out the RPATH is not the right fix though.Cheers,
Quoted 7 lines
Quoted 3 lines
Richard
I agree. And what is the right way to fix it?
Is an issue from perl recipes ? I want to get an start point.
First we need to understand the problem exactly. Do you have a reproducer that always works?
I'm not sure how to fix it at this point, we need to work on understanding it first.
Cheers,
Richard
Hi,
Quoted 2 lines · Richard Purdie
First we need to understand the problem exactly. Do you have a reproducer that always works?
This happens on daisy. And my test case was:
1) add meta-intel and meta-crownbay layers
2) build MACHINE=qemux86 bitbake libxml-parser-perl
3) build MACHINE=genericx86 bitbake libxml-parser-perl
4) build MACHINE=crownbay-noemgd bitbake libxml-parser-perl
The step 4 wont complete because rpath issues.
To get it work:
MACHINE=crownbay-noemgd bitbake libxml-parser-perl perl -c cleanssate
Then
MACHINE=crownbay-noemgd bitbake libxml-parser-perl
Until now master is not affected.
I am working to fix the libxml-parser-perl (http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=joaohf/daisy-libxml-parser-perl-rpath). But I am not sure if it solves the root problem. Because OE should build using three differents MACHINEs using the same workdir, sstate-cache.
Thanks.
Signature · 2 lines
João Henrique Ferreira de Freitas - joaohf_at_gmail.com Campinas-SP-Brasil