Conversation
Formula/openjdk.rb
Outdated
There was a problem hiding this comment.
May wait a few days to see if upstream creates a jdk-19-ga tag. Looks like OpenJDK/Oracle have already built v19 release off the build version.
https://jdk.java.net/19/release-notes
The full version string for this release is build 19+36 (where "+" means "build"). The version number is 19.
There was a problem hiding this comment.
Also https://mail.openjdk.org/pipermail/jdk-dev/2022-September/006933.html (emphasis mine):
JDK 19, the reference implementation of Java 19, is now Generally
Available. We shipped build 36 as the first Release Candidate of
JDK 19 on 18 August, and no P1 bugs have been reported since then.
Build 36 is therefore now the GA build, ready for production use.
ae894b8 to
ce7e5a4
Compare
|
Failing on https://github.com/openjdk/jdk19/blob/jdk-19+36/src/hotspot/share/utilities/compilerWarnings_gcc.hpp#L72-L85 (maybe something with XCode 14? The #if (__GNUC__ >= 10) || (defined(__clang_major__) && (__clang_major__ >= 14))
...
#define FORBID_C_FUNCTION(signature, alternative) \
extern "C" __attribute__((__warning__(alternative))) signature;
|
|
Can try apply openjdk/jdk@0599a05. |
|
Big Sur ARM Failures:
Can rebase after these are merged and maybe also #111255. |
ce7e5a4 to
2981b8d
Compare
|
It would be good to see if we can stop using some bundled libraries: |
|
We did build
|
2981b8d to
e98facd
Compare
|
Bit annoying OpenSSL dependency tree. I'll probably just add to allowlist: |
0fddb94 to
06e13e0
Compare
Formula/openjdk.rb
Outdated
There was a problem hiding this comment.
This seems to be bundled on macOS too. Does using the system version not work?
There was a problem hiding this comment.
openjdk only allows bundled copy on macOS https://github.com/openjdk/jdk19u/blob/jdk-19+36/make/autoconf/lib-freetype.m4#L128-L132
if test "x$FREETYPE_TO_USE" = "xsystem" && \
(test "x$OPENJDK_TARGET_OS" = "xwindows" || \
test "x$OPENJDK_TARGET_OS" = "xmacosx"); then
AC_MSG_ERROR([Only bundled freetype can be specified on Mac and Windows])
fi
OpenSSL 1.1 and OpenSSL 3 cannot be installed at the same time on Linux yet and OpenSSL 3 cannot currently build on older macOS. I swear I'll get round to fixing OpenSSL 3 soon. 😅 |
Some formulae already try to install both like Can we make one of them keg-only on Linux? For new failures, Otherwise, just need to decide if we keep waiting for a GA tag. The code itself should be identical as the tag should be set to same commit as |
We should make OpenSSL 1.1 keg only, but will require a long PR run which has been hard to fit in recently.
I think they're all low install count. We've not migrated anything major, nor should have yet. It's quite a large operation to pull off and I should create a tracking issue for it. |
Actually, For this PR, the only question/blocker is if we want to wait for Based on livecheck failure from my |
Ah whoops forgot we did that and the second keg-only made it easy to miss. Not sure what the long-term keg-only plan is. |
06e13e0 to
7675299
Compare
I think we want to link |
* versioned_dependencies_conflicts_allowlist: add `couchdb-lucene` and `tomcat-native` due to unbundling `openjdk` dependencies.
7675299 to
452d3da
Compare
|
Not sure why Should be ready if we decide to merge now or wait for another tag. I checked the repos but still no new v19 tag in https://github.com/openjdk/jdk19u, https://github.com/openjdk/jdk19, or https://github.com/openjdk/jdk |
| depends_on "alsa-lib" | ||
| depends_on "cups" | ||
| depends_on "fontconfig" | ||
| depends_on "gcc" |
There was a problem hiding this comment.
This was not picked up by the audit in the last openjdk PR. Weird.
There was a problem hiding this comment.
On side note, this had indirectly linked zstd for emscripten. Should check on opportunistic linkage and whether it is worth adding as direct dependency:
Full linkage --cached --test --strict emscripten output
Undeclared dependencies with linkage:
zstd
There was a problem hiding this comment.
That's from the LLVM build, picked up via gcc. We should pass -DLLVM_ENABLE_ZSTD=OFF to the LLVM build. We also probably want to disable libxml2, and perhaps ncurses.
|
|
Created with
brew bump-formula-pr.resourceblocks may require updates.