WinPB: Pin Cygwin Packages#4077
Conversation
sxa
left a comment
There was a problem hiding this comment.
Where did that URL come from? Using a non-official repository for this makes me somewhat nervous
Its this.. http://www.crouchingtigerhiddenfruitbat.org/Cygwin/index.html , its pretty official and hosted on behalf of cygwin by one of its maintainers. Its known as the cygwin time machine... http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html and is pretty much a snapshot of the mirrors at various points in time. Despite its rather interesting domain name :) |
|
The |
ansible/playbooks/AdoptOpenJDK_Windows_Playbook/roles/cygwin/tasks/main.yml
Outdated
Show resolved
Hide resolved
|
Amending this to PR use a local cache of the required version of cygwin and its packages... returning to draft. |
5caec7b to
f571bbe
Compare
|
Tested locally and builds, 11,17 & 21 OK.. will run through VPC next.. JDK8 doesnt build due to issues with VS2022. |
sxa
left a comment
There was a problem hiding this comment.
Approving on the basis that
a) This is intended as a temporary measure until this is resolved upstream (Alternate option: We float a patch til then)
b) The JDK8 issue is unrelated to this PR and is a separate known issue
Thanks for tracking this down and resolving.
|
@steelhead31 you happy to merge now? |
be82113 to
af4154e
Compare
95d21cd to
caec9c6
Compare
Fixes #4068
Due to issues with the most recent version of Cygwin, being unable to build JDK11, due to an upstream JDK bug, we need to temporarily pin the cygwin installation to install specific versions of packages.
This bug : https://bugs.openjdk.org/browse/JDK-8357657?focusedId=14792554&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel
Should be fixed in time for January 2026 release, once this bug is fixed and tested, we can revert this change, and test with the current package versions again.
Have built all JDK versions locally on vms using this version of cygwin...
Checklist
❌ JDK8 VPC : FAIL KNOWN ISSUE
✔️ : JDK11 VPC : https://ci.adoptium.net/job/VagrantPlaybookCheck/OS=Win2022,label=vagrant/2181/console
✔️ JDK17 VPC : https://ci.adoptium.net/job/VagrantPlaybookCheck/2187/
✔️ JDK21 VPC : https://ci.adoptium.net/job/VagrantPlaybookCheck/OS=Win2022,label=vagrant/2185/