Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of --user-openjdk-build-root-directory now JDK-8326685 backported #1084

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

andrew-m-leonard
Copy link
Contributor

@andrew-m-leonard andrew-m-leonard commented Jul 30, 2024

JDK-8326685 provides an official fix for the Linux debug map reproducible build issue, this is now backported to jdk-21.0.4, and the workaround to use a user build folder is not required.
The workaround was incorrectly applied to Windows, which then caused a subsequent non-reproducible issue due to relative path building not being used.

Fixes adoptium/temurin-build#3790

Copy link

Thank you for creating a pull request!

Please check out the information below if you have not made a pull request here before (or if you need a reminder how things work).

Code Quality and Contributing Guidelines

If you have not done so already, please familiarise yourself with our Contributing Guidelines and Code Of Conduct, even if you have contributed before.

Tests

Github actions will run a set of jobs against your PR that will lint and unit test your changes. Keep an eye out for the results from these on the latest commit you submitted. For more information, please see our testing documentation.

In order to run the advanced pipeline tests (executing a set of mock pipelines), it requires an admin to post run tests on this PR.
If you are not an admin, please ask for one's attention in #infrastructure on Slack or ping one here.
To run full set of tests, use "run tests"; a subset of tests on specific jdk version, use "run tests quick 11,21"

@andrew-m-leonard andrew-m-leonard self-assigned this Jul 30, 2024
@andrew-m-leonard
Copy link
Contributor Author

run tests

@eclipse-temurin-bot
Copy link
Collaborator

 PR TESTER RESULT 

✅ All pipelines passed! ✅

@andrew-m-leonard andrew-m-leonard changed the title Remove --user-openjdk-build-root-directory now JDK-8326685 backported Remove use of --user-openjdk-build-root-directory now JDK-8326685 backported Jul 31, 2024
Copy link
Contributor

@steelhead31 steelhead31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok.

Copy link
Member

@sxa sxa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noting that the logic being removed was originally added in https://github.com/adoptium/ci-jenkins-pipelines/pull/998/files
I presume this is not a Windows-specific change given that JDK-8326685 appears to only mention Linux?

Also, is it still possible to reproduce the latest JDk21/22 releases on Windows if this change isn't included (i.e. with the options included in the July SBOMs)?

@andrew-m-leonard
Copy link
Contributor Author

Noting that the logic being removed was originally added in https://github.com/adoptium/ci-jenkins-pipelines/pull/998/files I presume this is not a Windows-specific change given that JDK-8326685 appears to only mention Linux?

Also, is it still possible to reproduce the latest JDk21/22 releases on Windows if this change isn't included (i.e. with the options included in the July SBOMs)?

It was introduced in this PR e297546
the one you refer to was a builds break fix.
Yes, it should never have been used for Windows

Yes, reproducing July Windows using the release jobs and July v2024.07.01 branch will work fine.

@andrew-m-leonard andrew-m-leonard merged commit bcd5557 into adoptium:master Jul 31, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jdk-21 Windows x64 build not reproducible if built in different build folder
5 participants