I'd like to disable packaged-staging for perl-native. The problem here comes from a number of things that happen. Some of these can only happen in combination with packaged-staging but others I believe could happen today. The problem itself is that if we have perl-native available from packaged-staging it can suddenly exist very early. What this means in practical terms is that now we're trying to generate say pod2man.pl from pod2man.pl.in and @perl@ is expanded to something beyond the "#!" mechanic length limit and recipes start failing to build (fixable by changing pod2man.pl.in to use /usr/bin/env perl (and if it had a -w changing to Use warnings: or whatever the perl is)).

There may have been other rats nests I ran into but can't fully confirm weren't due to other crazy rats nests I made. But we hit the above many times.

perl-native: Disable packaged-staging

Having perl-native come from packaged-staging can expose other issues.
Disable so we get the normal (potential) behavior here.

Signed-off-by: Tom Rini <[email protected]>

diff --git a/recipes/perl/perl-native_5.10.1.bb b/recipes/perl/perl-native_5.10.1.bb
index 0e0854b..98c2c3c 100644
--- a/recipes/perl/perl-native_5.10.1.bb
+++ b/recipes/perl/perl-native_5.10.1.bb
@@ -9,6 +9,9 @@ NATIVE_INSTALL_WORKS = "1"
 # Not tested enough
 DEFAULT_PREFERENCE = "-1"

+# Introduces issues when re-used too early.
+PSTAGING_DISABLED = "1"
+
 FILESDIR = "[email protected](bb.data.getVar('FILE',d,1))}/perl-${PV}"

SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz;name=perl-${PV} \ diff --git a/recipes/perl/perl-native_5.8.8.bb b/recipes/perl/perl-native_5.8.8.bb
index fe1bc84..b966eeb 100644
--- a/recipes/perl/perl-native_5.8.8.bb
+++ b/recipes/perl/perl-native_5.8.8.bb
@@ -6,6 +6,9 @@ DEPENDS = "virtual/db-native gdbm-native"
 PR = "r20"
 NATIVE_INSTALL_WORKS = "1"

+# Introduces issues when re-used too early.
+PSTAGING_DISABLED = "1"
+
 FILESDIR = "[email protected](bb.data.getVar('FILE',d,1))}/perl-${PV}"

 SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/5.0/perl-${PV}.tar.gz \

--
Tom Rini
Mentor Graphics Corporation

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to