cacao: class-native: RPROVIDE virtual/java-native
PATCH 1/1 cacao: class-native: RPROVIDE virtual/java-native
This will allow other native recipes RDEPEND on virtual/java-native.
--- recipes-core/cacao/cacao_1.6.1.bb | 1 + 1 file changed, 1 insertion(+)
recipes-core/cacao/cacao_1.6.1.bb +1 -0
@@ -6,6 +6,7 @@ SECTION = "interpreters" DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-initial-native classpath-native bdwgc-native virtual/java-initial-native" PROVIDES_class-native = "virtual/java-native" +RPROVIDES_${PN}_class-native = "virtual/java-native" DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc" RPROVIDES_${PN} = "java2-runtime"
Signature · 1 line
2.7.4
Hi,
this is a note to let you know that I've just added this patch to the master-next branch of the meta-java repository at
git://git.yoctoproject.org/meta-java
As soon as it has gone through some more testing it will likely be merged to the master branch.
If you have any questions, please let me know.
regards;Richard.L
Quoted 3 lines · Yevgeny Popovych
This will allow other native recipes RDEPEND on virtual/java-native.
Signed-off-by Yevgeny Popovych <[email protected]>
Quoted 1 line · Yevgeny Popovych
This will allow other native recipes RDEPEND on virtual/java-native.
I don't understand, can you please explain why a target package would ever want to runtime depend on a native package?
How did you test this?
Also, the virtual/ namespace is usually used in PROVIDES, not in RPROVIDES.
Cheers,
Andre'
Quoted 25 lines
Change-Id I85fcd012d09441867fa5f359463cbe8fff702fbeSigned-off-by Yevgeny Popovych <[email protected]>--- recipes-core/cacao/cacao_1.6.1.bb | 1 + 1 file changed, 1 insertion(+)recipes- renamed from recipes-core/cacao/cacao_1.6.1.bb +0
-0core/cacao/cacao_1.6.1.bb
index 1074ff5..ead0e2f 100644recipes-core/cacao/cacao_1.6.1.bb +0
-0@@ -6,6 +6,7 @@ SECTION = "interpreters" DEPENDS_class-native = "zlib-native libtool-native ecj-initial-nativefastjar-native classpath-initial-native classpath-native bdwgc-native virtual/java-initial-native"
PROVIDES_class-native = "virtual/java-native"
+RPROVIDES_${PN}_class-native = "virtual/java-native"DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc" RPROVIDES_${PN} = "java2-runtime"
Signature · 1 line
2.7.4
Hi Andé,
thanks for reviewing this patch!
Quoted 5 lines · André Draszik
Quoted 1 line · Yevgeny Popovych
This will allow other native recipes RDEPEND on virtual/java-native.
I don't understand, can you please explain why a target package would ever want to runtime depend on a native package?
I've totally overlooked that... You're right, it makes no sense in any situation I can imagine...
Therefore I'll remove that patch from master-next soon.
regards;Richard.L
Quoted 35 lines
How did you test this?
Also, the virtual/ namespace is usually used in PROVIDES, not in RPROVIDES.
Cheers,
Andre'Quoted 25 lines
Change-Id I85fcd012d09441867fa5f359463cbe8fff702fbeSigned-off-by Yevgeny Popovych <[email protected]>--- recipes-core/cacao/cacao_1.6.1.bb | 1 + 1 file changed, 1 insertion(+)recipes- renamed from recipes-core/cacao/cacao_1.6.1.bb +0
-0core/cacao/cacao_1.6.1.bb
index 1074ff5..ead0e2f 100644recipes-core/cacao/cacao_1.6.1.bb +0
-0@@ -6,6 +6,7 @@ SECTION = "interpreters" DEPENDS_class-native = "zlib-native libtool-native ecj-initial-nativefastjar-native classpath-initial-native classpath-native bdwgc-native virtual/java-initial-native"
PROVIDES_class-native = "virtual/java-native"
+RPROVIDES_${PN}_class-native = "virtual/java-native"DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc" RPROVIDES_${PN} = "java2-runtime"
Signature · 1 line
2.7.4
Quoted 9 lines · Richard Leitner
Hi Andé,
thanks for reviewing this patch!Quoted 5 lines · André Draszik
Quoted 1 line · Yevgeny Popovych
This will allow other native recipes RDEPEND on virtual/java-native.
I don't understand, can you please explain why a target package would ever want to runtime depend on a native package?
There is no _target_ package in question, it is all about native stuff. Patch is about cacao-native providing runtime dependency under "virtual/java-native" name. This, for example, will satisfy ca-certificates-java-native dependency (line "RDEPENDS_${PN}_append_class-native = " virtual/java-native"").
Otherwise, there is no recipe that is able to satisfy the aforementioned dependency of ca-certificates-java-native.
Quoted 5 lines
I've totally overlooked that... You're right, it makes no sense in any situation I can imagine...
Therefore I'll remove that patch from master-next soon.
Richard, it would be great if we could agree on a solution first..
Quoted 5 lines
regards;Richard.L
Quoted 2 lines
How did you test this?
By having a recipe that DEPENDS on ca-certificates-java-native. This recipe would be able to use 'java' then.
The truth is that I also pull in openjdk-8-native to actually run the hook, so this is more about being able to satisfy formal dependency of ca-certificates recipe.
Quoted 33 lines
Quoted 33 lines
Also, the virtual/ namespace is usually used in PROVIDES, not in RPROVIDES.
Cheers,
Andre'Quoted 25 lines
Change-Id I85fcd012d09441867fa5f359463cbe8fff702fbeSigned-off-by Yevgeny Popovych <[email protected]>--- recipes-core/cacao/cacao_1.6.1.bb | 1 + 1 file changed, 1 insertion(+)recipes- renamed from recipes-core/cacao/cacao_1.6.1.bb +0
-0core/cacao/cacao_1.6.1.bb
index 1074ff5..ead0e2f 100644recipes-core/cacao/cacao_1.6.1.bb +0
-0@@ -6,6 +6,7 @@ SECTION = "interpreters" DEPENDS_class-native = "zlib-native libtool-native ecj-initial-nativefastjar-native classpath-initial-native classpath-native bdwgc-native virtual/java-initial-native"
PROVIDES_class-native = "virtual/java-native"
+RPROVIDES_${PN}_class-native = "virtual/java-native"DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc" RPROVIDES_${PN} = "java2-runtime"
Signature · 1 line
2.7.4
Signature · 2 lines
Sincerely, Yevgeny Popovych