8307316: Let JavaFX be built on unknown architectures#1124
8307316: Let JavaFX be built on unknown architectures#1124jgneff wants to merge 6 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back jgneff! A progress list of the required criteria for merging this PR into |
Update the patch to match the current fix for JDK-8307316: 8307316: Let JavaFX be built on unknown architectures openjdk/jfx#1124
|
I changed the patch to print a warning message instead of failing when the build machine's architecture is unrecognized, based on the discussion on the mailing list. I then built JavaFX on six Linux architectures. Three of the resulting build log files contain the warning message as expected ( $ grep -T -A5 'Configure project' *.txt
openjfx_amd64.txt: > Configure project :
openjfx_amd64.txt- gradle.gradleVersion: 7.6
openjfx_amd64.txt- OS_NAME: linux
openjfx_amd64.txt- OS_ARCH: amd64
openjfx_amd64.txt- JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64
openjfx_amd64.txt- JDK_HOME: /usr/lib/jvm/java-17-openjdk-amd64
--
openjfx_arm64.txt: > Configure project :
openjfx_arm64.txt- gradle.gradleVersion: 7.6
openjfx_arm64.txt- OS_NAME: linux
openjfx_arm64.txt- OS_ARCH: aarch64
openjfx_arm64.txt- JAVA_HOME: /usr/lib/jvm/java-17-openjdk-arm64
openjfx_arm64.txt- JDK_HOME: /usr/lib/jvm/java-17-openjdk-arm64
--
openjfx_armhf.txt: > Configure project :
openjfx_armhf.txt- Unknown and unsupported build architecture: arm
openjfx_armhf.txt- gradle.gradleVersion: 7.6
openjfx_armhf.txt- OS_NAME: linux
openjfx_armhf.txt- OS_ARCH: arm
openjfx_armhf.txt- JAVA_HOME: /usr/lib/jvm/java-17-openjdk-armhf
--
openjfx_i386.txt: > Configure project :
openjfx_i386.txt- gradle.gradleVersion: 7.6
openjfx_i386.txt- OS_NAME: linux
openjfx_i386.txt- OS_ARCH: i386
openjfx_i386.txt- JAVA_HOME: /usr/lib/jvm/java-17-openjdk-i386
openjfx_i386.txt- JDK_HOME: /usr/lib/jvm/java-17-openjdk-i386
--
openjfx_ppc64el.txt: > Configure project :
openjfx_ppc64el.txt- Unknown and unsupported build architecture: ppc64le
openjfx_ppc64el.txt- gradle.gradleVersion: 7.6
openjfx_ppc64el.txt- OS_NAME: linux
openjfx_ppc64el.txt- OS_ARCH: ppc64le
openjfx_ppc64el.txt- JAVA_HOME: /usr/lib/jvm/java-17-openjdk-ppc64el
--
openjfx_s390x.txt: > Configure project :
openjfx_s390x.txt- Unknown and unsupported build architecture: s390x
openjfx_s390x.txt- gradle.gradleVersion: 7.6
openjfx_s390x.txt- OS_NAME: linux
openjfx_s390x.txt- OS_ARCH: s390x
openjfx_s390x.txt- JAVA_HOME: /usr/lib/jvm/java-17-openjdk-s390xAll of the builds were successful: $ grep -T -A1 ^BUILD *.txt
openjfx_amd64.txt: BUILD SUCCESSFUL in 2m 40s
openjfx_amd64.txt- 137 actionable tasks: 137 executed
--
openjfx_arm64.txt: BUILD SUCCESSFUL in 3m 42s
openjfx_arm64.txt- 137 actionable tasks: 137 executed
--
openjfx_armhf.txt: BUILD SUCCESSFUL in 16m 51s
openjfx_armhf.txt- 137 actionable tasks: 137 executed
--
openjfx_i386.txt: BUILD SUCCESSFUL in 2m 42s
openjfx_i386.txt- 137 actionable tasks: 137 executed
--
openjfx_ppc64el.txt: BUILD SUCCESSFUL in 3m 29s
openjfx_ppc64el.txt- 137 actionable tasks: 137 executed
--
openjfx_s390x.txt: BUILD SUCCESSFUL in 2m 34s
openjfx_s390x.txt- 137 actionable tasks: 137 executed |
|
Two GitHub pre-submit tests failed, but they appear to be temporary network errors:
|
|
@Glavo I would also appreciate your comments and suggestions. I modified the initial patch that you said you were using, so please let me know if the latest changes in this pull request still work for you on the MIPS64el and RISC-V architectures. Thanks! |
kevinrushforth
left a comment
There was a problem hiding this comment.
Changing the errors to warnings seems good, as does adding the additional artifact. I left a question about the IS_64 change.
|
@jgneff This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
Glavo
left a comment
There was a problem hiding this comment.
I tested it on Debian RISC-V 64 and it works fine.
|
@jgneff This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
|
/open I would still prefer to have this patch integrated upstream instead of maintaining it separately myself. Sorry for letting it close. I thought the comment from Glavo would have kept it open for another round, but it seems that only a comment from the author can keep it alive. |
|
@jgneff This pull request is now open |
kevinrushforth
left a comment
There was a problem hiding this comment.
This fell off my radar too. Can you merge in the latest master to get a recent GHA run? I'll take a look in the next few days.
kevinrushforth
left a comment
There was a problem hiding this comment.
The changes look good. I did a quick test and it does what I would expect.
|
@jgneff This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
|
Mailing list message from Gregor Schmid on openjfx-dev: Hi Johan and all, WebP vulnerabilty: https://nvd.nist.gov/vuln/detail/CVE-2023-4863 I guess we're not the only ones having been busy in the past weeks What we haven't covered yet is WebView as part of JavaFX as part of Is WebView affected? Given that WebKit supports WebP I would assume If so, what are the plans? I see that, for example, JavaFX 17.0.9 from Thanks for any info and best regards, -- Quality First Software GmbH B?rgermeister-Graf-Ring 10 Phone: +49 8171 38648-11 Commercial Register: HRB M?nchen 140833 The data protection information in accordance with the EU General Data |
|
Mailing list message from Gregor Schmid on openjfx-dev: I apologize for not testing this earlier. Safari supports WebP images, so I naively assumed this to be a generic As it turns out, this it not the case. The WebView component in JavaFX Best regards, Gregor Schmid <gschmidj at qfs.de> writes:
-- Quality First Software GmbH B?rgermeister-Graf-Ring 10 Phone: +49 8171 38648-11 Commercial Register: HRB M?nchen 140833 The data protection information in accordance with the EU General Data |
Please review these changes to the Gradle build files and the dependency verification file. The initial version of this pull request extends the permitted build platforms for Linux to the Java architectures
arm,ppc64le, ands390xand adds an entry to the dependency verification file for thei386architecture. The Debian names for these architectures arearmhf,i386,ppc64el, ands390x.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1124/head:pull/1124$ git checkout pull/1124Update a local copy of the PR:
$ git checkout pull/1124$ git pull https://git.openjdk.org/jfx.git pull/1124/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1124View PR using the GUI difftool:
$ git pr show -t 1124Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1124.diff
Webrev
Link to Webrev Comment