From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-java] openjdk-6-common: move java2-vm to RRECOMMENDS
Date: Wed, 07 Dec 2011 08:57:17 +0100 [thread overview]
Message-ID: <jbn68n$lav$1@dough.gmane.org> (raw)
In-Reply-To: <1323088316-20564-1-git-send-email-koen@dominion.thruhere.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
ping
Op 05-12-11 13:31, Koen Kooi schreef:
> Even though a vm is a hard dependency it is set as RRECOMMENDS so a
> single vm can get uninstalled:
>
> root@beaglebone:~/java# opkg remove openjdk-6-vm-shark No packages
> removed. Collected errors: * print_dependents_warning: Package
> openjdk-6-vm-shark is depended upon by packages: *
> print_dependents_warning: openjdk-6-java *
> print_dependents_warning: These might cease to work if package
> openjdk-6-vm-shark is removed.
>
> In the above situation all vms (cacao, zero and shark) were installed,
> but due to llvm problems[1] shark is currently broken. To fix the java
> install shark needs to get uninstalled.
>
> In theory this change allows people to break the java installation, but
> in practice it's already broken due to [1].
>
> [1]
> http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-December/036595.html
>
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> ---
> recipes-core/openjdk/openjdk-6-common.inc | 11 +++++++++-- 1 files
> changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-core/openjdk/openjdk-6-common.inc
> b/recipes-core/openjdk/openjdk-6-common.inc index ef1c41d..257fe56
> 100644 --- a/recipes-core/openjdk/openjdk-6-common.inc +++
> b/recipes-core/openjdk/openjdk-6-common.inc @@ -10,7 +10,7 @@ ICEDTEA =
> "NEEDS TO BE SET" S = "${WORKDIR}/${ICEDTEA}" B = "${S}/build"
>
> -INC_PR = "r11" +INC_PR = "r12"
>
> SRC_URI = "\ ${ICEDTEA_URI} \ @@ -426,7 +426,14 @@
> RPROVIDES_${JDKPN}-vm-shark = "java2-vm" RPROVIDES_${JDKPN}-vm-zero =
> "java2-vm" RPROVIDES_${JDKPN}-vm-cacao = "java2-vm"
>
> -RDEPENDS_${JDKPN}-java = "java2-vm" +# Even though a vm is a hard
> dependency it is set as RRECOMMENDS so a single vm can get uninstalled:
> +# root@beaglebone:~/java# opkg remove openjdk-6-vm-shark +# No packages
> removed. +# Collected errors: +# * print_dependents_warning: Package
> openjdk-6-vm-shark is depended upon by packages: +# *
> print_dependents_warning: openjdk-6-java +# * print_dependents_warning:
> These might cease to work if package openjdk-6-vm-shark is removed.
> +RRECOMMENDS_${JDKPN}-java = "java2-vm"
>
> # For some reason shark and cacao do not automatically depends on
> -common. # So we add that manually.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAk7fHF0ACgkQMkyGM64RGpF3FgCfRixFz4cNEI7OdLfkulNHjp/U
Zi4An0KRfx/jCebXGK67GpFziay5CMHp
=Xnc1
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2011-12-07 8:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-05 12:31 [meta-java] openjdk-6-common: move java2-vm to RRECOMMENDS Koen Kooi
2011-12-07 7:57 ` Koen Kooi [this message]
2011-12-07 9:39 ` Henning Heinold
2011-12-21 17:59 ` Henning Heinold
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='jbn68n$lav$1@dough.gmane.org' \
--to=koen@dominion.thruhere.net \
--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 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.