All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rongqing Li <rongqing.li@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] perl: install Config_heavy-target.pl correctly
Date: Mon, 4 Jan 2016 17:01:41 +0800	[thread overview]
Message-ID: <568A34F5.5050003@windriver.com> (raw)
In-Reply-To: <1451467081-9635-1-git-send-email-rongqing.li@windriver.com>

Sorry for the noise;

please drop this patch

-Roy

On 2015年12月30日 17:18, rongqing.li@windriver.com wrote:
> From: Roy Li <rongqing.li@windriver.com>
>
> Config_heavy-target.pl is needed by perl-native, not perl; since
> perl-configpm-switch.patch, which uses Config_heavy-target.pl, is
> applied into native package, and Config_heavy-target.pl is used
> when PERLCONFIGTARGET is yes in cpan.bbclass
>
> This fixed a building failure when autoloader is used:
>
> Can't locate Config_heavy-target.pl in @INC (@INC contains: ...) at tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.22.0/Config.pm line 88
>
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
>   meta/recipes-devtools/perl/perl-native_5.22.0.bb | 2 ++
>   meta/recipes-devtools/perl/perl_5.22.0.bb        | 6 +-----
>   2 files changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/meta/recipes-devtools/perl/perl-native_5.22.0.bb b/meta/recipes-devtools/perl/perl-native_5.22.0.bb
> index b4dda31..09d399c 100644
> --- a/meta/recipes-devtools/perl/perl-native_5.22.0.bb
> +++ b/meta/recipes-devtools/perl/perl-native_5.22.0.bb
> @@ -94,6 +94,8 @@ do_install () {
>   		install $i ${D}${libdir}/perl/${PV}/CORE
>   	done
>
> +	ln -s Config_heavy.pl ${D}${libdir}/perl/${PV}/Config_heavy-target.pl
> +
>   	# Those wrappers mean that perl installed from sstate (which may change
>   	# path location) works and that in the nativesdk case, the SDK can be
>   	# installed to a different location from the one it was built for.
> diff --git a/meta/recipes-devtools/perl/perl_5.22.0.bb b/meta/recipes-devtools/perl/perl_5.22.0.bb
> index 55ce73f..84cc651 100644
> --- a/meta/recipes-devtools/perl/perl_5.22.0.bb
> +++ b/meta/recipes-devtools/perl/perl_5.22.0.bb
> @@ -241,10 +241,7 @@ do_install() {
>
>           # target config, used by cpan.bbclass to extract version information
>           install config.sh ${D}${libdir}/perl
> -
> -        ln -s Config_heavy.pl ${D}${libdir}/perl/${PV}/Config_heavy-target.pl
>   }
> -
>   do_install_append_class-nativesdk () {
>           create_wrapper ${D}${bindir}/perl \
>               PERL5LIB='$PERL5LIB:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl/site_perl/${PV}:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl/vendor_perl/${PV}:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl/${PV}'
> @@ -298,8 +295,7 @@ FILES_${PN}-dev = "${libdir}/perl/${PV}/CORE"
>   FILES_${PN}-lib = "${libdir}/libperl.so* \
>                      ${libdir}/perl5 \
>                      ${libdir}/perl/config.sh \
> -                   ${libdir}/perl/${PV}/Config_heavy.pl \
> -                   ${libdir}/perl/${PV}/Config_heavy-target.pl"
> +                   ${libdir}/perl/${PV}/Config_heavy.pl"
>   FILES_${PN}-pod = "${libdir}/perl/${PV}/pod \
>   		   ${libdir}/perl/${PV}/*.pod \
>                      ${libdir}/perl/${PV}/*/*.pod \
>

-- 
Best Reagrds,
Roy | RongQing Li


      reply	other threads:[~2016-01-04  9:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30  9:18 [PATCH] perl: install Config_heavy-target.pl correctly rongqing.li
2016-01-04  9:01 ` Rongqing Li [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=568A34F5.5050003@windriver.com \
    --to=rongqing.li@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.