kdelibs4 and soprano fail to install on El Capitan due to openjdk11-temurin dependency
Ryan Schmidt
ryandesign at macports.org
Mon Jan 10 20:25:27 UTC 2022
On Jan 9, 2022, at 14:56, Sebastian Flothow wrote:
> I’m using MacPorts on OS X El Capitan 10.11.16, currently kdelibs4 and soprano are outdated:
>
> $ port outdated
> The following installed ports are outdated:
> kdelibs4 4.14.3_16 < 4.14.3_17
> soprano 2.9.4_4 < 2.9.4_5
>
>
> Trying to upgrade either of them fails with this output:
>
> $ sudo port upgrade soprano
> ---> Fetching archive for openjdk11-temurin
> ---> Attempting to fetch openjdk11-temurin-11.0.13_0.darwin_15.x86_64.tbz2 from http://packages.macports.org/openjdk11-temurin
> ---> Attempting to fetch openjdk11-temurin-11.0.13_0.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/openjdk11-temurin
> ---> Attempting to fetch openjdk11-temurin-11.0.13_0.darwin_15.x86_64.tbz2 from http://fra.de.packages.macports.org/openjdk11-temurin
> ---> Fetching distfiles for openjdk11-temurin
> Error: openjdk 11.0.13 is only supported on Mac OS X 10.12 Sierra or later.
> Error: Failed to fetch openjdk11-temurin.
> Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_openjdk/openjdk11-temurin/main.log for details.
> Error: Problem while installing openjdk11-temurin
> Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
>
>
> kdelibs4 depends on soprano, soprano depends on openjdk11, openjdk11 is a meta port wich depends on openjdk11-temurin, openjdk11-temurin requires Sierra or later, so these dependencies seem impossible to fulfill. Is there some way around this?
Have you tried installing Java 11 or later outside of MacPorts? I think ports in MacPorts that use java should be able to use that, and only fall back to using a MacPorts port for java if a system java is not detected.
More information about the macports-users
mailing list