From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] cpan.bbclass: removed legacy staging
Date: Mon, 26 Jul 2010 09:50:59 +0200 [thread overview]
Message-ID: <i2jep3$pqe$2@dough.gmane.org> (raw)
In-Reply-To: <1280075525-31322-1-git-send-email-fransmeulenbroeks@gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 25-07-10 18:32, Frans Meulenbroeks wrote:
> bumped PR for the main perl recipes so this change takes effect
>
> Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Koen Kooi <koen@openembedded.org>
> ---
>
> removed legacy staging
>
> as QA compared with the poky version.
> Also build all perl/lib* recipes with it (using perl 5.8.8).
> 5 of these fail:
> ERROR: 'virtual:native:/home/frans/oe/openembedded/recipes/perl/libcurses-perl_1.28.bb' failed
> ERROR: '/home/frans/oe/openembedded/recipes/perl/libcurses-perl_1.28.bb' failed
> ERROR: '/home/frans/oe/openembedded/recipes/perl/libsocket6-perl_0.23.bb' failed
> ERROR: '/home/frans/oe/openembedded/recipes/perl/libdbd-mysql-perl-native_4.010.bb' failed
> ERROR: '/home/frans/oe/openembedded/recipes/perl/libencode-detect-perl_1.01.bb' failed
> However these 5 also failed before making the change.
> These recipes are broken and I did not see an apparent fix
>
> please ack as this affects all perl cpan recipes.
>
> classes/cpan.bbclass | 15 ++++-----------
> recipes/perl/perl_5.10.1.bb | 2 +-
> recipes/perl/perl_5.8.8.bb | 2 +-
> 3 files changed, 6 insertions(+), 13 deletions(-)
>
> diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
> index dfc0926..24e0c6e 100644
> --- a/classes/cpan.bbclass
> +++ b/classes/cpan.bbclass
> @@ -13,6 +13,8 @@ export PERL_INC = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}/CORE"
> export PERL_LIB = "${STAGING_DATADIR}/perl/${@get_perl_version(d)}"
> export PERL_ARCHLIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}"
>
> +NATIVE_INSTALL_WORKS = "1"
> +
> cpan_do_configure () {
> yes '' | perl Makefile.PL ${EXTRA_CPANFLAGS}
> if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
> @@ -31,16 +33,7 @@ cpan_do_compile () {
> }
>
> cpan_do_install () {
> - if [ ${@is_target(d)} = "yes" ]; then
> - oe_runmake install_vendor
> - fi
> -}
> -
> -cpan_do_stage () {
> - if [ ${@is_target(d)} = "no" ]; then
> - oe_runmake install_vendor
> - fi
> + oe_runmake DESTDIR="${D}" install_vendor
> }
> -
>
> -EXPORT_FUNCTIONS do_configure do_compile do_install do_stage
> +EXPORT_FUNCTIONS do_configure do_compile do_install
> diff --git a/recipes/perl/perl_5.10.1.bb b/recipes/perl/perl_5.10.1.bb
> index 86b08dc..e7c90d8 100644
> --- a/recipes/perl/perl_5.10.1.bb
> +++ b/recipes/perl/perl_5.10.1.bb
> @@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL"
> PRIORITY = "optional"
> # We need gnugrep (for -I)
> DEPENDS = "virtual/db perl-native grep-native"
> -PR = "r7"
> +PR = "r8"
>
> # Not tested enough
> DEFAULT_PREFERENCE = "-1"
> diff --git a/recipes/perl/perl_5.8.8.bb b/recipes/perl/perl_5.8.8.bb
> index c73fe4e..29ae66c 100644
> --- a/recipes/perl/perl_5.8.8.bb
> +++ b/recipes/perl/perl_5.8.8.bb
> @@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL"
> PRIORITY = "optional"
> # We need gnugrep (for -I)
> DEPENDS = "virtual/db perl-native grep-native"
> -PR = "r34"
> +PR = "r35"
>
> # Major part of version
> PVM = "5.8"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMTT5jMkyGM64RGpERAmVFAJ0X3198XhL9ReCP0qWglOSu6rB4dgCghdOX
1sUnckvbCx8xrX63kAMRCYM=
=ZPjp
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2010-07-26 7:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-25 16:32 [PATCH] cpan.bbclass: removed legacy staging Frans Meulenbroeks
2010-07-26 7:50 ` Koen Kooi [this message]
2010-07-26 8:53 ` Roman I Khimov
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='i2jep3$pqe$2@dough.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox