[OE-core] [PATCH] perl: strip RPATH from libxml-parser-perl Expat.so

Koen Kooi koen at dominion.thruhere.net
Thu Jun 19 13:26:30 UTC 2014


Op 19 jun. 2014, om 00:48 heeft Paul Gortmaker <paul.gortmaker at windriver.com> het volgende geschreven:

> 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.
> 
> Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
> 
> diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb
> index 43a8a84518d3..2488aacb682c 100644
> --- a/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb
> +++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb
> @@ -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.


More information about the Openembedded-core mailing list