All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perl-native: Update for userelocatableinc and non-shared libperl
@ 2011-01-28 21:07 Tom Rini
  2011-01-31 15:12 ` Richard Purdie
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Tom Rini @ 2011-01-28 21:07 UTC (permalink / raw)
  To: poky

Rather than using a wrapper switch to using upstreams support for
relocation.  While in here, bring in the mangling to use
/usr/bin/env perl rather than /full/path/to in order to work
in deep directory paths.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
---
 meta/recipes-devtools/perl/perl-native_5.12.2.bb |   25 +++++++++++++--------
 1 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/meta/recipes-devtools/perl/perl-native_5.12.2.bb b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
index 14da569..a634da5 100644
--- a/meta/recipes-devtools/perl/perl-native_5.12.2.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
@@ -4,8 +4,7 @@ SECTION = "libs"
 LICENSE = "Artistic|GPL"
 LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
 		    file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
-DEPENDS = "virtual/db-native gdbm-native"
-PR = "r2"
+PR = "r3"
 
 LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
                     file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
@@ -29,19 +28,21 @@ do_configure () {
 		-Dcflags="${CFLAGS}" \
 		-Dldflags="${LDFLAGS}" \
 		-Dcf_by="Open Embedded" \
+		\
 		-Dprefix=${prefix} \
 		-Dvendorprefix=${prefix} \
 		-Dvendorprefix=${prefix} \
 		-Dsiteprefix=${prefix} \
 		\
-		-Dprivlib=${STAGING_LIBDIR}/perl/${PV} \
-		-Darchlib=${STAGING_LIBDIR}/perl/${PV} \
-		-Dvendorlib=${STAGING_LIBDIR}/perl/${PV} \
-		-Dvendorarch=${STAGING_LIBDIR}/perl/${PV} \
-		-Dsitelib=${STAGING_LIBDIR}/perl/${PV} \
-		-Dsitearch=${STAGING_LIBDIR}/perl/${PV} \
+		-Dprivlib=.../../lib/perl/${PV} \
+		-Darchlib=.../../lib/perl/${PV} \
+		-Dvendorlib=.../../lib/perl/${PV} \
+		-Dvendorarch=.../../lib/perl/${PV} \
+		-Dsitelib=.../../lib/perl/${PV} \
+		-Dsitearch=.../../lib/perl/${PV} \
+		-Duserelocatableinc="y" \
 		\
-		-Duseshrplib \
+		-Uuseshrplib \
 		-Dusethreads \
 		-Duseithreads \
 		-Duselargefiles \
@@ -89,8 +90,12 @@ do_install () {
 		install $i ${D}${libdir}/perl/${PV}/CORE
 	done
 
-	create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/5.12.2:${STAGING_LIBDIR}/perl/'
+	# Make sure we use /usr/bin/env perl
+	for PERLSCRIPT in `grep -rIEl '#!.*/perl' ${D}${bindir}`; do
+		sed -i -e '1s|^#!.*|#!/usr/bin/env perl|' $PERLSCRIPT
+	done
 }
+
 do_install_append_nylon() {
 	# get rid of definitions not supported by the gcc version we use for nylon...
 	for i in ${D}${libdir}/perl/${PV}/Config_heavy.pl ${D}${libdir}/perl/config.sh; do
-- 
1.7.0.4



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

* Re: [PATCH] perl-native: Update for userelocatableinc and non-shared libperl
  2011-01-28 21:07 [PATCH] perl-native: Update for userelocatableinc and non-shared libperl Tom Rini
@ 2011-01-31 15:12 ` Richard Purdie
  2011-01-31 15:15   ` Tom Rini
  2011-02-01  6:26 ` Koen Kooi
  2011-02-01  7:53 ` Darren Hart
  2 siblings, 1 reply; 11+ messages in thread
From: Richard Purdie @ 2011-01-31 15:12 UTC (permalink / raw)
  To: Tom Rini; +Cc: poky

On Fri, 2011-01-28 at 14:07 -0700, Tom Rini wrote:
> Rather than using a wrapper switch to using upstreams support for
> relocation.  While in here, bring in the mangling to use
> /usr/bin/env perl rather than /full/path/to in order to work
> in deep directory paths.
> 
> Signed-off-by: Tom Rini <tom_rini@mentor.com>
> ---
>  meta/recipes-devtools/perl/perl-native_5.12.2.bb |   25 +++++++++++++--------
>  1 files changed, 15 insertions(+), 10 deletions(-)
> 
> diff --git a/meta/recipes-devtools/perl/perl-native_5.12.2.bb b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
> index 14da569..a634da5 100644
> --- a/meta/recipes-devtools/perl/perl-native_5.12.2.bb
> +++ b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
> @@ -4,8 +4,7 @@ SECTION = "libs"
>  LICENSE = "Artistic|GPL"
>  LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
>  		    file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
> -DEPENDS = "virtual/db-native gdbm-native"
> -PR = "r2"
> +PR = "r3"

Dropping DEPENDS like this needs an explanation. I've happened to read
the OE patch but could we add something here for the record please?

Cheers,

Richard



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

* Re: [PATCH] perl-native: Update for userelocatableinc and non-shared libperl
  2011-01-31 15:12 ` Richard Purdie
