Skip to contentSkip to conversation

perl fail during compile

PATCH In review Andreas Mueller 4 participants 7 messages May 21, 2011 – May 31, 2011

lore
Share & tools
lore
#0 lore raw

Dear OE folks,

with the latest OE I get an error compiling perl. The log I get is:

| LD_LIBRARY_PATH=/home/Superandy/tmp/work/armv7a-angstrom-linux- gnueabi/perl-5.10.1-r22/perl-5.10.1${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH arm- angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat- abi=softfp -mthumb-interwork -mno-thumb -- sysroot=/home/Superandy/tmp/sysroots/armv7a-angstrom-linux-gnueabi -Wl,-O1 - Wl,--hash-style=gnu -o miniperl \
| gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o
hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o \
| miniperlmain.o opmini.o perlmini.o -lnsl -ldl -lm -lcrypt -lutil -lpthread
-lc

| mv -f miniperl miniperl-target
| ln -s hostperl miniperl
| LD_LIBRARY_PATH=/home/Superandy/tmp/work/armv7a-angstrom-linux-
gnueabi/perl-5.10.1-r22/perl-5.10.1${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH  
./miniperl -Ilib make_patchnum.pl
| env: ./perl5.10.1.real: No such file or directory
| make[1]: *** [lib/Config_git.pl] Error 127
| make[1]: Leaving directory `/home/Superandy/tmp/work/armv7a-angstrom-linux-

gnueabi/perl-5.10.1-r22/perl-5.10.1'
| make[1]: Entering directory `/home/Superandy/tmp/work/armv7a-angstrom-linux- gnueabi/perl-5.10.1-r22/perl-5.10.1'
| LD_LIBRARY_PATH=/home/Superandy/tmp/work/armv7a-angstrom-linux- gnueabi/perl-5.10.1-r22/perl-5.10.1${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH ./miniperl -Ilib autodoc.pl

| env: ./perl5.10.1.real: No such file or directory
| make[1]: *** [pod/perlapi.pod] Error 127
| make[1]: Leaving directory `/home/Superandy/tmp/work/armv7a-angstrom-linux-
gnueabi/perl-5.10.1-r22/perl-5.10.1'
| make: *** [perl] Error 2
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1

NOTE: package perl-5.10.1-r22: task do_compile: Failed

Without looking into the commits I reverted the latest changes

86fde1fe0281cc8c9d2bf1012d8eff5e24a69e55 and
1e255fbd296e95ff178d66c4a1fe4875a988d7e1

and perl bulds again. Could sombody please take care?

Thanks

Andreas

#1 lore raw
Quoted 66 lines · Andreas Mueller

Dear OE folks,

with the latest OE I get an error compiling perl. The log I get is:
| LD_LIBRARY_PATH=/home/Superandy/tmp/work/armv7a-angstrom-linux-

gnueabi/perl-5.10.1-r22/perl-5.10.1${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH arm- angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat- abi=softfp -mthumb-interwork -mno-thumb -- sysroot=/home/Superandy/tmp/sysroots/armv7a-angstrom-linux-gnueabi -Wl,-O1
- Wl,--hash-style=gnu -o miniperl \

|       gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o
|       mro.o

hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o \

|     miniperlmain.o opmini.o perlmini.o -lnsl -ldl -lm -lcrypt -lutil
|     -lpthread

-lc

| mv -f miniperl miniperl-target
| ln -s hostperl miniperl
| LD_LIBRARY_PATH=/home/Superandy/tmp/work/armv7a-angstrom-linux-

gnueabi/perl-5.10.1-r22/perl-5.10.1${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH ./miniperl -Ilib make_patchnum.pl

| env: ./perl5.10.1.real: No such file or directory
| make[1]: *** [lib/Config_git.pl] Error 127
| make[1]: Leaving directory
| `/home/Superandy/tmp/work/armv7a-angstrom-linux-

gnueabi/perl-5.10.1-r22/perl-5.10.1'

| make[1]: Entering directory
| `/home/Superandy/tmp/work/armv7a-angstrom-linux-

gnueabi/perl-5.10.1-r22/perl-5.10.1'

| LD_LIBRARY_PATH=/home/Superandy/tmp/work/armv7a-angstrom-linux-

gnueabi/perl-5.10.1-r22/perl-5.10.1${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH ./miniperl -Ilib autodoc.pl

| env: ./perl5.10.1.real: No such file or directory
| make[1]: *** [pod/perlapi.pod] Error 127
| make[1]: Leaving directory
| `/home/Superandy/tmp/work/armv7a-angstrom-linux-

gnueabi/perl-5.10.1-r22/perl-5.10.1'

| make: *** [perl] Error 2
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1

NOTE: package perl-5.10.1-r22: task do_compile: Failed

Without looking into the commits I reverted the latest changes

Quoted 9 lines

86fde1fe0281cc8c9d2bf1012d8eff5e24a69e55 and
1e255fbd296e95ff178d66c4a1fe4875a988d7e1

and perl bulds again. Could sombody please take care?

Thanks

Andreas

I did some manual 'bisection' on this. I seems patch

1e255fbd296e95ff178d66c4a1fe4875a988d7e1

is the guilty one.

Cheers

Andreas

#2 lore raw

PATCH 1/1 Revert "perl-native: create_wrapper on perl${PV} too"

From: Paul Menzel <[email protected]>
Date: Mon, 30 May 2011 21:08:24 +0200

This reverts commit 1e255fbd296e95ff178d66c4a1fe4875a988d7e1.

	Author: Tom Rini <[email protected]>
	Date:   Mon May 16 13:06:33 2011 -0700

		  perl-native: create_wrapper on perl${PV} too

		  perl${PV} becomes hostperl when building for the target so we need a
		  wrapper on that too.

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

It breaks task compile of perl using angstrom-2010.x or minimal{,-uclibc} for MACHINE = "beagleboard" [1].

[…]

| mv -f miniperl miniperl-target
| ln -s hostperl miniperl
| LD_LIBRARY_PATH=/home/Superandy/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.10.1-r22/perl-5.10.1${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH ./miniperl -Ilib make_patchnum.pl
| env: ./perl5.10.1.real: No such file or directory
| make[1]: *** [lib/Config_git.pl] Error 127
| make[1]: Leaving directory `/home/Superandy/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.10.1-r22/perl-5.10.1'
| make[1]: Entering directory `/home/Superandy/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.10.1-r22/perl-5.10.1'
| LD_LIBRARY_PATH=/home/Superandy/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.10.1-r22/perl-5.10.1${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH ./miniperl -Ilib autodoc.pl
| env: ./perl5.10.1.real: No such file or directory
| make[1]: *** [pod/perlapi.pod] Error 127
| make[1]: Leaving directory `/home/Superandy/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.10.1-r22/perl-5.10.1'
| make: *** [perl] Error 2

[…]

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-May/032981.html

---
A fix is preferred though. ;-) Probably PR needs to be updated somehow too.

---
 recipes/perl/perl-native_5.10.1.bb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
recipes/perl/perl-native_5.10.1.bb +1 -2
index fdbe055..3dafc10 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Perl is a popular scripting language."
 HOMEPAGE = "http://www.perl.org/"
 SECTION = "libs"
 LICENSE = "Artistic|GPLv1+"
-PR = "r11"
+PR = "r10"
 NATIVE_INSTALL_WORKS = "1"
 INHIBIT_DEFAULT_DEPS = "1"
 PATCHTOOL = "patch"
@@ -108,7 +108,6 @@ do_install() {
 	done
 
 	create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'
-	create_wrapper ${D}${bindir}/perl${PV} PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'
 }
 
 do_install_append_nylon() {
Signature · 1 line
1.7.5.3
#3 lore raw

Re: [PATCH] Revert "perl-native: create_wrapper on perl${PV} too"

Quoted 76 lines · Paul Menzel

From: Paul Menzel <[email protected]>
Date: Mon, 30 May 2011 21:08:24 +0200

This reverts commit 1e255fbd296e95ff178d66c4a1fe4875a988d7e1.

	Author: Tom Rini <[email protected]>
	Date:   Mon May 16 13:06:33 2011 -0700

		  perl-native: create_wrapper on perl${PV} too

		  perl${PV} becomes hostperl when building for the target so we need a
		  wrapper on that too.

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

It breaks task compile of perl using angstrom-2010.x or minimal{,-uclibc} for MACHINE = "beagleboard" [1].

[…]

| mv -f miniperl miniperl-target
| ln -s hostperl miniperl
| LD_LIBRARY_PATH=/home/Superandy/tmp/work/armv7a-angstrom-linux-gnueabi/pe
| rl-5.10.1-r22/perl-5.10.1${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH ./miniperl
| -Ilib make_patchnum.pl env: ./perl5.10.1.real: No such file or directory
| make[1]: *** [lib/Config_git.pl] Error 127
| make[1]: Leaving directory
| `/home/Superandy/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.10.1-r22/
| perl-5.10.1' make[1]: Entering directory
| `/home/Superandy/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.10.1-r22/
| perl-5.10.1'
| LD_LIBRARY_PATH=/home/Superandy/tmp/work/armv7a-angstrom-linux-gnueabi/p
| erl-5.10.1-r22/perl-5.10.1${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH
| ./miniperl -Ilib autodoc.pl env: ./perl5.10.1.real: No such file or
| directory
| make[1]: *** [pod/perlapi.pod] Error 127
| make[1]: Leaving directory
| `/home/Superandy/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.10.1-r22/
| perl-5.10.1' make: *** [perl] Error 2

[…]

[1]
http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-May/032981.ht
ml

---
A fix is preferred though. ;-) Probably PR needs to be updated somehow too. ---

 recipes/perl/perl-native_5.10.1.bb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

b/recipes/perl/perl-native_5.10.1.bb index fdbe055..3dafc10 100644

recipes/perl/perl-native_5.10.1.bb +1 -1
@@ -2,7 +2,7 @@ DESCRIPTION = "Perl is a popular scripting language."
 HOMEPAGE = "http://www.perl.org/"
 SECTION = "libs"
 LICENSE = "Artistic|GPLv1+"
-PR = "r11"
+PR = "r10"
 NATIVE_INSTALL_WORKS = "1"
 INHIBIT_DEFAULT_DEPS = "1"
 PATCHTOOL = "patch"
@@ -108,7 +108,6 @@ do_install() {
 	done
 
 	create_wrapper ${D}${bindir}/perl

PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'

recipes/perl/perl-native_5.10.1.bb +0 -1
-	create_wrapper ${D}${bindir}/perl${PV}

PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/' }

Quoted 1 line

do_install_append_nylon() {

Hello Paul,

Isn't that exactly what [1] wants to fix and was described in [2] (sorry for late night english written there :-)

Andreas

[1] http://patches.openembedded.org/patch/4923/
[2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-May/032981.html

#4 lore raw

Re: [PATCH] Revert "perl-native: create_wrapper on perl${PV} too"

Dear Andreas,

Am Montag, den 30.05.2011, 22:29 +0200 schrieb Andreas Mueller:

Quoted 5 lines · Paul Menzel
Quoted 4 lines

From: Paul Menzel <[email protected]>
Date: Mon, 30 May 2011 21:08:24 +0200

This reverts commit 1e255fbd296e95ff178d66c4a1fe4875a988d7e1.

[…]

Quoted 3 lines
Quoted 3 lines

[1]
http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-May/032981.ht
ml

Please make sure to not line wrap quoted texts.

[…]

Quoted 1 line

Isn't that exactly what [1] wants to fix

Yes. I thought that such a patch was sent to the list, but I could not find it in my inbox because I had deleted you message already and I only searched for perl in Patchwork [3].

Quoted 1 line

and was described in [2] (sorry for late night english written there :-)

Yes. That is why I even sent this patch even as a reply in this thread.

Since I have deleted the patch already could you please resend the patch as a reply to your original patch message so I can add my Acked-by line.

I will update the status of my patch soonish.

Thanks,

Paul

PS: Do you have commit access already?

Quoted 2 lines

[1] http://patches.openembedded.org/patch/4923/
[2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-May/032981.html

[3] http://patches.openembedded.org/project/oe/list/

#5 lore raw

Re: [PATCH] Revert "perl-native: create_wrapper on perl${PV} too"

In reply to Paul Menzel
Quoted 15 lines · Paul Menzel

From: Paul Menzel <[email protected]>
Date: Mon, 30 May 2011 21:08:24 +0200

This reverts commit 1e255fbd296e95ff178d66c4a1fe4875a988d7e1.

	Author: Tom Rini <[email protected]>
	Date:   Mon May 16 13:06:33 2011 -0700

		  perl-native: create_wrapper on perl${PV} too

		  perl${PV} becomes hostperl when building for the target so we need a
		  wrapper on that too.

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

It breaks task compile of perl using angstrom-2010.x or minimal{,-uclibc} for MACHINE = "beagleboard" [1].

Didn't another change go in which fixes this go in?

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
#6 lore raw

Re: [PATCH] Revert "perl-native: create_wrapper on perl${PV} too"

Quoted 11 lines · Tom Rini
Quoted 10 lines · Paul Menzel

From: Paul Menzel <[email protected]>
Date: Mon, 30 May 2011 21:08:24 +0200

This reverts commit 1e255fbd296e95ff178d66c4a1fe4875a988d7e1.

	Author: Tom Rini <[email protected]>
	Date:   Mon May 16 13:06:33 2011 -0700

		  perl-native: create_wrapper on perl${PV} too
Quoted 8 lines
Quoted 6 lines

perl${PV} becomes hostperl when building for the target so we need a wrapper on that too.

It breaks task compile of perl using angstrom-2010.x or minimal{,-uclibc} for MACHINE = "beagleboard" [1].

Didn't another change go in which fixes this go in?

IIRC this fixed it in oe-core:
http://git.openembedded.org/cgit.cgi/openembedded-core/commit/?id=a10bd976f4cef54ac50b0c82f885c17a26e5989f

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]