* [meta-java] openjdk-6-common: move java2-vm to RRECOMMENDS
@ 2011-12-05 12:31 Koen Kooi
2011-12-07 7:57 ` Koen Kooi
0 siblings, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2011-12-05 12:31 UTC (permalink / raw)
To: openembedded-devel; +Cc: Koen Kooi
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.
--
1.7.2.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-java] openjdk-6-common: move java2-vm to RRECOMMENDS
2011-12-05 12:31 [meta-java] openjdk-6-common: move java2-vm to RRECOMMENDS Koen Kooi
@ 2011-12-07 7:57 ` Koen Kooi
2011-12-07 9:39 ` Henning Heinold
2011-12-21 17:59 ` Henning Heinold
0 siblings, 2 replies; 4+ messages in thread
From: Koen Kooi @ 2011-12-07 7:57 UTC (permalink / raw)
To: openembedded-devel
-----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-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-java] openjdk-6-common: move java2-vm to RRECOMMENDS
2011-12-07 7:57 ` Koen Kooi
@ 2011-12-07 9:39 ` Henning Heinold
2011-12-21 17:59 ` Henning Heinold
1 sibling, 0 replies; 4+ messages in thread
From: Henning Heinold @ 2011-12-07 9:39 UTC (permalink / raw)
To: openembedded-devel
Hi Koen,
did not yet find the time to look at it in details.
Bye Henning
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-java] openjdk-6-common: move java2-vm to RRECOMMENDS
2011-12-07 7:57 ` Koen Kooi
2011-12-07 9:39 ` Henning Heinold
@ 2011-12-21 17:59 ` Henning Heinold
1 sibling, 0 replies; 4+ messages in thread
From: Henning Heinold @ 2011-12-21 17:59 UTC (permalink / raw)
To: openembedded-devel
On Wed, Dec 07, 2011 at 08:57:17AM +0100, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> ping
Thanks for the patch, its pushed.
>
> 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-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-12-21 18:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-05 12:31 [meta-java] openjdk-6-common: move java2-vm to RRECOMMENDS Koen Kooi
2011-12-07 7:57 ` Koen Kooi
2011-12-07 9:39 ` Henning Heinold
2011-12-21 17:59 ` Henning Heinold
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.