@ 2011-01-31 15:15   ` Tom Rini
  2011-01-31 16:30     ` Richard Purdie
  0 siblings, 1 reply; 11+ messages in thread
From: Tom Rini @ 2011-01-31 15:15 UTC (permalink / raw)
  To: Richard Purdie; +Cc: poky

On 01/31/2011 08:12 AM, Richard Purdie wrote:
> On Fri, 2011-01-28 at 14:07 -0700, Tom Rini wrote:
>> Rather than using a wrapper switch to using upstreams support for
>> relocation.  While in here, bring in the mangling to use
>> /usr/bin/env perl rather than /full/path/to in order to work
>> in deep directory paths.
>>
>> Signed-off-by: Tom Rini<tom_rini@mentor.com>
>> ---
>>   meta/recipes-devtools/perl/perl-native_5.12.2.bb |   25 +++++++++++++--------
>>   1 files changed, 15 insertions(+), 10 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/perl/perl-native_5.12.2.bb b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
>> index 14da569..a634da5 100644
>> --- a/meta/recipes-devtools/perl/perl-native_5.12.2.bb
>> +++ b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
>> @@ -4,8 +4,7 @@ SECTION = "libs"
>>   LICENSE = "Artistic|GPL"
>>   LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
>>   		    file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
>> -DEPENDS = "virtual/db-native gdbm-native"
>> -PR = "r2"
>> +PR = "r3"
>
> Dropping DEPENDS like this needs an explanation. I've happened to read
> the OE patch but could we add something here for the record please?

Certainly.  In the configure line there was already -Ui_db/ndbm/gdbm so 
these libraries weren't actually being used by perl (which is handy 
since in the OE case I then make autoconf/automake-native depend on this 
perl to fix some races).

-- 
Tom Rini
Mentor Graphics Corporation


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

* Re: [PATCH] perl-native: Update for userelocatableinc and non-shared libperl
  2011-01-31 15:15   ` Tom Rini
@ 2011-01-31 16:30     ` Richard Purdie
  0 siblings, 0 replies; 11+ messages in thread
From: Richard Purdie @ 2011-01-31 16:30 UTC (permalink / raw)
  To: Tom Rini; +Cc: poky

On Mon, 2011-01-31 at 08:15 -0700, Tom Rini wrote:
> On 01/31/2011 08:12 AM, Richard Purdie wrote:
> > On Fri, 2011-01-28 at 14:07 -0700, Tom Rini wrote:
> >> Rather than using a wrapper switch to using upstreams support for
> >> relocation.  While in here, bring in the mangling to use
> >> /usr/bin/env perl rather than /full/path/to in order to work
> >> in deep directory paths.
> >>
> >> Signed-off-by: Tom Rini<tom_rini@mentor.com>
> >> ---
> >>   meta/recipes-devtools/perl/perl-native_5.12.2.bb |   25 +++++++++++++--------
> >>   1 files changed, 15 insertions(+), 10 deletions(-)
> >>
> >> diff --git a/meta/recipes-devtools/perl/perl-native_5.12.2.bb b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
> >> index 14da569..a634da5 100644
> >> --- a/meta/recipes-devtools/perl/perl-native_5.12.2.bb
> >> +++ b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
> >> @@ -4,8 +4,7 @@ SECTION = "libs"
> >>   LICENSE = "Artistic|GPL"
> >>   LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
> >>   		    file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
> >> -DEPENDS = "virtual/db-native gdbm-native"
> >> -PR = "r2"
> >> +PR = "r3"
> >
> > Dropping DEPENDS like this needs an explanation. I've happened to read
> > the OE patch but could we add something here for the record please?
> 
> Certainly.  In the configure line there was already -Ui_db/ndbm/gdbm so 
> these libraries weren't actually being used by perl (which is handy 
> since in the OE case I then make autoconf/automake-native depend on this 
> perl to fix some races).

