Skip to contentSkip to conversation

Make perl-native_* depend on make-native.

PATCH In review [email protected] 5 participants 8 messages Jan 19, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make perl-native_* depend on make-native.

From: Søren Holm <[email protected]>

---
 recipes/perl/perl-native_5.8.4.bb |    2 +-
 recipes/perl/perl-native_5.8.7.bb |    2 +-
 recipes/perl/perl-native_5.8.8.bb |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
recipes/perl/perl-native_5.8.4.bb +1 -1
index d3ecb67..e4d5a88 100644
@@ -6,7 +6,7 @@ PR = "r4"
 SECTION = "libs"
 inherit native
 
-DEPENDS = "virtual/db-native gdbm-native"
+DEPENDS = "virtual/db-native gdbm-native make-native"
 
 SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz"
 S = "${WORKDIR}/perl-${PV}"
recipes/perl/perl-native_5.8.7.bb +1 -1
index d8ccd0c..b933905 100644
@@ -6,7 +6,7 @@ PR = "r6"
 SECTION = "libs"
 inherit native
 
-DEPENDS = "virtual/db-native gdbm-native"
+DEPENDS = "virtual/db-native gdbm-native make-native"
 
 SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
            file://perl-5.8.8-gcc-4.2.patch;patch=1 \
recipes/perl/perl-native_5.8.8.bb +1 -1
index 60a5cf5..a4c00a6 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Perl is a popular scripting language."
 HOMEPAGE = "http://www.perl.org/"
 SECTION = "libs"
 LICENSE = "Artistic|GPL"
-DEPENDS = "virtual/db-native gdbm-native"
+DEPENDS = "virtual/db-native gdbm-native make-native"
 PR = "r15"
 
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/perl-${PV}"
Signature · 1 line
1.6.3.3
#1 lore raw
Quoted 4 lines · [email protected] wrote:
 recipes/perl/perl-native_5.8.4.bb |    2 +-
 recipes/perl/perl-native_5.8.7.bb |    2 +-
 recipes/perl/perl-native_5.8.8.bb |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

I suggest to change this in perl.inc instead.

#2 lore raw
In reply to [email protected]

Dear Søren,

Am Dienstag, den 19.01.2010, 13:39 +0100 schrieb [email protected]:

Quoted 1 line

From: Søren Holm <[email protected]>

[…]

Please read [1] and especially »Include a Signed-off-by:« (also possible in a reply to this message). What error gets fixed with your patch. perl-native_* seem such needed packages, that it is strange nobody else experienced this.

Thanks,

Paul

[1] http://wiki.openembedded.net/index.php/Commit_Policy

#3 lore raw

Tirsdag 19 januar 2010 14:37:06 skrev Paul Menzel:

Quoted 5 lines

Please read [1] and especially »Include a Signed-off-by:« (also possible in a reply to this message). What error gets fixed with your patch. perl-native_* seem such needed packages, that it is strange nobody else experienced this.

Apparently make-native is not in the dependency tree of perl-native. Therefore the compilation fails.

Sorry. I did not notice perl.inc

Signature · 3 lines
Mvh./ Best regards

Søren Holm
#4 lore raw

Some comments on this issue (having discussed this with sgh on irc)

- apparently for sgh things did not work because make was missing. Not sure where it was missing as he wrote that he had make installed
- perl definitely needs make. Note that it is perl-native we are talking about.
- for me things build without having make-native. There is no make-native in my i686 work dir. and no make program in cross or staging
- the wiki says (in the getting started page) that you should have make in your path "GNU extensions to tools are often required. Symlink GNU patch, make, and cp (from fileutils), chmod, sed, find, tar, awk into your OE development path. "
- when aiming for a self contained system there is a point for having a make-native (just like we have e.g. gcc-native) (and yeah, I know this gives a bootstrap problem but that also exists for gcc)

Frans

#5 lore raw
In reply to [email protected]

Review

Quoted 2 lines · [email protected] wrote:
(quoted diff) +1 -1
-DEPENDS = "virtual/db-native gdbm-native"
+DEPENDS = "virtual/db-native gdbm-native make-native"

I don't doubt that perl needs make to build -- but then, so does everything! I wonder if we can just add a note to the appropriate wiki that in addition to gcc, you need to have make installed on the host. But then, how did OE get to building perl without make in the first place?

-Mike (mwester)

#7 lore raw

Tirsdag 19 januar 2010 21:54:35 skrev Rolf Leggewie:

Quoted 3 lines
Quoted 2 lines · Mike Westerhof

everything! I wonder if we can just add a note to the appropriate wiki that in addition to gcc, you need to have make installed on the host.

I guess it was just me over exadurating the thing. It turned out that "rm -rf tmp" solved it for me. Apparently stuff breaks quite easy when debugging recipes.

Sorry for the inconvinience, and thanks for the effort from all of you.

/Søren Holm