← Back to issue list

Remove dangling symlink from JDK plugin (LP Bug #1617296)

View original Github issue

Metadata

Project
snapcraft
Number
#1905
Type
pull request
State
closed
Author
ARostovsky
Labels
—
Created
Updated
Closed

Current evaluation

Closed unmerged: the ca-certificates-java JDK-plugin workaround became unnecessary after the bases refactor; the legacy JDK plugin was later removed by #2376 (b556781ad).

Resolution: closed superseded

Reason: The PR was closed after @sergiusens said the workaround was unnecessary following the bases refactor. The obsolete JDK plugin was subsequently removed by PR #2376 in commit b556781ad.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Using the JDK plugin results a dangling symlink error package contains external symlinks: usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts This pull request adds 'ca-certificates-java' package to the build stage. So at the build part it will just take needed file from symlink and that's it. LP Bug #1617296 Previous bull requests about this bug: https://github.com/snapcore/snapcraft/pull/761 (cc @gnouy)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Closed unmerged: the ca-certificates-java JDK-plugin workaround became unnecessary after the bases refactor; the legacy JDK plugin was later removed by #2376 (b556781ad).
stealth/space-bunny-alpha — closed superseded Closed unmerged: the ca-certificates-java build change was deemed unnecessary after the bases refactor, which superseded the proposed workaround.
qwen/qwen3.6-35b-a3b — — Closed without merging. The proposed fix was deemed unnecessary after a bases refactor resolved the dangling symlink issue. Superseded by architectural changes.
qwen3.6-35b-a3b-mtp-q6 — — A proposed fix for a JDK plugin dangling symlink was closed and superseded. Maintainers confirmed the change is unnecessary following a bases refactor that resolved the underlying issue.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#761 (confidence 100%)

    Earlier unmerged attempt to address the same dangling JDK cacerts symlink.

  • Superseded By: canonical/snapcraft#2376 (confidence 95%)

    Removed the obsolete JDK plugin after the architectural refactor made this workaround unnecessary.

Related issues

Issue Project State Summary Similarity
#761 Remove dangling symlink from JDK plugin snapcraft closed PR to strip a dangling cacerts symlink from the JDK plugin was closed unmerged twice for inactivity (Aug and Dec 2016); the jdk plugin was later deleted wholesale by merged PR #2376 (b556781ad).
86%