Merged to master, thanks.

Richard



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

* Re: [PATCH] perl-native: Update for userelocatableinc and non-shared libperl
  2011-01-28 21:07 [PATCH] perl-native: Update for userelocatableinc and non-shared libperl Tom Rini
  2011-01-31 15:12 ` Richard Purdie
@ 2011-02-01  6:26 ` Koen Kooi
  2011-02-01  7:53 ` Darren Hart
  2 siblings, 0 replies; 11+ messages in thread
From: Koen Kooi @ 2011-02-01  6:26 UTC (permalink / raw)
  To: Tom Rini; +Cc: poky

Op 28 jan 2011, om 22:07 heeft Tom Rini het volgende geschreven:

> Rather than using a wrapper switch to using upstreams support for
> relocation.  While in here, bring in the mangling to use
> /usr/bin/env perl rather than /full/path/to in order to work
> in deep directory paths.

After this patch (but I haven't bisected it yet), libxml-parser-perl-native fails to build:

ERROR: Logfile of failure stored in: /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/libxml-parser-perl-native-2.36-r0/temp/log.do_populate_sysroot.10124
Log data follows:
| cp: cannot stat `/OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/libxml-parser-perl-native-2.36-r0/image/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin/*': No such file or directory

This is due to staging.bbclass' way of checking to see wether the dir is empty or not. I my case it's not empty:

koen@dominion:/OE/tentacle$ ls /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/libxml-parser-perl-native-2.36-r0/image/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin/ -la
total 12
drwxr-xr-x 3 koen koen 4096 2011-01-31 21:55 ./
drwxr-xr-x 4 koen koen 4096 2011-01-31 21:55 ../
drwxr-xr-x 3 koen koen 4096 2011-01-31 21:55 ..ntacle/

So there are 2 bugs here:

1) staging.bbclass won't copy dotfiles
2) libxml-parser-perl-native puts part of the build path in ${D}${bindir}

regards,

Koen

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

* Re: [PATCH] perl-native: Update for userelocatableinc and non-shared libperl
  2011-01-28 21:07 [PATCH] perl-native: Update for userelocatableinc and non-shared libperl Tom Rini
  2011-01-31 15:12 ` Richard Purdie
  2011-02-01  6:26 ` Koen Kooi
@ 2011-02-01  7:53 ` Darren Hart
  2011-02-01 14:50   ` Tom Rini
  2 siblings, 1 reply; 11+ messages in thread
From: Darren Hart @ 2011-02-01  7:53 UTC (permalink / raw)
  To: Tom Rini; +Cc: poky

On 01/28/2011 01:07 PM, Tom Rini wrote:
> Rather than using a wrapper switch to using upstreams support for
> relocation.  While in here, bring in the mangling to use
> /usr/bin/env perl rather than /full/path/to in order to work
> in deep directory paths.
> 
> Signed-off-by: Tom Rini<tom_rini@mentor.com>

perl fails do_compile with this patch, reverting it resolves the problem. The log.do_compile is available here (600k):

http://bugzilla.pokylinux.org/show_bug.cgi?id=691

Reads in part:

NOTE: make -e MAKEFLAGS= perl LD=ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/vol/1/dvhart/poky-1.git/build/tmp/sysroots/atom-pc
Perl cross-build directory is /vol/1/dvhart/poky-1.git/build/tmp/work/core2-poky-linux/perl-5.12.2-r0/perl-5.12.2/Cross
Target arch is i586-linux
toolchain: ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/vol/1/dvhart/poky-1.git/build/tmp/sysroots/atom-pc, ccache i586-poky-linux-g++ -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/vol/1/dvhart/poky-1.git/build/tmp/sysroots/atom-pc, ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/vol/1/dvhart/poky-1.git/build/tmp/sysroots/atom-pc, i586-poky-linux-strip, i586-poky-linux-ar, i586-poky-linux-ranlib
Optimizations: -fexpensive-optimizations -fomit-frame-pointer -O2
/vol/1/dvhart/poky-1.git/build/tmp/work/core2-poky-linux/perl-5.12.2-r0/perl-5.12.2/Cross/generate_config_sh config.sh-i586-linux > /vol/1/dvhart/poky-1.git/build/tmp/work/core2-poky-linux/perl-5.12.2-r0/perl-5.12.2/Cross/../config.sh
cd /vol/1/dvhart/poky-1.git/build/tmp/work/core2-poky-linux/perl-5.12.2-r0/perl-5.12.2/Cross/.. ; ./Configure -S ; make depend ; make ; make more
 
Fetching answers from config.sh...
 
Doing variable substitutions on .SH files...
Extracting config.h (with variable substitutions)

...

make[1]: Entering directory `/vol/1/dvhart/poky-1.git/build/tmp/work/core2-poky-linux/perl-5.12.2-r0/perl-5.12.2'

...

*** Module name IN: lib/Cwd.pm
*** Module name OUT: /vol/1/dvhart/poky-1.git/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.12.2/Cwd.pm
Can't undef active subroutine at /vol/1/dvhart/poky-1.git/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.12.2/Config_heavy.pl line 1343.
Compilation failed in require at lib/Config.pm line 70.
Extracting pod2html (with variable substitutions)
make[1]: *** [pod/pod2html] Error 255
make[1]: Leaving directory `/vol/1/dvhart/poky-1.git/build/tmp/work/core2-poky-linux/perl-5.12.2-r0/perl-5.12.2'
make: *** [perl] Error 2
FATAL: oe_runmake failed
Function 'do_compile' failed (see /vol/1/dvhart/poky-1.git/build/tmp/work/core2-poky-linux/perl-5.12.2-r0/temp/log.do_compile.30564 for further information)
ERROR: Function 'do_compile' failed (see /vol/1/dvhart/poky-1.git/build/tmp/work/core2-poky-linux/perl-5.12.2-r0/temp/log.do_compile.30564 for further information)

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


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

* Re: [PATCH] perl-native: Update for userelocatableinc and non-shared libperl
  2011-02-01  7:53 ` Darren Hart
@ 2011-02-01 14:50   ` Tom Rini
  2011-02-01 15:38     ` Darren Hart
  0 siblings, 1 reply; 11+ messages in thread
From: Tom Rini @ 2011-02-01 14:50 UTC (permalink / raw)
  To: Darren Hart; +Cc: poky

On 02/01/2011 12:53 AM, Darren Hart wrote:
> On 01/28/2011 01:07 PM, Tom Rini wrote:
>> Rather than using a wrapper switch to using upstreams support for
>> relocation.  While in here, bring in the mangling to use
>> /usr/bin/env perl rather than /full/path/to in order to work
>> in deep directory paths.
>>
>> Signed-off-by: Tom Rini<tom_rini@mentor.com>
>
> perl fails do_compile with this patch, reverting it resolves the problem. The log.do_compile is available here (600k):
>
> http://bugzilla.pokylinux.org/show_bug.cgi?id=691

Taken the bug.  That'll teach me to short-circuit my testing when double 
posting patches...

-- 
Tom Rini
Mentor Graphics Corporation


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

* Re: [PATCH] perl-native: Update for userelocatableinc and non-shared libperl
  2011-02-01 14:50   ` Tom Rini
@ 2011-02-01 15:38     ` Darren Hart
  2011-02-01 16:57       ` Kamble, Nitin A
  0 siblings, 1 reply; 11+ messages in thread
From: Darren Hart @ 2011-02-01 15:38 UTC (permalink / raw)
  To: Tom Rini; +Cc: poky

On 02/01/2011 06:50 AM, Tom Rini wrote:
> On 02/01/2011 12:53 AM, Darren Hart wrote:
>> On 01/28/2011 01:07 PM, Tom Rini wrote:
>>> Rather than using a wrapper switch to using upstreams support for
>>> relocation. While in here, bring in the mangling to use
>>> /usr/bin/env perl rather than /full/path/to in order to work
>>> in deep directory paths.
>>>
>>> Signed-off-by: Tom Rini<tom_rini@mentor.com>
>>
>> perl fails do_compile with this patch, reverting it resolves the
>> problem. The log.do_compile is available here (600k):
>>
>> http://bugzilla.pokylinux.org/show_bug.cgi?id=691
>
> Taken the bug. That'll teach me to short-circuit my testing when double
> posting patches...
>

I'll be happy to test patches to this as well as I am able to easily 
reproduce it (I expect others can too - but haven't yet heard of someone 
else hitting the exact same problem).


-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


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

* Re: [PATCH] perl-native: Update for userelocatableinc and non-shared libperl
  2011-02-01 15:38     ` Darren Hart
@ 2011-02-01 16:57       ` Kamble, Nitin A
  2011-02-01 17:00         ` Tom Rini
  0 siblings, 1 reply; 11+ messages in thread
From: Kamble, Nitin A @ 2011-02-01 16:57 UTC (permalink / raw)
  To: Darren Hart, Tom Rini; +Cc: poky



> -----Original Message-----
> From: poky-bounces@yoctoproject.org [mailto:poky-
> bounces@yoctoproject.org] On Behalf Of Darren Hart
> Sent: Tuesday, February 01, 2011 7:38 AM
> To: Tom Rini
> Cc: poky@yoctoproject.org
> Subject: Re: [poky] [PATCH] perl-native: Update for userelocatableinc
> and non-shared libperl
> 
> On 02/01/2011 06:50 AM, Tom Rini wrote:
> > On 02/01/2011 12:53 AM, Darren Hart wrote:
> >> On 01/28/2011 01:07 PM, Tom Rini wrote:
> >>> Rather than using a wrapper switch to using upstreams support for
> >>> relocation. While in here, bring in the mangling to use
> >>> /usr/bin/env perl rather than /full/path/to in order to work
> >>> in deep directory paths.
> >>>
> >>> Signed-off-by: Tom Rini<tom_rini@mentor.com>
> >>
> >> perl fails do_compile with this patch, reverting it resolves the
> >> problem. The log.do_compile is available here (600k):
> >>
> >> http://bugzilla.pokylinux.org/show_bug.cgi?id=691
> >
> > Taken the bug. That'll teach me to short-circuit my testing when
> double
> > posting patches...
> >
> 
> I'll be happy to test patches to this as well as I am able to easily
> reproduce it (I expect others can too - but haven't yet heard of
> someone
> else hitting the exact same problem).
> 
I am able to reproduce this issue too. If needed I will be happy to help fix or test.

Thanks,
Nitin


> 
> --
> Darren Hart
> Intel Open Source Technology Center
> Yocto Project - Linux Kernel
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky


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

* Re: [PATCH] perl-native: Update for userelocatableinc and non-shared libperl
  2011-02-01 16:57       ` Kamble, Nitin A
@ 2011-02-01 17:00         ` Tom Rini
  2011-02-02  5:18           ` Koen Kooi
  0 siblings, 1 reply; 11+ messages in thread
From: Tom Rini @ 2011-02-01 17:00 UTC (permalink / raw)
  To: Kamble, Nitin A; +Cc: poky

On 02/01/2011 09:57 AM, Kamble, Nitin A wrote:
>
>
>> -----Original Message-----
>> From: poky-bounces@yoctoproject.org [mailto:poky-
>> bounces@yoctoproject.org] On Behalf Of Darren Hart
>> Sent: Tuesday, February 01, 2011 7:38 AM
>> To: Tom Rini
>> Cc: poky@yoctoproject.org
>> Subject: Re: [poky] [PATCH] perl-native: Update for userelocatableinc
>> and non-shared libperl
>>
>> On 02/01/2011 06:50 AM, Tom Rini wrote:
>>> On 02/01/2011 12:53 AM, Darren Hart wrote:
>>>> On 01/28/2011 01:07 PM, Tom Rini wrote:
>>>>> Rather than using a wrapper switch to using upstreams support for
>>>>> relocation. While in here, bring in the mangling to use
>>>>> /usr/bin/env perl rather than /full/path/to in order to work
>>>>> in deep directory paths.
>>>>>
>>>>> Signed-off-by: Tom Rini<tom_rini@mentor.com>
>>>>
>>>> perl fails do_compile with this patch, reverting it resolves the
>>>> problem. The log.do_compile is available here (600k):
>>>>
>>>> http://bugzilla.pokylinux.org/show_bug.cgi?id=691
>>>
>>> Taken the bug. That'll teach me to short-circuit my testing when
>> double
>>> posting patches...
>>>
>>
>> I'll be happy to test patches to this as well as I am able to easily
>> reproduce it (I expect others can too - but haven't yet heard of
>> someone
>> else hitting the exact same problem).
>>
> I am able to reproduce this issue too. If needed I will be happy to help fix or test.

To give everyone a quick update, I've double checked and the way we 
configure perl 5.10.x (OE) and 5.12.x (poky) are the same, really.  So 
I'm double checking now which part of the changes are breaking and if 
perhaps we need to instead of using the relative paths that work in 
5.10.x using full paths and trusting userelocatableinc to work (and then 
verifying that it does work).

-- 
Tom Rini
Mentor Graphics Corporation


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

* Re: [PATCH] perl-native: Update for userelocatableinc and non-shared libperl
  2011-02-01 17:00         ` Tom Rini
@ 2011-02-02  5:18           ` Koen Kooi
  0 siblings, 0 replies; 11+ messages in thread
From: Koen Kooi @ 2011-02-02  5:18 UTC (permalink / raw)
  To: Tom Rini; +Cc: poky

FWIW, I'm seeing the same problem with lib*-perl-native in OE

Op 1 feb. 2011 om 18:00 heeft Tom Rini <tom_rini@mentor.com> het volgende geschreven:

> On 02/01/2011 09:57 AM, Kamble, Nitin A wrote:
>> 
>> 
>>> -----Original Message-----
>>> From: poky-bounces@yoctoproject.org [mailto:poky-
>>> bounces@yoctoproject.org] On Behalf Of Darren Hart
>>> Sent: Tuesday, February 01, 2011 7:38 AM
>>> To: Tom Rini
>>> Cc: poky@yoctoproject.org
>>> Subject: Re: [poky] [PATCH] perl-native: Update for userelocatableinc
>>> and non-shared libperl
>>> 
>>> On 02/01/2011 06:50 AM, Tom Rini wrote:
>>>> On 02/01/2011 12:53 AM, Darren Hart wrote:
>>>>> On 01/28/2011 01:07 PM, Tom Rini wrote:
>>>>>> Rather than using a wrapper switch to using upstreams support for
>>>>>> relocation. While in here, bring in the mangling to use
>>>>>> /usr/bin/env perl rather than /full/path/to in order to work
>>>>>> in deep directory paths.
>>>>>> 
>>>>>> Signed-off-by: Tom Rini<tom_rini@mentor.com>
>>>>> 
>>>>> perl fails do_compile with this patch, reverting it resolves the
>>>>> problem. The log.do_compile is available here (600k):
>>>>> 
>>>>> http://bugzilla.pokylinux.org/show_bug.cgi?id=691
>>>> 
>>>> Taken the bug. That'll teach me to short-circuit my testing when
>>> double
>>>> posting patches...
>>>> 
>>> 
>>> I'll be happy to test patches to this as well as I am able to easily
>>> reproduce it (I expect others can too - but haven't yet heard of
>>> someone
>>> else hitting the exact same problem).
>>> 
>> I am able to reproduce this issue too. If needed I will be happy to help fix or test.
> 
> To give everyone a quick update, I've double checked and the way we configure perl 5.10.x (OE) and 5.12.x (poky) are the same, really.  So I'm double checking now which part of the changes are breaking and if perhaps we need to instead of using the relative paths that work in 5.10.x using full paths and trusting userelocatableinc to work (and then verifying that it does work).
> 
> -- 
> Tom Rini
> Mentor Graphics Corporation
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky


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

end of thread, other threads:[~2011-02-02  5:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-28 21:07 [PATCH] perl-native: Update for userelocatableinc and non-shared libperl Tom Rini
2011-01-31 15:12 ` Richard Purdie
2011-01-31 15:15   ` Tom Rini
2011-01-31 16:30     ` Richard Purdie
2011-02-01  6:26 ` Koen Kooi
2011-02-01  7:53 ` Darren Hart
2011-02-01 14:50   ` Tom Rini
2011-02-01 15:38     ` Darren Hart
2011-02-01 16:57       ` Kamble, Nitin A
2011-02-01 17:00         ` Tom Rini
2011-02-02  5:18           ` Koen Kooi

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.