FS#62932 - [bazel] java upgrade breaks bazel due to user error (wrong archlinux-java selected)

Attached to Project: Community Packages
Opened by Evy Bongers (evybongers) - Tuesday, 18 June 2019, 16:09 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 18 June 2019, 16:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Bazel dependencies break java upgrade

Additional info:

Packages installed:
* jdk-openjdk-11.0.3.u4-1
* jre-openjdk-11.0.3.u4-1
* jre-openjdk-headless-11.0.3.u4-1
* 8 bazel-0.26.1-1

Steps to reproduce:
With these packages installed, run `pacman -Syu` which attempts to upgrade java to version 12.0.1.u12-1:
jdk-openjdk-12.0.1.u12-1
jre-openjdk-12.0.1.u12-1
jre-openjdk-headless-12.0.1.u12-1

As a work-around, I removed bazel and openjdk from my system and then reinstalled bazel (which caused version-pinned java to be installed).
Would it be possible to update the dependencies to explicitly depend on jdk11-openjdk?
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Tuesday, 18 June 2019, 16:13 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Dependencies:
java-environment=11 (jdk11-openjdk)

Loading...