Re: Issue with jre dependency in Mac OS
Thomas Leonard <[email protected]>
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <CAG4opy8Bgk7M-FwzqWHJEn75PGM8u65n2COp7ayecOQZuR5THA@mail.gmail.com> |
On 18 June 2015 at 05:25, Alex Eng <[email protected]> wrote: > Hi, > > Im having problem with my feed with dependency on jre > 1.7 > > <requires interface="http://repo.roscidus.com/java/openjdk-jre"> > <environment name="JAVA_HOME" insert="." mode="replace" /> > </requires> > > > > When I try to install my app using 0install from Mac S 10.10.3, it throws exception > > Can't find all required implementations: > - http://repo.roscidus.com/java/openjdk-jre -> (problem) > No usable implementations: > sha1new=6b7c9f98bd1d8bec5bbb5ddb41271c862c8e8529 (6.18-1.8.7-2): Not compatible with the requested OS type > sha1new=3ede8dc4b83dd3d7705ee3a427b637a2cb98d789 (6.18-1.8.7-2): Not compatible with the requested OS type > sha1new=6cc9f66b968d983904bce5050b2e328c3740462b (6.11-9.1-2): Not compatible with the requested OS type > sha1new=042663897b1fce617d5bc8c98945adc64e4ef2a9 (6.11-9.1-2): Not compatible with the requested OS type > > > Seems like http://repo.roscidus.com/java/openjdk-jre is redirecting to http://repo.roscidus.com/java/openjdk-6-jre for jre6 version. > > Anyone has any idea how to solve this? It includes jre6, but will also be checking the packages (although it doesn't list them in the diagnostics, which could be improved). It should be testing for the "Darwin" packages "openjdk-7-jre" and "openjdk-8-jre", which (since Darwin isn't a real package manager) are hard-coded here: https://github.com/0install/0install/blob/42e9fcf6debee1cc595c37f102a7cf0cb21fd858/ocaml/zeroinstall/distro_impls.ml#L430 It looks like the code is missing support for Java 8. Anders - should this just be added in the obvious way, following the pattern for 6 and 7? -- Dr Thomas Leonard http://roscidus.com/blog/ GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA ------------------------------------------------------------------------------