All of lore.kernel.org
 help / color / mirror / Atom feed
* [daisy][PATCH] libxml-parser-perl remove rpath
@ 2014-08-11  2:44 João Henrique Ferreira de Freitas
  2014-08-11  2:44 ` [daisy][PATCH] libxml-parser-perl: " João Henrique Ferreira de Freitas
  0 siblings, 1 reply; 2+ messages in thread
From: João Henrique Ferreira de Freitas @ 2014-08-11  2:44 UTC (permalink / raw)
  To: openembedded-core

Test case to run without patch:

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

Master branch seems not be affected by this behaviour

João Henrique Ferreira de Freitas (1):
  libxml-parser-perl: remove rpath

 .../perl/libxml-parser-perl-2.41/makefile_pl_rpath.patch   | 14 ++++++++++++++
 meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb      |  4 +++-
 2 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/perl/libxml-parser-perl-2.41/makefile_pl_rpath.patch

-- 
1.9.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [daisy][PATCH] libxml-parser-perl: remove rpath
  2014-08-11  2:44 [daisy][PATCH] libxml-parser-perl remove rpath João Henrique Ferreira de Freitas
@ 2014-08-11  2:44 ` João Henrique Ferreira de Freitas
  0 siblings, 0 replies; 2+ messages in thread
From: João Henrique Ferreira de Freitas @ 2014-08-11  2:44 UTC (permalink / raw)
  To: openembedded-core

When building for two MACHINES using the same TMPDIR, the last one
will claims about libxml-parser-perl contains bad RPATH.

This remove $expat_libpath from $libs.

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
---
 .../perl/libxml-parser-perl-2.41/makefile_pl_rpath.patch   | 14 ++++++++++++++
 meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb      |  4 +++-
 2 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/perl/libxml-parser-perl-2.41/makefile_pl_rpath.patch

diff --git a/meta/recipes-devtools/perl/libxml-parser-perl-2.41/makefile_pl_rpath.patch b/meta/recipes-devtools/perl/libxml-parser-perl-2.41/makefile_pl_rpath.patch
new file mode 100644
index 0000000..9cae967
--- /dev/null
+++ b/meta/recipes-devtools/perl/libxml-parser-perl-2.41/makefile_pl_rpath.patch
@@ -0,0 +1,14 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+Index: XML-Parser-2.41/Expat/Makefile.PL
+===================================================================
+--- XML-Parser-2.41.orig/Expat/Makefile.PL	2011-05-25 00:33:32.000000000 -0300
++++ XML-Parser-2.41/Expat/Makefile.PL	2014-07-20 18:28:39.074911980 -0300
+@@ -7,7 +7,6 @@
+ 
+ push(@extras, INC => "-I$expat_incpath") if $expat_incpath;
+ 
+-$libs = "-L$expat_libpath $libs" if $expat_libpath;
+ 
+ push(@extras, CAPI => 'TRUE')
+     if (($PERL_VERSION >= 5.005) and ($OSNAME eq 'MSWin32')
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 43a8a84..19b47e5 100644
--- a/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb
+++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb
@@ -7,7 +7,9 @@ DEPENDS += "expat expat-native"
 
 PR = "r3"
 
-SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz"
+SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz \
+        file://makefile_pl_rpath.patch"
+
 SRC_URI[md5sum] = "c320d2ffa459e6cdc6f9f59c1185855e"
 SRC_URI[sha256sum] = "b48197cd2265a26c5f016489f11a7b450d8833cb8b3d6a46ee15975740894de9"
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-11  2:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-11  2:44 [daisy][PATCH] libxml-parser-perl remove rpath João Henrique Ferreira de Freitas
2014-08-11  2:44 ` [daisy][PATCH] libxml-parser-perl: " João Henrique Ferreira de Freitas

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.